AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
RedshiftDestinationDescription.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/S3DestinationDescription.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
35 public:
36 AWS_FIREHOSE_API RedshiftDestinationDescription() = default;
39 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
48 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
49 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
50 template <typename RoleARNT = Aws::String>
51 void SetRoleARN(RoleARNT&& value) {
52 m_roleARNHasBeenSet = true;
53 m_roleARN = std::forward<RoleARNT>(value);
54 }
55 template <typename RoleARNT = Aws::String>
57 SetRoleARN(std::forward<RoleARNT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetClusterJDBCURL() const { return m_clusterJDBCURL; }
67 inline bool ClusterJDBCURLHasBeenSet() const { return m_clusterJDBCURLHasBeenSet; }
68 template <typename ClusterJDBCURLT = Aws::String>
69 void SetClusterJDBCURL(ClusterJDBCURLT&& value) {
70 m_clusterJDBCURLHasBeenSet = true;
71 m_clusterJDBCURL = std::forward<ClusterJDBCURLT>(value);
72 }
73 template <typename ClusterJDBCURLT = Aws::String>
75 SetClusterJDBCURL(std::forward<ClusterJDBCURLT>(value));
76 return *this;
77 }
79
81
84 inline const CopyCommand& GetCopyCommand() const { return m_copyCommand; }
85 inline bool CopyCommandHasBeenSet() const { return m_copyCommandHasBeenSet; }
86 template <typename CopyCommandT = CopyCommand>
87 void SetCopyCommand(CopyCommandT&& value) {
88 m_copyCommandHasBeenSet = true;
89 m_copyCommand = std::forward<CopyCommandT>(value);
90 }
91 template <typename CopyCommandT = CopyCommand>
93 SetCopyCommand(std::forward<CopyCommandT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetUsername() const { return m_username; }
103 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
104 template <typename UsernameT = Aws::String>
105 void SetUsername(UsernameT&& value) {
106 m_usernameHasBeenSet = true;
107 m_username = std::forward<UsernameT>(value);
108 }
109 template <typename UsernameT = Aws::String>
111 SetUsername(std::forward<UsernameT>(value));
112 return *this;
113 }
115
117
121 inline const RedshiftRetryOptions& GetRetryOptions() const { return m_retryOptions; }
122 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
123 template <typename RetryOptionsT = RedshiftRetryOptions>
124 void SetRetryOptions(RetryOptionsT&& value) {
125 m_retryOptionsHasBeenSet = true;
126 m_retryOptions = std::forward<RetryOptionsT>(value);
127 }
128 template <typename RetryOptionsT = RedshiftRetryOptions>
130 SetRetryOptions(std::forward<RetryOptionsT>(value));
131 return *this;
132 }
134
136
139 inline const S3DestinationDescription& GetS3DestinationDescription() const { return m_s3DestinationDescription; }
140 inline bool S3DestinationDescriptionHasBeenSet() const { return m_s3DestinationDescriptionHasBeenSet; }
141 template <typename S3DestinationDescriptionT = S3DestinationDescription>
142 void SetS3DestinationDescription(S3DestinationDescriptionT&& value) {
143 m_s3DestinationDescriptionHasBeenSet = true;
144 m_s3DestinationDescription = std::forward<S3DestinationDescriptionT>(value);
145 }
146 template <typename S3DestinationDescriptionT = S3DestinationDescription>
148 SetS3DestinationDescription(std::forward<S3DestinationDescriptionT>(value));
149 return *this;
150 }
152
154
157 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
158 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
159 template <typename ProcessingConfigurationT = ProcessingConfiguration>
160 void SetProcessingConfiguration(ProcessingConfigurationT&& value) {
161 m_processingConfigurationHasBeenSet = true;
162 m_processingConfiguration = std::forward<ProcessingConfigurationT>(value);
163 }
164 template <typename ProcessingConfigurationT = ProcessingConfiguration>
166 SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value));
167 return *this;
168 }
170
172
175 inline RedshiftS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
176 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
178 m_s3BackupModeHasBeenSet = true;
179 m_s3BackupMode = value;
180 }
182 SetS3BackupMode(value);
183 return *this;
184 }
186
188
191 inline const S3DestinationDescription& GetS3BackupDescription() const { return m_s3BackupDescription; }
192 inline bool S3BackupDescriptionHasBeenSet() const { return m_s3BackupDescriptionHasBeenSet; }
193 template <typename S3BackupDescriptionT = S3DestinationDescription>
194 void SetS3BackupDescription(S3BackupDescriptionT&& value) {
195 m_s3BackupDescriptionHasBeenSet = true;
196 m_s3BackupDescription = std::forward<S3BackupDescriptionT>(value);
197 }
198 template <typename S3BackupDescriptionT = S3DestinationDescription>
200 SetS3BackupDescription(std::forward<S3BackupDescriptionT>(value));
201 return *this;
202 }
204
206
209 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
210 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
211 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
212 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
213 m_cloudWatchLoggingOptionsHasBeenSet = true;
214 m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value);
215 }
216 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
218 SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value));
219 return *this;
220 }
222
224
228 inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const { return m_secretsManagerConfiguration; }
229 inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; }
230 template <typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
231 void SetSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) {
232 m_secretsManagerConfigurationHasBeenSet = true;
233 m_secretsManagerConfiguration = std::forward<SecretsManagerConfigurationT>(value);
234 }
235 template <typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
237 SetSecretsManagerConfiguration(std::forward<SecretsManagerConfigurationT>(value));
238 return *this;
239 }
241 private:
242 Aws::String m_roleARN;
243
244 Aws::String m_clusterJDBCURL;
245
246 CopyCommand m_copyCommand;
247
248 Aws::String m_username;
249
250 RedshiftRetryOptions m_retryOptions;
251
252 S3DestinationDescription m_s3DestinationDescription;
253
254 ProcessingConfiguration m_processingConfiguration;
255
257
258 S3DestinationDescription m_s3BackupDescription;
259
260 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
261
262 SecretsManagerConfiguration m_secretsManagerConfiguration;
263 bool m_roleARNHasBeenSet = false;
264 bool m_clusterJDBCURLHasBeenSet = false;
265 bool m_copyCommandHasBeenSet = false;
266 bool m_usernameHasBeenSet = false;
267 bool m_retryOptionsHasBeenSet = false;
268 bool m_s3DestinationDescriptionHasBeenSet = false;
269 bool m_processingConfigurationHasBeenSet = false;
270 bool m_s3BackupModeHasBeenSet = false;
271 bool m_s3BackupDescriptionHasBeenSet = false;
272 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
273 bool m_secretsManagerConfigurationHasBeenSet = false;
274};
275
276} // namespace Model
277} // namespace Firehose
278} // namespace Aws
AWS_FIREHOSE_API RedshiftDestinationDescription()=default
const SecretsManagerConfiguration & GetSecretsManagerConfiguration() const
RedshiftDestinationDescription & WithCopyCommand(CopyCommandT &&value)
RedshiftDestinationDescription & WithS3BackupMode(RedshiftS3BackupMode value)
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
RedshiftDestinationDescription & WithUsername(UsernameT &&value)
RedshiftDestinationDescription & WithS3DestinationDescription(S3DestinationDescriptionT &&value)
RedshiftDestinationDescription & WithSecretsManagerConfiguration(SecretsManagerConfigurationT &&value)
void SetSecretsManagerConfiguration(SecretsManagerConfigurationT &&value)
const S3DestinationDescription & GetS3DestinationDescription() const
void SetS3DestinationDescription(S3DestinationDescriptionT &&value)
RedshiftDestinationDescription & WithS3BackupDescription(S3BackupDescriptionT &&value)
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
RedshiftDestinationDescription & WithRoleARN(RoleARNT &&value)
AWS_FIREHOSE_API RedshiftDestinationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftDestinationDescription & WithClusterJDBCURL(ClusterJDBCURLT &&value)
RedshiftDestinationDescription & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
RedshiftDestinationDescription & WithRetryOptions(RetryOptionsT &&value)
AWS_FIREHOSE_API RedshiftDestinationDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftDestinationDescription & WithProcessingConfiguration(ProcessingConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue