/** * 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 <aws/core/utils/memory/stl/AWSVector.h> #include <aws/quicksight/model/AssetBundleExportJobDataSourcePropertyToOverride.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** * <p>Controls how a specific <code>DataSource</code> resource is parameterized in * the returned CloudFormation template.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/AssetBundleExportJobDataSourceOverrideProperties">AWS * API Reference</a></p> */ class AssetBundleExportJobDataSourceOverrideProperties { public: AWS_QUICKSIGHT_API AssetBundleExportJobDataSourceOverrideProperties(); AWS_QUICKSIGHT_API AssetBundleExportJobDataSourceOverrideProperties(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API AssetBundleExportJobDataSourceOverrideProperties& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** * <p>The ARN of the specific <code>DataSource</code> resource whose override * properties are configured in this structure.</p> */ inline const Aws::String& GetArn() const{ return m_arn; } /** * <p>The ARN of the specific <code>DataSource</code> resource whose override * properties are configured in this structure.</p> */ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** * <p>The ARN of the specific <code>DataSource</code> resource whose override * properties are configured in this structure.</p> */ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** * <p>The ARN of the specific <code>DataSource</code> resource whose override * properties are configured in this structure.</p> */ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** * <p>The ARN of the specific <code>DataSource</code> resource whose override * properties are configured in this structure.</p> */ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** * <p>The ARN of the specific <code>DataSource</code> resource whose override * properties are configured in this structure.</p> */ inline AssetBundleExportJobDataSourceOverrideProperties& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** * <p>The ARN of the specific <code>DataSource</code> resource whose override * properties are configured in this structure.</p> */ inline AssetBundleExportJobDataSourceOverrideProperties& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** * <p>The ARN of the specific <code>DataSource</code> resource whose override * properties are configured in this structure.</p> */ inline AssetBundleExportJobDataSourceOverrideProperties& WithArn(const char* value) { SetArn(value); return *this;} /** * <p>A list of <code>DataSource</code> resource properties to generate variables * for in the returned CloudFormation template.</p> */ inline const Aws::Vector<AssetBundleExportJobDataSourcePropertyToOverride>& GetProperties() const{ return m_properties; } /** * <p>A list of <code>DataSource</code> resource properties to generate variables * for in the returned CloudFormation template.</p> */ inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; } /** * <p>A list of <code>DataSource</code> resource properties to generate variables * for in the returned CloudFormation template.</p> */ inline void SetProperties(const Aws::Vector<AssetBundleExportJobDataSourcePropertyToOverride>& value) { m_propertiesHasBeenSet = true; m_properties = value; } /** * <p>A list of <code>DataSource</code> resource properties to generate variables * for in the returned CloudFormation template.</p> */ inline void SetProperties(Aws::Vector<AssetBundleExportJobDataSourcePropertyToOverride>&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); } /** * <p>A list of <code>DataSource</code> resource properties to generate variables * for in the returned CloudFormation template.</p> */ inline AssetBundleExportJobDataSourceOverrideProperties& WithProperties(const Aws::Vector<AssetBundleExportJobDataSourcePropertyToOverride>& value) { SetProperties(value); return *this;} /** * <p>A list of <code>DataSource</code> resource properties to generate variables * for in the returned CloudFormation template.</p> */ inline AssetBundleExportJobDataSourceOverrideProperties& WithProperties(Aws::Vector<AssetBundleExportJobDataSourcePropertyToOverride>&& value) { SetProperties(std::move(value)); return *this;} /** * <p>A list of <code>DataSource</code> resource properties to generate variables * for in the returned CloudFormation template.</p> */ inline AssetBundleExportJobDataSourceOverrideProperties& AddProperties(const AssetBundleExportJobDataSourcePropertyToOverride& value) { m_propertiesHasBeenSet = true; m_properties.push_back(value); return *this; } /** * <p>A list of <code>DataSource</code> resource properties to generate variables * for in the returned CloudFormation template.</p> */ inline AssetBundleExportJobDataSourceOverrideProperties& AddProperties(AssetBundleExportJobDataSourcePropertyToOverride&& value) { m_propertiesHasBeenSet = true; m_properties.push_back(std::move(value)); return *this; } private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Vector<AssetBundleExportJobDataSourcePropertyToOverride> m_properties; bool m_propertiesHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws