AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ElasticsearchDestinationConfiguration.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/ElasticsearchS3BackupMode.h>
13#include <aws/firehose/model/S3DestinationConfiguration.h>
14#include <aws/firehose/model/ProcessingConfiguration.h>
15#include <aws/firehose/model/CloudWatchLoggingOptions.h>
16#include <aws/firehose/model/VpcConfiguration.h>
17#include <aws/firehose/model/DocumentIdOptions.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace Firehose
31{
32namespace Model
33{
34
42 {
43 public:
47 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
60 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
61 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
62 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
63 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
64 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
65 inline ElasticsearchDestinationConfiguration& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
66 inline ElasticsearchDestinationConfiguration& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
67 inline ElasticsearchDestinationConfiguration& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
69
71
80 inline const Aws::String& GetDomainARN() const{ return m_domainARN; }
81 inline bool DomainARNHasBeenSet() const { return m_domainARNHasBeenSet; }
82 inline void SetDomainARN(const Aws::String& value) { m_domainARNHasBeenSet = true; m_domainARN = value; }
83 inline void SetDomainARN(Aws::String&& value) { m_domainARNHasBeenSet = true; m_domainARN = std::move(value); }
84 inline void SetDomainARN(const char* value) { m_domainARNHasBeenSet = true; m_domainARN.assign(value); }
85 inline ElasticsearchDestinationConfiguration& WithDomainARN(const Aws::String& value) { SetDomainARN(value); return *this;}
86 inline ElasticsearchDestinationConfiguration& WithDomainARN(Aws::String&& value) { SetDomainARN(std::move(value)); return *this;}
87 inline ElasticsearchDestinationConfiguration& WithDomainARN(const char* value) { SetDomainARN(value); return *this;}
89
91
95 inline const Aws::String& GetClusterEndpoint() const{ return m_clusterEndpoint; }
96 inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; }
97 inline void SetClusterEndpoint(const Aws::String& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = value; }
98 inline void SetClusterEndpoint(Aws::String&& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = std::move(value); }
99 inline void SetClusterEndpoint(const char* value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint.assign(value); }
102 inline ElasticsearchDestinationConfiguration& WithClusterEndpoint(const char* value) { SetClusterEndpoint(value); return *this;}
104
106
109 inline const Aws::String& GetIndexName() const{ return m_indexName; }
110 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
111 inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
112 inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
113 inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
115 inline ElasticsearchDestinationConfiguration& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
116 inline ElasticsearchDestinationConfiguration& WithIndexName(const char* value) { SetIndexName(value); return *this;}
118
120
126 inline const Aws::String& GetTypeName() const{ return m_typeName; }
127 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
128 inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
129 inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
130 inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
131 inline ElasticsearchDestinationConfiguration& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
132 inline ElasticsearchDestinationConfiguration& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
133 inline ElasticsearchDestinationConfiguration& WithTypeName(const char* value) { SetTypeName(value); return *this;}
135
137
145 inline const ElasticsearchIndexRotationPeriod& GetIndexRotationPeriod() const{ return m_indexRotationPeriod; }
146 inline bool IndexRotationPeriodHasBeenSet() const { return m_indexRotationPeriodHasBeenSet; }
147 inline void SetIndexRotationPeriod(const ElasticsearchIndexRotationPeriod& value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = value; }
148 inline void SetIndexRotationPeriod(ElasticsearchIndexRotationPeriod&& value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = std::move(value); }
152
154
158 inline const ElasticsearchBufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
159 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
160 inline void SetBufferingHints(const ElasticsearchBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
161 inline void SetBufferingHints(ElasticsearchBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
165
167
171 inline const ElasticsearchRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
172 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
173 inline void SetRetryOptions(const ElasticsearchRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
174 inline void SetRetryOptions(ElasticsearchRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
178
180
194 inline const ElasticsearchS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; }
195 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
196 inline void SetS3BackupMode(const ElasticsearchS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
197 inline void SetS3BackupMode(ElasticsearchS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); }
201
203
206 inline const S3DestinationConfiguration& GetS3Configuration() const{ return m_s3Configuration; }
207 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
208 inline void SetS3Configuration(const S3DestinationConfiguration& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = value; }
209 inline void SetS3Configuration(S3DestinationConfiguration&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::move(value); }
213
215
218 inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
219 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
220 inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
221 inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
225
227
230 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
231 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
232 inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
233 inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
237
239
242 inline const VpcConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; }
243 inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
244 inline void SetVpcConfiguration(const VpcConfiguration& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = value; }
245 inline void SetVpcConfiguration(VpcConfiguration&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::move(value); }
249
251
255 inline const DocumentIdOptions& GetDocumentIdOptions() const{ return m_documentIdOptions; }
256 inline bool DocumentIdOptionsHasBeenSet() const { return m_documentIdOptionsHasBeenSet; }
257 inline void SetDocumentIdOptions(const DocumentIdOptions& value) { m_documentIdOptionsHasBeenSet = true; m_documentIdOptions = value; }
258 inline void SetDocumentIdOptions(DocumentIdOptions&& value) { m_documentIdOptionsHasBeenSet = true; m_documentIdOptions = std::move(value); }
262 private:
263
264 Aws::String m_roleARN;
265 bool m_roleARNHasBeenSet = false;
266
267 Aws::String m_domainARN;
268 bool m_domainARNHasBeenSet = false;
269
270 Aws::String m_clusterEndpoint;
271 bool m_clusterEndpointHasBeenSet = false;
272
273 Aws::String m_indexName;
274 bool m_indexNameHasBeenSet = false;
275
276 Aws::String m_typeName;
277 bool m_typeNameHasBeenSet = false;
278
279 ElasticsearchIndexRotationPeriod m_indexRotationPeriod;
280 bool m_indexRotationPeriodHasBeenSet = false;
281
282 ElasticsearchBufferingHints m_bufferingHints;
283 bool m_bufferingHintsHasBeenSet = false;
284
285 ElasticsearchRetryOptions m_retryOptions;
286 bool m_retryOptionsHasBeenSet = false;
287
288 ElasticsearchS3BackupMode m_s3BackupMode;
289 bool m_s3BackupModeHasBeenSet = false;
290
291 S3DestinationConfiguration m_s3Configuration;
292 bool m_s3ConfigurationHasBeenSet = false;
293
294 ProcessingConfiguration m_processingConfiguration;
295 bool m_processingConfigurationHasBeenSet = false;
296
297 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
298 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
299
300 VpcConfiguration m_vpcConfiguration;
301 bool m_vpcConfigurationHasBeenSet = false;
302
303 DocumentIdOptions m_documentIdOptions;
304 bool m_documentIdOptionsHasBeenSet = false;
305 };
306
307} // namespace Model
308} // namespace Firehose
309} // namespace Aws
AWS_FIREHOSE_API ElasticsearchDestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchDestinationConfiguration & WithDomainARN(const Aws::String &value)
ElasticsearchDestinationConfiguration & WithProcessingConfiguration(const ProcessingConfiguration &value)
ElasticsearchDestinationConfiguration & WithDomainARN(const char *value)
ElasticsearchDestinationConfiguration & WithTypeName(const char *value)
ElasticsearchDestinationConfiguration & WithIndexName(Aws::String &&value)
ElasticsearchDestinationConfiguration & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
ElasticsearchDestinationConfiguration & WithRoleARN(Aws::String &&value)
ElasticsearchDestinationConfiguration & WithBufferingHints(const ElasticsearchBufferingHints &value)
ElasticsearchDestinationConfiguration & WithS3Configuration(S3DestinationConfiguration &&value)
ElasticsearchDestinationConfiguration & WithDocumentIdOptions(DocumentIdOptions &&value)
ElasticsearchDestinationConfiguration & WithRetryOptions(const ElasticsearchRetryOptions &value)
ElasticsearchDestinationConfiguration & WithVpcConfiguration(VpcConfiguration &&value)
ElasticsearchDestinationConfiguration & WithTypeName(const Aws::String &value)
ElasticsearchDestinationConfiguration & WithRoleARN(const Aws::String &value)
ElasticsearchDestinationConfiguration & WithDomainARN(Aws::String &&value)
ElasticsearchDestinationConfiguration & WithDocumentIdOptions(const DocumentIdOptions &value)
ElasticsearchDestinationConfiguration & WithS3BackupMode(const ElasticsearchS3BackupMode &value)
ElasticsearchDestinationConfiguration & WithS3Configuration(const S3DestinationConfiguration &value)
ElasticsearchDestinationConfiguration & WithRoleARN(const char *value)
ElasticsearchDestinationConfiguration & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
ElasticsearchDestinationConfiguration & WithIndexRotationPeriod(ElasticsearchIndexRotationPeriod &&value)
ElasticsearchDestinationConfiguration & WithProcessingConfiguration(ProcessingConfiguration &&value)
ElasticsearchDestinationConfiguration & WithIndexRotationPeriod(const ElasticsearchIndexRotationPeriod &value)
ElasticsearchDestinationConfiguration & WithClusterEndpoint(const Aws::String &value)
ElasticsearchDestinationConfiguration & WithRetryOptions(ElasticsearchRetryOptions &&value)
void SetIndexRotationPeriod(const ElasticsearchIndexRotationPeriod &value)
AWS_FIREHOSE_API ElasticsearchDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchDestinationConfiguration & WithClusterEndpoint(Aws::String &&value)
ElasticsearchDestinationConfiguration & WithS3BackupMode(ElasticsearchS3BackupMode &&value)
ElasticsearchDestinationConfiguration & WithBufferingHints(ElasticsearchBufferingHints &&value)
ElasticsearchDestinationConfiguration & WithVpcConfiguration(const VpcConfiguration &value)
ElasticsearchDestinationConfiguration & WithIndexName(const Aws::String &value)
ElasticsearchDestinationConfiguration & WithClusterEndpoint(const char *value)
ElasticsearchDestinationConfiguration & WithTypeName(Aws::String &&value)
ElasticsearchDestinationConfiguration & WithIndexName(const char *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