AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AmazonopensearchserviceDestinationUpdate.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/AmazonopensearchserviceBufferingHints.h>
10#include <aws/firehose/model/AmazonopensearchserviceIndexRotationPeriod.h>
11#include <aws/firehose/model/AmazonopensearchserviceRetryOptions.h>
12#include <aws/firehose/model/CloudWatchLoggingOptions.h>
13#include <aws/firehose/model/DocumentIdOptions.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 AmazonopensearchserviceDestinationUpdate() = default;
40 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
48 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
49 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
50 template <typename RoleARNT = Aws::String>
51 void SetRoleARN(RoleARNT&& value) {
52 m_roleARNHasBeenSet = true;
53 m_roleARN = std::forward<RoleARNT>(value);
54 }
55 template <typename RoleARNT = Aws::String>
57 SetRoleARN(std::forward<RoleARNT>(value));
58 return *this;
59 }
61
63
68 inline const Aws::String& GetDomainARN() const { return m_domainARN; }
69 inline bool DomainARNHasBeenSet() const { return m_domainARNHasBeenSet; }
70 template <typename DomainARNT = Aws::String>
71 void SetDomainARN(DomainARNT&& value) {
72 m_domainARNHasBeenSet = true;
73 m_domainARN = std::forward<DomainARNT>(value);
74 }
75 template <typename DomainARNT = Aws::String>
77 SetDomainARN(std::forward<DomainARNT>(value));
78 return *this;
79 }
81
83
87 inline const Aws::String& GetClusterEndpoint() const { return m_clusterEndpoint; }
88 inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; }
89 template <typename ClusterEndpointT = Aws::String>
90 void SetClusterEndpoint(ClusterEndpointT&& value) {
91 m_clusterEndpointHasBeenSet = true;
92 m_clusterEndpoint = std::forward<ClusterEndpointT>(value);
93 }
94 template <typename ClusterEndpointT = Aws::String>
96 SetClusterEndpoint(std::forward<ClusterEndpointT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetIndexName() const { return m_indexName; }
106 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
107 template <typename IndexNameT = Aws::String>
108 void SetIndexName(IndexNameT&& value) {
109 m_indexNameHasBeenSet = true;
110 m_indexName = std::forward<IndexNameT>(value);
111 }
112 template <typename IndexNameT = Aws::String>
114 SetIndexName(std::forward<IndexNameT>(value));
115 return *this;
116 }
118
120
129 inline const Aws::String& GetTypeName() const { return m_typeName; }
130 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
131 template <typename TypeNameT = Aws::String>
132 void SetTypeName(TypeNameT&& value) {
133 m_typeNameHasBeenSet = true;
134 m_typeName = std::forward<TypeNameT>(value);
135 }
136 template <typename TypeNameT = Aws::String>
138 SetTypeName(std::forward<TypeNameT>(value));
139 return *this;
140 }
142
144
148 inline AmazonopensearchserviceIndexRotationPeriod GetIndexRotationPeriod() const { return m_indexRotationPeriod; }
149 inline bool IndexRotationPeriodHasBeenSet() const { return m_indexRotationPeriodHasBeenSet; }
151 m_indexRotationPeriodHasBeenSet = true;
152 m_indexRotationPeriod = value;
153 }
156 return *this;
157 }
159
161
165 inline const AmazonopensearchserviceBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
166 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
167 template <typename BufferingHintsT = AmazonopensearchserviceBufferingHints>
168 void SetBufferingHints(BufferingHintsT&& value) {
169 m_bufferingHintsHasBeenSet = true;
170 m_bufferingHints = std::forward<BufferingHintsT>(value);
171 }
172 template <typename BufferingHintsT = AmazonopensearchserviceBufferingHints>
174 SetBufferingHints(std::forward<BufferingHintsT>(value));
175 return *this;
176 }
178
180
184 inline const AmazonopensearchserviceRetryOptions& GetRetryOptions() const { return m_retryOptions; }
185 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
186 template <typename RetryOptionsT = AmazonopensearchserviceRetryOptions>
187 void SetRetryOptions(RetryOptionsT&& value) {
188 m_retryOptionsHasBeenSet = true;
189 m_retryOptions = std::forward<RetryOptionsT>(value);
190 }
191 template <typename RetryOptionsT = AmazonopensearchserviceRetryOptions>
193 SetRetryOptions(std::forward<RetryOptionsT>(value));
194 return *this;
195 }
197
199
200 inline const S3DestinationUpdate& GetS3Update() const { return m_s3Update; }
201 inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
202 template <typename S3UpdateT = S3DestinationUpdate>
203 void SetS3Update(S3UpdateT&& value) {
204 m_s3UpdateHasBeenSet = true;
205 m_s3Update = std::forward<S3UpdateT>(value);
206 }
207 template <typename S3UpdateT = S3DestinationUpdate>
209 SetS3Update(std::forward<S3UpdateT>(value));
210 return *this;
211 }
213
215
216 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
217 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
218 template <typename ProcessingConfigurationT = ProcessingConfiguration>
219 void SetProcessingConfiguration(ProcessingConfigurationT&& value) {
220 m_processingConfigurationHasBeenSet = true;
221 m_processingConfiguration = std::forward<ProcessingConfigurationT>(value);
222 }
223 template <typename ProcessingConfigurationT = ProcessingConfiguration>
225 SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value));
226 return *this;
227 }
229
231
232 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
233 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
234 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
235 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
236 m_cloudWatchLoggingOptionsHasBeenSet = true;
237 m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value);
238 }
239 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
241 SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value));
242 return *this;
243 }
245
247
251 inline const DocumentIdOptions& GetDocumentIdOptions() const { return m_documentIdOptions; }
252 inline bool DocumentIdOptionsHasBeenSet() const { return m_documentIdOptionsHasBeenSet; }
253 template <typename DocumentIdOptionsT = DocumentIdOptions>
254 void SetDocumentIdOptions(DocumentIdOptionsT&& value) {
255 m_documentIdOptionsHasBeenSet = true;
256 m_documentIdOptions = std::forward<DocumentIdOptionsT>(value);
257 }
258 template <typename DocumentIdOptionsT = DocumentIdOptions>
260 SetDocumentIdOptions(std::forward<DocumentIdOptionsT>(value));
261 return *this;
262 }
264 private:
265 Aws::String m_roleARN;
266
267 Aws::String m_domainARN;
268
269 Aws::String m_clusterEndpoint;
270
271 Aws::String m_indexName;
272
273 Aws::String m_typeName;
274
276
277 AmazonopensearchserviceBufferingHints m_bufferingHints;
278
279 AmazonopensearchserviceRetryOptions m_retryOptions;
280
281 S3DestinationUpdate m_s3Update;
282
283 ProcessingConfiguration m_processingConfiguration;
284
285 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
286
287 DocumentIdOptions m_documentIdOptions;
288 bool m_roleARNHasBeenSet = false;
289 bool m_domainARNHasBeenSet = false;
290 bool m_clusterEndpointHasBeenSet = false;
291 bool m_indexNameHasBeenSet = false;
292 bool m_typeNameHasBeenSet = false;
293 bool m_indexRotationPeriodHasBeenSet = false;
294 bool m_bufferingHintsHasBeenSet = false;
295 bool m_retryOptionsHasBeenSet = false;
296 bool m_s3UpdateHasBeenSet = false;
297 bool m_processingConfigurationHasBeenSet = false;
298 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
299 bool m_documentIdOptionsHasBeenSet = false;
300};
301
302} // namespace Model
303} // namespace Firehose
304} // namespace Aws
AmazonopensearchserviceDestinationUpdate & WithClusterEndpoint(ClusterEndpointT &&value)
AWS_FIREHOSE_API AmazonopensearchserviceDestinationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AmazonopensearchserviceDestinationUpdate & WithRetryOptions(RetryOptionsT &&value)
AmazonopensearchserviceDestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
AmazonopensearchserviceDestinationUpdate & WithS3Update(S3UpdateT &&value)
AmazonopensearchserviceDestinationUpdate & WithRoleARN(RoleARNT &&value)
void SetIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod value)
AmazonopensearchserviceDestinationUpdate & WithProcessingConfiguration(ProcessingConfigurationT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AmazonopensearchserviceDestinationUpdate & WithIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod value)
AmazonopensearchserviceDestinationUpdate & WithDomainARN(DomainARNT &&value)
AmazonopensearchserviceDestinationUpdate & WithBufferingHints(BufferingHintsT &&value)
AmazonopensearchserviceDestinationUpdate & WithDocumentIdOptions(DocumentIdOptionsT &&value)
AWS_FIREHOSE_API AmazonopensearchserviceDestinationUpdate(Aws::Utils::Json::JsonView jsonValue)
AmazonopensearchserviceDestinationUpdate & WithIndexName(IndexNameT &&value)
AmazonopensearchserviceDestinationUpdate & WithTypeName(TypeNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue