AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RedshiftDestinationConfiguration.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/S3DestinationConfiguration.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:
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 RedshiftDestinationConfiguration& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
61 inline RedshiftDestinationConfiguration& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
62 inline RedshiftDestinationConfiguration& 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); }
75 inline RedshiftDestinationConfiguration& WithClusterJDBCURL(Aws::String&& value) { SetClusterJDBCURL(std::move(value)); return *this;}
76 inline RedshiftDestinationConfiguration& 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 RedshiftDestinationConfiguration& WithCopyCommand(const CopyCommand& value) { SetCopyCommand(value); return *this;}
88 inline RedshiftDestinationConfiguration& 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 RedshiftDestinationConfiguration& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
101 inline RedshiftDestinationConfiguration& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
102 inline RedshiftDestinationConfiguration& 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 RedshiftDestinationConfiguration& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
115 inline RedshiftDestinationConfiguration& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
116 inline RedshiftDestinationConfiguration& 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); }
131
133
142 inline const S3DestinationConfiguration& GetS3Configuration() const{ return m_s3Configuration; }
143 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
144 inline void SetS3Configuration(const S3DestinationConfiguration& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = value; }
145 inline void SetS3Configuration(S3DestinationConfiguration&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::move(value); }
149
151
154 inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
155 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
156 inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
157 inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
161
163
168 inline const RedshiftS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; }
169 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
170 inline void SetS3BackupMode(const RedshiftS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
171 inline void SetS3BackupMode(RedshiftS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); }
175
177
180 inline const S3DestinationConfiguration& GetS3BackupConfiguration() const{ return m_s3BackupConfiguration; }
181 inline bool S3BackupConfigurationHasBeenSet() const { return m_s3BackupConfigurationHasBeenSet; }
182 inline void SetS3BackupConfiguration(const S3DestinationConfiguration& value) { m_s3BackupConfigurationHasBeenSet = true; m_s3BackupConfiguration = value; }
183 inline void SetS3BackupConfiguration(S3DestinationConfiguration&& value) { m_s3BackupConfigurationHasBeenSet = true; m_s3BackupConfiguration = std::move(value); }
187
189
192 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
193 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
194 inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
195 inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
199
201
205 inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const{ return m_secretsManagerConfiguration; }
206 inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; }
207 inline void SetSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = value; }
208 inline void SetSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::move(value); }
212 private:
213
214 Aws::String m_roleARN;
215 bool m_roleARNHasBeenSet = false;
216
217 Aws::String m_clusterJDBCURL;
218 bool m_clusterJDBCURLHasBeenSet = false;
219
220 CopyCommand m_copyCommand;
221 bool m_copyCommandHasBeenSet = false;
222
223 Aws::String m_username;
224 bool m_usernameHasBeenSet = false;
225
226 Aws::String m_password;
227 bool m_passwordHasBeenSet = false;
228
229 RedshiftRetryOptions m_retryOptions;
230 bool m_retryOptionsHasBeenSet = false;
231
232 S3DestinationConfiguration m_s3Configuration;
233 bool m_s3ConfigurationHasBeenSet = false;
234
235 ProcessingConfiguration m_processingConfiguration;
236 bool m_processingConfigurationHasBeenSet = false;
237
238 RedshiftS3BackupMode m_s3BackupMode;
239 bool m_s3BackupModeHasBeenSet = false;
240
241 S3DestinationConfiguration m_s3BackupConfiguration;
242 bool m_s3BackupConfigurationHasBeenSet = false;
243
244 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
245 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
246
247 SecretsManagerConfiguration m_secretsManagerConfiguration;
248 bool m_secretsManagerConfigurationHasBeenSet = false;
249 };
250
251} // namespace Model
252} // namespace Firehose
253} // namespace Aws
void SetS3BackupConfiguration(const S3DestinationConfiguration &value)
void SetSecretsManagerConfiguration(SecretsManagerConfiguration &&value)
RedshiftDestinationConfiguration & WithPassword(Aws::String &&value)
RedshiftDestinationConfiguration & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftDestinationConfiguration & WithS3Configuration(const S3DestinationConfiguration &value)
RedshiftDestinationConfiguration & WithUsername(Aws::String &&value)
RedshiftDestinationConfiguration & WithCopyCommand(CopyCommand &&value)
RedshiftDestinationConfiguration & WithClusterJDBCURL(const Aws::String &value)
RedshiftDestinationConfiguration & WithSecretsManagerConfiguration(const SecretsManagerConfiguration &value)
AWS_FIREHOSE_API RedshiftDestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftDestinationConfiguration & WithCopyCommand(const CopyCommand &value)
RedshiftDestinationConfiguration & WithS3BackupMode(const RedshiftS3BackupMode &value)
const SecretsManagerConfiguration & GetSecretsManagerConfiguration() const
void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
RedshiftDestinationConfiguration & WithPassword(const char *value)
void SetSecretsManagerConfiguration(const SecretsManagerConfiguration &value)
RedshiftDestinationConfiguration & WithS3BackupMode(RedshiftS3BackupMode &&value)
RedshiftDestinationConfiguration & WithClusterJDBCURL(const char *value)
RedshiftDestinationConfiguration & WithS3BackupConfiguration(const S3DestinationConfiguration &value)
void SetS3Configuration(const S3DestinationConfiguration &value)
RedshiftDestinationConfiguration & WithS3BackupConfiguration(S3DestinationConfiguration &&value)
RedshiftDestinationConfiguration & WithRoleARN(const char *value)
RedshiftDestinationConfiguration & WithRoleARN(const Aws::String &value)
RedshiftDestinationConfiguration & WithClusterJDBCURL(Aws::String &&value)
RedshiftDestinationConfiguration & WithS3Configuration(S3DestinationConfiguration &&value)
RedshiftDestinationConfiguration & WithUsername(const Aws::String &value)
RedshiftDestinationConfiguration & WithProcessingConfiguration(const ProcessingConfiguration &value)
RedshiftDestinationConfiguration & WithRetryOptions(RedshiftRetryOptions &&value)
void SetProcessingConfiguration(const ProcessingConfiguration &value)
RedshiftDestinationConfiguration & WithProcessingConfiguration(ProcessingConfiguration &&value)
AWS_FIREHOSE_API RedshiftDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
RedshiftDestinationConfiguration & WithUsername(const char *value)
RedshiftDestinationConfiguration & WithSecretsManagerConfiguration(SecretsManagerConfiguration &&value)
RedshiftDestinationConfiguration & WithRoleARN(Aws::String &&value)
RedshiftDestinationConfiguration & WithRetryOptions(const RedshiftRetryOptions &value)
RedshiftDestinationConfiguration & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
RedshiftDestinationConfiguration & WithPassword(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue