7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSightRequest.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/DataSourceCredentials.h>
12#include <aws/quicksight/model/DataSourceParameters.h>
13#include <aws/quicksight/model/DataSourceType.h>
14#include <aws/quicksight/model/ResourcePermission.h>
15#include <aws/quicksight/model/SslProperties.h>
16#include <aws/quicksight/model/Tag.h>
17#include <aws/quicksight/model/VpcConnectionProperties.h>
45 template <
typename AwsAccountIdT = Aws::String>
47 m_awsAccountIdHasBeenSet =
true;
48 m_awsAccountId = std::forward<AwsAccountIdT>(value);
50 template <
typename AwsAccountIdT = Aws::String>
64 template <
typename DataSourceIdT = Aws::String>
66 m_dataSourceIdHasBeenSet =
true;
67 m_dataSourceId = std::forward<DataSourceIdT>(value);
69 template <
typename DataSourceIdT = Aws::String>
82 template <
typename NameT = Aws::String>
84 m_nameHasBeenSet =
true;
85 m_name = std::forward<NameT>(value);
87 template <
typename NameT = Aws::String>
89 SetName(std::forward<NameT>(value));
103 m_typeHasBeenSet =
true;
119 template <
typename DataSourceParametersT = DataSourceParameters>
121 m_dataSourceParametersHasBeenSet =
true;
122 m_dataSourceParameters = std::forward<DataSourceParametersT>(value);
124 template <
typename DataSourceParametersT = DataSourceParameters>
139 template <
typename CredentialsT = DataSourceCredentials>
141 m_credentialsHasBeenSet =
true;
142 m_credentials = std::forward<CredentialsT>(value);
144 template <
typename CredentialsT = DataSourceCredentials>
157 template <
typename PermissionsT = Aws::Vector<ResourcePermission>>
159 m_permissionsHasBeenSet =
true;
160 m_permissions = std::forward<PermissionsT>(value);
162 template <
typename PermissionsT = Aws::Vector<ResourcePermission>>
167 template <
typename PermissionsT = ResourcePermission>
169 m_permissionsHasBeenSet =
true;
170 m_permissions.emplace_back(std::forward<PermissionsT>(value));
182 template <
typename VpcConnectionPropertiesT = VpcConnectionProperties>
184 m_vpcConnectionPropertiesHasBeenSet =
true;
185 m_vpcConnectionProperties = std::forward<VpcConnectionPropertiesT>(value);
187 template <
typename VpcConnectionPropertiesT = VpcConnectionProperties>
201 template <
typename SslPropertiesT = SslProperties>
203 m_sslPropertiesHasBeenSet =
true;
204 m_sslProperties = std::forward<SslPropertiesT>(value);
206 template <
typename SslPropertiesT = SslProperties>
220 template <
typename TagsT = Aws::Vector<Tag>>
222 m_tagsHasBeenSet =
true;
223 m_tags = std::forward<TagsT>(value);
225 template <
typename TagsT = Aws::Vector<Tag>>
227 SetTags(std::forward<TagsT>(value));
230 template <
typename TagsT = Tag>
232 m_tagsHasBeenSet =
true;
233 m_tags.emplace_back(std::forward<TagsT>(value));
245 template <
typename FolderArnsT = Aws::Vector<Aws::String>>
247 m_folderArnsHasBeenSet =
true;
248 m_folderArns = std::forward<FolderArnsT>(value);
250 template <
typename FolderArnsT = Aws::Vector<Aws::String>>
255 template <
typename FolderArnsT = Aws::String>
257 m_folderArnsHasBeenSet =
true;
258 m_folderArns.emplace_back(std::forward<FolderArnsT>(value));
271 DataSourceParameters m_dataSourceParameters;
273 DataSourceCredentials m_credentials;
277 VpcConnectionProperties m_vpcConnectionProperties;
279 SslProperties m_sslProperties;
284 bool m_awsAccountIdHasBeenSet =
false;
285 bool m_dataSourceIdHasBeenSet =
false;
286 bool m_nameHasBeenSet =
false;
287 bool m_typeHasBeenSet =
false;
288 bool m_dataSourceParametersHasBeenSet =
false;
289 bool m_credentialsHasBeenSet =
false;
290 bool m_permissionsHasBeenSet =
false;
291 bool m_vpcConnectionPropertiesHasBeenSet =
false;
292 bool m_sslPropertiesHasBeenSet =
false;
293 bool m_tagsHasBeenSet =
false;
294 bool m_folderArnsHasBeenSet =
false;
CreateDataSourceRequest & WithDataSourceId(DataSourceIdT &&value)
const Aws::String & GetAwsAccountId() const
void SetCredentials(CredentialsT &&value)
void SetAwsAccountId(AwsAccountIdT &&value)
CreateDataSourceRequest & WithPermissions(PermissionsT &&value)
bool TagsHasBeenSet() const
bool NameHasBeenSet() const
void SetDataSourceParameters(DataSourceParametersT &&value)
bool VpcConnectionPropertiesHasBeenSet() const
AWS_QUICKSIGHT_API CreateDataSourceRequest()=default
CreateDataSourceRequest & WithType(DataSourceType value)
void SetTags(TagsT &&value)
CreateDataSourceRequest & WithCredentials(CredentialsT &&value)
void SetVpcConnectionProperties(VpcConnectionPropertiesT &&value)
bool TypeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateDataSourceRequest & WithDataSourceParameters(DataSourceParametersT &&value)
const Aws::Vector< Aws::String > & GetFolderArns() const
const SslProperties & GetSslProperties() const
bool SslPropertiesHasBeenSet() const
void SetDataSourceId(DataSourceIdT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateDataSourceRequest & WithSslProperties(SslPropertiesT &&value)
CreateDataSourceRequest & WithVpcConnectionProperties(VpcConnectionPropertiesT &&value)
const Aws::String & GetDataSourceId() const
bool DataSourceParametersHasBeenSet() const
void SetFolderArns(FolderArnsT &&value)
CreateDataSourceRequest & WithTags(TagsT &&value)
CreateDataSourceRequest & WithFolderArns(FolderArnsT &&value)
const VpcConnectionProperties & GetVpcConnectionProperties() const
CreateDataSourceRequest & WithName(NameT &&value)
void SetName(NameT &&value)
CreateDataSourceRequest & AddPermissions(PermissionsT &&value)
void SetPermissions(PermissionsT &&value)
bool DataSourceIdHasBeenSet() const
bool AwsAccountIdHasBeenSet() const
DataSourceType GetType() const
CreateDataSourceRequest & AddTags(TagsT &&value)
CreateDataSourceRequest & AddFolderArns(FolderArnsT &&value)
void SetType(DataSourceType value)
void SetSslProperties(SslPropertiesT &&value)
const DataSourceCredentials & GetCredentials() const
CreateDataSourceRequest & WithAwsAccountId(AwsAccountIdT &&value)
bool PermissionsHasBeenSet() const
bool FolderArnsHasBeenSet() const
const DataSourceParameters & GetDataSourceParameters() const
bool CredentialsHasBeenSet() const
const Aws::Vector< ResourcePermission > & GetPermissions() const
const Aws::String & GetName() const
const Aws::Vector< Tag > & GetTags() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector