AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename AwsAccountIdT = Aws::String>
46 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
47 template<typename AwsAccountIdT = Aws::String>
48 UpdateDataSourceRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
50
52
56 inline const Aws::String& GetDataSourceId() const { return m_dataSourceId; }
57 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
58 template<typename DataSourceIdT = Aws::String>
59 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
60 template<typename DataSourceIdT = Aws::String>
61 UpdateDataSourceRequest& WithDataSourceId(DataSourceIdT&& value) { SetDataSourceId(std::forward<DataSourceIdT>(value)); return *this;}
63
65
68 inline const Aws::String& GetName() const { return m_name; }
69 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
70 template<typename NameT = Aws::String>
71 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
72 template<typename NameT = Aws::String>
73 UpdateDataSourceRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
75
77
81 inline const DataSourceParameters& GetDataSourceParameters() const { return m_dataSourceParameters; }
82 inline bool DataSourceParametersHasBeenSet() const { return m_dataSourceParametersHasBeenSet; }
83 template<typename DataSourceParametersT = DataSourceParameters>
84 void SetDataSourceParameters(DataSourceParametersT&& value) { m_dataSourceParametersHasBeenSet = true; m_dataSourceParameters = std::forward<DataSourceParametersT>(value); }
85 template<typename DataSourceParametersT = DataSourceParameters>
86 UpdateDataSourceRequest& WithDataSourceParameters(DataSourceParametersT&& value) { SetDataSourceParameters(std::forward<DataSourceParametersT>(value)); return *this;}
88
90
95 inline const DataSourceCredentials& GetCredentials() const { return m_credentials; }
96 inline bool CredentialsHasBeenSet() const { return m_credentialsHasBeenSet; }
97 template<typename CredentialsT = DataSourceCredentials>
98 void SetCredentials(CredentialsT&& value) { m_credentialsHasBeenSet = true; m_credentials = std::forward<CredentialsT>(value); }
99 template<typename CredentialsT = DataSourceCredentials>
100 UpdateDataSourceRequest& WithCredentials(CredentialsT&& value) { SetCredentials(std::forward<CredentialsT>(value)); return *this;}
102
104
108 inline const VpcConnectionProperties& GetVpcConnectionProperties() const { return m_vpcConnectionProperties; }
109 inline bool VpcConnectionPropertiesHasBeenSet() const { return m_vpcConnectionPropertiesHasBeenSet; }
110 template<typename VpcConnectionPropertiesT = VpcConnectionProperties>
111 void SetVpcConnectionProperties(VpcConnectionPropertiesT&& value) { m_vpcConnectionPropertiesHasBeenSet = true; m_vpcConnectionProperties = std::forward<VpcConnectionPropertiesT>(value); }
112 template<typename VpcConnectionPropertiesT = VpcConnectionProperties>
113 UpdateDataSourceRequest& WithVpcConnectionProperties(VpcConnectionPropertiesT&& value) { SetVpcConnectionProperties(std::forward<VpcConnectionPropertiesT>(value)); return *this;}
115
117
121 inline const SslProperties& GetSslProperties() const { return m_sslProperties; }
122 inline bool SslPropertiesHasBeenSet() const { return m_sslPropertiesHasBeenSet; }
123 template<typename SslPropertiesT = SslProperties>
124 void SetSslProperties(SslPropertiesT&& value) { m_sslPropertiesHasBeenSet = true; m_sslProperties = std::forward<SslPropertiesT>(value); }
125 template<typename SslPropertiesT = SslProperties>
126 UpdateDataSourceRequest& WithSslProperties(SslPropertiesT&& value) { SetSslProperties(std::forward<SslPropertiesT>(value)); return *this;}
128 private:
129
130 Aws::String m_awsAccountId;
131 bool m_awsAccountIdHasBeenSet = false;
132
133 Aws::String m_dataSourceId;
134 bool m_dataSourceIdHasBeenSet = false;
135
136 Aws::String m_name;
137 bool m_nameHasBeenSet = false;
138
139 DataSourceParameters m_dataSourceParameters;
140 bool m_dataSourceParametersHasBeenSet = false;
141
142 DataSourceCredentials m_credentials;
143 bool m_credentialsHasBeenSet = false;
144
145 VpcConnectionProperties m_vpcConnectionProperties;
146 bool m_vpcConnectionPropertiesHasBeenSet = false;
147
148 SslProperties m_sslProperties;
149 bool m_sslPropertiesHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace QuickSight
154} // namespace Aws
void SetDataSourceParameters(DataSourceParametersT &&value)
UpdateDataSourceRequest & WithAwsAccountId(AwsAccountIdT &&value)
const DataSourceCredentials & GetCredentials() const
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
void SetVpcConnectionProperties(VpcConnectionPropertiesT &&value)
UpdateDataSourceRequest & WithVpcConnectionProperties(VpcConnectionPropertiesT &&value)
UpdateDataSourceRequest & WithDataSourceParameters(DataSourceParametersT &&value)
UpdateDataSourceRequest & WithSslProperties(SslPropertiesT &&value)
AWS_QUICKSIGHT_API UpdateDataSourceRequest()=default
UpdateDataSourceRequest & WithCredentials(CredentialsT &&value)
const DataSourceParameters & GetDataSourceParameters() const
virtual const char * GetServiceRequestName() const override
const VpcConnectionProperties & GetVpcConnectionProperties() const
UpdateDataSourceRequest & WithName(NameT &&value)
UpdateDataSourceRequest & WithDataSourceId(DataSourceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String