AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ElasticsearchDestinationConfiguration.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/DocumentIdOptions.h>
11#include <aws/firehose/model/ElasticsearchBufferingHints.h>
12#include <aws/firehose/model/ElasticsearchIndexRotationPeriod.h>
13#include <aws/firehose/model/ElasticsearchRetryOptions.h>
14#include <aws/firehose/model/ElasticsearchS3BackupMode.h>
15#include <aws/firehose/model/ProcessingConfiguration.h>
16#include <aws/firehose/model/S3DestinationConfiguration.h>
17#include <aws/firehose/model/VpcConfiguration.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 ElasticsearchDestinationConfiguration() = default;
42 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
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) {
58 m_roleARNHasBeenSet = true;
59 m_roleARN = std::forward<RoleARNT>(value);
60 }
61 template <typename RoleARNT = Aws::String>
63 SetRoleARN(std::forward<RoleARNT>(value));
64 return *this;
65 }
67
69
78 inline const Aws::String& GetDomainARN() const { return m_domainARN; }
79 inline bool DomainARNHasBeenSet() const { return m_domainARNHasBeenSet; }
80 template <typename DomainARNT = Aws::String>
81 void SetDomainARN(DomainARNT&& value) {
82 m_domainARNHasBeenSet = true;
83 m_domainARN = std::forward<DomainARNT>(value);
84 }
85 template <typename DomainARNT = Aws::String>
87 SetDomainARN(std::forward<DomainARNT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetClusterEndpoint() const { return m_clusterEndpoint; }
98 inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; }
99 template <typename ClusterEndpointT = Aws::String>
100 void SetClusterEndpoint(ClusterEndpointT&& value) {
101 m_clusterEndpointHasBeenSet = true;
102 m_clusterEndpoint = std::forward<ClusterEndpointT>(value);
103 }
104 template <typename ClusterEndpointT = Aws::String>
106 SetClusterEndpoint(std::forward<ClusterEndpointT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::String& GetIndexName() const { return m_indexName; }
116 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
117 template <typename IndexNameT = Aws::String>
118 void SetIndexName(IndexNameT&& value) {
119 m_indexNameHasBeenSet = true;
120 m_indexName = std::forward<IndexNameT>(value);
121 }
122 template <typename IndexNameT = Aws::String>
124 SetIndexName(std::forward<IndexNameT>(value));
125 return *this;
126 }
128
130
136 inline const Aws::String& GetTypeName() const { return m_typeName; }
137 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
138 template <typename TypeNameT = Aws::String>
139 void SetTypeName(TypeNameT&& value) {
140 m_typeNameHasBeenSet = true;
141 m_typeName = std::forward<TypeNameT>(value);
142 }
143 template <typename TypeNameT = Aws::String>
145 SetTypeName(std::forward<TypeNameT>(value));
146 return *this;
147 }
149
151
159 inline ElasticsearchIndexRotationPeriod GetIndexRotationPeriod() const { return m_indexRotationPeriod; }
160 inline bool IndexRotationPeriodHasBeenSet() const { return m_indexRotationPeriodHasBeenSet; }
162 m_indexRotationPeriodHasBeenSet = true;
163 m_indexRotationPeriod = value;
164 }
167 return *this;
168 }
170
172
176 inline const ElasticsearchBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
177 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
178 template <typename BufferingHintsT = ElasticsearchBufferingHints>
179 void SetBufferingHints(BufferingHintsT&& value) {
180 m_bufferingHintsHasBeenSet = true;
181 m_bufferingHints = std::forward<BufferingHintsT>(value);
182 }
183 template <typename BufferingHintsT = ElasticsearchBufferingHints>
185 SetBufferingHints(std::forward<BufferingHintsT>(value));
186 return *this;
187 }
189
191
195 inline const ElasticsearchRetryOptions& GetRetryOptions() const { return m_retryOptions; }
196 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
197 template <typename RetryOptionsT = ElasticsearchRetryOptions>
198 void SetRetryOptions(RetryOptionsT&& value) {
199 m_retryOptionsHasBeenSet = true;
200 m_retryOptions = std::forward<RetryOptionsT>(value);
201 }
202 template <typename RetryOptionsT = ElasticsearchRetryOptions>
204 SetRetryOptions(std::forward<RetryOptionsT>(value));
205 return *this;
206 }
208
210
224 inline ElasticsearchS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
225 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
227 m_s3BackupModeHasBeenSet = true;
228 m_s3BackupMode = value;
229 }
231 SetS3BackupMode(value);
232 return *this;
233 }
235
237
240 inline const S3DestinationConfiguration& GetS3Configuration() const { return m_s3Configuration; }
241 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
242 template <typename S3ConfigurationT = S3DestinationConfiguration>
243 void SetS3Configuration(S3ConfigurationT&& value) {
244 m_s3ConfigurationHasBeenSet = true;
245 m_s3Configuration = std::forward<S3ConfigurationT>(value);
246 }
247 template <typename S3ConfigurationT = S3DestinationConfiguration>
249 SetS3Configuration(std::forward<S3ConfigurationT>(value));
250 return *this;
251 }
253
255
258 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
259 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
260 template <typename ProcessingConfigurationT = ProcessingConfiguration>
261 void SetProcessingConfiguration(ProcessingConfigurationT&& value) {
262 m_processingConfigurationHasBeenSet = true;
263 m_processingConfiguration = std::forward<ProcessingConfigurationT>(value);
264 }
265 template <typename ProcessingConfigurationT = ProcessingConfiguration>
267 SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value));
268 return *this;
269 }
271
273
276 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
277 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
278 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
279 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
280 m_cloudWatchLoggingOptionsHasBeenSet = true;
281 m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value);
282 }
283 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
285 SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value));
286 return *this;
287 }
289
291
294 inline const VpcConfiguration& GetVpcConfiguration() const { return m_vpcConfiguration; }
295 inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
296 template <typename VpcConfigurationT = VpcConfiguration>
297 void SetVpcConfiguration(VpcConfigurationT&& value) {
298 m_vpcConfigurationHasBeenSet = true;
299 m_vpcConfiguration = std::forward<VpcConfigurationT>(value);
300 }
301 template <typename VpcConfigurationT = VpcConfiguration>
303 SetVpcConfiguration(std::forward<VpcConfigurationT>(value));
304 return *this;
305 }
307
309
313 inline const DocumentIdOptions& GetDocumentIdOptions() const { return m_documentIdOptions; }
314 inline bool DocumentIdOptionsHasBeenSet() const { return m_documentIdOptionsHasBeenSet; }
315 template <typename DocumentIdOptionsT = DocumentIdOptions>
316 void SetDocumentIdOptions(DocumentIdOptionsT&& value) {
317 m_documentIdOptionsHasBeenSet = true;
318 m_documentIdOptions = std::forward<DocumentIdOptionsT>(value);
319 }
320 template <typename DocumentIdOptionsT = DocumentIdOptions>
322 SetDocumentIdOptions(std::forward<DocumentIdOptionsT>(value));
323 return *this;
324 }
326 private:
327 Aws::String m_roleARN;
328
329 Aws::String m_domainARN;
330
331 Aws::String m_clusterEndpoint;
332
333 Aws::String m_indexName;
334
335 Aws::String m_typeName;
336
338
339 ElasticsearchBufferingHints m_bufferingHints;
340
341 ElasticsearchRetryOptions m_retryOptions;
342
344
345 S3DestinationConfiguration m_s3Configuration;
346
347 ProcessingConfiguration m_processingConfiguration;
348
349 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
350
351 VpcConfiguration m_vpcConfiguration;
352
353 DocumentIdOptions m_documentIdOptions;
354 bool m_roleARNHasBeenSet = false;
355 bool m_domainARNHasBeenSet = false;
356 bool m_clusterEndpointHasBeenSet = false;
357 bool m_indexNameHasBeenSet = false;
358 bool m_typeNameHasBeenSet = false;
359 bool m_indexRotationPeriodHasBeenSet = false;
360 bool m_bufferingHintsHasBeenSet = false;
361 bool m_retryOptionsHasBeenSet = false;
362 bool m_s3BackupModeHasBeenSet = false;
363 bool m_s3ConfigurationHasBeenSet = false;
364 bool m_processingConfigurationHasBeenSet = false;
365 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
366 bool m_vpcConfigurationHasBeenSet = false;
367 bool m_documentIdOptionsHasBeenSet = false;
368};
369
370} // namespace Model
371} // namespace Firehose
372} // namespace Aws
AWS_FIREHOSE_API ElasticsearchDestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchDestinationConfiguration & WithIndexName(IndexNameT &&value)
ElasticsearchDestinationConfiguration & WithS3BackupMode(ElasticsearchS3BackupMode value)
ElasticsearchDestinationConfiguration & WithProcessingConfiguration(ProcessingConfigurationT &&value)
ElasticsearchDestinationConfiguration & WithClusterEndpoint(ClusterEndpointT &&value)
ElasticsearchDestinationConfiguration & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
ElasticsearchDestinationConfiguration & WithRetryOptions(RetryOptionsT &&value)
ElasticsearchDestinationConfiguration & WithTypeName(TypeNameT &&value)
ElasticsearchDestinationConfiguration & WithBufferingHints(BufferingHintsT &&value)
ElasticsearchDestinationConfiguration & WithDocumentIdOptions(DocumentIdOptionsT &&value)
ElasticsearchDestinationConfiguration & WithDomainARN(DomainARNT &&value)
ElasticsearchDestinationConfiguration & WithIndexRotationPeriod(ElasticsearchIndexRotationPeriod value)
AWS_FIREHOSE_API ElasticsearchDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchDestinationConfiguration & WithRoleARN(RoleARNT &&value)
ElasticsearchDestinationConfiguration & WithVpcConfiguration(VpcConfigurationT &&value)
ElasticsearchDestinationConfiguration & WithS3Configuration(S3ConfigurationT &&value)
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