AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename RoleARNT = Aws::String>
58 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
59 template<typename RoleARNT = Aws::String>
60 RedshiftDestinationUpdate& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
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) { m_clusterJDBCURLHasBeenSet = true; m_clusterJDBCURL = std::forward<ClusterJDBCURLT>(value); }
71 template<typename ClusterJDBCURLT = Aws::String>
72 RedshiftDestinationUpdate& WithClusterJDBCURL(ClusterJDBCURLT&& value) { SetClusterJDBCURL(std::forward<ClusterJDBCURLT>(value)); return *this;}
74
76
79 inline const CopyCommand& GetCopyCommand() const { return m_copyCommand; }
80 inline bool CopyCommandHasBeenSet() const { return m_copyCommandHasBeenSet; }
81 template<typename CopyCommandT = CopyCommand>
82 void SetCopyCommand(CopyCommandT&& value) { m_copyCommandHasBeenSet = true; m_copyCommand = std::forward<CopyCommandT>(value); }
83 template<typename CopyCommandT = CopyCommand>
84 RedshiftDestinationUpdate& WithCopyCommand(CopyCommandT&& value) { SetCopyCommand(std::forward<CopyCommandT>(value)); return *this;}
86
88
91 inline const Aws::String& GetUsername() const { return m_username; }
92 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
93 template<typename UsernameT = Aws::String>
94 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet = true; m_username = std::forward<UsernameT>(value); }
95 template<typename UsernameT = Aws::String>
96 RedshiftDestinationUpdate& WithUsername(UsernameT&& value) { SetUsername(std::forward<UsernameT>(value)); return *this;}
98
100
103 inline const Aws::String& GetPassword() const { return m_password; }
104 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
105 template<typename PasswordT = Aws::String>
106 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet = true; m_password = std::forward<PasswordT>(value); }
107 template<typename PasswordT = Aws::String>
108 RedshiftDestinationUpdate& WithPassword(PasswordT&& value) { SetPassword(std::forward<PasswordT>(value)); return *this;}
110
112
116 inline const RedshiftRetryOptions& GetRetryOptions() const { return m_retryOptions; }
117 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
118 template<typename RetryOptionsT = RedshiftRetryOptions>
119 void SetRetryOptions(RetryOptionsT&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::forward<RetryOptionsT>(value); }
120 template<typename RetryOptionsT = RedshiftRetryOptions>
121 RedshiftDestinationUpdate& WithRetryOptions(RetryOptionsT&& value) { SetRetryOptions(std::forward<RetryOptionsT>(value)); return *this;}
123
125
132 inline const S3DestinationUpdate& GetS3Update() const { return m_s3Update; }
133 inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
134 template<typename S3UpdateT = S3DestinationUpdate>
135 void SetS3Update(S3UpdateT&& value) { m_s3UpdateHasBeenSet = true; m_s3Update = std::forward<S3UpdateT>(value); }
136 template<typename S3UpdateT = S3DestinationUpdate>
137 RedshiftDestinationUpdate& WithS3Update(S3UpdateT&& value) { SetS3Update(std::forward<S3UpdateT>(value)); return *this;}
139
141
144 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
145 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
146 template<typename ProcessingConfigurationT = ProcessingConfiguration>
147 void SetProcessingConfiguration(ProcessingConfigurationT&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::forward<ProcessingConfigurationT>(value); }
148 template<typename ProcessingConfigurationT = ProcessingConfiguration>
149 RedshiftDestinationUpdate& WithProcessingConfiguration(ProcessingConfigurationT&& value) { SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value)); return *this;}
151
153
158 inline RedshiftS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
159 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
160 inline void SetS3BackupMode(RedshiftS3BackupMode value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
163
165
168 inline const S3DestinationUpdate& GetS3BackupUpdate() const { return m_s3BackupUpdate; }
169 inline bool S3BackupUpdateHasBeenSet() const { return m_s3BackupUpdateHasBeenSet; }
170 template<typename S3BackupUpdateT = S3DestinationUpdate>
171 void SetS3BackupUpdate(S3BackupUpdateT&& value) { m_s3BackupUpdateHasBeenSet = true; m_s3BackupUpdate = std::forward<S3BackupUpdateT>(value); }
172 template<typename S3BackupUpdateT = S3DestinationUpdate>
173 RedshiftDestinationUpdate& WithS3BackupUpdate(S3BackupUpdateT&& value) { SetS3BackupUpdate(std::forward<S3BackupUpdateT>(value)); return *this;}
175
177
180 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
181 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
182 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
183 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value); }
184 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
185 RedshiftDestinationUpdate& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value)); return *this;}
187
189
193 inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const { return m_secretsManagerConfiguration; }
194 inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; }
195 template<typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
196 void SetSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::forward<SecretsManagerConfigurationT>(value); }
197 template<typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
198 RedshiftDestinationUpdate& WithSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) { SetSecretsManagerConfiguration(std::forward<SecretsManagerConfigurationT>(value)); return *this;}
200 private:
201
202 Aws::String m_roleARN;
203 bool m_roleARNHasBeenSet = false;
204
205 Aws::String m_clusterJDBCURL;
206 bool m_clusterJDBCURLHasBeenSet = false;
207
208 CopyCommand m_copyCommand;
209 bool m_copyCommandHasBeenSet = false;
210
211 Aws::String m_username;
212 bool m_usernameHasBeenSet = false;
213
214 Aws::String m_password;
215 bool m_passwordHasBeenSet = false;
216
217 RedshiftRetryOptions m_retryOptions;
218 bool m_retryOptionsHasBeenSet = false;
219
220 S3DestinationUpdate m_s3Update;
221 bool m_s3UpdateHasBeenSet = false;
222
223 ProcessingConfiguration m_processingConfiguration;
224 bool m_processingConfigurationHasBeenSet = false;
225
227 bool m_s3BackupModeHasBeenSet = false;
228
229 S3DestinationUpdate m_s3BackupUpdate;
230 bool m_s3BackupUpdateHasBeenSet = false;
231
232 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
233 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
234
235 SecretsManagerConfiguration m_secretsManagerConfiguration;
236 bool m_secretsManagerConfigurationHasBeenSet = false;
237 };
238
239} // namespace Model
240} // namespace Firehose
241} // 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