/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Data source credentials. This is a variant type structure. For this structure
* to be valid, only one of the attributes can be non-null.See
* Also:
AWS
* API Reference
Credential pair. For more information, see CredentialPair
*
.
Credential pair. For more information, see CredentialPair
*
.
Credential pair. For more information, see CredentialPair
*
.
Credential pair. For more information, see CredentialPair
*
.
Credential pair. For more information, see CredentialPair
*
.
Credential pair. For more information, see CredentialPair
*
.
The Amazon Resource Name (ARN) of a data source that has the credential pair
* that you want to use. When CopySourceArn
is not null, the
* credential pair from the data source in the ARN is used as the credentials for
* the DataSourceCredentials
structure.
The Amazon Resource Name (ARN) of a data source that has the credential pair
* that you want to use. When CopySourceArn
is not null, the
* credential pair from the data source in the ARN is used as the credentials for
* the DataSourceCredentials
structure.
The Amazon Resource Name (ARN) of a data source that has the credential pair
* that you want to use. When CopySourceArn
is not null, the
* credential pair from the data source in the ARN is used as the credentials for
* the DataSourceCredentials
structure.
The Amazon Resource Name (ARN) of a data source that has the credential pair
* that you want to use. When CopySourceArn
is not null, the
* credential pair from the data source in the ARN is used as the credentials for
* the DataSourceCredentials
structure.
The Amazon Resource Name (ARN) of a data source that has the credential pair
* that you want to use. When CopySourceArn
is not null, the
* credential pair from the data source in the ARN is used as the credentials for
* the DataSourceCredentials
structure.
The Amazon Resource Name (ARN) of a data source that has the credential pair
* that you want to use. When CopySourceArn
is not null, the
* credential pair from the data source in the ARN is used as the credentials for
* the DataSourceCredentials
structure.
The Amazon Resource Name (ARN) of a data source that has the credential pair
* that you want to use. When CopySourceArn
is not null, the
* credential pair from the data source in the ARN is used as the credentials for
* the DataSourceCredentials
structure.
The Amazon Resource Name (ARN) of a data source that has the credential pair
* that you want to use. When CopySourceArn
is not null, the
* credential pair from the data source in the ARN is used as the credentials for
* the DataSourceCredentials
structure.
The Amazon Resource Name (ARN) of the secret associated with the data source * in Amazon Secrets Manager.
*/ inline const Aws::String& GetSecretArn() const{ return m_secretArn; } /** *The Amazon Resource Name (ARN) of the secret associated with the data source * in Amazon Secrets Manager.
*/ inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the secret associated with the data source * in Amazon Secrets Manager.
*/ inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; } /** *The Amazon Resource Name (ARN) of the secret associated with the data source * in Amazon Secrets Manager.
*/ inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the secret associated with the data source * in Amazon Secrets Manager.
*/ inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); } /** *The Amazon Resource Name (ARN) of the secret associated with the data source * in Amazon Secrets Manager.
*/ inline DataSourceCredentials& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the secret associated with the data source * in Amazon Secrets Manager.
*/ inline DataSourceCredentials& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the secret associated with the data source * in Amazon Secrets Manager.
*/ inline DataSourceCredentials& WithSecretArn(const char* value) { SetSecretArn(value); return *this;} private: CredentialPair m_credentialPair; bool m_credentialPairHasBeenSet = false; Aws::String m_copySourceArn; bool m_copySourceArnHasBeenSet = false; Aws::String m_secretArn; bool m_secretArnHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws