AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
HttpEndpointDestinationUpdate.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/S3DestinationUpdate.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 HttpEndpointDestinationUpdate() = 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
71 inline const HttpEndpointBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
72 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
73 template <typename BufferingHintsT = HttpEndpointBufferingHints>
74 void SetBufferingHints(BufferingHintsT&& value) {
75 m_bufferingHintsHasBeenSet = true;
76 m_bufferingHints = std::forward<BufferingHintsT>(value);
77 }
78 template <typename BufferingHintsT = HttpEndpointBufferingHints>
80 SetBufferingHints(std::forward<BufferingHintsT>(value));
81 return *this;
82 }
84
86
87 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
88 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
89 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
90 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
91 m_cloudWatchLoggingOptionsHasBeenSet = true;
92 m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value);
93 }
94 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
95 HttpEndpointDestinationUpdate& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
96 SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value));
97 return *this;
98 }
100
102
106 inline const HttpEndpointRequestConfiguration& GetRequestConfiguration() const { return m_requestConfiguration; }
107 inline bool RequestConfigurationHasBeenSet() const { return m_requestConfigurationHasBeenSet; }
108 template <typename RequestConfigurationT = HttpEndpointRequestConfiguration>
109 void SetRequestConfiguration(RequestConfigurationT&& value) {
110 m_requestConfigurationHasBeenSet = true;
111 m_requestConfiguration = std::forward<RequestConfigurationT>(value);
112 }
113 template <typename RequestConfigurationT = HttpEndpointRequestConfiguration>
115 SetRequestConfiguration(std::forward<RequestConfigurationT>(value));
116 return *this;
117 }
119
121
122 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
123 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
124 template <typename ProcessingConfigurationT = ProcessingConfiguration>
125 void SetProcessingConfiguration(ProcessingConfigurationT&& value) {
126 m_processingConfigurationHasBeenSet = true;
127 m_processingConfiguration = std::forward<ProcessingConfigurationT>(value);
128 }
129 template <typename ProcessingConfigurationT = ProcessingConfiguration>
131 SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value));
132 return *this;
133 }
135
137
141 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
142 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
143 template <typename RoleARNT = Aws::String>
144 void SetRoleARN(RoleARNT&& value) {
145 m_roleARNHasBeenSet = true;
146 m_roleARN = std::forward<RoleARNT>(value);
147 }
148 template <typename RoleARNT = Aws::String>
150 SetRoleARN(std::forward<RoleARNT>(value));
151 return *this;
152 }
154
156
161 inline const HttpEndpointRetryOptions& GetRetryOptions() const { return m_retryOptions; }
162 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
163 template <typename RetryOptionsT = HttpEndpointRetryOptions>
164 void SetRetryOptions(RetryOptionsT&& value) {
165 m_retryOptionsHasBeenSet = true;
166 m_retryOptions = std::forward<RetryOptionsT>(value);
167 }
168 template <typename RetryOptionsT = HttpEndpointRetryOptions>
170 SetRetryOptions(std::forward<RetryOptionsT>(value));
171 return *this;
172 }
174
176
182 inline HttpEndpointS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
183 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
185 m_s3BackupModeHasBeenSet = true;
186 m_s3BackupMode = value;
187 }
189 SetS3BackupMode(value);
190 return *this;
191 }
193
195
196 inline const S3DestinationUpdate& GetS3Update() const { return m_s3Update; }
197 inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
198 template <typename S3UpdateT = S3DestinationUpdate>
199 void SetS3Update(S3UpdateT&& value) {
200 m_s3UpdateHasBeenSet = true;
201 m_s3Update = std::forward<S3UpdateT>(value);
202 }
203 template <typename S3UpdateT = S3DestinationUpdate>
205 SetS3Update(std::forward<S3UpdateT>(value));
206 return *this;
207 }
209
211
215 inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const { return m_secretsManagerConfiguration; }
216 inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; }
217 template <typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
218 void SetSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) {
219 m_secretsManagerConfigurationHasBeenSet = true;
220 m_secretsManagerConfiguration = std::forward<SecretsManagerConfigurationT>(value);
221 }
222 template <typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
223 HttpEndpointDestinationUpdate& WithSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) {
224 SetSecretsManagerConfiguration(std::forward<SecretsManagerConfigurationT>(value));
225 return *this;
226 }
228 private:
229 HttpEndpointConfiguration m_endpointConfiguration;
230
231 HttpEndpointBufferingHints m_bufferingHints;
232
233 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
234
235 HttpEndpointRequestConfiguration m_requestConfiguration;
236
237 ProcessingConfiguration m_processingConfiguration;
238
239 Aws::String m_roleARN;
240
241 HttpEndpointRetryOptions m_retryOptions;
242
244
245 S3DestinationUpdate m_s3Update;
246
247 SecretsManagerConfiguration m_secretsManagerConfiguration;
248 bool m_endpointConfigurationHasBeenSet = false;
249 bool m_bufferingHintsHasBeenSet = false;
250 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
251 bool m_requestConfigurationHasBeenSet = false;
252 bool m_processingConfigurationHasBeenSet = false;
253 bool m_roleARNHasBeenSet = false;
254 bool m_retryOptionsHasBeenSet = false;
255 bool m_s3BackupModeHasBeenSet = false;
256 bool m_s3UpdateHasBeenSet = false;
257 bool m_secretsManagerConfigurationHasBeenSet = false;
258};
259
260} // namespace Model
261} // namespace Firehose
262} // namespace Aws
HttpEndpointDestinationUpdate & WithS3Update(S3UpdateT &&value)
AWS_FIREHOSE_API HttpEndpointDestinationUpdate()=default
HttpEndpointDestinationUpdate & WithRequestConfiguration(RequestConfigurationT &&value)
const HttpEndpointBufferingHints & GetBufferingHints() const
HttpEndpointDestinationUpdate & WithEndpointConfiguration(EndpointConfigurationT &&value)
HttpEndpointDestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
HttpEndpointDestinationUpdate & WithBufferingHints(BufferingHintsT &&value)
HttpEndpointDestinationUpdate & WithSecretsManagerConfiguration(SecretsManagerConfigurationT &&value)
HttpEndpointDestinationUpdate & WithRoleARN(RoleARNT &&value)
const HttpEndpointConfiguration & GetEndpointConfiguration() const
HttpEndpointDestinationUpdate & WithProcessingConfiguration(ProcessingConfigurationT &&value)
const HttpEndpointRequestConfiguration & GetRequestConfiguration() const
const SecretsManagerConfiguration & GetSecretsManagerConfiguration() const
AWS_FIREHOSE_API HttpEndpointDestinationUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
HttpEndpointDestinationUpdate & WithS3BackupMode(HttpEndpointS3BackupMode value)
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
const ProcessingConfiguration & GetProcessingConfiguration() const
AWS_FIREHOSE_API HttpEndpointDestinationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSecretsManagerConfiguration(SecretsManagerConfigurationT &&value)
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
void SetProcessingConfiguration(ProcessingConfigurationT &&value)
HttpEndpointDestinationUpdate & WithRetryOptions(RetryOptionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue