AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
HttpEndpointDestinationConfiguration.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/HttpEndpointBufferingHints.h>
11#include <aws/firehose/model/HttpEndpointConfiguration.h>
12#include <aws/firehose/model/HttpEndpointRequestConfiguration.h>
13#include <aws/firehose/model/HttpEndpointRetryOptions.h>
14#include <aws/firehose/model/HttpEndpointS3BackupMode.h>
15#include <aws/firehose/model/ProcessingConfiguration.h>
16#include <aws/firehose/model/S3DestinationConfiguration.h>
17#include <aws/firehose/model/SecretsManagerConfiguration.h>
18
19#include <utility>
20
21namespace Aws {
22namespace Utils {
23namespace Json {
24class JsonValue;
25class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace Firehose {
29namespace Model {
30
38 public:
39 AWS_FIREHOSE_API HttpEndpointDestinationConfiguration() = default;
42 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
48 inline const HttpEndpointConfiguration& GetEndpointConfiguration() const { return m_endpointConfiguration; }
49 inline bool EndpointConfigurationHasBeenSet() const { return m_endpointConfigurationHasBeenSet; }
50 template <typename EndpointConfigurationT = HttpEndpointConfiguration>
51 void SetEndpointConfiguration(EndpointConfigurationT&& value) {
52 m_endpointConfigurationHasBeenSet = true;
53 m_endpointConfiguration = std::forward<EndpointConfigurationT>(value);
54 }
55 template <typename EndpointConfigurationT = HttpEndpointConfiguration>
57 SetEndpointConfiguration(std::forward<EndpointConfigurationT>(value));
58 return *this;
59 }
61
63
70 inline const HttpEndpointBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
71 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
72 template <typename BufferingHintsT = HttpEndpointBufferingHints>
73 void SetBufferingHints(BufferingHintsT&& value) {
74 m_bufferingHintsHasBeenSet = true;
75 m_bufferingHints = std::forward<BufferingHintsT>(value);
76 }
77 template <typename BufferingHintsT = HttpEndpointBufferingHints>
79 SetBufferingHints(std::forward<BufferingHintsT>(value));
80 return *this;
81 }
83
85
86 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
87 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
88 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
89 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
90 m_cloudWatchLoggingOptionsHasBeenSet = true;
91 m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value);
92 }
93 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
95 SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value));
96 return *this;
97 }
99
101
105 inline const HttpEndpointRequestConfiguration& GetRequestConfiguration() const { return m_requestConfiguration; }
106 inline bool RequestConfigurationHasBeenSet() const { return m_requestConfigurationHasBeenSet; }
107 template <typename RequestConfigurationT = HttpEndpointRequestConfiguration>
108 void SetRequestConfiguration(RequestConfigurationT&& value) {
109 m_requestConfigurationHasBeenSet = true;
110 m_requestConfiguration = std::forward<RequestConfigurationT>(value);
111 }
112 template <typename RequestConfigurationT = HttpEndpointRequestConfiguration>
114 SetRequestConfiguration(std::forward<RequestConfigurationT>(value));
115 return *this;
116 }
118
120
121 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
122 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
123 template <typename ProcessingConfigurationT = ProcessingConfiguration>
124 void SetProcessingConfiguration(ProcessingConfigurationT&& value) {
125 m_processingConfigurationHasBeenSet = true;
126 m_processingConfiguration = std::forward<ProcessingConfigurationT>(value);
127 }
128 template <typename ProcessingConfigurationT = ProcessingConfiguration>
130 SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value));
131 return *this;
132 }
134
136
140 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
141 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
142 template <typename RoleARNT = Aws::String>
143 void SetRoleARN(RoleARNT&& value) {
144 m_roleARNHasBeenSet = true;
145 m_roleARN = std::forward<RoleARNT>(value);
146 }
147 template <typename RoleARNT = Aws::String>
149 SetRoleARN(std::forward<RoleARNT>(value));
150 return *this;
151 }
153
155
160 inline const HttpEndpointRetryOptions& GetRetryOptions() const { return m_retryOptions; }
161 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
162 template <typename RetryOptionsT = HttpEndpointRetryOptions>
163 void SetRetryOptions(RetryOptionsT&& value) {
164 m_retryOptionsHasBeenSet = true;
165 m_retryOptions = std::forward<RetryOptionsT>(value);
166 }
167 template <typename RetryOptionsT = HttpEndpointRetryOptions>
169 SetRetryOptions(std::forward<RetryOptionsT>(value));
170 return *this;
171 }
173
175
181 inline HttpEndpointS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
182 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
184 m_s3BackupModeHasBeenSet = true;
185 m_s3BackupMode = value;
186 }
188 SetS3BackupMode(value);
189 return *this;
190 }
192
194
195 inline const S3DestinationConfiguration& GetS3Configuration() const { return m_s3Configuration; }
196 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
197 template <typename S3ConfigurationT = S3DestinationConfiguration>
198 void SetS3Configuration(S3ConfigurationT&& value) {
199 m_s3ConfigurationHasBeenSet = true;
200 m_s3Configuration = std::forward<S3ConfigurationT>(value);
201 }
202 template <typename S3ConfigurationT = S3DestinationConfiguration>
204 SetS3Configuration(std::forward<S3ConfigurationT>(value));
205 return *this;
206 }
208
210
214 inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const { return m_secretsManagerConfiguration; }
215 inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; }
216 template <typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
217 void SetSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) {
218 m_secretsManagerConfigurationHasBeenSet = true;
219 m_secretsManagerConfiguration = std::forward<SecretsManagerConfigurationT>(value);
220 }
221 template <typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
223 SetSecretsManagerConfiguration(std::forward<SecretsManagerConfigurationT>(value));
224 return *this;
225 }
227 private:
228 HttpEndpointConfiguration m_endpointConfiguration;
229
230 HttpEndpointBufferingHints m_bufferingHints;
231
232 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
233
234 HttpEndpointRequestConfiguration m_requestConfiguration;
235
236 ProcessingConfiguration m_processingConfiguration;
237
238 Aws::String m_roleARN;
239
240 HttpEndpointRetryOptions m_retryOptions;
241
243
244 S3DestinationConfiguration m_s3Configuration;
245
246 SecretsManagerConfiguration m_secretsManagerConfiguration;
247 bool m_endpointConfigurationHasBeenSet = false;
248 bool m_bufferingHintsHasBeenSet = false;
249 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
250 bool m_requestConfigurationHasBeenSet = false;
251 bool m_processingConfigurationHasBeenSet = false;
252 bool m_roleARNHasBeenSet = false;
253 bool m_retryOptionsHasBeenSet = false;
254 bool m_s3BackupModeHasBeenSet = false;
255 bool m_s3ConfigurationHasBeenSet = false;
256 bool m_secretsManagerConfigurationHasBeenSet = false;
257};
258
259} // namespace Model
260} // namespace Firehose
261} // namespace Aws
HttpEndpointDestinationConfiguration & WithProcessingConfiguration(ProcessingConfigurationT &&value)
HttpEndpointDestinationConfiguration & WithS3Configuration(S3ConfigurationT &&value)
HttpEndpointDestinationConfiguration & WithSecretsManagerConfiguration(SecretsManagerConfigurationT &&value)
HttpEndpointDestinationConfiguration & WithS3BackupMode(HttpEndpointS3BackupMode value)
HttpEndpointDestinationConfiguration & WithBufferingHints(BufferingHintsT &&value)
HttpEndpointDestinationConfiguration & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
HttpEndpointDestinationConfiguration & WithRoleARN(RoleARNT &&value)
AWS_FIREHOSE_API HttpEndpointDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
HttpEndpointDestinationConfiguration & WithRequestConfiguration(RequestConfigurationT &&value)
HttpEndpointDestinationConfiguration & WithRetryOptions(RetryOptionsT &&value)
HttpEndpointDestinationConfiguration & WithEndpointConfiguration(EndpointConfigurationT &&value)
AWS_FIREHOSE_API HttpEndpointDestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue