/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

#pragma once
#include <aws/quicksight/QuickSight_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>

namespace Aws
{
namespace Utils
{
namespace Json
{
  class JsonValue;
  class JsonView;
} // namespace Json
} // namespace Utils
namespace QuickSight
{
namespace Model
{

  /**
   * <p>An optional structure that configures resource ID overrides for the import
   * job.</p><p><h3>See Also:</h3>   <a
   * href="http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/AssetBundleImportJobResourceIdOverrideConfiguration">AWS
   * API Reference</a></p>
   */
  class AssetBundleImportJobResourceIdOverrideConfiguration
  {
  public:
    AWS_QUICKSIGHT_API AssetBundleImportJobResourceIdOverrideConfiguration();
    AWS_QUICKSIGHT_API AssetBundleImportJobResourceIdOverrideConfiguration(Aws::Utils::Json::JsonView jsonValue);
    AWS_QUICKSIGHT_API AssetBundleImportJobResourceIdOverrideConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
    AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;


    ///@{
    /**
     * <p>An option to request a CloudFormation variable for a prefix to be prepended
     * to each resource's ID before import. The prefix is only added to the asset IDs
     * and does not change the name of the asset.</p>
     */
    inline const Aws::String& GetPrefixForAllResources() const{ return m_prefixForAllResources; }
    inline bool PrefixForAllResourcesHasBeenSet() const { return m_prefixForAllResourcesHasBeenSet; }
    inline void SetPrefixForAllResources(const Aws::String& value) { m_prefixForAllResourcesHasBeenSet = true; m_prefixForAllResources = value; }
    inline void SetPrefixForAllResources(Aws::String&& value) { m_prefixForAllResourcesHasBeenSet = true; m_prefixForAllResources = std::move(value); }
    inline void SetPrefixForAllResources(const char* value) { m_prefixForAllResourcesHasBeenSet = true; m_prefixForAllResources.assign(value); }
    inline AssetBundleImportJobResourceIdOverrideConfiguration& WithPrefixForAllResources(const Aws::String& value) { SetPrefixForAllResources(value); return *this;}
    inline AssetBundleImportJobResourceIdOverrideConfiguration& WithPrefixForAllResources(Aws::String&& value) { SetPrefixForAllResources(std::move(value)); return *this;}
    inline AssetBundleImportJobResourceIdOverrideConfiguration& WithPrefixForAllResources(const char* value) { SetPrefixForAllResources(value); return *this;}
    ///@}
  private:

    Aws::String m_prefixForAllResources;
    bool m_prefixForAllResourcesHasBeenSet = false;
  };

} // namespace Model
} // namespace QuickSight
} // namespace Aws
