7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/CredentialPair.h>
10#include <aws/quicksight/model/KeyPairCredentials.h>
11#include <aws/quicksight/model/OAuthClientCredentials.h>
12#include <aws/quicksight/model/WebProxyCredentials.h>
48 template <
typename CredentialPairT = CredentialPair>
50 m_credentialPairHasBeenSet =
true;
51 m_credentialPair = std::forward<CredentialPairT>(value);
53 template <
typename CredentialPairT = CredentialPair>
69 template <
typename CopySourceArnT = Aws::String>
71 m_copySourceArnHasBeenSet =
true;
72 m_copySourceArn = std::forward<CopySourceArnT>(value);
74 template <
typename CopySourceArnT = Aws::String>
88 template <
typename SecretArnT = Aws::String>
90 m_secretArnHasBeenSet =
true;
91 m_secretArn = std::forward<SecretArnT>(value);
93 template <
typename SecretArnT = Aws::String>
106 template <
typename KeyPairCredentialsT = KeyPairCredentials>
108 m_keyPairCredentialsHasBeenSet =
true;
109 m_keyPairCredentials = std::forward<KeyPairCredentialsT>(value);
111 template <
typename KeyPairCredentialsT = KeyPairCredentials>
124 template <
typename WebProxyCredentialsT = WebProxyCredentials>
126 m_webProxyCredentialsHasBeenSet =
true;
127 m_webProxyCredentials = std::forward<WebProxyCredentialsT>(value);
129 template <
typename WebProxyCredentialsT = WebProxyCredentials>
145 template <
typename OAuthClientCredentialsT = OAuthClientCredentials>
147 m_oAuthClientCredentialsHasBeenSet =
true;
148 m_oAuthClientCredentials = std::forward<OAuthClientCredentialsT>(value);
150 template <
typename OAuthClientCredentialsT = OAuthClientCredentials>
168 bool m_credentialPairHasBeenSet =
false;
169 bool m_copySourceArnHasBeenSet =
false;
170 bool m_secretArnHasBeenSet =
false;
171 bool m_keyPairCredentialsHasBeenSet =
false;
172 bool m_webProxyCredentialsHasBeenSet =
false;
173 bool m_oAuthClientCredentialsHasBeenSet =
false;
void SetWebProxyCredentials(WebProxyCredentialsT &&value)
DataSourceCredentials & WithKeyPairCredentials(KeyPairCredentialsT &&value)
AWS_QUICKSIGHT_API DataSourceCredentials(Aws::Utils::Json::JsonView jsonValue)
void SetCredentialPair(CredentialPairT &&value)
void SetKeyPairCredentials(KeyPairCredentialsT &&value)
bool KeyPairCredentialsHasBeenSet() const
DataSourceCredentials & WithCopySourceArn(CopySourceArnT &&value)
bool OAuthClientCredentialsHasBeenSet() const
AWS_QUICKSIGHT_API DataSourceCredentials()=default
const Aws::String & GetSecretArn() const
bool CredentialPairHasBeenSet() const
const WebProxyCredentials & GetWebProxyCredentials() const
void SetOAuthClientCredentials(OAuthClientCredentialsT &&value)
const CredentialPair & GetCredentialPair() const
void SetSecretArn(SecretArnT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DataSourceCredentials & WithOAuthClientCredentials(OAuthClientCredentialsT &&value)
DataSourceCredentials & WithCredentialPair(CredentialPairT &&value)
DataSourceCredentials & WithWebProxyCredentials(WebProxyCredentialsT &&value)
void SetCopySourceArn(CopySourceArnT &&value)
bool SecretArnHasBeenSet() const
const KeyPairCredentials & GetKeyPairCredentials() const
DataSourceCredentials & WithSecretArn(SecretArnT &&value)
bool WebProxyCredentialsHasBeenSet() const
const OAuthClientCredentials & GetOAuthClientCredentials() const
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