7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/CredentialStatus.h>
12#include <aws/quicksight/model/DataSourceErrorInfo.h>
13#include <aws/quicksight/model/DataSourceParameters.h>
14#include <aws/quicksight/model/DataSourceType.h>
15#include <aws/quicksight/model/ResourceStatus.h>
16#include <aws/quicksight/model/SslProperties.h>
17#include <aws/quicksight/model/VpcConnectionProperties.h>
49 template <
typename ArnT = Aws::String>
51 m_arnHasBeenSet =
true;
52 m_arn = std::forward<ArnT>(value);
54 template <
typename ArnT = Aws::String>
56 SetArn(std::forward<ArnT>(value));
68 template <
typename DataSourceIdT = Aws::String>
70 m_dataSourceIdHasBeenSet =
true;
71 m_dataSourceId = std::forward<DataSourceIdT>(value);
73 template <
typename DataSourceIdT = Aws::String>
86 template <
typename NameT = Aws::String>
88 m_nameHasBeenSet =
true;
89 m_name = std::forward<NameT>(value);
91 template <
typename NameT = Aws::String>
93 SetName(std::forward<NameT>(value));
106 m_typeHasBeenSet =
true;
122 m_statusHasBeenSet =
true;
137 template <
typename CreatedTimeT = Aws::Utils::DateTime>
139 m_createdTimeHasBeenSet =
true;
140 m_createdTime = std::forward<CreatedTimeT>(value);
142 template <
typename CreatedTimeT = Aws::Utils::DateTime>
155 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
157 m_lastUpdatedTimeHasBeenSet =
true;
158 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
160 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
175 template <
typename DataSourceParametersT = DataSourceParameters>
177 m_dataSourceParametersHasBeenSet =
true;
178 m_dataSourceParameters = std::forward<DataSourceParametersT>(value);
180 template <
typename DataSourceParametersT = DataSourceParameters>
202 template <
typename AlternateDataSourceParametersT = Aws::Vector<DataSourceParameters>>
204 m_alternateDataSourceParametersHasBeenSet =
true;
205 m_alternateDataSourceParameters = std::forward<AlternateDataSourceParametersT>(value);
207 template <
typename AlternateDataSourceParametersT = Aws::Vector<DataSourceParameters>>
212 template <
typename AlternateDataSourceParametersT = DataSourceParameters>
214 m_alternateDataSourceParametersHasBeenSet =
true;
215 m_alternateDataSourceParameters.emplace_back(std::forward<AlternateDataSourceParametersT>(value));
228 template <
typename VpcConnectionPropertiesT = VpcConnectionProperties>
230 m_vpcConnectionPropertiesHasBeenSet =
true;
231 m_vpcConnectionProperties = std::forward<VpcConnectionPropertiesT>(value);
233 template <
typename VpcConnectionPropertiesT = VpcConnectionProperties>
247 template <
typename SslPropertiesT = SslProperties>
249 m_sslPropertiesHasBeenSet =
true;
250 m_sslProperties = std::forward<SslPropertiesT>(value);
252 template <
typename SslPropertiesT = SslProperties>
266 template <
typename ErrorInfoT = DataSourceErrorInfo>
268 m_errorInfoHasBeenSet =
true;
269 m_errorInfo = std::forward<ErrorInfoT>(value);
271 template <
typename ErrorInfoT = DataSourceErrorInfo>
285 template <
typename SecretArnT = Aws::String>
287 m_secretArnHasBeenSet =
true;
288 m_secretArn = std::forward<SecretArnT>(value);
290 template <
typename SecretArnT = Aws::String>
308 m_credentialStatusHasBeenSet =
true;
309 m_credentialStatus = value;
323 template <
typename LastCredentialVerifiedAtT = Aws::Utils::DateTime>
325 m_lastCredentialVerifiedAtHasBeenSet =
true;
326 m_lastCredentialVerifiedAt = std::forward<LastCredentialVerifiedAtT>(value);
328 template <
typename LastCredentialVerifiedAtT = Aws::Utils::DateTime>
349 DataSourceParameters m_dataSourceParameters;
353 VpcConnectionProperties m_vpcConnectionProperties;
355 SslProperties m_sslProperties;
357 DataSourceErrorInfo m_errorInfo;
364 bool m_arnHasBeenSet =
false;
365 bool m_dataSourceIdHasBeenSet =
false;
366 bool m_nameHasBeenSet =
false;
367 bool m_typeHasBeenSet =
false;
368 bool m_statusHasBeenSet =
false;
369 bool m_createdTimeHasBeenSet =
false;
370 bool m_lastUpdatedTimeHasBeenSet =
false;
371 bool m_dataSourceParametersHasBeenSet =
false;
372 bool m_alternateDataSourceParametersHasBeenSet =
false;
373 bool m_vpcConnectionPropertiesHasBeenSet =
false;
374 bool m_sslPropertiesHasBeenSet =
false;
375 bool m_errorInfoHasBeenSet =
false;
376 bool m_secretArnHasBeenSet =
false;
377 bool m_credentialStatusHasBeenSet =
false;
378 bool m_lastCredentialVerifiedAtHasBeenSet =
false;
void SetSecretArn(SecretArnT &&value)
void SetCreatedTime(CreatedTimeT &&value)
void SetStatus(ResourceStatus value)
DataSource & WithDataSourceParameters(DataSourceParametersT &&value)
DataSource & WithAlternateDataSourceParameters(AlternateDataSourceParametersT &&value)
bool TypeHasBeenSet() const
DataSource & WithSecretArn(SecretArnT &&value)
void SetLastCredentialVerifiedAt(LastCredentialVerifiedAtT &&value)
DataSource & WithArn(ArnT &&value)
DataSource & WithName(NameT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastCredentialVerifiedAt() const
const Aws::String & GetArn() const
bool VpcConnectionPropertiesHasBeenSet() const
bool DataSourceParametersHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
bool SecretArnHasBeenSet() const
bool LastCredentialVerifiedAtHasBeenSet() const
DataSource & AddAlternateDataSourceParameters(AlternateDataSourceParametersT &&value)
DataSource & WithVpcConnectionProperties(VpcConnectionPropertiesT &&value)
AWS_QUICKSIGHT_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(ArnT &&value)
bool CredentialStatusHasBeenSet() const
bool SslPropertiesHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedTime() const
bool CreatedTimeHasBeenSet() const
DataSource & WithLastCredentialVerifiedAt(LastCredentialVerifiedAtT &&value)
AWS_QUICKSIGHT_API DataSource(Aws::Utils::Json::JsonView jsonValue)
void SetDataSourceParameters(DataSourceParametersT &&value)
const VpcConnectionProperties & GetVpcConnectionProperties() const
DataSource & WithStatus(ResourceStatus value)
DataSource & WithSslProperties(SslPropertiesT &&value)
DataSource & WithCreatedTime(CreatedTimeT &&value)
void SetName(NameT &&value)
const Aws::String & GetSecretArn() const
bool StatusHasBeenSet() const
void SetCredentialStatus(CredentialStatus value)
const Aws::String & GetDataSourceId() const
DataSource & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_QUICKSIGHT_API DataSource()=default
bool NameHasBeenSet() const
bool ErrorInfoHasBeenSet() const
DataSourceType GetType() const
DataSource & WithType(DataSourceType value)
CredentialStatus GetCredentialStatus() const
bool AlternateDataSourceParametersHasBeenSet() const
void SetDataSourceId(DataSourceIdT &&value)
void SetAlternateDataSourceParameters(AlternateDataSourceParametersT &&value)
const SslProperties & GetSslProperties() const
bool ArnHasBeenSet() const
DataSource & WithErrorInfo(ErrorInfoT &&value)
const DataSourceParameters & GetDataSourceParameters() const
const Aws::String & GetName() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
void SetVpcConnectionProperties(VpcConnectionPropertiesT &&value)
void SetErrorInfo(ErrorInfoT &&value)
DataSource & WithCredentialStatus(CredentialStatus value)
bool LastUpdatedTimeHasBeenSet() const
bool DataSourceIdHasBeenSet() const
ResourceStatus GetStatus() const
void SetSslProperties(SslPropertiesT &&value)
void SetType(DataSourceType value)
DataSource & WithDataSourceId(DataSourceIdT &&value)
const DataSourceErrorInfo & GetErrorInfo() const
const Aws::Vector< DataSourceParameters > & GetAlternateDataSourceParameters() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue