AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RedshiftDestinationUpdate.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/firehose/model/CopyCommand.h>
10#include <aws/firehose/model/RedshiftRetryOptions.h>
11#include <aws/firehose/model/S3DestinationUpdate.h>
12#include <aws/firehose/model/ProcessingConfiguration.h>
13#include <aws/firehose/model/RedshiftS3BackupMode.h>
14#include <aws/firehose/model/CloudWatchLoggingOptions.h>
15#include <aws/firehose/model/SecretsManagerConfiguration.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace Firehose
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_FIREHOSE_API RedshiftDestinationUpdate();
45 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
55 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
56 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
57 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
58 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
59 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
60 inline RedshiftDestinationUpdate& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
61 inline RedshiftDestinationUpdate& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
62 inline RedshiftDestinationUpdate& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
64
66
69 inline const Aws::String& GetClusterJDBCURL() const{ return m_clusterJDBCURL; }
70 inline bool ClusterJDBCURLHasBeenSet() const { return m_clusterJDBCURLHasBeenSet; }
71 inline void SetClusterJDBCURL(const Aws::String& value) { m_clusterJDBCURLHasBeenSet = true; m_clusterJDBCURL = value; }
72 inline void SetClusterJDBCURL(Aws::String&& value) { m_clusterJDBCURLHasBeenSet = true; m_clusterJDBCURL = std::move(value); }
73 inline void SetClusterJDBCURL(const char* value) { m_clusterJDBCURLHasBeenSet = true; m_clusterJDBCURL.assign(value); }
74 inline RedshiftDestinationUpdate& WithClusterJDBCURL(const Aws::String& value) { SetClusterJDBCURL(value); return *this;}
75 inline RedshiftDestinationUpdate& WithClusterJDBCURL(Aws::String&& value) { SetClusterJDBCURL(std::move(value)); return *this;}
76 inline RedshiftDestinationUpdate& WithClusterJDBCURL(const char* value) { SetClusterJDBCURL(value); return *this;}
78
80
83 inline const CopyCommand& GetCopyCommand() const{ return m_copyCommand; }
84 inline bool CopyCommandHasBeenSet() const { return m_copyCommandHasBeenSet; }
85 inline void SetCopyCommand(const CopyCommand& value) { m_copyCommandHasBeenSet = true; m_copyCommand = value; }
86 inline void SetCopyCommand(CopyCommand&& value) { m_copyCommandHasBeenSet = true; m_copyCommand = std::move(value); }
87 inline RedshiftDestinationUpdate& WithCopyCommand(const CopyCommand& value) { SetCopyCommand(value); return *this;}
88 inline RedshiftDestinationUpdate& WithCopyCommand(CopyCommand&& value) { SetCopyCommand(std::move(value)); return *this;}
90
92
95 inline const Aws::String& GetUsername() const{ return m_username; }
96 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
97 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
98 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
99 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
100 inline RedshiftDestinationUpdate& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
101 inline RedshiftDestinationUpdate& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
102 inline RedshiftDestinationUpdate& WithUsername(const char* value) { SetUsername(value); return *this;}
104
106
109 inline const Aws::String& GetPassword() const{ return m_password; }
110 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
111 inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
112 inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
113 inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
114 inline RedshiftDestinationUpdate& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
115 inline RedshiftDestinationUpdate& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
116 inline RedshiftDestinationUpdate& WithPassword(const char* value) { SetPassword(value); return *this;}
118
120
124 inline const RedshiftRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
125 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
126 inline void SetRetryOptions(const RedshiftRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
127 inline void SetRetryOptions(RedshiftRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
129 inline RedshiftDestinationUpdate& WithRetryOptions(RedshiftRetryOptions&& value) { SetRetryOptions(std::move(value)); return *this;}
131
133
140 inline const S3DestinationUpdate& GetS3Update() const{ return m_s3Update; }
141 inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
142 inline void SetS3Update(const S3DestinationUpdate& value) { m_s3UpdateHasBeenSet = true; m_s3Update = value; }
143 inline void SetS3Update(S3DestinationUpdate&& value) { m_s3UpdateHasBeenSet = true; m_s3Update = std::move(value); }
144 inline RedshiftDestinationUpdate& WithS3Update(const S3DestinationUpdate& value) { SetS3Update(value); return *this;}
145 inline RedshiftDestinationUpdate& WithS3Update(S3DestinationUpdate&& value) { SetS3Update(std::move(value)); return *this;}
147
149
152 inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
153 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
154 inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
155 inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
159
161
166 inline const RedshiftS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; }
167 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
168 inline void SetS3BackupMode(const RedshiftS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
169 inline void SetS3BackupMode(RedshiftS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); }
171 inline RedshiftDestinationUpdate& WithS3BackupMode(RedshiftS3BackupMode&& value) { SetS3BackupMode(std::move(value)); return *this;}
173
175
178 inline const S3DestinationUpdate& GetS3BackupUpdate() const{ return m_s3BackupUpdate; }
179 inline bool S3BackupUpdateHasBeenSet() const { return m_s3BackupUpdateHasBeenSet; }
180 inline void SetS3BackupUpdate(const S3DestinationUpdate& value) { m_s3BackupUpdateHasBeenSet = true; m_s3BackupUpdate = value; }
181 inline void SetS3BackupUpdate(S3DestinationUpdate&& value) { m_s3BackupUpdateHasBeenSet = true; m_s3BackupUpdate = std::move(value); }
183 inline RedshiftDestinationUpdate& WithS3BackupUpdate(S3DestinationUpdate&& value) { SetS3BackupUpdate(std::move(value)); return *this;}
185
187
190 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
191 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
192 inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
193 inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
197
199
203 inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const{ return m_secretsManagerConfiguration; }
204 inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; }
205 inline void SetSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = value; }
206 inline void SetSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::move(value); }
210 private:
211
212 Aws::String m_roleARN;
213 bool m_roleARNHasBeenSet = false;
214
215 Aws::String m_clusterJDBCURL;
216 bool m_clusterJDBCURLHasBeenSet = false;
217
218 CopyCommand m_copyCommand;
219 bool m_copyCommandHasBeenSet = false;
220
221 Aws::String m_username;
222 bool m_usernameHasBeenSet = false;
223
224 Aws::String m_password;
225 bool m_passwordHasBeenSet = false;
226
227 RedshiftRetryOptions m_retryOptions;
228 bool m_retryOptionsHasBeenSet = false;
229
230 S3DestinationUpdate m_s3Update;
231 bool m_s3UpdateHasBeenSet = false;
232
233 ProcessingConfiguration m_processingConfiguration;
234 bool m_processingConfigurationHasBeenSet = false;
235
236 RedshiftS3BackupMode m_s3BackupMode;
237 bool m_s3BackupModeHasBeenSet = false;
238
239 S3DestinationUpdate m_s3BackupUpdate;
240 bool m_s3BackupUpdateHasBeenSet = false;
241
242 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
243 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
244
245 SecretsManagerConfiguration m_secretsManagerConfiguration;
246 bool m_secretsManagerConfigurationHasBeenSet = false;
247 };
248
249} // namespace Model
250} // namespace Firehose
251} // namespace Aws
RedshiftDestinationUpdate & WithRoleARN(const Aws::String &value)
RedshiftDestinationUpdate & WithS3BackupUpdate(const S3DestinationUpdate &value)
RedshiftDestinationUpdate & WithUsername(Aws::String &&value)
RedshiftDestinationUpdate & WithSecretsManagerConfiguration(const SecretsManagerConfiguration &value)
RedshiftDestinationUpdate & WithClusterJDBCURL(const char *value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftDestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
const SecretsManagerConfiguration & GetSecretsManagerConfiguration() const
void SetRetryOptions(const RedshiftRetryOptions &value)
RedshiftDestinationUpdate & WithUsername(const Aws::String &value)
void SetProcessingConfiguration(const ProcessingConfiguration &value)
RedshiftDestinationUpdate & WithRetryOptions(const RedshiftRetryOptions &value)
RedshiftDestinationUpdate & WithPassword(Aws::String &&value)
void SetSecretsManagerConfiguration(const SecretsManagerConfiguration &value)
RedshiftDestinationUpdate & WithCopyCommand(const CopyCommand &value)
RedshiftDestinationUpdate & WithClusterJDBCURL(Aws::String &&value)
RedshiftDestinationUpdate & WithS3BackupUpdate(S3DestinationUpdate &&value)
void SetSecretsManagerConfiguration(SecretsManagerConfiguration &&value)
RedshiftDestinationUpdate & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
void SetS3BackupUpdate(const S3DestinationUpdate &value)
AWS_FIREHOSE_API RedshiftDestinationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftDestinationUpdate & WithPassword(const Aws::String &value)
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
RedshiftDestinationUpdate & WithSecretsManagerConfiguration(SecretsManagerConfiguration &&value)
void SetS3Update(const S3DestinationUpdate &value)
RedshiftDestinationUpdate & WithProcessingConfiguration(ProcessingConfiguration &&value)
const ProcessingConfiguration & GetProcessingConfiguration() const
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
RedshiftDestinationUpdate & WithS3BackupMode(RedshiftS3BackupMode &&value)
RedshiftDestinationUpdate & WithCopyCommand(CopyCommand &&value)
RedshiftDestinationUpdate & WithS3BackupMode(const RedshiftS3BackupMode &value)
RedshiftDestinationUpdate & WithS3Update(S3DestinationUpdate &&value)
RedshiftDestinationUpdate & WithProcessingConfiguration(const ProcessingConfiguration &value)
void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
RedshiftDestinationUpdate & WithRetryOptions(RedshiftRetryOptions &&value)
RedshiftDestinationUpdate & WithPassword(const char *value)
RedshiftDestinationUpdate & WithRoleARN(Aws::String &&value)
RedshiftDestinationUpdate & WithUsername(const char *value)
AWS_FIREHOSE_API RedshiftDestinationUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetS3BackupMode(const RedshiftS3BackupMode &value)
RedshiftDestinationUpdate & WithRoleARN(const char *value)
void SetProcessingConfiguration(ProcessingConfiguration &&value)
RedshiftDestinationUpdate & WithS3Update(const S3DestinationUpdate &value)
RedshiftDestinationUpdate & WithClusterJDBCURL(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue