/**
* 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.
*/ inline const CredentialPair& GetCredentialPair() const{ return m_credentialPair; } /** *Credential pair. For more information, see CredentialPair.
*/ inline bool CredentialPairHasBeenSet() const { return m_credentialPairHasBeenSet; } /** *Credential pair. For more information, see CredentialPair.
*/ inline void SetCredentialPair(const CredentialPair& value) { m_credentialPairHasBeenSet = true; m_credentialPair = value; } /** *Credential pair. For more information, see CredentialPair.
*/ inline void SetCredentialPair(CredentialPair&& value) { m_credentialPairHasBeenSet = true; m_credentialPair = std::move(value); } /** *Credential pair. For more information, see CredentialPair.
*/ inline DataSourceCredentials& WithCredentialPair(const CredentialPair& value) { SetCredentialPair(value); return *this;} /** *Credential pair. For more information, see CredentialPair.
*/ inline DataSourceCredentials& WithCredentialPair(CredentialPair&& value) { SetCredentialPair(std::move(value)); return *this;} /** *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.