AWS SDK for C++  1.8.95
AWS SDK for C++
RedshiftDestinationUpdate.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24  class JsonView;
25 } // namespace Json
26 } // namespace Utils
27 namespace Firehose
28 {
29 namespace Model
30 {
31 
39  {
40  public:
44  Aws::Utils::Json::JsonValue Jsonize() const;
45 
46 
53  inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
54 
61  inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
62 
69  inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
70 
77  inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
78 
85  inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
86 
93  inline RedshiftDestinationUpdate& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
94 
101  inline RedshiftDestinationUpdate& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
102 
109  inline RedshiftDestinationUpdate& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
110 
111 
115  inline const Aws::String& GetClusterJDBCURL() const{ return m_clusterJDBCURL; }
116 
120  inline bool ClusterJDBCURLHasBeenSet() const { return m_clusterJDBCURLHasBeenSet; }
121 
125  inline void SetClusterJDBCURL(const Aws::String& value) { m_clusterJDBCURLHasBeenSet = true; m_clusterJDBCURL = value; }
126 
130  inline void SetClusterJDBCURL(Aws::String&& value) { m_clusterJDBCURLHasBeenSet = true; m_clusterJDBCURL = std::move(value); }
131 
135  inline void SetClusterJDBCURL(const char* value) { m_clusterJDBCURLHasBeenSet = true; m_clusterJDBCURL.assign(value); }
136 
140  inline RedshiftDestinationUpdate& WithClusterJDBCURL(const Aws::String& value) { SetClusterJDBCURL(value); return *this;}
141 
145  inline RedshiftDestinationUpdate& WithClusterJDBCURL(Aws::String&& value) { SetClusterJDBCURL(std::move(value)); return *this;}
146 
150  inline RedshiftDestinationUpdate& WithClusterJDBCURL(const char* value) { SetClusterJDBCURL(value); return *this;}
151 
152 
156  inline const CopyCommand& GetCopyCommand() const{ return m_copyCommand; }
157 
161  inline bool CopyCommandHasBeenSet() const { return m_copyCommandHasBeenSet; }
162 
166  inline void SetCopyCommand(const CopyCommand& value) { m_copyCommandHasBeenSet = true; m_copyCommand = value; }
167 
171  inline void SetCopyCommand(CopyCommand&& value) { m_copyCommandHasBeenSet = true; m_copyCommand = std::move(value); }
172 
176  inline RedshiftDestinationUpdate& WithCopyCommand(const CopyCommand& value) { SetCopyCommand(value); return *this;}
177 
181  inline RedshiftDestinationUpdate& WithCopyCommand(CopyCommand&& value) { SetCopyCommand(std::move(value)); return *this;}
182 
183 
187  inline const Aws::String& GetUsername() const{ return m_username; }
188 
192  inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
193 
197  inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
198 
202  inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
203 
207  inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
208 
212  inline RedshiftDestinationUpdate& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
213 
217  inline RedshiftDestinationUpdate& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
218 
222  inline RedshiftDestinationUpdate& WithUsername(const char* value) { SetUsername(value); return *this;}
223 
224 
228  inline const Aws::String& GetPassword() const{ return m_password; }
229 
233  inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
234 
238  inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
239 
243  inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
244 
248  inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
249 
253  inline RedshiftDestinationUpdate& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
254 
258  inline RedshiftDestinationUpdate& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
259 
263  inline RedshiftDestinationUpdate& WithPassword(const char* value) { SetPassword(value); return *this;}
264 
265 
270  inline const RedshiftRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
271 
276  inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
277 
282  inline void SetRetryOptions(const RedshiftRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
283 
288  inline void SetRetryOptions(RedshiftRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
289 
294  inline RedshiftDestinationUpdate& WithRetryOptions(const RedshiftRetryOptions& value) { SetRetryOptions(value); return *this;}
295 
300  inline RedshiftDestinationUpdate& WithRetryOptions(RedshiftRetryOptions&& value) { SetRetryOptions(std::move(value)); return *this;}
301 
302 
310  inline const S3DestinationUpdate& GetS3Update() const{ return m_s3Update; }
311 
319  inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
320 
328  inline void SetS3Update(const S3DestinationUpdate& value) { m_s3UpdateHasBeenSet = true; m_s3Update = value; }
329 
337  inline void SetS3Update(S3DestinationUpdate&& value) { m_s3UpdateHasBeenSet = true; m_s3Update = std::move(value); }
338 
346  inline RedshiftDestinationUpdate& WithS3Update(const S3DestinationUpdate& value) { SetS3Update(value); return *this;}
347 
355  inline RedshiftDestinationUpdate& WithS3Update(S3DestinationUpdate&& value) { SetS3Update(std::move(value)); return *this;}
356 
357 
361  inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
362 
366  inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
367 
371  inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
372 
376  inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
377 
381  inline RedshiftDestinationUpdate& WithProcessingConfiguration(const ProcessingConfiguration& value) { SetProcessingConfiguration(value); return *this;}
382 
386  inline RedshiftDestinationUpdate& WithProcessingConfiguration(ProcessingConfiguration&& value) { SetProcessingConfiguration(std::move(value)); return *this;}
387 
388 
394  inline const RedshiftS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; }
395 
401  inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
402 
408  inline void SetS3BackupMode(const RedshiftS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
409 
415  inline void SetS3BackupMode(RedshiftS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); }
416 
422  inline RedshiftDestinationUpdate& WithS3BackupMode(const RedshiftS3BackupMode& value) { SetS3BackupMode(value); return *this;}
423 
429  inline RedshiftDestinationUpdate& WithS3BackupMode(RedshiftS3BackupMode&& value) { SetS3BackupMode(std::move(value)); return *this;}
430 
431 
435  inline const S3DestinationUpdate& GetS3BackupUpdate() const{ return m_s3BackupUpdate; }
436 
440  inline bool S3BackupUpdateHasBeenSet() const { return m_s3BackupUpdateHasBeenSet; }
441 
445  inline void SetS3BackupUpdate(const S3DestinationUpdate& value) { m_s3BackupUpdateHasBeenSet = true; m_s3BackupUpdate = value; }
446 
450  inline void SetS3BackupUpdate(S3DestinationUpdate&& value) { m_s3BackupUpdateHasBeenSet = true; m_s3BackupUpdate = std::move(value); }
451 
455  inline RedshiftDestinationUpdate& WithS3BackupUpdate(const S3DestinationUpdate& value) { SetS3BackupUpdate(value); return *this;}
456 
460  inline RedshiftDestinationUpdate& WithS3BackupUpdate(S3DestinationUpdate&& value) { SetS3BackupUpdate(std::move(value)); return *this;}
461 
462 
466  inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
467 
471  inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
472 
476  inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
477 
481  inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
482 
486  inline RedshiftDestinationUpdate& WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { SetCloudWatchLoggingOptions(value); return *this;}
487 
491  inline RedshiftDestinationUpdate& WithCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { SetCloudWatchLoggingOptions(std::move(value)); return *this;}
492 
493  private:
494 
495  Aws::String m_roleARN;
496  bool m_roleARNHasBeenSet;
497 
498  Aws::String m_clusterJDBCURL;
499  bool m_clusterJDBCURLHasBeenSet;
500 
501  CopyCommand m_copyCommand;
502  bool m_copyCommandHasBeenSet;
503 
504  Aws::String m_username;
505  bool m_usernameHasBeenSet;
506 
507  Aws::String m_password;
508  bool m_passwordHasBeenSet;
509 
510  RedshiftRetryOptions m_retryOptions;
511  bool m_retryOptionsHasBeenSet;
512 
513  S3DestinationUpdate m_s3Update;
514  bool m_s3UpdateHasBeenSet;
515 
516  ProcessingConfiguration m_processingConfiguration;
517  bool m_processingConfigurationHasBeenSet;
518 
519  RedshiftS3BackupMode m_s3BackupMode;
520  bool m_s3BackupModeHasBeenSet;
521 
522  S3DestinationUpdate m_s3BackupUpdate;
523  bool m_s3BackupUpdateHasBeenSet;
524 
525  CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
526  bool m_cloudWatchLoggingOptionsHasBeenSet;
527  };
528 
529 } // namespace Model
530 } // namespace Firehose
531 } // namespace Aws
RedshiftDestinationUpdate & WithUsername(const Aws::String &value)
RedshiftDestinationUpdate & WithRetryOptions(const RedshiftRetryOptions &value)
RedshiftDestinationUpdate & WithClusterJDBCURL(Aws::String &&value)
void SetRetryOptions(const RedshiftRetryOptions &value)
RedshiftDestinationUpdate & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
RedshiftDestinationUpdate & WithProcessingConfiguration(const ProcessingConfiguration &value)
void SetS3BackupMode(const RedshiftS3BackupMode &value)
RedshiftDestinationUpdate & WithCopyCommand(CopyCommand &&value)
RedshiftDestinationUpdate & WithPassword(Aws::String &&value)
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
RedshiftDestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
RedshiftDestinationUpdate & WithRetryOptions(RedshiftRetryOptions &&value)
#define AWS_FIREHOSE_API
RedshiftDestinationUpdate & WithClusterJDBCURL(const char *value)
RedshiftDestinationUpdate & WithProcessingConfiguration(ProcessingConfiguration &&value)
RedshiftDestinationUpdate & WithPassword(const Aws::String &value)
const ProcessingConfiguration & GetProcessingConfiguration() const
RedshiftDestinationUpdate & WithS3BackupMode(RedshiftS3BackupMode &&value)
RedshiftDestinationUpdate & WithRoleARN(const char *value)
RedshiftDestinationUpdate & WithRoleARN(Aws::String &&value)
RedshiftDestinationUpdate & WithS3BackupUpdate(S3DestinationUpdate &&value)
void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
void SetProcessingConfiguration(ProcessingConfiguration &&value)
const RedshiftS3BackupMode & GetS3BackupMode() const
void SetS3BackupUpdate(const S3DestinationUpdate &value)
const S3DestinationUpdate & GetS3BackupUpdate() const
RedshiftDestinationUpdate & WithS3BackupUpdate(const S3DestinationUpdate &value)
RedshiftDestinationUpdate & WithRoleARN(const Aws::String &value)
RedshiftDestinationUpdate & WithCopyCommand(const CopyCommand &value)
RedshiftDestinationUpdate & WithUsername(const char *value)
void SetProcessingConfiguration(const ProcessingConfiguration &value)
void SetS3Update(const S3DestinationUpdate &value)
const RedshiftRetryOptions & GetRetryOptions() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
RedshiftDestinationUpdate & WithS3Update(const S3DestinationUpdate &value)
RedshiftDestinationUpdate & WithPassword(const char *value)
RedshiftDestinationUpdate & WithS3Update(S3DestinationUpdate &&value)
RedshiftDestinationUpdate & WithS3BackupMode(const RedshiftS3BackupMode &value)
RedshiftDestinationUpdate & WithUsername(Aws::String &&value)
RedshiftDestinationUpdate & WithClusterJDBCURL(const Aws::String &value)