AWS SDK for C++  1.8.126
AWS SDK for C++
UpdateDataSourceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace QuickSight
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "UpdateDataSource"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
43 
47  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
48 
52  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
53 
57  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
58 
62  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
63 
67  inline UpdateDataSourceRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
68 
72  inline UpdateDataSourceRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
73 
77  inline UpdateDataSourceRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
78 
79 
84  inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
85 
90  inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
91 
96  inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
97 
102  inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
103 
108  inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
109 
114  inline UpdateDataSourceRequest& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
115 
120  inline UpdateDataSourceRequest& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
121 
126  inline UpdateDataSourceRequest& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
127 
128 
132  inline const Aws::String& GetName() const{ return m_name; }
133 
137  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
138 
142  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
143 
147  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
148 
152  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
153 
157  inline UpdateDataSourceRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
158 
162  inline UpdateDataSourceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
163 
167  inline UpdateDataSourceRequest& WithName(const char* value) { SetName(value); return *this;}
168 
169 
173  inline const DataSourceParameters& GetDataSourceParameters() const{ return m_dataSourceParameters; }
174 
178  inline bool DataSourceParametersHasBeenSet() const { return m_dataSourceParametersHasBeenSet; }
179 
183  inline void SetDataSourceParameters(const DataSourceParameters& value) { m_dataSourceParametersHasBeenSet = true; m_dataSourceParameters = value; }
184 
188  inline void SetDataSourceParameters(DataSourceParameters&& value) { m_dataSourceParametersHasBeenSet = true; m_dataSourceParameters = std::move(value); }
189 
193  inline UpdateDataSourceRequest& WithDataSourceParameters(const DataSourceParameters& value) { SetDataSourceParameters(value); return *this;}
194 
198  inline UpdateDataSourceRequest& WithDataSourceParameters(DataSourceParameters&& value) { SetDataSourceParameters(std::move(value)); return *this;}
199 
200 
206  inline const DataSourceCredentials& GetCredentials() const{ return m_credentials; }
207 
213  inline bool CredentialsHasBeenSet() const { return m_credentialsHasBeenSet; }
214 
220  inline void SetCredentials(const DataSourceCredentials& value) { m_credentialsHasBeenSet = true; m_credentials = value; }
221 
227  inline void SetCredentials(DataSourceCredentials&& value) { m_credentialsHasBeenSet = true; m_credentials = std::move(value); }
228 
234  inline UpdateDataSourceRequest& WithCredentials(const DataSourceCredentials& value) { SetCredentials(value); return *this;}
235 
241  inline UpdateDataSourceRequest& WithCredentials(DataSourceCredentials&& value) { SetCredentials(std::move(value)); return *this;}
242 
243 
248  inline const VpcConnectionProperties& GetVpcConnectionProperties() const{ return m_vpcConnectionProperties; }
249 
254  inline bool VpcConnectionPropertiesHasBeenSet() const { return m_vpcConnectionPropertiesHasBeenSet; }
255 
260  inline void SetVpcConnectionProperties(const VpcConnectionProperties& value) { m_vpcConnectionPropertiesHasBeenSet = true; m_vpcConnectionProperties = value; }
261 
266  inline void SetVpcConnectionProperties(VpcConnectionProperties&& value) { m_vpcConnectionPropertiesHasBeenSet = true; m_vpcConnectionProperties = std::move(value); }
267 
272  inline UpdateDataSourceRequest& WithVpcConnectionProperties(const VpcConnectionProperties& value) { SetVpcConnectionProperties(value); return *this;}
273 
278  inline UpdateDataSourceRequest& WithVpcConnectionProperties(VpcConnectionProperties&& value) { SetVpcConnectionProperties(std::move(value)); return *this;}
279 
280 
285  inline const SslProperties& GetSslProperties() const{ return m_sslProperties; }
286 
291  inline bool SslPropertiesHasBeenSet() const { return m_sslPropertiesHasBeenSet; }
292 
297  inline void SetSslProperties(const SslProperties& value) { m_sslPropertiesHasBeenSet = true; m_sslProperties = value; }
298 
303  inline void SetSslProperties(SslProperties&& value) { m_sslPropertiesHasBeenSet = true; m_sslProperties = std::move(value); }
304 
309  inline UpdateDataSourceRequest& WithSslProperties(const SslProperties& value) { SetSslProperties(value); return *this;}
310 
315  inline UpdateDataSourceRequest& WithSslProperties(SslProperties&& value) { SetSslProperties(std::move(value)); return *this;}
316 
317  private:
318 
319  Aws::String m_awsAccountId;
320  bool m_awsAccountIdHasBeenSet;
321 
322  Aws::String m_dataSourceId;
323  bool m_dataSourceIdHasBeenSet;
324 
325  Aws::String m_name;
326  bool m_nameHasBeenSet;
327 
328  DataSourceParameters m_dataSourceParameters;
329  bool m_dataSourceParametersHasBeenSet;
330 
331  DataSourceCredentials m_credentials;
332  bool m_credentialsHasBeenSet;
333 
334  VpcConnectionProperties m_vpcConnectionProperties;
335  bool m_vpcConnectionPropertiesHasBeenSet;
336 
337  SslProperties m_sslProperties;
338  bool m_sslPropertiesHasBeenSet;
339  };
340 
341 } // namespace Model
342 } // namespace QuickSight
343 } // namespace Aws
Aws::QuickSight::Model::UpdateDataSourceRequest::SetDataSourceId
void SetDataSourceId(Aws::String &&value)
Definition: UpdateDataSourceRequest.h:102
Aws::QuickSight::Model::UpdateDataSourceRequest::CredentialsHasBeenSet
bool CredentialsHasBeenSet() const
Definition: UpdateDataSourceRequest.h:213
Aws::QuickSight::Model::UpdateDataSourceRequest::VpcConnectionPropertiesHasBeenSet
bool VpcConnectionPropertiesHasBeenSet() const
Definition: UpdateDataSourceRequest.h:254
Aws::QuickSight::Model::UpdateDataSourceRequest::WithDataSourceParameters
UpdateDataSourceRequest & WithDataSourceParameters(DataSourceParameters &&value)
Definition: UpdateDataSourceRequest.h:198
QuickSight_EXPORTS.h
Aws::QuickSight::Model::UpdateDataSourceRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: UpdateDataSourceRequest.h:52
Aws::QuickSight::Model::UpdateDataSourceRequest::WithDataSourceId
UpdateDataSourceRequest & WithDataSourceId(const Aws::String &value)
Definition: UpdateDataSourceRequest.h:114
Aws::QuickSight::Model::UpdateDataSourceRequest::SetName
void SetName(const char *value)
Definition: UpdateDataSourceRequest.h:152
DataSourceParameters.h
VpcConnectionProperties.h
Aws::QuickSight::Model::UpdateDataSourceRequest::DataSourceParametersHasBeenSet
bool DataSourceParametersHasBeenSet() const
Definition: UpdateDataSourceRequest.h:178
Aws::QuickSight::Model::UpdateDataSourceRequest::WithName
UpdateDataSourceRequest & WithName(Aws::String &&value)
Definition: UpdateDataSourceRequest.h:162
Aws::QuickSight::Model::DataSourceCredentials
Definition: DataSourceCredentials.h:35
Aws::QuickSight::Model::UpdateDataSourceRequest::SetCredentials
void SetCredentials(DataSourceCredentials &&value)
Definition: UpdateDataSourceRequest.h:227
Aws::QuickSight::Model::UpdateDataSourceRequest::WithAwsAccountId
UpdateDataSourceRequest & WithAwsAccountId(const char *value)
Definition: UpdateDataSourceRequest.h:77
Aws::QuickSight::Model::UpdateDataSourceRequest::GetCredentials
const DataSourceCredentials & GetCredentials() const
Definition: UpdateDataSourceRequest.h:206
Aws::QuickSight::Model::UpdateDataSourceRequest::WithAwsAccountId
UpdateDataSourceRequest & WithAwsAccountId(const Aws::String &value)
Definition: UpdateDataSourceRequest.h:67
Aws::QuickSight::Model::UpdateDataSourceRequest::SetSslProperties
void SetSslProperties(const SslProperties &value)
Definition: UpdateDataSourceRequest.h:297
Aws::QuickSight::Model::UpdateDataSourceRequest::WithSslProperties
UpdateDataSourceRequest & WithSslProperties(const SslProperties &value)
Definition: UpdateDataSourceRequest.h:309
Aws::QuickSight::Model::UpdateDataSourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDataSourceRequest.h:34
Aws::QuickSight::Model::UpdateDataSourceRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateDataSourceRequest.h:147
Aws::QuickSight::Model::UpdateDataSourceRequest::WithCredentials
UpdateDataSourceRequest & WithCredentials(DataSourceCredentials &&value)
Definition: UpdateDataSourceRequest.h:241
Aws::QuickSight::Model::UpdateDataSourceRequest::WithName
UpdateDataSourceRequest & WithName(const char *value)
Definition: UpdateDataSourceRequest.h:167
Aws::QuickSight::Model::UpdateDataSourceRequest::WithDataSourceId
UpdateDataSourceRequest & WithDataSourceId(const char *value)
Definition: UpdateDataSourceRequest.h:126
Aws::QuickSight::Model::UpdateDataSourceRequest::SetSslProperties
void SetSslProperties(SslProperties &&value)
Definition: UpdateDataSourceRequest.h:303
Aws::QuickSight::Model::UpdateDataSourceRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateDataSourceRequest.h:142
DataSourceCredentials.h
Aws::QuickSight::Model::UpdateDataSourceRequest::GetDataSourceParameters
const DataSourceParameters & GetDataSourceParameters() const
Definition: UpdateDataSourceRequest.h:173
Aws::QuickSight::Model::UpdateDataSourceRequest::SetDataSourceId
void SetDataSourceId(const char *value)
Definition: UpdateDataSourceRequest.h:108
SslProperties.h
Aws::QuickSight::Model::UpdateDataSourceRequest::SetDataSourceParameters
void SetDataSourceParameters(const DataSourceParameters &value)
Definition: UpdateDataSourceRequest.h:183
Aws::QuickSight::Model::VpcConnectionProperties
Definition: VpcConnectionProperties.h:32
QuickSightRequest.h
Aws::QuickSight::Model::UpdateDataSourceRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateDataSourceRequest.h:137
Aws::QuickSight::Model::UpdateDataSourceRequest::GetSslProperties
const SslProperties & GetSslProperties() const
Definition: UpdateDataSourceRequest.h:285
Aws::QuickSight::Model::UpdateDataSourceRequest::UpdateDataSourceRequest
UpdateDataSourceRequest()
Aws::QuickSight::Model::UpdateDataSourceRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: UpdateDataSourceRequest.h:42
Aws::QuickSight::Model::UpdateDataSourceRequest::GetDataSourceId
const Aws::String & GetDataSourceId() const
Definition: UpdateDataSourceRequest.h:84
AWSString.h
Aws::QuickSight::Model::UpdateDataSourceRequest::WithVpcConnectionProperties
UpdateDataSourceRequest & WithVpcConnectionProperties(VpcConnectionProperties &&value)
Definition: UpdateDataSourceRequest.h:278
Aws::QuickSight::Model::UpdateDataSourceRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: UpdateDataSourceRequest.h:47
Aws::QuickSight::Model::UpdateDataSourceRequest::SetDataSourceId
void SetDataSourceId(const Aws::String &value)
Definition: UpdateDataSourceRequest.h:96
Aws::QuickSight::Model::UpdateDataSourceRequest::SetVpcConnectionProperties
void SetVpcConnectionProperties(const VpcConnectionProperties &value)
Definition: UpdateDataSourceRequest.h:260
Aws::QuickSight::Model::UpdateDataSourceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::DataSourceParameters
Definition: DataSourceParameters.h:53
Aws::QuickSight::Model::UpdateDataSourceRequest
Definition: UpdateDataSourceRequest.h:26
Aws::QuickSight::Model::UpdateDataSourceRequest::DataSourceIdHasBeenSet
bool DataSourceIdHasBeenSet() const
Definition: UpdateDataSourceRequest.h:90
Aws::QuickSight::Model::UpdateDataSourceRequest::SslPropertiesHasBeenSet
bool SslPropertiesHasBeenSet() const
Definition: UpdateDataSourceRequest.h:291
Aws::QuickSight::Model::UpdateDataSourceRequest::GetVpcConnectionProperties
const VpcConnectionProperties & GetVpcConnectionProperties() const
Definition: UpdateDataSourceRequest.h:248
Aws::QuickSight::Model::UpdateDataSourceRequest::WithCredentials
UpdateDataSourceRequest & WithCredentials(const DataSourceCredentials &value)
Definition: UpdateDataSourceRequest.h:234
Aws::QuickSight::Model::UpdateDataSourceRequest::SetDataSourceParameters
void SetDataSourceParameters(DataSourceParameters &&value)
Definition: UpdateDataSourceRequest.h:188
Aws::QuickSight::Model::UpdateDataSourceRequest::WithAwsAccountId
UpdateDataSourceRequest & WithAwsAccountId(Aws::String &&value)
Definition: UpdateDataSourceRequest.h:72
Aws::QuickSight::Model::UpdateDataSourceRequest::WithVpcConnectionProperties
UpdateDataSourceRequest & WithVpcConnectionProperties(const VpcConnectionProperties &value)
Definition: UpdateDataSourceRequest.h:272
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::UpdateDataSourceRequest::SetCredentials
void SetCredentials(const DataSourceCredentials &value)
Definition: UpdateDataSourceRequest.h:220
Aws::QuickSight::Model::UpdateDataSourceRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: UpdateDataSourceRequest.h:62
Aws::QuickSight::Model::UpdateDataSourceRequest::GetName
const Aws::String & GetName() const
Definition: UpdateDataSourceRequest.h:132
Aws::QuickSight::Model::SslProperties
Definition: SslProperties.h:31
Aws::QuickSight::Model::UpdateDataSourceRequest::WithName
UpdateDataSourceRequest & WithName(const Aws::String &value)
Definition: UpdateDataSourceRequest.h:157
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::UpdateDataSourceRequest::WithDataSourceId
UpdateDataSourceRequest & WithDataSourceId(Aws::String &&value)
Definition: UpdateDataSourceRequest.h:120
Aws::QuickSight::Model::UpdateDataSourceRequest::SetVpcConnectionProperties
void SetVpcConnectionProperties(VpcConnectionProperties &&value)
Definition: UpdateDataSourceRequest.h:266
Aws::QuickSight::Model::UpdateDataSourceRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: UpdateDataSourceRequest.h:57
Aws::QuickSight::Model::UpdateDataSourceRequest::WithDataSourceParameters
UpdateDataSourceRequest & WithDataSourceParameters(const DataSourceParameters &value)
Definition: UpdateDataSourceRequest.h:193
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::UpdateDataSourceRequest::WithSslProperties
UpdateDataSourceRequest & WithSslProperties(SslProperties &&value)
Definition: UpdateDataSourceRequest.h:315