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>
49 template<
typename AwsAccountIdT = Aws::String>
50 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
51 template<
typename AwsAccountIdT = Aws::String>
62 template<
typename DataSourceIdT = Aws::String>
63 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
64 template<
typename DataSourceIdT = Aws::String>
74 template<
typename NameT = Aws::String>
75 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
76 template<
typename NameT = Aws::String>
99 template<
typename DataSourceParametersT = DataSourceParameters>
100 void SetDataSourceParameters(DataSourceParametersT&& value) { m_dataSourceParametersHasBeenSet =
true; m_dataSourceParameters = std::forward<DataSourceParametersT>(value); }
101 template<
typename DataSourceParametersT = DataSourceParameters>
113 template<
typename CredentialsT = DataSourceCredentials>
114 void SetCredentials(CredentialsT&& value) { m_credentialsHasBeenSet =
true; m_credentials = std::forward<CredentialsT>(value); }
115 template<
typename CredentialsT = DataSourceCredentials>
125 template<
typename PermissionsT = Aws::Vector<ResourcePermission>>
126 void SetPermissions(PermissionsT&& value) { m_permissionsHasBeenSet =
true; m_permissions = std::forward<PermissionsT>(value); }
127 template<
typename PermissionsT = Aws::Vector<ResourcePermission>>
129 template<
typename PermissionsT = ResourcePermission>
140 template<
typename VpcConnectionPropertiesT = VpcConnectionProperties>
141 void SetVpcConnectionProperties(VpcConnectionPropertiesT&& value) { m_vpcConnectionPropertiesHasBeenSet =
true; m_vpcConnectionProperties = std::forward<VpcConnectionPropertiesT>(value); }
142 template<
typename VpcConnectionPropertiesT = VpcConnectionProperties>
153 template<
typename SslPropertiesT = SslProperties>
154 void SetSslProperties(SslPropertiesT&& value) { m_sslPropertiesHasBeenSet =
true; m_sslProperties = std::forward<SslPropertiesT>(value); }
155 template<
typename SslPropertiesT = SslProperties>
166 template<
typename TagsT = Aws::Vector<Tag>>
167 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
168 template<
typename TagsT = Aws::Vector<Tag>>
170 template<
typename TagsT = Tag>
181 template<
typename FolderArnsT = Aws::Vector<Aws::String>>
182 void SetFolderArns(FolderArnsT&& value) { m_folderArnsHasBeenSet =
true; m_folderArns = std::forward<FolderArnsT>(value); }
183 template<
typename FolderArnsT = Aws::Vector<Aws::String>>
185 template<
typename FolderArnsT = Aws::String>
191 bool m_awsAccountIdHasBeenSet =
false;
194 bool m_dataSourceIdHasBeenSet =
false;
197 bool m_nameHasBeenSet =
false;
200 bool m_typeHasBeenSet =
false;
202 DataSourceParameters m_dataSourceParameters;
203 bool m_dataSourceParametersHasBeenSet =
false;
205 DataSourceCredentials m_credentials;
206 bool m_credentialsHasBeenSet =
false;
209 bool m_permissionsHasBeenSet =
false;
211 VpcConnectionProperties m_vpcConnectionProperties;
212 bool m_vpcConnectionPropertiesHasBeenSet =
false;
214 SslProperties m_sslProperties;
215 bool m_sslPropertiesHasBeenSet =
false;
218 bool m_tagsHasBeenSet =
false;
221 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