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/OneDriveClientCredentials.h>
13#include <aws/quicksight/model/ServiceAccountCredentials.h>
14#include <aws/quicksight/model/SharePointClientCredentials.h>
15#include <aws/quicksight/model/WebProxyCredentials.h>
51 template <
typename CredentialPairT = CredentialPair>
53 m_credentialPairHasBeenSet =
true;
54 m_credentialPair = std::forward<CredentialPairT>(value);
56 template <
typename CredentialPairT = CredentialPair>
72 template <
typename CopySourceArnT = Aws::String>
74 m_copySourceArnHasBeenSet =
true;
75 m_copySourceArn = std::forward<CopySourceArnT>(value);
77 template <
typename CopySourceArnT = Aws::String>
91 template <
typename SecretArnT = Aws::String>
93 m_secretArnHasBeenSet =
true;
94 m_secretArn = std::forward<SecretArnT>(value);
96 template <
typename SecretArnT = Aws::String>
109 template <
typename KeyPairCredentialsT = KeyPairCredentials>
111 m_keyPairCredentialsHasBeenSet =
true;
112 m_keyPairCredentials = std::forward<KeyPairCredentialsT>(value);
114 template <
typename KeyPairCredentialsT = KeyPairCredentials>
127 template <
typename WebProxyCredentialsT = WebProxyCredentials>
129 m_webProxyCredentialsHasBeenSet =
true;
130 m_webProxyCredentials = std::forward<WebProxyCredentialsT>(value);
132 template <
typename WebProxyCredentialsT = WebProxyCredentials>
148 template <
typename OAuthClientCredentialsT = OAuthClientCredentials>
150 m_oAuthClientCredentialsHasBeenSet =
true;
151 m_oAuthClientCredentials = std::forward<OAuthClientCredentialsT>(value);
153 template <
typename OAuthClientCredentialsT = OAuthClientCredentials>
167 template <
typename ServiceAccountCredentialsT = ServiceAccountCredentials>
169 m_serviceAccountCredentialsHasBeenSet =
true;
170 m_serviceAccountCredentials = std::forward<ServiceAccountCredentialsT>(value);
172 template <
typename ServiceAccountCredentialsT = ServiceAccountCredentials>
186 template <
typename SharePo
intClientCredentialsT = SharePo
intClientCredentials>
188 m_sharePointClientCredentialsHasBeenSet =
true;
189 m_sharePointClientCredentials = std::forward<SharePointClientCredentialsT>(value);
191 template <
typename SharePo
intClientCredentialsT = SharePo
intClientCredentials>
205 template <
typename OneDriveClientCredentialsT = OneDriveClientCredentials>
207 m_oneDriveClientCredentialsHasBeenSet =
true;
208 m_oneDriveClientCredentials = std::forward<OneDriveClientCredentialsT>(value);
210 template <
typename OneDriveClientCredentialsT = OneDriveClientCredentials>
234 bool m_credentialPairHasBeenSet =
false;
235 bool m_copySourceArnHasBeenSet =
false;
236 bool m_secretArnHasBeenSet =
false;
237 bool m_keyPairCredentialsHasBeenSet =
false;
238 bool m_webProxyCredentialsHasBeenSet =
false;
239 bool m_oAuthClientCredentialsHasBeenSet =
false;
240 bool m_serviceAccountCredentialsHasBeenSet =
false;
241 bool m_sharePointClientCredentialsHasBeenSet =
false;
242 bool m_oneDriveClientCredentialsHasBeenSet =
false;
void SetOneDriveClientCredentials(OneDriveClientCredentialsT &&value)
DataSourceCredentials & WithServiceAccountCredentials(ServiceAccountCredentialsT &&value)
bool SharePointClientCredentialsHasBeenSet() const
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)
const SharePointClientCredentials & GetSharePointClientCredentials() const
bool KeyPairCredentialsHasBeenSet() const
DataSourceCredentials & WithOneDriveClientCredentials(OneDriveClientCredentialsT &&value)
DataSourceCredentials & WithCopySourceArn(CopySourceArnT &&value)
bool ServiceAccountCredentialsHasBeenSet() const
void SetSharePointClientCredentials(SharePointClientCredentialsT &&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
const ServiceAccountCredentials & GetServiceAccountCredentials() const
bool OneDriveClientCredentialsHasBeenSet() const
DataSourceCredentials & WithOAuthClientCredentials(OAuthClientCredentialsT &&value)
const OneDriveClientCredentials & GetOneDriveClientCredentials() const
DataSourceCredentials & WithCredentialPair(CredentialPairT &&value)
void SetServiceAccountCredentials(ServiceAccountCredentialsT &&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)
DataSourceCredentials & WithSharePointClientCredentials(SharePointClientCredentialsT &&value)
bool CopySourceArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue