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/DataSourceErrorInfo.h>
12#include <aws/quicksight/model/DataSourceParameters.h>
13#include <aws/quicksight/model/DataSourceType.h>
14#include <aws/quicksight/model/ResourceStatus.h>
15#include <aws/quicksight/model/SslProperties.h>
16#include <aws/quicksight/model/VpcConnectionProperties.h>
48 template <
typename ArnT = Aws::String>
50 m_arnHasBeenSet =
true;
51 m_arn = std::forward<ArnT>(value);
53 template <
typename ArnT = Aws::String>
55 SetArn(std::forward<ArnT>(value));
67 template <
typename DataSourceIdT = Aws::String>
69 m_dataSourceIdHasBeenSet =
true;
70 m_dataSourceId = std::forward<DataSourceIdT>(value);
72 template <
typename DataSourceIdT = Aws::String>
85 template <
typename NameT = Aws::String>
87 m_nameHasBeenSet =
true;
88 m_name = std::forward<NameT>(value);
90 template <
typename NameT = Aws::String>
92 SetName(std::forward<NameT>(value));
105 m_typeHasBeenSet =
true;
121 m_statusHasBeenSet =
true;
136 template <
typename CreatedTimeT = Aws::Utils::DateTime>
138 m_createdTimeHasBeenSet =
true;
139 m_createdTime = std::forward<CreatedTimeT>(value);
141 template <
typename CreatedTimeT = Aws::Utils::DateTime>
154 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
156 m_lastUpdatedTimeHasBeenSet =
true;
157 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
159 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
174 template <
typename DataSourceParametersT = DataSourceParameters>
176 m_dataSourceParametersHasBeenSet =
true;
177 m_dataSourceParameters = std::forward<DataSourceParametersT>(value);
179 template <
typename DataSourceParametersT = DataSourceParameters>
201 template <
typename AlternateDataSourceParametersT = Aws::Vector<DataSourceParameters>>
203 m_alternateDataSourceParametersHasBeenSet =
true;
204 m_alternateDataSourceParameters = std::forward<AlternateDataSourceParametersT>(value);
206 template <
typename AlternateDataSourceParametersT = Aws::Vector<DataSourceParameters>>
211 template <
typename AlternateDataSourceParametersT = DataSourceParameters>
213 m_alternateDataSourceParametersHasBeenSet =
true;
214 m_alternateDataSourceParameters.emplace_back(std::forward<AlternateDataSourceParametersT>(value));
227 template <
typename VpcConnectionPropertiesT = VpcConnectionProperties>
229 m_vpcConnectionPropertiesHasBeenSet =
true;
230 m_vpcConnectionProperties = std::forward<VpcConnectionPropertiesT>(value);
232 template <
typename VpcConnectionPropertiesT = VpcConnectionProperties>
246 template <
typename SslPropertiesT = SslProperties>
248 m_sslPropertiesHasBeenSet =
true;
249 m_sslProperties = std::forward<SslPropertiesT>(value);
251 template <
typename SslPropertiesT = SslProperties>
265 template <
typename ErrorInfoT = DataSourceErrorInfo>
267 m_errorInfoHasBeenSet =
true;
268 m_errorInfo = std::forward<ErrorInfoT>(value);
270 template <
typename ErrorInfoT = DataSourceErrorInfo>
284 template <
typename SecretArnT = Aws::String>
286 m_secretArnHasBeenSet =
true;
287 m_secretArn = std::forward<SecretArnT>(value);
289 template <
typename SecretArnT = Aws::String>
310 DataSourceParameters m_dataSourceParameters;
314 VpcConnectionProperties m_vpcConnectionProperties;
316 SslProperties m_sslProperties;
318 DataSourceErrorInfo m_errorInfo;
321 bool m_arnHasBeenSet =
false;
322 bool m_dataSourceIdHasBeenSet =
false;
323 bool m_nameHasBeenSet =
false;
324 bool m_typeHasBeenSet =
false;
325 bool m_statusHasBeenSet =
false;
326 bool m_createdTimeHasBeenSet =
false;
327 bool m_lastUpdatedTimeHasBeenSet =
false;
328 bool m_dataSourceParametersHasBeenSet =
false;
329 bool m_alternateDataSourceParametersHasBeenSet =
false;
330 bool m_vpcConnectionPropertiesHasBeenSet =
false;
331 bool m_sslPropertiesHasBeenSet =
false;
332 bool m_errorInfoHasBeenSet =
false;
333 bool m_secretArnHasBeenSet =
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)
DataSource & WithArn(ArnT &&value)
DataSource & WithName(NameT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetArn() const
bool VpcConnectionPropertiesHasBeenSet() const
bool DataSourceParametersHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
bool SecretArnHasBeenSet() const
DataSource & AddAlternateDataSourceParameters(AlternateDataSourceParametersT &&value)
DataSource & WithVpcConnectionProperties(VpcConnectionPropertiesT &&value)
AWS_QUICKSIGHT_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(ArnT &&value)
bool SslPropertiesHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedTime() const
bool CreatedTimeHasBeenSet() const
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
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)
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)
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