AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RedshiftDestinationDescription.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/S3DestinationDescription.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
39 {
40 public:
44 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
54 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
55 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
56 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
57 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
58 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
59 inline RedshiftDestinationDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
60 inline RedshiftDestinationDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
61 inline RedshiftDestinationDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
63
65
68 inline const Aws::String& GetClusterJDBCURL() const{ return m_clusterJDBCURL; }
69 inline bool ClusterJDBCURLHasBeenSet() const { return m_clusterJDBCURLHasBeenSet; }
70 inline void SetClusterJDBCURL(const Aws::String& value) { m_clusterJDBCURLHasBeenSet = true; m_clusterJDBCURL = value; }
71 inline void SetClusterJDBCURL(Aws::String&& value) { m_clusterJDBCURLHasBeenSet = true; m_clusterJDBCURL = std::move(value); }
72 inline void SetClusterJDBCURL(const char* value) { m_clusterJDBCURLHasBeenSet = true; m_clusterJDBCURL.assign(value); }
74 inline RedshiftDestinationDescription& WithClusterJDBCURL(Aws::String&& value) { SetClusterJDBCURL(std::move(value)); return *this;}
75 inline RedshiftDestinationDescription& WithClusterJDBCURL(const char* value) { SetClusterJDBCURL(value); return *this;}
77
79
82 inline const CopyCommand& GetCopyCommand() const{ return m_copyCommand; }
83 inline bool CopyCommandHasBeenSet() const { return m_copyCommandHasBeenSet; }
84 inline void SetCopyCommand(const CopyCommand& value) { m_copyCommandHasBeenSet = true; m_copyCommand = value; }
85 inline void SetCopyCommand(CopyCommand&& value) { m_copyCommandHasBeenSet = true; m_copyCommand = std::move(value); }
86 inline RedshiftDestinationDescription& WithCopyCommand(const CopyCommand& value) { SetCopyCommand(value); return *this;}
87 inline RedshiftDestinationDescription& WithCopyCommand(CopyCommand&& value) { SetCopyCommand(std::move(value)); return *this;}
89
91
94 inline const Aws::String& GetUsername() const{ return m_username; }
95 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
96 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
97 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
98 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
99 inline RedshiftDestinationDescription& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
100 inline RedshiftDestinationDescription& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
101 inline RedshiftDestinationDescription& WithUsername(const char* value) { SetUsername(value); return *this;}
103
105
109 inline const RedshiftRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
110 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
111 inline void SetRetryOptions(const RedshiftRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
112 inline void SetRetryOptions(RedshiftRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
114 inline RedshiftDestinationDescription& WithRetryOptions(RedshiftRetryOptions&& value) { SetRetryOptions(std::move(value)); return *this;}
116
118
121 inline const S3DestinationDescription& GetS3DestinationDescription() const{ return m_s3DestinationDescription; }
122 inline bool S3DestinationDescriptionHasBeenSet() const { return m_s3DestinationDescriptionHasBeenSet; }
123 inline void SetS3DestinationDescription(const S3DestinationDescription& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = value; }
124 inline void SetS3DestinationDescription(S3DestinationDescription&& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = std::move(value); }
128
130
133 inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
134 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
135 inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
136 inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
140
142
145 inline const RedshiftS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; }
146 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
147 inline void SetS3BackupMode(const RedshiftS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
148 inline void SetS3BackupMode(RedshiftS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); }
150 inline RedshiftDestinationDescription& WithS3BackupMode(RedshiftS3BackupMode&& value) { SetS3BackupMode(std::move(value)); return *this;}
152
154
157 inline const S3DestinationDescription& GetS3BackupDescription() const{ return m_s3BackupDescription; }
158 inline bool S3BackupDescriptionHasBeenSet() const { return m_s3BackupDescriptionHasBeenSet; }
159 inline void SetS3BackupDescription(const S3DestinationDescription& value) { m_s3BackupDescriptionHasBeenSet = true; m_s3BackupDescription = value; }
160 inline void SetS3BackupDescription(S3DestinationDescription&& value) { m_s3BackupDescriptionHasBeenSet = true; m_s3BackupDescription = std::move(value); }
164
166
169 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
170 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
171 inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
172 inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
176
178
182 inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const{ return m_secretsManagerConfiguration; }
183 inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; }
184 inline void SetSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = value; }
185 inline void SetSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::move(value); }
189 private:
190
191 Aws::String m_roleARN;
192 bool m_roleARNHasBeenSet = false;
193
194 Aws::String m_clusterJDBCURL;
195 bool m_clusterJDBCURLHasBeenSet = false;
196
197 CopyCommand m_copyCommand;
198 bool m_copyCommandHasBeenSet = false;
199
200 Aws::String m_username;
201 bool m_usernameHasBeenSet = false;
202
203 RedshiftRetryOptions m_retryOptions;
204 bool m_retryOptionsHasBeenSet = false;
205
206 S3DestinationDescription m_s3DestinationDescription;
207 bool m_s3DestinationDescriptionHasBeenSet = false;
208
209 ProcessingConfiguration m_processingConfiguration;
210 bool m_processingConfigurationHasBeenSet = false;
211
212 RedshiftS3BackupMode m_s3BackupMode;
213 bool m_s3BackupModeHasBeenSet = false;
214
215 S3DestinationDescription m_s3BackupDescription;
216 bool m_s3BackupDescriptionHasBeenSet = false;
217
218 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
219 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
220
221 SecretsManagerConfiguration m_secretsManagerConfiguration;
222 bool m_secretsManagerConfigurationHasBeenSet = false;
223 };
224
225} // namespace Model
226} // namespace Firehose
227} // namespace Aws
RedshiftDestinationDescription & WithProcessingConfiguration(const ProcessingConfiguration &value)
RedshiftDestinationDescription & WithClusterJDBCURL(const char *value)
void SetS3BackupDescription(const S3DestinationDescription &value)
const SecretsManagerConfiguration & GetSecretsManagerConfiguration() const
RedshiftDestinationDescription & WithRoleARN(Aws::String &&value)
RedshiftDestinationDescription & WithRetryOptions(const RedshiftRetryOptions &value)
RedshiftDestinationDescription & WithUsername(const Aws::String &value)
RedshiftDestinationDescription & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
const S3DestinationDescription & GetS3DestinationDescription() const
RedshiftDestinationDescription & WithRetryOptions(RedshiftRetryOptions &&value)
RedshiftDestinationDescription & WithRoleARN(const char *value)
RedshiftDestinationDescription & WithS3BackupDescription(S3DestinationDescription &&value)
void SetSecretsManagerConfiguration(const SecretsManagerConfiguration &value)
RedshiftDestinationDescription & WithS3DestinationDescription(const S3DestinationDescription &value)
RedshiftDestinationDescription & WithRoleARN(const Aws::String &value)
AWS_FIREHOSE_API RedshiftDestinationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftDestinationDescription & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
RedshiftDestinationDescription & WithSecretsManagerConfiguration(const SecretsManagerConfiguration &value)
RedshiftDestinationDescription & WithClusterJDBCURL(const Aws::String &value)
void SetS3DestinationDescription(const S3DestinationDescription &value)
RedshiftDestinationDescription & WithSecretsManagerConfiguration(SecretsManagerConfiguration &&value)
RedshiftDestinationDescription & WithUsername(const char *value)
RedshiftDestinationDescription & WithUsername(Aws::String &&value)
void SetProcessingConfiguration(const ProcessingConfiguration &value)
RedshiftDestinationDescription & WithS3BackupMode(const RedshiftS3BackupMode &value)
void SetSecretsManagerConfiguration(SecretsManagerConfiguration &&value)
RedshiftDestinationDescription & WithClusterJDBCURL(Aws::String &&value)
RedshiftDestinationDescription & WithCopyCommand(CopyCommand &&value)
AWS_FIREHOSE_API RedshiftDestinationDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftDestinationDescription & WithS3BackupMode(RedshiftS3BackupMode &&value)
RedshiftDestinationDescription & WithProcessingConfiguration(ProcessingConfiguration &&value)
void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
RedshiftDestinationDescription & WithS3DestinationDescription(S3DestinationDescription &&value)
RedshiftDestinationDescription & WithCopyCommand(const CopyCommand &value)
RedshiftDestinationDescription & WithS3BackupDescription(const S3DestinationDescription &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue