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>
55 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
56 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
71 inline void SetDataSourceId(
const char* value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId.assign(value); }
85 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
226 inline void SetSecretArn(
const char* value) { m_secretArnHasBeenSet =
true; m_secretArn.assign(value); }
234 bool m_arnHasBeenSet =
false;
237 bool m_dataSourceIdHasBeenSet =
false;
240 bool m_nameHasBeenSet =
false;
243 bool m_typeHasBeenSet =
false;
246 bool m_statusHasBeenSet =
false;
249 bool m_createdTimeHasBeenSet =
false;
252 bool m_lastUpdatedTimeHasBeenSet =
false;
255 bool m_dataSourceParametersHasBeenSet =
false;
258 bool m_alternateDataSourceParametersHasBeenSet =
false;
261 bool m_vpcConnectionPropertiesHasBeenSet =
false;
264 bool m_sslPropertiesHasBeenSet =
false;
267 bool m_errorInfoHasBeenSet =
false;
270 bool m_secretArnHasBeenSet =
false;
void SetStatus(const ResourceStatus &value)
DataSource & WithStatus(ResourceStatus &&value)
DataSource & WithErrorInfo(const DataSourceErrorInfo &value)
DataSource & WithArn(Aws::String &&value)
bool TypeHasBeenSet() const
DataSource & WithCreatedTime(const Aws::Utils::DateTime &value)
DataSource & WithDataSourceId(Aws::String &&value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
DataSource & AddAlternateDataSourceParameters(DataSourceParameters &&value)
void SetAlternateDataSourceParameters(Aws::Vector< DataSourceParameters > &&value)
DataSource & WithType(const DataSourceType &value)
DataSource & WithStatus(const ResourceStatus &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSslProperties(const SslProperties &value)
void SetDataSourceId(Aws::String &&value)
void SetName(const Aws::String &value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetArn() const
bool VpcConnectionPropertiesHasBeenSet() const
bool DataSourceParametersHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetArn(Aws::String &&value)
DataSource & WithErrorInfo(DataSourceErrorInfo &&value)
void SetType(DataSourceType &&value)
DataSource & WithSslProperties(const SslProperties &value)
void SetSslProperties(SslProperties &&value)
bool SecretArnHasBeenSet() const
DataSource & WithDataSourceId(const char *value)
AWS_QUICKSIGHT_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ResourceStatus &&value)
void SetArn(const char *value)
DataSource & WithType(DataSourceType &&value)
void SetType(const DataSourceType &value)
void SetDataSourceId(const Aws::String &value)
DataSource & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
DataSource & WithSslProperties(SslProperties &&value)
bool SslPropertiesHasBeenSet() const
void SetDataSourceId(const char *value)
DataSource & WithAlternateDataSourceParameters(const Aws::Vector< DataSourceParameters > &value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetName(Aws::String &&value)
void SetSecretArn(const char *value)
DataSource & WithVpcConnectionProperties(const VpcConnectionProperties &value)
bool CreatedTimeHasBeenSet() const
DataSource & WithSecretArn(Aws::String &&value)
DataSource & WithDataSourceParameters(const DataSourceParameters &value)
AWS_QUICKSIGHT_API DataSource(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API DataSource()
void SetSecretArn(Aws::String &&value)
const VpcConnectionProperties & GetVpcConnectionProperties() const
DataSource & WithDataSourceId(const Aws::String &value)
void SetName(const char *value)
void SetSecretArn(const Aws::String &value)
void SetArn(const Aws::String &value)
const Aws::String & GetSecretArn() const
bool StatusHasBeenSet() const
const DataSourceType & GetType() const
void SetDataSourceParameters(DataSourceParameters &&value)
const Aws::String & GetDataSourceId() const
bool NameHasBeenSet() const
void SetVpcConnectionProperties(VpcConnectionProperties &&value)
DataSource & WithArn(const Aws::String &value)
bool ErrorInfoHasBeenSet() const
void SetCreatedTime(const Aws::Utils::DateTime &value)
DataSource & WithAlternateDataSourceParameters(Aws::Vector< DataSourceParameters > &&value)
void SetErrorInfo(const DataSourceErrorInfo &value)
bool AlternateDataSourceParametersHasBeenSet() const
DataSource & WithSecretArn(const char *value)
DataSource & AddAlternateDataSourceParameters(const DataSourceParameters &value)
void SetVpcConnectionProperties(const VpcConnectionProperties &value)
DataSource & WithName(Aws::String &&value)
DataSource & WithVpcConnectionProperties(VpcConnectionProperties &&value)
const SslProperties & GetSslProperties() const
bool ArnHasBeenSet() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
const ResourceStatus & GetStatus() const
const DataSourceParameters & GetDataSourceParameters() const
const Aws::String & GetName() const
void SetAlternateDataSourceParameters(const Aws::Vector< DataSourceParameters > &value)
DataSource & WithName(const Aws::String &value)
DataSource & WithArn(const char *value)
DataSource & WithSecretArn(const Aws::String &value)
bool LastUpdatedTimeHasBeenSet() const
bool DataSourceIdHasBeenSet() const
DataSource & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetDataSourceParameters(const DataSourceParameters &value)
DataSource & WithDataSourceParameters(DataSourceParameters &&value)
void SetErrorInfo(DataSourceErrorInfo &&value)
DataSource & WithName(const char *value)
const DataSourceErrorInfo & GetErrorInfo() const
const Aws::Vector< DataSourceParameters > & GetAlternateDataSourceParameters() const
DataSource & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue