AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
41 AWS_FIREHOSE_API RedshiftDestinationDescription() = default;
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 template<typename RoleARNT = Aws::String>
57 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
58 template<typename RoleARNT = Aws::String>
59 RedshiftDestinationDescription& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
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) { m_clusterJDBCURLHasBeenSet = true; m_clusterJDBCURL = std::forward<ClusterJDBCURLT>(value); }
70 template<typename ClusterJDBCURLT = Aws::String>
71 RedshiftDestinationDescription& WithClusterJDBCURL(ClusterJDBCURLT&& value) { SetClusterJDBCURL(std::forward<ClusterJDBCURLT>(value)); return *this;}
73
75
78 inline const CopyCommand& GetCopyCommand() const { return m_copyCommand; }
79 inline bool CopyCommandHasBeenSet() const { return m_copyCommandHasBeenSet; }
80 template<typename CopyCommandT = CopyCommand>
81 void SetCopyCommand(CopyCommandT&& value) { m_copyCommandHasBeenSet = true; m_copyCommand = std::forward<CopyCommandT>(value); }
82 template<typename CopyCommandT = CopyCommand>
83 RedshiftDestinationDescription& WithCopyCommand(CopyCommandT&& value) { SetCopyCommand(std::forward<CopyCommandT>(value)); return *this;}
85
87
90 inline const Aws::String& GetUsername() const { return m_username; }
91 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
92 template<typename UsernameT = Aws::String>
93 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet = true; m_username = std::forward<UsernameT>(value); }
94 template<typename UsernameT = Aws::String>
95 RedshiftDestinationDescription& WithUsername(UsernameT&& value) { SetUsername(std::forward<UsernameT>(value)); return *this;}
97
99
103 inline const RedshiftRetryOptions& GetRetryOptions() const { return m_retryOptions; }
104 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
105 template<typename RetryOptionsT = RedshiftRetryOptions>
106 void SetRetryOptions(RetryOptionsT&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::forward<RetryOptionsT>(value); }
107 template<typename RetryOptionsT = RedshiftRetryOptions>
108 RedshiftDestinationDescription& WithRetryOptions(RetryOptionsT&& value) { SetRetryOptions(std::forward<RetryOptionsT>(value)); return *this;}
110
112
115 inline const S3DestinationDescription& GetS3DestinationDescription() const { return m_s3DestinationDescription; }
116 inline bool S3DestinationDescriptionHasBeenSet() const { return m_s3DestinationDescriptionHasBeenSet; }
117 template<typename S3DestinationDescriptionT = S3DestinationDescription>
118 void SetS3DestinationDescription(S3DestinationDescriptionT&& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = std::forward<S3DestinationDescriptionT>(value); }
119 template<typename S3DestinationDescriptionT = S3DestinationDescription>
120 RedshiftDestinationDescription& WithS3DestinationDescription(S3DestinationDescriptionT&& value) { SetS3DestinationDescription(std::forward<S3DestinationDescriptionT>(value)); return *this;}
122
124
127 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
128 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
129 template<typename ProcessingConfigurationT = ProcessingConfiguration>
130 void SetProcessingConfiguration(ProcessingConfigurationT&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::forward<ProcessingConfigurationT>(value); }
131 template<typename ProcessingConfigurationT = ProcessingConfiguration>
132 RedshiftDestinationDescription& WithProcessingConfiguration(ProcessingConfigurationT&& value) { SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value)); return *this;}
134
136
139 inline RedshiftS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
140 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
141 inline void SetS3BackupMode(RedshiftS3BackupMode value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
144
146
149 inline const S3DestinationDescription& GetS3BackupDescription() const { return m_s3BackupDescription; }
150 inline bool S3BackupDescriptionHasBeenSet() const { return m_s3BackupDescriptionHasBeenSet; }
151 template<typename S3BackupDescriptionT = S3DestinationDescription>
152 void SetS3BackupDescription(S3BackupDescriptionT&& value) { m_s3BackupDescriptionHasBeenSet = true; m_s3BackupDescription = std::forward<S3BackupDescriptionT>(value); }
153 template<typename S3BackupDescriptionT = S3DestinationDescription>
154 RedshiftDestinationDescription& WithS3BackupDescription(S3BackupDescriptionT&& value) { SetS3BackupDescription(std::forward<S3BackupDescriptionT>(value)); return *this;}
156
158
161 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
162 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
163 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
164 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value); }
165 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
166 RedshiftDestinationDescription& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value)); return *this;}
168
170
174 inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const { return m_secretsManagerConfiguration; }
175 inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; }
176 template<typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
177 void SetSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::forward<SecretsManagerConfigurationT>(value); }
178 template<typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
179 RedshiftDestinationDescription& WithSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) { SetSecretsManagerConfiguration(std::forward<SecretsManagerConfigurationT>(value)); return *this;}
181 private:
182
183 Aws::String m_roleARN;
184 bool m_roleARNHasBeenSet = false;
185
186 Aws::String m_clusterJDBCURL;
187 bool m_clusterJDBCURLHasBeenSet = false;
188
189 CopyCommand m_copyCommand;
190 bool m_copyCommandHasBeenSet = false;
191
192 Aws::String m_username;
193 bool m_usernameHasBeenSet = false;
194
195 RedshiftRetryOptions m_retryOptions;
196 bool m_retryOptionsHasBeenSet = false;
197
198 S3DestinationDescription m_s3DestinationDescription;
199 bool m_s3DestinationDescriptionHasBeenSet = false;
200
201 ProcessingConfiguration m_processingConfiguration;
202 bool m_processingConfigurationHasBeenSet = false;
203
205 bool m_s3BackupModeHasBeenSet = false;
206
207 S3DestinationDescription m_s3BackupDescription;
208 bool m_s3BackupDescriptionHasBeenSet = false;
209
210 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
211 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
212
213 SecretsManagerConfiguration m_secretsManagerConfiguration;
214 bool m_secretsManagerConfigurationHasBeenSet = false;
215 };
216
217} // namespace Model
218} // namespace Firehose
219} // 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