AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
RedshiftDestinationUpdate.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/firehose/Firehose_EXPORTS.h>
9#include <aws/firehose/model/CloudWatchLoggingOptions.h>
10#include <aws/firehose/model/CopyCommand.h>
11#include <aws/firehose/model/ProcessingConfiguration.h>
12#include <aws/firehose/model/RedshiftRetryOptions.h>
13#include <aws/firehose/model/RedshiftS3BackupMode.h>
14#include <aws/firehose/model/S3DestinationUpdate.h>
15#include <aws/firehose/model/SecretsManagerConfiguration.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Firehose {
27namespace Model {
28
36 public:
37 AWS_FIREHOSE_API RedshiftDestinationUpdate() = default;
40 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
49 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
50 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
51 template <typename RoleARNT = Aws::String>
52 void SetRoleARN(RoleARNT&& value) {
53 m_roleARNHasBeenSet = true;
54 m_roleARN = std::forward<RoleARNT>(value);
55 }
56 template <typename RoleARNT = Aws::String>
58 SetRoleARN(std::forward<RoleARNT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetClusterJDBCURL() const { return m_clusterJDBCURL; }
68 inline bool ClusterJDBCURLHasBeenSet() const { return m_clusterJDBCURLHasBeenSet; }
69 template <typename ClusterJDBCURLT = Aws::String>
70 void SetClusterJDBCURL(ClusterJDBCURLT&& value) {
71 m_clusterJDBCURLHasBeenSet = true;
72 m_clusterJDBCURL = std::forward<ClusterJDBCURLT>(value);
73 }
74 template <typename ClusterJDBCURLT = Aws::String>
76 SetClusterJDBCURL(std::forward<ClusterJDBCURLT>(value));
77 return *this;
78 }
80
82
85 inline const CopyCommand& GetCopyCommand() const { return m_copyCommand; }
86 inline bool CopyCommandHasBeenSet() const { return m_copyCommandHasBeenSet; }
87 template <typename CopyCommandT = CopyCommand>
88 void SetCopyCommand(CopyCommandT&& value) {
89 m_copyCommandHasBeenSet = true;
90 m_copyCommand = std::forward<CopyCommandT>(value);
91 }
92 template <typename CopyCommandT = CopyCommand>
94 SetCopyCommand(std::forward<CopyCommandT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetUsername() const { return m_username; }
104 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
105 template <typename UsernameT = Aws::String>
106 void SetUsername(UsernameT&& value) {
107 m_usernameHasBeenSet = true;
108 m_username = std::forward<UsernameT>(value);
109 }
110 template <typename UsernameT = Aws::String>
112 SetUsername(std::forward<UsernameT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetPassword() const { return m_password; }
122 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
123 template <typename PasswordT = Aws::String>
124 void SetPassword(PasswordT&& value) {
125 m_passwordHasBeenSet = true;
126 m_password = std::forward<PasswordT>(value);
127 }
128 template <typename PasswordT = Aws::String>
130 SetPassword(std::forward<PasswordT>(value));
131 return *this;
132 }
134
136
140 inline const RedshiftRetryOptions& GetRetryOptions() const { return m_retryOptions; }
141 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
142 template <typename RetryOptionsT = RedshiftRetryOptions>
143 void SetRetryOptions(RetryOptionsT&& value) {
144 m_retryOptionsHasBeenSet = true;
145 m_retryOptions = std::forward<RetryOptionsT>(value);
146 }
147 template <typename RetryOptionsT = RedshiftRetryOptions>
149 SetRetryOptions(std::forward<RetryOptionsT>(value));
150 return *this;
151 }
153
155
162 inline const S3DestinationUpdate& GetS3Update() const { return m_s3Update; }
163 inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
164 template <typename S3UpdateT = S3DestinationUpdate>
165 void SetS3Update(S3UpdateT&& value) {
166 m_s3UpdateHasBeenSet = true;
167 m_s3Update = std::forward<S3UpdateT>(value);
168 }
169 template <typename S3UpdateT = S3DestinationUpdate>
171 SetS3Update(std::forward<S3UpdateT>(value));
172 return *this;
173 }
175
177
180 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
181 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
182 template <typename ProcessingConfigurationT = ProcessingConfiguration>
183 void SetProcessingConfiguration(ProcessingConfigurationT&& value) {
184 m_processingConfigurationHasBeenSet = true;
185 m_processingConfiguration = std::forward<ProcessingConfigurationT>(value);
186 }
187 template <typename ProcessingConfigurationT = ProcessingConfiguration>
188 RedshiftDestinationUpdate& WithProcessingConfiguration(ProcessingConfigurationT&& value) {
189 SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value));
190 return *this;
191 }
193
195
200 inline RedshiftS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
201 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
203 m_s3BackupModeHasBeenSet = true;
204 m_s3BackupMode = value;
205 }
207 SetS3BackupMode(value);
208 return *this;
209 }
211
213
216 inline const S3DestinationUpdate& GetS3BackupUpdate() const { return m_s3BackupUpdate; }
217 inline bool S3BackupUpdateHasBeenSet() const { return m_s3BackupUpdateHasBeenSet; }
218 template <typename S3BackupUpdateT = S3DestinationUpdate>
219 void SetS3BackupUpdate(S3BackupUpdateT&& value) {
220 m_s3BackupUpdateHasBeenSet = true;
221 m_s3BackupUpdate = std::forward<S3BackupUpdateT>(value);
222 }
223 template <typename S3BackupUpdateT = S3DestinationUpdate>
225 SetS3BackupUpdate(std::forward<S3BackupUpdateT>(value));
226 return *this;
227 }
229
231
234 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
235 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
236 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
237 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
238 m_cloudWatchLoggingOptionsHasBeenSet = true;
239 m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value);
240 }
241 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
242 RedshiftDestinationUpdate& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
243 SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value));
244 return *this;
245 }
247
249
253 inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const { return m_secretsManagerConfiguration; }
254 inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; }
255 template <typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
256 void SetSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) {
257 m_secretsManagerConfigurationHasBeenSet = true;
258 m_secretsManagerConfiguration = std::forward<SecretsManagerConfigurationT>(value);
259 }
260 template <typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
261 RedshiftDestinationUpdate& WithSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) {
262 SetSecretsManagerConfiguration(std::forward<SecretsManagerConfigurationT>(value));
263 return *this;
264 }
266 private:
267 Aws::String m_roleARN;
268
269 Aws::String m_clusterJDBCURL;
270
271 CopyCommand m_copyCommand;
272
273 Aws::String m_username;
274
275 Aws::String m_password;
276
277 RedshiftRetryOptions m_retryOptions;
278
279 S3DestinationUpdate m_s3Update;
280
281 ProcessingConfiguration m_processingConfiguration;
282
284
285 S3DestinationUpdate m_s3BackupUpdate;
286
287 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
288
289 SecretsManagerConfiguration m_secretsManagerConfiguration;
290 bool m_roleARNHasBeenSet = false;
291 bool m_clusterJDBCURLHasBeenSet = false;
292 bool m_copyCommandHasBeenSet = false;
293 bool m_usernameHasBeenSet = false;
294 bool m_passwordHasBeenSet = false;
295 bool m_retryOptionsHasBeenSet = false;
296 bool m_s3UpdateHasBeenSet = false;
297 bool m_processingConfigurationHasBeenSet = false;
298 bool m_s3BackupModeHasBeenSet = false;
299 bool m_s3BackupUpdateHasBeenSet = false;
300 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
301 bool m_secretsManagerConfigurationHasBeenSet = false;
302};
303
304} // namespace Model
305} // namespace Firehose
306} // namespace Aws
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftDestinationUpdate & WithS3BackupMode(RedshiftS3BackupMode value)
const SecretsManagerConfiguration & GetSecretsManagerConfiguration() const
RedshiftDestinationUpdate & WithRetryOptions(RetryOptionsT &&value)
void SetSecretsManagerConfiguration(SecretsManagerConfigurationT &&value)
RedshiftDestinationUpdate & WithProcessingConfiguration(ProcessingConfigurationT &&value)
RedshiftDestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
void SetProcessingConfiguration(ProcessingConfigurationT &&value)
RedshiftDestinationUpdate & WithCopyCommand(CopyCommandT &&value)
RedshiftDestinationUpdate & WithUsername(UsernameT &&value)
AWS_FIREHOSE_API RedshiftDestinationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
RedshiftDestinationUpdate & WithPassword(PasswordT &&value)
const ProcessingConfiguration & GetProcessingConfiguration() const
RedshiftDestinationUpdate & WithClusterJDBCURL(ClusterJDBCURLT &&value)
AWS_FIREHOSE_API RedshiftDestinationUpdate()=default
RedshiftDestinationUpdate & WithSecretsManagerConfiguration(SecretsManagerConfigurationT &&value)
RedshiftDestinationUpdate & WithS3Update(S3UpdateT &&value)
RedshiftDestinationUpdate & WithRoleARN(RoleARNT &&value)
AWS_FIREHOSE_API RedshiftDestinationUpdate(Aws::Utils::Json::JsonView jsonValue)
RedshiftDestinationUpdate & WithS3BackupUpdate(S3BackupUpdateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue