AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
AmazonopensearchserviceDestinationDescription.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/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:
42 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
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
66 inline const Aws::String& GetDomainARN() const { return m_domainARN; }
67 inline bool DomainARNHasBeenSet() const { return m_domainARNHasBeenSet; }
68 template <typename DomainARNT = Aws::String>
69 void SetDomainARN(DomainARNT&& value) {
70 m_domainARNHasBeenSet = true;
71 m_domainARN = std::forward<DomainARNT>(value);
72 }
73 template <typename DomainARNT = Aws::String>
75 SetDomainARN(std::forward<DomainARNT>(value));
76 return *this;
77 }
79
81
86 inline const Aws::String& GetClusterEndpoint() const { return m_clusterEndpoint; }
87 inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; }
88 template <typename ClusterEndpointT = Aws::String>
89 void SetClusterEndpoint(ClusterEndpointT&& value) {
90 m_clusterEndpointHasBeenSet = true;
91 m_clusterEndpoint = std::forward<ClusterEndpointT>(value);
92 }
93 template <typename ClusterEndpointT = Aws::String>
95 SetClusterEndpoint(std::forward<ClusterEndpointT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetIndexName() const { return m_indexName; }
105 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
106 template <typename IndexNameT = Aws::String>
107 void SetIndexName(IndexNameT&& value) {
108 m_indexNameHasBeenSet = true;
109 m_indexName = std::forward<IndexNameT>(value);
110 }
111 template <typename IndexNameT = Aws::String>
113 SetIndexName(std::forward<IndexNameT>(value));
114 return *this;
115 }
117
119
124 inline const Aws::String& GetTypeName() const { return m_typeName; }
125 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
126 template <typename TypeNameT = Aws::String>
127 void SetTypeName(TypeNameT&& value) {
128 m_typeNameHasBeenSet = true;
129 m_typeName = std::forward<TypeNameT>(value);
130 }
131 template <typename TypeNameT = Aws::String>
133 SetTypeName(std::forward<TypeNameT>(value));
134 return *this;
135 }
137
139
142 inline AmazonopensearchserviceIndexRotationPeriod GetIndexRotationPeriod() const { return m_indexRotationPeriod; }
143 inline bool IndexRotationPeriodHasBeenSet() const { return m_indexRotationPeriodHasBeenSet; }
145 m_indexRotationPeriodHasBeenSet = true;
146 m_indexRotationPeriod = value;
147 }
150 return *this;
151 }
153
155
158 inline const AmazonopensearchserviceBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
159 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
160 template <typename BufferingHintsT = AmazonopensearchserviceBufferingHints>
161 void SetBufferingHints(BufferingHintsT&& value) {
162 m_bufferingHintsHasBeenSet = true;
163 m_bufferingHints = std::forward<BufferingHintsT>(value);
164 }
165 template <typename BufferingHintsT = AmazonopensearchserviceBufferingHints>
167 SetBufferingHints(std::forward<BufferingHintsT>(value));
168 return *this;
169 }
171
173
176 inline const AmazonopensearchserviceRetryOptions& GetRetryOptions() const { return m_retryOptions; }
177 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
178 template <typename RetryOptionsT = AmazonopensearchserviceRetryOptions>
179 void SetRetryOptions(RetryOptionsT&& value) {
180 m_retryOptionsHasBeenSet = true;
181 m_retryOptions = std::forward<RetryOptionsT>(value);
182 }
183 template <typename RetryOptionsT = AmazonopensearchserviceRetryOptions>
185 SetRetryOptions(std::forward<RetryOptionsT>(value));
186 return *this;
187 }
189
191
194 inline AmazonopensearchserviceS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
195 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
197 m_s3BackupModeHasBeenSet = true;
198 m_s3BackupMode = value;
199 }
201 SetS3BackupMode(value);
202 return *this;
203 }
205
207
208 inline const S3DestinationDescription& GetS3DestinationDescription() const { return m_s3DestinationDescription; }
209 inline bool S3DestinationDescriptionHasBeenSet() const { return m_s3DestinationDescriptionHasBeenSet; }
210 template <typename S3DestinationDescriptionT = S3DestinationDescription>
211 void SetS3DestinationDescription(S3DestinationDescriptionT&& value) {
212 m_s3DestinationDescriptionHasBeenSet = true;
213 m_s3DestinationDescription = std::forward<S3DestinationDescriptionT>(value);
214 }
215 template <typename S3DestinationDescriptionT = S3DestinationDescription>
217 SetS3DestinationDescription(std::forward<S3DestinationDescriptionT>(value));
218 return *this;
219 }
221
223
224 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
225 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
226 template <typename ProcessingConfigurationT = ProcessingConfiguration>
227 void SetProcessingConfiguration(ProcessingConfigurationT&& value) {
228 m_processingConfigurationHasBeenSet = true;
229 m_processingConfiguration = std::forward<ProcessingConfigurationT>(value);
230 }
231 template <typename ProcessingConfigurationT = ProcessingConfiguration>
233 SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value));
234 return *this;
235 }
237
239
240 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
241 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
242 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
243 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
244 m_cloudWatchLoggingOptionsHasBeenSet = true;
245 m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value);
246 }
247 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
249 SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value));
250 return *this;
251 }
253
255
256 inline const VpcConfigurationDescription& GetVpcConfigurationDescription() const { return m_vpcConfigurationDescription; }
257 inline bool VpcConfigurationDescriptionHasBeenSet() const { return m_vpcConfigurationDescriptionHasBeenSet; }
258 template <typename VpcConfigurationDescriptionT = VpcConfigurationDescription>
259 void SetVpcConfigurationDescription(VpcConfigurationDescriptionT&& value) {
260 m_vpcConfigurationDescriptionHasBeenSet = true;
261 m_vpcConfigurationDescription = std::forward<VpcConfigurationDescriptionT>(value);
262 }
263 template <typename VpcConfigurationDescriptionT = VpcConfigurationDescription>
265 SetVpcConfigurationDescription(std::forward<VpcConfigurationDescriptionT>(value));
266 return *this;
267 }
269
271
275 inline const DocumentIdOptions& GetDocumentIdOptions() const { return m_documentIdOptions; }
276 inline bool DocumentIdOptionsHasBeenSet() const { return m_documentIdOptionsHasBeenSet; }
277 template <typename DocumentIdOptionsT = DocumentIdOptions>
278 void SetDocumentIdOptions(DocumentIdOptionsT&& value) {
279 m_documentIdOptionsHasBeenSet = true;
280 m_documentIdOptions = std::forward<DocumentIdOptionsT>(value);
281 }
282 template <typename DocumentIdOptionsT = DocumentIdOptions>
284 SetDocumentIdOptions(std::forward<DocumentIdOptionsT>(value));
285 return *this;
286 }
288 private:
289 Aws::String m_roleARN;
290
291 Aws::String m_domainARN;
292
293 Aws::String m_clusterEndpoint;
294
295 Aws::String m_indexName;
296
297 Aws::String m_typeName;
298
300
301 AmazonopensearchserviceBufferingHints m_bufferingHints;
302
303 AmazonopensearchserviceRetryOptions m_retryOptions;
304
306
307 S3DestinationDescription m_s3DestinationDescription;
308
309 ProcessingConfiguration m_processingConfiguration;
310
311 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
312
313 VpcConfigurationDescription m_vpcConfigurationDescription;
314
315 DocumentIdOptions m_documentIdOptions;
316 bool m_roleARNHasBeenSet = false;
317 bool m_domainARNHasBeenSet = false;
318 bool m_clusterEndpointHasBeenSet = false;
319 bool m_indexNameHasBeenSet = false;
320 bool m_typeNameHasBeenSet = false;
321 bool m_indexRotationPeriodHasBeenSet = false;
322 bool m_bufferingHintsHasBeenSet = false;
323 bool m_retryOptionsHasBeenSet = false;
324 bool m_s3BackupModeHasBeenSet = false;
325 bool m_s3DestinationDescriptionHasBeenSet = false;
326 bool m_processingConfigurationHasBeenSet = false;
327 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
328 bool m_vpcConfigurationDescriptionHasBeenSet = false;
329 bool m_documentIdOptionsHasBeenSet = false;
330};
331
332} // namespace Model
333} // namespace Firehose
334} // namespace Aws
AWS_FIREHOSE_API AmazonopensearchserviceDestinationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AmazonopensearchserviceDestinationDescription & WithBufferingHints(BufferingHintsT &&value)
AmazonopensearchserviceDestinationDescription & WithS3DestinationDescription(S3DestinationDescriptionT &&value)
AmazonopensearchserviceDestinationDescription & WithRoleARN(RoleARNT &&value)
AmazonopensearchserviceDestinationDescription & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
AmazonopensearchserviceDestinationDescription & WithDocumentIdOptions(DocumentIdOptionsT &&value)
AmazonopensearchserviceDestinationDescription & WithS3BackupMode(AmazonopensearchserviceS3BackupMode value)
AmazonopensearchserviceDestinationDescription & WithDomainARN(DomainARNT &&value)
AmazonopensearchserviceDestinationDescription & WithVpcConfigurationDescription(VpcConfigurationDescriptionT &&value)
AWS_FIREHOSE_API AmazonopensearchserviceDestinationDescription(Aws::Utils::Json::JsonView jsonValue)
AmazonopensearchserviceDestinationDescription & WithIndexName(IndexNameT &&value)
AmazonopensearchserviceDestinationDescription & WithRetryOptions(RetryOptionsT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AmazonopensearchserviceDestinationDescription & WithIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod value)
AmazonopensearchserviceDestinationDescription & WithClusterEndpoint(ClusterEndpointT &&value)
AmazonopensearchserviceDestinationDescription & WithTypeName(TypeNameT &&value)
AmazonopensearchserviceDestinationDescription & WithProcessingConfiguration(ProcessingConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue