AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AmazonopensearchserviceDestinationConfiguration.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/AmazonopensearchserviceS3BackupMode.h>
13#include <aws/firehose/model/CloudWatchLoggingOptions.h>
14#include <aws/firehose/model/DocumentIdOptions.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:
42 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
50 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
51 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
52 template <typename RoleARNT = Aws::String>
53 void SetRoleARN(RoleARNT&& value) {
54 m_roleARNHasBeenSet = true;
55 m_roleARN = std::forward<RoleARNT>(value);
56 }
57 template <typename RoleARNT = Aws::String>
59 SetRoleARN(std::forward<RoleARNT>(value));
60 return *this;
61 }
63
65
71 inline const Aws::String& GetDomainARN() const { return m_domainARN; }
72 inline bool DomainARNHasBeenSet() const { return m_domainARNHasBeenSet; }
73 template <typename DomainARNT = Aws::String>
74 void SetDomainARN(DomainARNT&& value) {
75 m_domainARNHasBeenSet = true;
76 m_domainARN = std::forward<DomainARNT>(value);
77 }
78 template <typename DomainARNT = Aws::String>
80 SetDomainARN(std::forward<DomainARNT>(value));
81 return *this;
82 }
84
86
90 inline const Aws::String& GetClusterEndpoint() const { return m_clusterEndpoint; }
91 inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; }
92 template <typename ClusterEndpointT = Aws::String>
93 void SetClusterEndpoint(ClusterEndpointT&& value) {
94 m_clusterEndpointHasBeenSet = true;
95 m_clusterEndpoint = std::forward<ClusterEndpointT>(value);
96 }
97 template <typename ClusterEndpointT = Aws::String>
99 SetClusterEndpoint(std::forward<ClusterEndpointT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetIndexName() const { return m_indexName; }
109 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
110 template <typename IndexNameT = Aws::String>
111 void SetIndexName(IndexNameT&& value) {
112 m_indexNameHasBeenSet = true;
113 m_indexName = std::forward<IndexNameT>(value);
114 }
115 template <typename IndexNameT = Aws::String>
117 SetIndexName(std::forward<IndexNameT>(value));
118 return *this;
119 }
121
123
128 inline const Aws::String& GetTypeName() const { return m_typeName; }
129 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
130 template <typename TypeNameT = Aws::String>
131 void SetTypeName(TypeNameT&& value) {
132 m_typeNameHasBeenSet = true;
133 m_typeName = std::forward<TypeNameT>(value);
134 }
135 template <typename TypeNameT = Aws::String>
137 SetTypeName(std::forward<TypeNameT>(value));
138 return *this;
139 }
141
143
147 inline AmazonopensearchserviceIndexRotationPeriod GetIndexRotationPeriod() const { return m_indexRotationPeriod; }
148 inline bool IndexRotationPeriodHasBeenSet() const { return m_indexRotationPeriodHasBeenSet; }
150 m_indexRotationPeriodHasBeenSet = true;
151 m_indexRotationPeriod = value;
152 }
155 return *this;
156 }
158
160
164 inline const AmazonopensearchserviceBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
165 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
166 template <typename BufferingHintsT = AmazonopensearchserviceBufferingHints>
167 void SetBufferingHints(BufferingHintsT&& value) {
168 m_bufferingHintsHasBeenSet = true;
169 m_bufferingHints = std::forward<BufferingHintsT>(value);
170 }
171 template <typename BufferingHintsT = AmazonopensearchserviceBufferingHints>
173 SetBufferingHints(std::forward<BufferingHintsT>(value));
174 return *this;
175 }
177
179
183 inline const AmazonopensearchserviceRetryOptions& GetRetryOptions() const { return m_retryOptions; }
184 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
185 template <typename RetryOptionsT = AmazonopensearchserviceRetryOptions>
186 void SetRetryOptions(RetryOptionsT&& value) {
187 m_retryOptionsHasBeenSet = true;
188 m_retryOptions = std::forward<RetryOptionsT>(value);
189 }
190 template <typename RetryOptionsT = AmazonopensearchserviceRetryOptions>
192 SetRetryOptions(std::forward<RetryOptionsT>(value));
193 return *this;
194 }
196
198
206 inline AmazonopensearchserviceS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
207 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
209 m_s3BackupModeHasBeenSet = true;
210 m_s3BackupMode = value;
211 }
213 SetS3BackupMode(value);
214 return *this;
215 }
217
219
220 inline const S3DestinationConfiguration& GetS3Configuration() const { return m_s3Configuration; }
221 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
222 template <typename S3ConfigurationT = S3DestinationConfiguration>
223 void SetS3Configuration(S3ConfigurationT&& value) {
224 m_s3ConfigurationHasBeenSet = true;
225 m_s3Configuration = std::forward<S3ConfigurationT>(value);
226 }
227 template <typename S3ConfigurationT = S3DestinationConfiguration>
229 SetS3Configuration(std::forward<S3ConfigurationT>(value));
230 return *this;
231 }
233
235
236 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
237 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
238 template <typename ProcessingConfigurationT = ProcessingConfiguration>
239 void SetProcessingConfiguration(ProcessingConfigurationT&& value) {
240 m_processingConfigurationHasBeenSet = true;
241 m_processingConfiguration = std::forward<ProcessingConfigurationT>(value);
242 }
243 template <typename ProcessingConfigurationT = ProcessingConfiguration>
245 SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value));
246 return *this;
247 }
249
251
252 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
253 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
254 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
255 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
256 m_cloudWatchLoggingOptionsHasBeenSet = true;
257 m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value);
258 }
259 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
261 SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value));
262 return *this;
263 }
265
267
268 inline const VpcConfiguration& GetVpcConfiguration() const { return m_vpcConfiguration; }
269 inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
270 template <typename VpcConfigurationT = VpcConfiguration>
271 void SetVpcConfiguration(VpcConfigurationT&& value) {
272 m_vpcConfigurationHasBeenSet = true;
273 m_vpcConfiguration = std::forward<VpcConfigurationT>(value);
274 }
275 template <typename VpcConfigurationT = VpcConfiguration>
277 SetVpcConfiguration(std::forward<VpcConfigurationT>(value));
278 return *this;
279 }
281
283
287 inline const DocumentIdOptions& GetDocumentIdOptions() const { return m_documentIdOptions; }
288 inline bool DocumentIdOptionsHasBeenSet() const { return m_documentIdOptionsHasBeenSet; }
289 template <typename DocumentIdOptionsT = DocumentIdOptions>
290 void SetDocumentIdOptions(DocumentIdOptionsT&& value) {
291 m_documentIdOptionsHasBeenSet = true;
292 m_documentIdOptions = std::forward<DocumentIdOptionsT>(value);
293 }
294 template <typename DocumentIdOptionsT = DocumentIdOptions>
296 SetDocumentIdOptions(std::forward<DocumentIdOptionsT>(value));
297 return *this;
298 }
300 private:
301 Aws::String m_roleARN;
302
303 Aws::String m_domainARN;
304
305 Aws::String m_clusterEndpoint;
306
307 Aws::String m_indexName;
308
309 Aws::String m_typeName;
310
312
313 AmazonopensearchserviceBufferingHints m_bufferingHints;
314
315 AmazonopensearchserviceRetryOptions m_retryOptions;
316
318
319 S3DestinationConfiguration m_s3Configuration;
320
321 ProcessingConfiguration m_processingConfiguration;
322
323 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
324
325 VpcConfiguration m_vpcConfiguration;
326
327 DocumentIdOptions m_documentIdOptions;
328 bool m_roleARNHasBeenSet = false;
329 bool m_domainARNHasBeenSet = false;
330 bool m_clusterEndpointHasBeenSet = false;
331 bool m_indexNameHasBeenSet = false;
332 bool m_typeNameHasBeenSet = false;
333 bool m_indexRotationPeriodHasBeenSet = false;
334 bool m_bufferingHintsHasBeenSet = false;
335 bool m_retryOptionsHasBeenSet = false;
336 bool m_s3BackupModeHasBeenSet = false;
337 bool m_s3ConfigurationHasBeenSet = false;
338 bool m_processingConfigurationHasBeenSet = false;
339 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
340 bool m_vpcConfigurationHasBeenSet = false;
341 bool m_documentIdOptionsHasBeenSet = false;
342};
343
344} // namespace Model
345} // namespace Firehose
346} // namespace Aws
AmazonopensearchserviceDestinationConfiguration & WithProcessingConfiguration(ProcessingConfigurationT &&value)
AmazonopensearchserviceDestinationConfiguration & WithBufferingHints(BufferingHintsT &&value)
AmazonopensearchserviceDestinationConfiguration & WithVpcConfiguration(VpcConfigurationT &&value)
AmazonopensearchserviceDestinationConfiguration & WithS3BackupMode(AmazonopensearchserviceS3BackupMode value)
AmazonopensearchserviceDestinationConfiguration & WithDomainARN(DomainARNT &&value)
AmazonopensearchserviceDestinationConfiguration & WithTypeName(TypeNameT &&value)
AmazonopensearchserviceDestinationConfiguration & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
AmazonopensearchserviceDestinationConfiguration & WithIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod value)
AmazonopensearchserviceDestinationConfiguration & WithDocumentIdOptions(DocumentIdOptionsT &&value)
AmazonopensearchserviceDestinationConfiguration & WithRoleARN(RoleARNT &&value)
AmazonopensearchserviceDestinationConfiguration & WithIndexName(IndexNameT &&value)
AmazonopensearchserviceDestinationConfiguration & WithS3Configuration(S3ConfigurationT &&value)
AmazonopensearchserviceDestinationConfiguration & WithClusterEndpoint(ClusterEndpointT &&value)
AWS_FIREHOSE_API AmazonopensearchserviceDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API AmazonopensearchserviceDestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AmazonopensearchserviceDestinationConfiguration & WithRetryOptions(RetryOptionsT &&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