/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The override parameters for a single data source that is being * imported.

See Also:

AWS * API Reference

*/ class AssetBundleImportJobDataSourceOverrideParameters { public: AWS_QUICKSIGHT_API AssetBundleImportJobDataSourceOverrideParameters(); AWS_QUICKSIGHT_API AssetBundleImportJobDataSourceOverrideParameters(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API AssetBundleImportJobDataSourceOverrideParameters& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ID of the data source to apply overrides to.

*/ inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; } /** *

The ID of the data source to apply overrides to.

*/ inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; } /** *

The ID of the data source to apply overrides to.

*/ inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; } /** *

The ID of the data source to apply overrides to.

*/ inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); } /** *

The ID of the data source to apply overrides to.

*/ inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); } /** *

The ID of the data source to apply overrides to.

*/ inline AssetBundleImportJobDataSourceOverrideParameters& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;} /** *

The ID of the data source to apply overrides to.

*/ inline AssetBundleImportJobDataSourceOverrideParameters& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;} /** *

The ID of the data source to apply overrides to.

*/ inline AssetBundleImportJobDataSourceOverrideParameters& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;} /** *

A new name for the data source.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

A new name for the data source.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

A new name for the data source.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

A new name for the data source.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

A new name for the data source.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

A new name for the data source.

*/ inline AssetBundleImportJobDataSourceOverrideParameters& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

A new name for the data source.

*/ inline AssetBundleImportJobDataSourceOverrideParameters& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

A new name for the data source.

*/ inline AssetBundleImportJobDataSourceOverrideParameters& WithName(const char* value) { SetName(value); return *this;} inline const DataSourceParameters& GetDataSourceParameters() const{ return m_dataSourceParameters; } inline bool DataSourceParametersHasBeenSet() const { return m_dataSourceParametersHasBeenSet; } inline void SetDataSourceParameters(const DataSourceParameters& value) { m_dataSourceParametersHasBeenSet = true; m_dataSourceParameters = value; } inline void SetDataSourceParameters(DataSourceParameters&& value) { m_dataSourceParametersHasBeenSet = true; m_dataSourceParameters = std::move(value); } inline AssetBundleImportJobDataSourceOverrideParameters& WithDataSourceParameters(const DataSourceParameters& value) { SetDataSourceParameters(value); return *this;} inline AssetBundleImportJobDataSourceOverrideParameters& WithDataSourceParameters(DataSourceParameters&& value) { SetDataSourceParameters(std::move(value)); return *this;} inline const VpcConnectionProperties& GetVpcConnectionProperties() const{ return m_vpcConnectionProperties; } inline bool VpcConnectionPropertiesHasBeenSet() const { return m_vpcConnectionPropertiesHasBeenSet; } inline void SetVpcConnectionProperties(const VpcConnectionProperties& value) { m_vpcConnectionPropertiesHasBeenSet = true; m_vpcConnectionProperties = value; } inline void SetVpcConnectionProperties(VpcConnectionProperties&& value) { m_vpcConnectionPropertiesHasBeenSet = true; m_vpcConnectionProperties = std::move(value); } inline AssetBundleImportJobDataSourceOverrideParameters& WithVpcConnectionProperties(const VpcConnectionProperties& value) { SetVpcConnectionProperties(value); return *this;} inline AssetBundleImportJobDataSourceOverrideParameters& WithVpcConnectionProperties(VpcConnectionProperties&& value) { SetVpcConnectionProperties(std::move(value)); return *this;} inline const SslProperties& GetSslProperties() const{ return m_sslProperties; } inline bool SslPropertiesHasBeenSet() const { return m_sslPropertiesHasBeenSet; } inline void SetSslProperties(const SslProperties& value) { m_sslPropertiesHasBeenSet = true; m_sslProperties = value; } inline void SetSslProperties(SslProperties&& value) { m_sslPropertiesHasBeenSet = true; m_sslProperties = std::move(value); } inline AssetBundleImportJobDataSourceOverrideParameters& WithSslProperties(const SslProperties& value) { SetSslProperties(value); return *this;} inline AssetBundleImportJobDataSourceOverrideParameters& WithSslProperties(SslProperties&& value) { SetSslProperties(std::move(value)); return *this;} /** *

An optional structure that provides the credentials to be used to create the * imported data source.

*/ inline const AssetBundleImportJobDataSourceCredentials& GetCredentials() const{ return m_credentials; } /** *

An optional structure that provides the credentials to be used to create the * imported data source.

*/ inline bool CredentialsHasBeenSet() const { return m_credentialsHasBeenSet; } /** *

An optional structure that provides the credentials to be used to create the * imported data source.

*/ inline void SetCredentials(const AssetBundleImportJobDataSourceCredentials& value) { m_credentialsHasBeenSet = true; m_credentials = value; } /** *

An optional structure that provides the credentials to be used to create the * imported data source.

*/ inline void SetCredentials(AssetBundleImportJobDataSourceCredentials&& value) { m_credentialsHasBeenSet = true; m_credentials = std::move(value); } /** *

An optional structure that provides the credentials to be used to create the * imported data source.

*/ inline AssetBundleImportJobDataSourceOverrideParameters& WithCredentials(const AssetBundleImportJobDataSourceCredentials& value) { SetCredentials(value); return *this;} /** *

An optional structure that provides the credentials to be used to create the * imported data source.

*/ inline AssetBundleImportJobDataSourceOverrideParameters& WithCredentials(AssetBundleImportJobDataSourceCredentials&& value) { SetCredentials(std::move(value)); return *this;} private: Aws::String m_dataSourceId; bool m_dataSourceIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; DataSourceParameters m_dataSourceParameters; bool m_dataSourceParametersHasBeenSet = false; VpcConnectionProperties m_vpcConnectionProperties; bool m_vpcConnectionPropertiesHasBeenSet = false; SslProperties m_sslProperties; bool m_sslPropertiesHasBeenSet = false; AssetBundleImportJobDataSourceCredentials m_credentials; bool m_credentialsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws