AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ElasticsearchDestinationUpdate.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/firehose/model/ElasticsearchIndexRotationPeriod.h>
10#include <aws/firehose/model/ElasticsearchBufferingHints.h>
11#include <aws/firehose/model/ElasticsearchRetryOptions.h>
12#include <aws/firehose/model/S3DestinationUpdate.h>
13#include <aws/firehose/model/ProcessingConfiguration.h>
14#include <aws/firehose/model/CloudWatchLoggingOptions.h>
15#include <aws/firehose/model/DocumentIdOptions.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace Firehose
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_FIREHOSE_API ElasticsearchDestinationUpdate() = default;
45 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
58 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
59 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
60 template<typename RoleARNT = Aws::String>
61 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
62 template<typename RoleARNT = Aws::String>
63 ElasticsearchDestinationUpdate& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
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) { m_domainARNHasBeenSet = true; m_domainARN = std::forward<DomainARNT>(value); }
80 template<typename DomainARNT = Aws::String>
81 ElasticsearchDestinationUpdate& WithDomainARN(DomainARNT&& value) { SetDomainARN(std::forward<DomainARNT>(value)); return *this;}
83
85
89 inline const Aws::String& GetClusterEndpoint() const { return m_clusterEndpoint; }
90 inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; }
91 template<typename ClusterEndpointT = Aws::String>
92 void SetClusterEndpoint(ClusterEndpointT&& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = std::forward<ClusterEndpointT>(value); }
93 template<typename ClusterEndpointT = Aws::String>
94 ElasticsearchDestinationUpdate& WithClusterEndpoint(ClusterEndpointT&& value) { SetClusterEndpoint(std::forward<ClusterEndpointT>(value)); return *this;}
96
98
101 inline const Aws::String& GetIndexName() const { return m_indexName; }
102 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
103 template<typename IndexNameT = Aws::String>
104 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
105 template<typename IndexNameT = Aws::String>
106 ElasticsearchDestinationUpdate& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
108
110
119 inline const Aws::String& GetTypeName() const { return m_typeName; }
120 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
121 template<typename TypeNameT = Aws::String>
122 void SetTypeName(TypeNameT&& value) { m_typeNameHasBeenSet = true; m_typeName = std::forward<TypeNameT>(value); }
123 template<typename TypeNameT = Aws::String>
124 ElasticsearchDestinationUpdate& WithTypeName(TypeNameT&& value) { SetTypeName(std::forward<TypeNameT>(value)); return *this;}
126
128
136 inline ElasticsearchIndexRotationPeriod GetIndexRotationPeriod() const { return m_indexRotationPeriod; }
137 inline bool IndexRotationPeriodHasBeenSet() const { return m_indexRotationPeriodHasBeenSet; }
138 inline void SetIndexRotationPeriod(ElasticsearchIndexRotationPeriod value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = value; }
141
143
147 inline const ElasticsearchBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
148 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
149 template<typename BufferingHintsT = ElasticsearchBufferingHints>
150 void SetBufferingHints(BufferingHintsT&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::forward<BufferingHintsT>(value); }
151 template<typename BufferingHintsT = ElasticsearchBufferingHints>
152 ElasticsearchDestinationUpdate& WithBufferingHints(BufferingHintsT&& value) { SetBufferingHints(std::forward<BufferingHintsT>(value)); return *this;}
154
156
160 inline const ElasticsearchRetryOptions& GetRetryOptions() const { return m_retryOptions; }
161 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
162 template<typename RetryOptionsT = ElasticsearchRetryOptions>
163 void SetRetryOptions(RetryOptionsT&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::forward<RetryOptionsT>(value); }
164 template<typename RetryOptionsT = ElasticsearchRetryOptions>
165 ElasticsearchDestinationUpdate& WithRetryOptions(RetryOptionsT&& value) { SetRetryOptions(std::forward<RetryOptionsT>(value)); return *this;}
167
169
172 inline const S3DestinationUpdate& GetS3Update() const { return m_s3Update; }
173 inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
174 template<typename S3UpdateT = S3DestinationUpdate>
175 void SetS3Update(S3UpdateT&& value) { m_s3UpdateHasBeenSet = true; m_s3Update = std::forward<S3UpdateT>(value); }
176 template<typename S3UpdateT = S3DestinationUpdate>
177 ElasticsearchDestinationUpdate& WithS3Update(S3UpdateT&& value) { SetS3Update(std::forward<S3UpdateT>(value)); return *this;}
179
181
184 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
185 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
186 template<typename ProcessingConfigurationT = ProcessingConfiguration>
187 void SetProcessingConfiguration(ProcessingConfigurationT&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::forward<ProcessingConfigurationT>(value); }
188 template<typename ProcessingConfigurationT = ProcessingConfiguration>
189 ElasticsearchDestinationUpdate& WithProcessingConfiguration(ProcessingConfigurationT&& value) { SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value)); return *this;}
191
193
196 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
197 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
198 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
199 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value); }
200 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
201 ElasticsearchDestinationUpdate& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value)); return *this;}
203
205
209 inline const DocumentIdOptions& GetDocumentIdOptions() const { return m_documentIdOptions; }
210 inline bool DocumentIdOptionsHasBeenSet() const { return m_documentIdOptionsHasBeenSet; }
211 template<typename DocumentIdOptionsT = DocumentIdOptions>
212 void SetDocumentIdOptions(DocumentIdOptionsT&& value) { m_documentIdOptionsHasBeenSet = true; m_documentIdOptions = std::forward<DocumentIdOptionsT>(value); }
213 template<typename DocumentIdOptionsT = DocumentIdOptions>
214 ElasticsearchDestinationUpdate& WithDocumentIdOptions(DocumentIdOptionsT&& value) { SetDocumentIdOptions(std::forward<DocumentIdOptionsT>(value)); return *this;}
216 private:
217
218 Aws::String m_roleARN;
219 bool m_roleARNHasBeenSet = false;
220
221 Aws::String m_domainARN;
222 bool m_domainARNHasBeenSet = false;
223
224 Aws::String m_clusterEndpoint;
225 bool m_clusterEndpointHasBeenSet = false;
226
227 Aws::String m_indexName;
228 bool m_indexNameHasBeenSet = false;
229
230 Aws::String m_typeName;
231 bool m_typeNameHasBeenSet = false;
232
234 bool m_indexRotationPeriodHasBeenSet = false;
235
236 ElasticsearchBufferingHints m_bufferingHints;
237 bool m_bufferingHintsHasBeenSet = false;
238
239 ElasticsearchRetryOptions m_retryOptions;
240 bool m_retryOptionsHasBeenSet = false;
241
242 S3DestinationUpdate m_s3Update;
243 bool m_s3UpdateHasBeenSet = false;
244
245 ProcessingConfiguration m_processingConfiguration;
246 bool m_processingConfigurationHasBeenSet = false;
247
248 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
249 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
250
251 DocumentIdOptions m_documentIdOptions;
252 bool m_documentIdOptionsHasBeenSet = false;
253 };
254
255} // namespace Model
256} // namespace Firehose
257} // 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