AWS SDK for C++  1.8.95
AWS SDK for C++
HttpEndpointDestinationUpdate.h
Go to the documentation of this file.
1 
6 #pragma once
17 #include <utility>
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26  class JsonView;
27 } // namespace Json
28 } // namespace Utils
29 namespace Firehose
30 {
31 namespace Model
32 {
33 
41  {
42  public:
46  Aws::Utils::Json::JsonValue Jsonize() const;
47 
48 
52  inline const HttpEndpointConfiguration& GetEndpointConfiguration() const{ return m_endpointConfiguration; }
53 
57  inline bool EndpointConfigurationHasBeenSet() const { return m_endpointConfigurationHasBeenSet; }
58 
62  inline void SetEndpointConfiguration(const HttpEndpointConfiguration& value) { m_endpointConfigurationHasBeenSet = true; m_endpointConfiguration = value; }
63 
67  inline void SetEndpointConfiguration(HttpEndpointConfiguration&& value) { m_endpointConfigurationHasBeenSet = true; m_endpointConfiguration = std::move(value); }
68 
72  inline HttpEndpointDestinationUpdate& WithEndpointConfiguration(const HttpEndpointConfiguration& value) { SetEndpointConfiguration(value); return *this;}
73 
77  inline HttpEndpointDestinationUpdate& WithEndpointConfiguration(HttpEndpointConfiguration&& value) { SetEndpointConfiguration(std::move(value)); return *this;}
78 
79 
88  inline const HttpEndpointBufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
89 
98  inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
99 
108  inline void SetBufferingHints(const HttpEndpointBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
109 
118  inline void SetBufferingHints(HttpEndpointBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
119 
128  inline HttpEndpointDestinationUpdate& WithBufferingHints(const HttpEndpointBufferingHints& value) { SetBufferingHints(value); return *this;}
129 
138  inline HttpEndpointDestinationUpdate& WithBufferingHints(HttpEndpointBufferingHints&& value) { SetBufferingHints(std::move(value)); return *this;}
139 
140 
141 
142  inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
143 
144 
145  inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
146 
147 
148  inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
149 
150 
151  inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
152 
153 
154  inline HttpEndpointDestinationUpdate& WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { SetCloudWatchLoggingOptions(value); return *this;}
155 
156 
157  inline HttpEndpointDestinationUpdate& WithCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { SetCloudWatchLoggingOptions(std::move(value)); return *this;}
158 
159 
164  inline const HttpEndpointRequestConfiguration& GetRequestConfiguration() const{ return m_requestConfiguration; }
165 
170  inline bool RequestConfigurationHasBeenSet() const { return m_requestConfigurationHasBeenSet; }
171 
176  inline void SetRequestConfiguration(const HttpEndpointRequestConfiguration& value) { m_requestConfigurationHasBeenSet = true; m_requestConfiguration = value; }
177 
182  inline void SetRequestConfiguration(HttpEndpointRequestConfiguration&& value) { m_requestConfigurationHasBeenSet = true; m_requestConfiguration = std::move(value); }
183 
188  inline HttpEndpointDestinationUpdate& WithRequestConfiguration(const HttpEndpointRequestConfiguration& value) { SetRequestConfiguration(value); return *this;}
189 
194  inline HttpEndpointDestinationUpdate& WithRequestConfiguration(HttpEndpointRequestConfiguration&& value) { SetRequestConfiguration(std::move(value)); return *this;}
195 
196 
197 
198  inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
199 
200 
201  inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
202 
203 
204  inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
205 
206 
207  inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
208 
209 
210  inline HttpEndpointDestinationUpdate& WithProcessingConfiguration(const ProcessingConfiguration& value) { SetProcessingConfiguration(value); return *this;}
211 
212 
213  inline HttpEndpointDestinationUpdate& WithProcessingConfiguration(ProcessingConfiguration&& value) { SetProcessingConfiguration(std::move(value)); return *this;}
214 
215 
220  inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
221 
226  inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
227 
232  inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
233 
238  inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
239 
244  inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
245 
250  inline HttpEndpointDestinationUpdate& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
251 
256  inline HttpEndpointDestinationUpdate& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
257 
262  inline HttpEndpointDestinationUpdate& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
263 
264 
271  inline const HttpEndpointRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
272 
279  inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
280 
287  inline void SetRetryOptions(const HttpEndpointRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
288 
295  inline void SetRetryOptions(HttpEndpointRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
296 
303  inline HttpEndpointDestinationUpdate& WithRetryOptions(const HttpEndpointRetryOptions& value) { SetRetryOptions(value); return *this;}
304 
311  inline HttpEndpointDestinationUpdate& WithRetryOptions(HttpEndpointRetryOptions&& value) { SetRetryOptions(std::move(value)); return *this;}
312 
313 
321  inline const HttpEndpointS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; }
322 
330  inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
331 
339  inline void SetS3BackupMode(const HttpEndpointS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
340 
348  inline void SetS3BackupMode(HttpEndpointS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); }
349 
357  inline HttpEndpointDestinationUpdate& WithS3BackupMode(const HttpEndpointS3BackupMode& value) { SetS3BackupMode(value); return *this;}
358 
366  inline HttpEndpointDestinationUpdate& WithS3BackupMode(HttpEndpointS3BackupMode&& value) { SetS3BackupMode(std::move(value)); return *this;}
367 
368 
369 
370  inline const S3DestinationUpdate& GetS3Update() const{ return m_s3Update; }
371 
372 
373  inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
374 
375 
376  inline void SetS3Update(const S3DestinationUpdate& value) { m_s3UpdateHasBeenSet = true; m_s3Update = value; }
377 
378 
379  inline void SetS3Update(S3DestinationUpdate&& value) { m_s3UpdateHasBeenSet = true; m_s3Update = std::move(value); }
380 
381 
382  inline HttpEndpointDestinationUpdate& WithS3Update(const S3DestinationUpdate& value) { SetS3Update(value); return *this;}
383 
384 
385  inline HttpEndpointDestinationUpdate& WithS3Update(S3DestinationUpdate&& value) { SetS3Update(std::move(value)); return *this;}
386 
387  private:
388 
389  HttpEndpointConfiguration m_endpointConfiguration;
390  bool m_endpointConfigurationHasBeenSet;
391 
392  HttpEndpointBufferingHints m_bufferingHints;
393  bool m_bufferingHintsHasBeenSet;
394 
395  CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
396  bool m_cloudWatchLoggingOptionsHasBeenSet;
397 
398  HttpEndpointRequestConfiguration m_requestConfiguration;
399  bool m_requestConfigurationHasBeenSet;
400 
401  ProcessingConfiguration m_processingConfiguration;
402  bool m_processingConfigurationHasBeenSet;
403 
404  Aws::String m_roleARN;
405  bool m_roleARNHasBeenSet;
406 
407  HttpEndpointRetryOptions m_retryOptions;
408  bool m_retryOptionsHasBeenSet;
409 
410  HttpEndpointS3BackupMode m_s3BackupMode;
411  bool m_s3BackupModeHasBeenSet;
412 
413  S3DestinationUpdate m_s3Update;
414  bool m_s3UpdateHasBeenSet;
415  };
416 
417 } // namespace Model
418 } // namespace Firehose
419 } // namespace Aws
HttpEndpointDestinationUpdate & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
const HttpEndpointBufferingHints & GetBufferingHints() const
#define AWS_FIREHOSE_API
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
HttpEndpointDestinationUpdate & WithEndpointConfiguration(HttpEndpointConfiguration &&value)
HttpEndpointDestinationUpdate & WithRoleARN(Aws::String &&value)
void SetRequestConfiguration(HttpEndpointRequestConfiguration &&value)
HttpEndpointDestinationUpdate & WithS3BackupMode(HttpEndpointS3BackupMode &&value)
HttpEndpointDestinationUpdate & WithS3Update(const S3DestinationUpdate &value)
HttpEndpointDestinationUpdate & WithRoleARN(const char *value)
void SetEndpointConfiguration(const HttpEndpointConfiguration &value)
HttpEndpointDestinationUpdate & WithProcessingConfiguration(const ProcessingConfiguration &value)
void SetProcessingConfiguration(const ProcessingConfiguration &value)
HttpEndpointDestinationUpdate & WithRetryOptions(const HttpEndpointRetryOptions &value)
HttpEndpointDestinationUpdate & WithS3Update(S3DestinationUpdate &&value)
HttpEndpointDestinationUpdate & WithRetryOptions(HttpEndpointRetryOptions &&value)
void SetRetryOptions(const HttpEndpointRetryOptions &value)
HttpEndpointDestinationUpdate & WithProcessingConfiguration(ProcessingConfiguration &&value)
HttpEndpointDestinationUpdate & WithS3BackupMode(const HttpEndpointS3BackupMode &value)
const HttpEndpointConfiguration & GetEndpointConfiguration() const
void SetEndpointConfiguration(HttpEndpointConfiguration &&value)
const ProcessingConfiguration & GetProcessingConfiguration() const
void SetRequestConfiguration(const HttpEndpointRequestConfiguration &value)
HttpEndpointDestinationUpdate & WithBufferingHints(HttpEndpointBufferingHints &&value)
const HttpEndpointRequestConfiguration & GetRequestConfiguration() const
void SetBufferingHints(const HttpEndpointBufferingHints &value)
HttpEndpointDestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
void SetS3BackupMode(const HttpEndpointS3BackupMode &value)
HttpEndpointDestinationUpdate & WithRequestConfiguration(HttpEndpointRequestConfiguration &&value)
HttpEndpointDestinationUpdate & WithEndpointConfiguration(const HttpEndpointConfiguration &value)
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
HttpEndpointDestinationUpdate & WithBufferingHints(const HttpEndpointBufferingHints &value)
void SetProcessingConfiguration(ProcessingConfiguration &&value)
HttpEndpointDestinationUpdate & WithRoleARN(const Aws::String &value)
HttpEndpointDestinationUpdate & WithRequestConfiguration(const HttpEndpointRequestConfiguration &value)
void SetBufferingHints(HttpEndpointBufferingHints &&value)