7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/CredentialPair.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
51 template<
typename CredentialPairT = CredentialPair>
52 void SetCredentialPair(CredentialPairT&& value) { m_credentialPairHasBeenSet =
true; m_credentialPair = std::forward<CredentialPairT>(value); }
53 template<
typename CredentialPairT = CredentialPair>
66 template<
typename CopySourceArnT = Aws::String>
67 void SetCopySourceArn(CopySourceArnT&& value) { m_copySourceArnHasBeenSet =
true; m_copySourceArn = std::forward<CopySourceArnT>(value); }
68 template<
typename CopySourceArnT = Aws::String>
79 template<
typename SecretArnT = Aws::String>
80 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet =
true; m_secretArn = std::forward<SecretArnT>(value); }
81 template<
typename SecretArnT = Aws::String>
87 bool m_credentialPairHasBeenSet =
false;
90 bool m_copySourceArnHasBeenSet =
false;
93 bool m_secretArnHasBeenSet =
false;
AWS_QUICKSIGHT_API DataSourceCredentials(Aws::Utils::Json::JsonView jsonValue)
void SetCredentialPair(CredentialPairT &&value)
DataSourceCredentials & WithCopySourceArn(CopySourceArnT &&value)
AWS_QUICKSIGHT_API DataSourceCredentials()=default
const Aws::String & GetSecretArn() const
bool CredentialPairHasBeenSet() const
const CredentialPair & GetCredentialPair() const
void SetSecretArn(SecretArnT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DataSourceCredentials & WithCredentialPair(CredentialPairT &&value)
void SetCopySourceArn(CopySourceArnT &&value)
bool SecretArnHasBeenSet() const
DataSourceCredentials & WithSecretArn(SecretArnT &&value)
const Aws::String & GetCopySourceArn() const
AWS_QUICKSIGHT_API DataSourceCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CopySourceArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue