AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
ElasticsearchDestinationDescription.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/S3DestinationDescription.h>
17#include <aws/firehose/model/VpcConfigurationDescription.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 ElasticsearchDestinationDescription() = default;
42 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
51 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
52 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
53 template <typename RoleARNT = Aws::String>
54 void SetRoleARN(RoleARNT&& value) {
55 m_roleARNHasBeenSet = true;
56 m_roleARN = std::forward<RoleARNT>(value);
57 }
58 template <typename RoleARNT = Aws::String>
60 SetRoleARN(std::forward<RoleARNT>(value));
61 return *this;
62 }
64
66
73 inline const Aws::String& GetDomainARN() const { return m_domainARN; }
74 inline bool DomainARNHasBeenSet() const { return m_domainARNHasBeenSet; }
75 template <typename DomainARNT = Aws::String>
76 void SetDomainARN(DomainARNT&& value) {
77 m_domainARNHasBeenSet = true;
78 m_domainARN = std::forward<DomainARNT>(value);
79 }
80 template <typename DomainARNT = Aws::String>
82 SetDomainARN(std::forward<DomainARNT>(value));
83 return *this;
84 }
86
88
93 inline const Aws::String& GetClusterEndpoint() const { return m_clusterEndpoint; }
94 inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; }
95 template <typename ClusterEndpointT = Aws::String>
96 void SetClusterEndpoint(ClusterEndpointT&& value) {
97 m_clusterEndpointHasBeenSet = true;
98 m_clusterEndpoint = std::forward<ClusterEndpointT>(value);
99 }
100 template <typename ClusterEndpointT = Aws::String>
102 SetClusterEndpoint(std::forward<ClusterEndpointT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetIndexName() const { return m_indexName; }
112 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
113 template <typename IndexNameT = Aws::String>
114 void SetIndexName(IndexNameT&& value) {
115 m_indexNameHasBeenSet = true;
116 m_indexName = std::forward<IndexNameT>(value);
117 }
118 template <typename IndexNameT = Aws::String>
120 SetIndexName(std::forward<IndexNameT>(value));
121 return *this;
122 }
124
126
131 inline const Aws::String& GetTypeName() const { return m_typeName; }
132 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
133 template <typename TypeNameT = Aws::String>
134 void SetTypeName(TypeNameT&& value) {
135 m_typeNameHasBeenSet = true;
136 m_typeName = std::forward<TypeNameT>(value);
137 }
138 template <typename TypeNameT = Aws::String>
140 SetTypeName(std::forward<TypeNameT>(value));
141 return *this;
142 }
144
146
149 inline ElasticsearchIndexRotationPeriod GetIndexRotationPeriod() const { return m_indexRotationPeriod; }
150 inline bool IndexRotationPeriodHasBeenSet() const { return m_indexRotationPeriodHasBeenSet; }
152 m_indexRotationPeriodHasBeenSet = true;
153 m_indexRotationPeriod = value;
154 }
157 return *this;
158 }
160
162
165 inline const ElasticsearchBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
166 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
167 template <typename BufferingHintsT = ElasticsearchBufferingHints>
168 void SetBufferingHints(BufferingHintsT&& value) {
169 m_bufferingHintsHasBeenSet = true;
170 m_bufferingHints = std::forward<BufferingHintsT>(value);
171 }
172 template <typename BufferingHintsT = ElasticsearchBufferingHints>
174 SetBufferingHints(std::forward<BufferingHintsT>(value));
175 return *this;
176 }
178
180
183 inline const ElasticsearchRetryOptions& GetRetryOptions() const { return m_retryOptions; }
184 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
185 template <typename RetryOptionsT = ElasticsearchRetryOptions>
186 void SetRetryOptions(RetryOptionsT&& value) {
187 m_retryOptionsHasBeenSet = true;
188 m_retryOptions = std::forward<RetryOptionsT>(value);
189 }
190 template <typename RetryOptionsT = ElasticsearchRetryOptions>
192 SetRetryOptions(std::forward<RetryOptionsT>(value));
193 return *this;
194 }
196
198
201 inline ElasticsearchS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
202 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
204 m_s3BackupModeHasBeenSet = true;
205 m_s3BackupMode = value;
206 }
208 SetS3BackupMode(value);
209 return *this;
210 }
212
214
217 inline const S3DestinationDescription& GetS3DestinationDescription() const { return m_s3DestinationDescription; }
218 inline bool S3DestinationDescriptionHasBeenSet() const { return m_s3DestinationDescriptionHasBeenSet; }
219 template <typename S3DestinationDescriptionT = S3DestinationDescription>
220 void SetS3DestinationDescription(S3DestinationDescriptionT&& value) {
221 m_s3DestinationDescriptionHasBeenSet = true;
222 m_s3DestinationDescription = std::forward<S3DestinationDescriptionT>(value);
223 }
224 template <typename S3DestinationDescriptionT = S3DestinationDescription>
226 SetS3DestinationDescription(std::forward<S3DestinationDescriptionT>(value));
227 return *this;
228 }
230
232
235 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
236 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
237 template <typename ProcessingConfigurationT = ProcessingConfiguration>
238 void SetProcessingConfiguration(ProcessingConfigurationT&& value) {
239 m_processingConfigurationHasBeenSet = true;
240 m_processingConfiguration = std::forward<ProcessingConfigurationT>(value);
241 }
242 template <typename ProcessingConfigurationT = ProcessingConfiguration>
244 SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value));
245 return *this;
246 }
248
250
253 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
254 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
255 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
256 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
257 m_cloudWatchLoggingOptionsHasBeenSet = true;
258 m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value);
259 }
260 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
262 SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value));
263 return *this;
264 }
266
268
272 inline const VpcConfigurationDescription& GetVpcConfigurationDescription() const { return m_vpcConfigurationDescription; }
273 inline bool VpcConfigurationDescriptionHasBeenSet() const { return m_vpcConfigurationDescriptionHasBeenSet; }
274 template <typename VpcConfigurationDescriptionT = VpcConfigurationDescription>
275 void SetVpcConfigurationDescription(VpcConfigurationDescriptionT&& value) {
276 m_vpcConfigurationDescriptionHasBeenSet = true;
277 m_vpcConfigurationDescription = std::forward<VpcConfigurationDescriptionT>(value);
278 }
279 template <typename VpcConfigurationDescriptionT = VpcConfigurationDescription>
281 SetVpcConfigurationDescription(std::forward<VpcConfigurationDescriptionT>(value));
282 return *this;
283 }
285
287
291 inline const DocumentIdOptions& GetDocumentIdOptions() const { return m_documentIdOptions; }
292 inline bool DocumentIdOptionsHasBeenSet() const { return m_documentIdOptionsHasBeenSet; }
293 template <typename DocumentIdOptionsT = DocumentIdOptions>
294 void SetDocumentIdOptions(DocumentIdOptionsT&& value) {
295 m_documentIdOptionsHasBeenSet = true;
296 m_documentIdOptions = std::forward<DocumentIdOptionsT>(value);
297 }
298 template <typename DocumentIdOptionsT = DocumentIdOptions>
300 SetDocumentIdOptions(std::forward<DocumentIdOptionsT>(value));
301 return *this;
302 }
304 private:
305 Aws::String m_roleARN;
306
307 Aws::String m_domainARN;
308
309 Aws::String m_clusterEndpoint;
310
311 Aws::String m_indexName;
312
313 Aws::String m_typeName;
314
316
317 ElasticsearchBufferingHints m_bufferingHints;
318
319 ElasticsearchRetryOptions m_retryOptions;
320
322
323 S3DestinationDescription m_s3DestinationDescription;
324
325 ProcessingConfiguration m_processingConfiguration;
326
327 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
328
329 VpcConfigurationDescription m_vpcConfigurationDescription;
330
331 DocumentIdOptions m_documentIdOptions;
332 bool m_roleARNHasBeenSet = false;
333 bool m_domainARNHasBeenSet = false;
334 bool m_clusterEndpointHasBeenSet = false;
335 bool m_indexNameHasBeenSet = false;
336 bool m_typeNameHasBeenSet = false;
337 bool m_indexRotationPeriodHasBeenSet = false;
338 bool m_bufferingHintsHasBeenSet = false;
339 bool m_retryOptionsHasBeenSet = false;
340 bool m_s3BackupModeHasBeenSet = false;
341 bool m_s3DestinationDescriptionHasBeenSet = false;
342 bool m_processingConfigurationHasBeenSet = false;
343 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
344 bool m_vpcConfigurationDescriptionHasBeenSet = false;
345 bool m_documentIdOptionsHasBeenSet = false;
346};
347
348} // namespace Model
349} // namespace Firehose
350} // namespace Aws
ElasticsearchDestinationDescription & WithClusterEndpoint(ClusterEndpointT &&value)
ElasticsearchDestinationDescription & WithTypeName(TypeNameT &&value)
ElasticsearchDestinationDescription & WithDomainARN(DomainARNT &&value)
ElasticsearchDestinationDescription & WithRetryOptions(RetryOptionsT &&value)
ElasticsearchDestinationDescription & WithS3BackupMode(ElasticsearchS3BackupMode value)
ElasticsearchDestinationDescription & WithDocumentIdOptions(DocumentIdOptionsT &&value)
ElasticsearchDestinationDescription & WithIndexName(IndexNameT &&value)
AWS_FIREHOSE_API ElasticsearchDestinationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchDestinationDescription & WithBufferingHints(BufferingHintsT &&value)
ElasticsearchDestinationDescription & WithIndexRotationPeriod(ElasticsearchIndexRotationPeriod value)
ElasticsearchDestinationDescription & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
ElasticsearchDestinationDescription & WithRoleARN(RoleARNT &&value)
AWS_FIREHOSE_API ElasticsearchDestinationDescription(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchDestinationDescription & WithS3DestinationDescription(S3DestinationDescriptionT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
ElasticsearchDestinationDescription & WithProcessingConfiguration(ProcessingConfigurationT &&value)
ElasticsearchDestinationDescription & WithVpcConfigurationDescription(VpcConfigurationDescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue