7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/DataSourceType.h>
10#include <aws/quicksight/model/ResourceStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/quicksight/model/DataSourceParameters.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/quicksight/model/VpcConnectionProperties.h>
15#include <aws/quicksight/model/SslProperties.h>
16#include <aws/quicksight/model/DataSourceErrorInfo.h>
54 template<
typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
56 template<
typename ArnT = Aws::String>
67 template<
typename DataSourceIdT = Aws::String>
68 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
69 template<
typename DataSourceIdT = Aws::String>
79 template<
typename NameT = Aws::String>
80 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
81 template<
typename NameT = Aws::String>
112 template<
typename CreatedTimeT = Aws::Utils::DateTime>
113 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
114 template<
typename CreatedTimeT = Aws::Utils::DateTime>
124 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
125 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
126 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
138 template<
typename DataSourceParametersT = DataSourceParameters>
139 void SetDataSourceParameters(DataSourceParametersT&& value) { m_dataSourceParametersHasBeenSet =
true; m_dataSourceParameters = std::forward<DataSourceParametersT>(value); }
140 template<
typename DataSourceParametersT = DataSourceParameters>
159 template<
typename AlternateDataSourceParametersT = Aws::Vector<DataSourceParameters>>
160 void SetAlternateDataSourceParameters(AlternateDataSourceParametersT&& value) { m_alternateDataSourceParametersHasBeenSet =
true; m_alternateDataSourceParameters = std::forward<AlternateDataSourceParametersT>(value); }
161 template<
typename AlternateDataSourceParametersT = Aws::Vector<DataSourceParameters>>
163 template<
typename AlternateDataSourceParametersT = DataSourceParameters>
164 DataSource&
AddAlternateDataSourceParameters(AlternateDataSourceParametersT&& value) { m_alternateDataSourceParametersHasBeenSet =
true; m_alternateDataSourceParameters.emplace_back(std::forward<AlternateDataSourceParametersT>(value));
return *
this; }
175 template<
typename VpcConnectionPropertiesT = VpcConnectionProperties>
176 void SetVpcConnectionProperties(VpcConnectionPropertiesT&& value) { m_vpcConnectionPropertiesHasBeenSet =
true; m_vpcConnectionProperties = std::forward<VpcConnectionPropertiesT>(value); }
177 template<
typename VpcConnectionPropertiesT = VpcConnectionProperties>
188 template<
typename SslPropertiesT = SslProperties>
189 void SetSslProperties(SslPropertiesT&& value) { m_sslPropertiesHasBeenSet =
true; m_sslProperties = std::forward<SslPropertiesT>(value); }
190 template<
typename SslPropertiesT = SslProperties>
201 template<
typename ErrorInfoT = DataSourceErrorInfo>
202 void SetErrorInfo(ErrorInfoT&& value) { m_errorInfoHasBeenSet =
true; m_errorInfo = std::forward<ErrorInfoT>(value); }
203 template<
typename ErrorInfoT = DataSourceErrorInfo>
214 template<
typename SecretArnT = Aws::String>
215 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet =
true; m_secretArn = std::forward<SecretArnT>(value); }
216 template<
typename SecretArnT = Aws::String>
222 bool m_arnHasBeenSet =
false;
225 bool m_dataSourceIdHasBeenSet =
false;
228 bool m_nameHasBeenSet =
false;
231 bool m_typeHasBeenSet =
false;
234 bool m_statusHasBeenSet =
false;
237 bool m_createdTimeHasBeenSet =
false;
240 bool m_lastUpdatedTimeHasBeenSet =
false;
242 DataSourceParameters m_dataSourceParameters;
243 bool m_dataSourceParametersHasBeenSet =
false;
246 bool m_alternateDataSourceParametersHasBeenSet =
false;
248 VpcConnectionProperties m_vpcConnectionProperties;
249 bool m_vpcConnectionPropertiesHasBeenSet =
false;
251 SslProperties m_sslProperties;
252 bool m_sslPropertiesHasBeenSet =
false;
254 DataSourceErrorInfo m_errorInfo;
255 bool m_errorInfoHasBeenSet =
false;
258 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