7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/DataSourceType.h>
11#include <aws/quicksight/model/DataSourceParameters.h>
12#include <aws/quicksight/model/DataSourceCredentials.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/ResourcePermission.h>
17#include <aws/quicksight/model/Tag.h>
51 inline void SetAwsAccountId(
const char* value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId.assign(value); }
66 inline void SetDataSourceId(
const char* value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId.assign(value); }
80 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
200 bool m_awsAccountIdHasBeenSet =
false;
203 bool m_dataSourceIdHasBeenSet =
false;
206 bool m_nameHasBeenSet =
false;
209 bool m_typeHasBeenSet =
false;
212 bool m_dataSourceParametersHasBeenSet =
false;
215 bool m_credentialsHasBeenSet =
false;
218 bool m_permissionsHasBeenSet =
false;
221 bool m_vpcConnectionPropertiesHasBeenSet =
false;
224 bool m_sslPropertiesHasBeenSet =
false;
227 bool m_tagsHasBeenSet =
false;
230 bool m_folderArnsHasBeenSet =
false;
CreateDataSourceRequest & WithName(Aws::String &&value)
const Aws::String & GetAwsAccountId() const
AWS_QUICKSIGHT_API CreateDataSourceRequest()
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
CreateDataSourceRequest & WithName(const Aws::String &value)
CreateDataSourceRequest & WithSslProperties(SslProperties &&value)
CreateDataSourceRequest & WithDataSourceParameters(DataSourceParameters &&value)
void SetType(DataSourceType &&value)
CreateDataSourceRequest & WithType(const DataSourceType &value)
void SetFolderArns(Aws::Vector< Aws::String > &&value)
bool TagsHasBeenSet() const
CreateDataSourceRequest & WithName(const char *value)
void SetAwsAccountId(const Aws::String &value)
bool NameHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
CreateDataSourceRequest & WithFolderArns(const Aws::Vector< Aws::String > &value)
bool VpcConnectionPropertiesHasBeenSet() const
CreateDataSourceRequest & AddFolderArns(Aws::String &&value)
void SetAwsAccountId(const char *value)
CreateDataSourceRequest & WithVpcConnectionProperties(const VpcConnectionProperties &value)
CreateDataSourceRequest & AddFolderArns(const Aws::String &value)
bool TypeHasBeenSet() const
const DataSourceType & GetType() const
virtual const char * GetServiceRequestName() const override
CreateDataSourceRequest & AddTags(const Tag &value)
void SetDataSourceParameters(const DataSourceParameters &value)
CreateDataSourceRequest & AddPermissions(const ResourcePermission &value)
CreateDataSourceRequest & WithPermissions(Aws::Vector< ResourcePermission > &&value)
CreateDataSourceRequest & WithAwsAccountId(Aws::String &&value)
CreateDataSourceRequest & WithVpcConnectionProperties(VpcConnectionProperties &&value)
CreateDataSourceRequest & WithCredentials(DataSourceCredentials &&value)
void SetCredentials(DataSourceCredentials &&value)
const Aws::Vector< Aws::String > & GetFolderArns() const
void SetSslProperties(const SslProperties &value)
void SetName(const Aws::String &value)
CreateDataSourceRequest & WithCredentials(const DataSourceCredentials &value)
const SslProperties & GetSslProperties() const
CreateDataSourceRequest & WithDataSourceId(Aws::String &&value)
CreateDataSourceRequest & WithTags(Aws::Vector< Tag > &&value)
bool SslPropertiesHasBeenSet() const
CreateDataSourceRequest & WithFolderArns(Aws::Vector< Aws::String > &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
const Aws::String & GetDataSourceId() const
CreateDataSourceRequest & WithDataSourceId(const Aws::String &value)
bool DataSourceParametersHasBeenSet() const
void SetDataSourceId(const Aws::String &value)
CreateDataSourceRequest & AddFolderArns(const char *value)
CreateDataSourceRequest & WithTags(const Aws::Vector< Tag > &value)
const VpcConnectionProperties & GetVpcConnectionProperties() const
void SetName(Aws::String &&value)
void SetVpcConnectionProperties(VpcConnectionProperties &&value)
void SetCredentials(const DataSourceCredentials &value)
CreateDataSourceRequest & WithAwsAccountId(const Aws::String &value)
bool DataSourceIdHasBeenSet() const
void SetFolderArns(const Aws::Vector< Aws::String > &value)
bool AwsAccountIdHasBeenSet() const
void SetVpcConnectionProperties(const VpcConnectionProperties &value)
CreateDataSourceRequest & WithSslProperties(const SslProperties &value)
CreateDataSourceRequest & AddPermissions(ResourcePermission &&value)
CreateDataSourceRequest & WithDataSourceId(const char *value)
void SetDataSourceParameters(DataSourceParameters &&value)
CreateDataSourceRequest & WithDataSourceParameters(const DataSourceParameters &value)
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
const DataSourceCredentials & GetCredentials() const
CreateDataSourceRequest & WithAwsAccountId(const char *value)
void SetType(const DataSourceType &value)
bool PermissionsHasBeenSet() const
bool FolderArnsHasBeenSet() const
void SetSslProperties(SslProperties &&value)
const DataSourceParameters & GetDataSourceParameters() const
bool CredentialsHasBeenSet() const
void SetDataSourceId(Aws::String &&value)
const Aws::Vector< ResourcePermission > & GetPermissions() const
void SetTags(Aws::Vector< Tag > &&value)
const Aws::String & GetName() const
void SetAwsAccountId(Aws::String &&value)
void SetName(const char *value)
const Aws::Vector< Tag > & GetTags() const
CreateDataSourceRequest & AddTags(Tag &&value)
CreateDataSourceRequest & WithType(DataSourceType &&value)
void SetDataSourceId(const char *value)
CreateDataSourceRequest & WithPermissions(const Aws::Vector< ResourcePermission > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector