AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
ElasticsearchDestinationUpdate.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/ProcessingConfiguration.h>
15#include <aws/firehose/model/S3DestinationUpdate.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Firehose {
27namespace Model {
28
36 public:
37 AWS_FIREHOSE_API ElasticsearchDestinationUpdate() = default;
40 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
52 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
53 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
54 template <typename RoleARNT = Aws::String>
55 void SetRoleARN(RoleARNT&& value) {
56 m_roleARNHasBeenSet = true;
57 m_roleARN = std::forward<RoleARNT>(value);
58 }
59 template <typename RoleARNT = Aws::String>
61 SetRoleARN(std::forward<RoleARNT>(value));
62 return *this;
63 }
65
67
76 inline const Aws::String& GetDomainARN() const { return m_domainARN; }
77 inline bool DomainARNHasBeenSet() const { return m_domainARNHasBeenSet; }
78 template <typename DomainARNT = Aws::String>
79 void SetDomainARN(DomainARNT&& value) {
80 m_domainARNHasBeenSet = true;
81 m_domainARN = std::forward<DomainARNT>(value);
82 }
83 template <typename DomainARNT = Aws::String>
85 SetDomainARN(std::forward<DomainARNT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::String& GetClusterEndpoint() const { return m_clusterEndpoint; }
96 inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; }
97 template <typename ClusterEndpointT = Aws::String>
98 void SetClusterEndpoint(ClusterEndpointT&& value) {
99 m_clusterEndpointHasBeenSet = true;
100 m_clusterEndpoint = std::forward<ClusterEndpointT>(value);
101 }
102 template <typename ClusterEndpointT = Aws::String>
104 SetClusterEndpoint(std::forward<ClusterEndpointT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetIndexName() const { return m_indexName; }
114 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
115 template <typename IndexNameT = Aws::String>
116 void SetIndexName(IndexNameT&& value) {
117 m_indexNameHasBeenSet = true;
118 m_indexName = std::forward<IndexNameT>(value);
119 }
120 template <typename IndexNameT = Aws::String>
122 SetIndexName(std::forward<IndexNameT>(value));
123 return *this;
124 }
126
128
137 inline const Aws::String& GetTypeName() const { return m_typeName; }
138 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
139 template <typename TypeNameT = Aws::String>
140 void SetTypeName(TypeNameT&& value) {
141 m_typeNameHasBeenSet = true;
142 m_typeName = std::forward<TypeNameT>(value);
143 }
144 template <typename TypeNameT = Aws::String>
146 SetTypeName(std::forward<TypeNameT>(value));
147 return *this;
148 }
150
152
160 inline ElasticsearchIndexRotationPeriod GetIndexRotationPeriod() const { return m_indexRotationPeriod; }
161 inline bool IndexRotationPeriodHasBeenSet() const { return m_indexRotationPeriodHasBeenSet; }
163 m_indexRotationPeriodHasBeenSet = true;
164 m_indexRotationPeriod = value;
165 }
168 return *this;
169 }
171
173
177 inline const ElasticsearchBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
178 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
179 template <typename BufferingHintsT = ElasticsearchBufferingHints>
180 void SetBufferingHints(BufferingHintsT&& value) {
181 m_bufferingHintsHasBeenSet = true;
182 m_bufferingHints = std::forward<BufferingHintsT>(value);
183 }
184 template <typename BufferingHintsT = ElasticsearchBufferingHints>
186 SetBufferingHints(std::forward<BufferingHintsT>(value));
187 return *this;
188 }
190
192
196 inline const ElasticsearchRetryOptions& GetRetryOptions() const { return m_retryOptions; }
197 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
198 template <typename RetryOptionsT = ElasticsearchRetryOptions>
199 void SetRetryOptions(RetryOptionsT&& value) {
200 m_retryOptionsHasBeenSet = true;
201 m_retryOptions = std::forward<RetryOptionsT>(value);
202 }
203 template <typename RetryOptionsT = ElasticsearchRetryOptions>
205 SetRetryOptions(std::forward<RetryOptionsT>(value));
206 return *this;
207 }
209
211
214 inline const S3DestinationUpdate& GetS3Update() const { return m_s3Update; }
215 inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
216 template <typename S3UpdateT = S3DestinationUpdate>
217 void SetS3Update(S3UpdateT&& value) {
218 m_s3UpdateHasBeenSet = true;
219 m_s3Update = std::forward<S3UpdateT>(value);
220 }
221 template <typename S3UpdateT = S3DestinationUpdate>
223 SetS3Update(std::forward<S3UpdateT>(value));
224 return *this;
225 }
227
229
232 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
233 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
234 template <typename ProcessingConfigurationT = ProcessingConfiguration>
235 void SetProcessingConfiguration(ProcessingConfigurationT&& value) {
236 m_processingConfigurationHasBeenSet = true;
237 m_processingConfiguration = std::forward<ProcessingConfigurationT>(value);
238 }
239 template <typename ProcessingConfigurationT = ProcessingConfiguration>
241 SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value));
242 return *this;
243 }
245
247
250 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
251 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
252 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
253 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
254 m_cloudWatchLoggingOptionsHasBeenSet = true;
255 m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value);
256 }
257 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
259 SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value));
260 return *this;
261 }
263
265
269 inline const DocumentIdOptions& GetDocumentIdOptions() const { return m_documentIdOptions; }
270 inline bool DocumentIdOptionsHasBeenSet() const { return m_documentIdOptionsHasBeenSet; }
271 template <typename DocumentIdOptionsT = DocumentIdOptions>
272 void SetDocumentIdOptions(DocumentIdOptionsT&& value) {
273 m_documentIdOptionsHasBeenSet = true;
274 m_documentIdOptions = std::forward<DocumentIdOptionsT>(value);
275 }
276 template <typename DocumentIdOptionsT = DocumentIdOptions>
278 SetDocumentIdOptions(std::forward<DocumentIdOptionsT>(value));
279 return *this;
280 }
282 private:
283 Aws::String m_roleARN;
284
285 Aws::String m_domainARN;
286
287 Aws::String m_clusterEndpoint;
288
289 Aws::String m_indexName;
290
291 Aws::String m_typeName;
292
294
295 ElasticsearchBufferingHints m_bufferingHints;
296
297 ElasticsearchRetryOptions m_retryOptions;
298
299 S3DestinationUpdate m_s3Update;
300
301 ProcessingConfiguration m_processingConfiguration;
302
303 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
304
305 DocumentIdOptions m_documentIdOptions;
306 bool m_roleARNHasBeenSet = false;
307 bool m_domainARNHasBeenSet = false;
308 bool m_clusterEndpointHasBeenSet = false;
309 bool m_indexNameHasBeenSet = false;
310 bool m_typeNameHasBeenSet = false;
311 bool m_indexRotationPeriodHasBeenSet = false;
312 bool m_bufferingHintsHasBeenSet = false;
313 bool m_retryOptionsHasBeenSet = false;
314 bool m_s3UpdateHasBeenSet = false;
315 bool m_processingConfigurationHasBeenSet = false;
316 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
317 bool m_documentIdOptionsHasBeenSet = false;
318};
319
320} // namespace Model
321} // namespace Firehose
322} // namespace Aws
ElasticsearchDestinationUpdate & WithS3Update(S3UpdateT &&value)
AWS_FIREHOSE_API ElasticsearchDestinationUpdate()=default
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
const ElasticsearchBufferingHints & GetBufferingHints() const
ElasticsearchDestinationUpdate & WithIndexRotationPeriod(ElasticsearchIndexRotationPeriod value)
ElasticsearchDestinationUpdate & WithRoleARN(RoleARNT &&value)
ElasticsearchDestinationUpdate & WithIndexName(IndexNameT &&value)
ElasticsearchDestinationUpdate & WithBufferingHints(BufferingHintsT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
ElasticsearchDestinationUpdate & WithTypeName(TypeNameT &&value)
ElasticsearchDestinationUpdate & WithClusterEndpoint(ClusterEndpointT &&value)
AWS_FIREHOSE_API ElasticsearchDestinationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchDestinationUpdate & WithProcessingConfiguration(ProcessingConfigurationT &&value)
ElasticsearchDestinationUpdate & WithDomainARN(DomainARNT &&value)
ElasticsearchDestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
ElasticsearchDestinationUpdate & WithDocumentIdOptions(DocumentIdOptionsT &&value)
ElasticsearchDestinationUpdate & WithRetryOptions(RetryOptionsT &&value)
AWS_FIREHOSE_API ElasticsearchDestinationUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetIndexRotationPeriod(ElasticsearchIndexRotationPeriod value)
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue