AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDataSourceRequest.h
1
6#pragma once
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/DataSourceParameters.h>
11#include <aws/quicksight/model/DataSourceCredentials.h>
12#include <aws/quicksight/model/VpcConnectionProperties.h>
13#include <aws/quicksight/model/SslProperties.h>
14#include <utility>
15
16namespace Aws
17{
18namespace QuickSight
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_QUICKSIGHT_API UpdateDataSourceRequest();
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_QUICKSIGHT_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
44 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
45 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
46 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
47 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
48 inline UpdateDataSourceRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
49 inline UpdateDataSourceRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
50 inline UpdateDataSourceRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
52
54
58 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
59 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
60 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
61 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
62 inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
63 inline UpdateDataSourceRequest& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
64 inline UpdateDataSourceRequest& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
65 inline UpdateDataSourceRequest& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
67
69
72 inline const Aws::String& GetName() const{ return m_name; }
73 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
74 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
75 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
76 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
77 inline UpdateDataSourceRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
78 inline UpdateDataSourceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
79 inline UpdateDataSourceRequest& WithName(const char* value) { SetName(value); return *this;}
81
83
87 inline const DataSourceParameters& GetDataSourceParameters() const{ return m_dataSourceParameters; }
88 inline bool DataSourceParametersHasBeenSet() const { return m_dataSourceParametersHasBeenSet; }
89 inline void SetDataSourceParameters(const DataSourceParameters& value) { m_dataSourceParametersHasBeenSet = true; m_dataSourceParameters = value; }
90 inline void SetDataSourceParameters(DataSourceParameters&& value) { m_dataSourceParametersHasBeenSet = true; m_dataSourceParameters = std::move(value); }
94
96
101 inline const DataSourceCredentials& GetCredentials() const{ return m_credentials; }
102 inline bool CredentialsHasBeenSet() const { return m_credentialsHasBeenSet; }
103 inline void SetCredentials(const DataSourceCredentials& value) { m_credentialsHasBeenSet = true; m_credentials = value; }
104 inline void SetCredentials(DataSourceCredentials&& value) { m_credentialsHasBeenSet = true; m_credentials = std::move(value); }
106 inline UpdateDataSourceRequest& WithCredentials(DataSourceCredentials&& value) { SetCredentials(std::move(value)); return *this;}
108
110
114 inline const VpcConnectionProperties& GetVpcConnectionProperties() const{ return m_vpcConnectionProperties; }
115 inline bool VpcConnectionPropertiesHasBeenSet() const { return m_vpcConnectionPropertiesHasBeenSet; }
116 inline void SetVpcConnectionProperties(const VpcConnectionProperties& value) { m_vpcConnectionPropertiesHasBeenSet = true; m_vpcConnectionProperties = value; }
117 inline void SetVpcConnectionProperties(VpcConnectionProperties&& value) { m_vpcConnectionPropertiesHasBeenSet = true; m_vpcConnectionProperties = std::move(value); }
121
123
127 inline const SslProperties& GetSslProperties() const{ return m_sslProperties; }
128 inline bool SslPropertiesHasBeenSet() const { return m_sslPropertiesHasBeenSet; }
129 inline void SetSslProperties(const SslProperties& value) { m_sslPropertiesHasBeenSet = true; m_sslProperties = value; }
130 inline void SetSslProperties(SslProperties&& value) { m_sslPropertiesHasBeenSet = true; m_sslProperties = std::move(value); }
131 inline UpdateDataSourceRequest& WithSslProperties(const SslProperties& value) { SetSslProperties(value); return *this;}
132 inline UpdateDataSourceRequest& WithSslProperties(SslProperties&& value) { SetSslProperties(std::move(value)); return *this;}
134 private:
135
136 Aws::String m_awsAccountId;
137 bool m_awsAccountIdHasBeenSet = false;
138
139 Aws::String m_dataSourceId;
140 bool m_dataSourceIdHasBeenSet = false;
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
145 DataSourceParameters m_dataSourceParameters;
146 bool m_dataSourceParametersHasBeenSet = false;
147
148 DataSourceCredentials m_credentials;
149 bool m_credentialsHasBeenSet = false;
150
151 VpcConnectionProperties m_vpcConnectionProperties;
152 bool m_vpcConnectionPropertiesHasBeenSet = false;
153
154 SslProperties m_sslProperties;
155 bool m_sslPropertiesHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace QuickSight
160} // namespace Aws
void SetDataSourceParameters(DataSourceParameters &&value)
UpdateDataSourceRequest & WithSslProperties(const SslProperties &value)
UpdateDataSourceRequest & WithAwsAccountId(const char *value)
const DataSourceCredentials & GetCredentials() const
UpdateDataSourceRequest & WithCredentials(const DataSourceCredentials &value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateDataSourceRequest & WithAwsAccountId(const Aws::String &value)
UpdateDataSourceRequest & WithDataSourceId(Aws::String &&value)
UpdateDataSourceRequest & WithCredentials(DataSourceCredentials &&value)
void SetCredentials(const DataSourceCredentials &value)
void SetVpcConnectionProperties(const VpcConnectionProperties &value)
UpdateDataSourceRequest & WithDataSourceId(const Aws::String &value)
void SetDataSourceParameters(const DataSourceParameters &value)
void SetVpcConnectionProperties(VpcConnectionProperties &&value)
UpdateDataSourceRequest & WithDataSourceParameters(DataSourceParameters &&value)
UpdateDataSourceRequest & WithVpcConnectionProperties(VpcConnectionProperties &&value)
UpdateDataSourceRequest & WithSslProperties(SslProperties &&value)
UpdateDataSourceRequest & WithName(const Aws::String &value)
const DataSourceParameters & GetDataSourceParameters() const
UpdateDataSourceRequest & WithAwsAccountId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateDataSourceRequest & WithDataSourceId(const char *value)
UpdateDataSourceRequest & WithName(const char *value)
UpdateDataSourceRequest & WithVpcConnectionProperties(const VpcConnectionProperties &value)
const VpcConnectionProperties & GetVpcConnectionProperties() const
UpdateDataSourceRequest & WithName(Aws::String &&value)
UpdateDataSourceRequest & WithDataSourceParameters(const DataSourceParameters &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String