AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ElasticsearchDestinationDescription.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/S3DestinationDescription.h>
14#include <aws/firehose/model/ProcessingConfiguration.h>
15#include <aws/firehose/model/CloudWatchLoggingOptions.h>
16#include <aws/firehose/model/VpcConfigurationDescription.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
41 {
42 public:
46 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
56 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
57 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
58 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
59 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
60 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
61 inline ElasticsearchDestinationDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
62 inline ElasticsearchDestinationDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
63 inline ElasticsearchDestinationDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
65
67
74 inline const Aws::String& GetDomainARN() const{ return m_domainARN; }
75 inline bool DomainARNHasBeenSet() const { return m_domainARNHasBeenSet; }
76 inline void SetDomainARN(const Aws::String& value) { m_domainARNHasBeenSet = true; m_domainARN = value; }
77 inline void SetDomainARN(Aws::String&& value) { m_domainARNHasBeenSet = true; m_domainARN = std::move(value); }
78 inline void SetDomainARN(const char* value) { m_domainARNHasBeenSet = true; m_domainARN.assign(value); }
79 inline ElasticsearchDestinationDescription& WithDomainARN(const Aws::String& value) { SetDomainARN(value); return *this;}
80 inline ElasticsearchDestinationDescription& WithDomainARN(Aws::String&& value) { SetDomainARN(std::move(value)); return *this;}
81 inline ElasticsearchDestinationDescription& WithDomainARN(const char* value) { SetDomainARN(value); return *this;}
83
85
90 inline const Aws::String& GetClusterEndpoint() const{ return m_clusterEndpoint; }
91 inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; }
92 inline void SetClusterEndpoint(const Aws::String& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = value; }
93 inline void SetClusterEndpoint(Aws::String&& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = std::move(value); }
94 inline void SetClusterEndpoint(const char* value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint.assign(value); }
97 inline ElasticsearchDestinationDescription& WithClusterEndpoint(const char* value) { SetClusterEndpoint(value); return *this;}
99
101
104 inline const Aws::String& GetIndexName() const{ return m_indexName; }
105 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
106 inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
107 inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
108 inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
109 inline ElasticsearchDestinationDescription& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
110 inline ElasticsearchDestinationDescription& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
111 inline ElasticsearchDestinationDescription& WithIndexName(const char* value) { SetIndexName(value); return *this;}
113
115
120 inline const Aws::String& GetTypeName() const{ return m_typeName; }
121 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
122 inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
123 inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
124 inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
125 inline ElasticsearchDestinationDescription& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
126 inline ElasticsearchDestinationDescription& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
127 inline ElasticsearchDestinationDescription& WithTypeName(const char* value) { SetTypeName(value); return *this;}
129
131
134 inline const ElasticsearchIndexRotationPeriod& GetIndexRotationPeriod() const{ return m_indexRotationPeriod; }
135 inline bool IndexRotationPeriodHasBeenSet() const { return m_indexRotationPeriodHasBeenSet; }
136 inline void SetIndexRotationPeriod(const ElasticsearchIndexRotationPeriod& value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = value; }
137 inline void SetIndexRotationPeriod(ElasticsearchIndexRotationPeriod&& value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = std::move(value); }
141
143
146 inline const ElasticsearchBufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
147 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
148 inline void SetBufferingHints(const ElasticsearchBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
149 inline void SetBufferingHints(ElasticsearchBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
153
155
158 inline const ElasticsearchRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
159 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
160 inline void SetRetryOptions(const ElasticsearchRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
161 inline void SetRetryOptions(ElasticsearchRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
165
167
170 inline const ElasticsearchS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; }
171 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
172 inline void SetS3BackupMode(const ElasticsearchS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
173 inline void SetS3BackupMode(ElasticsearchS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); }
177
179
182 inline const S3DestinationDescription& GetS3DestinationDescription() const{ return m_s3DestinationDescription; }
183 inline bool S3DestinationDescriptionHasBeenSet() const { return m_s3DestinationDescriptionHasBeenSet; }
184 inline void SetS3DestinationDescription(const S3DestinationDescription& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = value; }
185 inline void SetS3DestinationDescription(S3DestinationDescription&& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = std::move(value); }
189
191
194 inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
195 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
196 inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
197 inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
201
203
206 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
207 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
208 inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
209 inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
213
215
219 inline const VpcConfigurationDescription& GetVpcConfigurationDescription() const{ return m_vpcConfigurationDescription; }
220 inline bool VpcConfigurationDescriptionHasBeenSet() const { return m_vpcConfigurationDescriptionHasBeenSet; }
221 inline void SetVpcConfigurationDescription(const VpcConfigurationDescription& value) { m_vpcConfigurationDescriptionHasBeenSet = true; m_vpcConfigurationDescription = value; }
222 inline void SetVpcConfigurationDescription(VpcConfigurationDescription&& value) { m_vpcConfigurationDescriptionHasBeenSet = true; m_vpcConfigurationDescription = std::move(value); }
226
228
232 inline const DocumentIdOptions& GetDocumentIdOptions() const{ return m_documentIdOptions; }
233 inline bool DocumentIdOptionsHasBeenSet() const { return m_documentIdOptionsHasBeenSet; }
234 inline void SetDocumentIdOptions(const DocumentIdOptions& value) { m_documentIdOptionsHasBeenSet = true; m_documentIdOptions = value; }
235 inline void SetDocumentIdOptions(DocumentIdOptions&& value) { m_documentIdOptionsHasBeenSet = true; m_documentIdOptions = std::move(value); }
239 private:
240
241 Aws::String m_roleARN;
242 bool m_roleARNHasBeenSet = false;
243
244 Aws::String m_domainARN;
245 bool m_domainARNHasBeenSet = false;
246
247 Aws::String m_clusterEndpoint;
248 bool m_clusterEndpointHasBeenSet = false;
249
250 Aws::String m_indexName;
251 bool m_indexNameHasBeenSet = false;
252
253 Aws::String m_typeName;
254 bool m_typeNameHasBeenSet = false;
255
256 ElasticsearchIndexRotationPeriod m_indexRotationPeriod;
257 bool m_indexRotationPeriodHasBeenSet = false;
258
259 ElasticsearchBufferingHints m_bufferingHints;
260 bool m_bufferingHintsHasBeenSet = false;
261
262 ElasticsearchRetryOptions m_retryOptions;
263 bool m_retryOptionsHasBeenSet = false;
264
265 ElasticsearchS3BackupMode m_s3BackupMode;
266 bool m_s3BackupModeHasBeenSet = false;
267
268 S3DestinationDescription m_s3DestinationDescription;
269 bool m_s3DestinationDescriptionHasBeenSet = false;
270
271 ProcessingConfiguration m_processingConfiguration;
272 bool m_processingConfigurationHasBeenSet = false;
273
274 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
275 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
276
277 VpcConfigurationDescription m_vpcConfigurationDescription;
278 bool m_vpcConfigurationDescriptionHasBeenSet = false;
279
280 DocumentIdOptions m_documentIdOptions;
281 bool m_documentIdOptionsHasBeenSet = false;
282 };
283
284} // namespace Model
285} // namespace Firehose
286} // namespace Aws
ElasticsearchDestinationDescription & WithTypeName(const char *value)
void SetVpcConfigurationDescription(const VpcConfigurationDescription &value)
ElasticsearchDestinationDescription & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
ElasticsearchDestinationDescription & WithDocumentIdOptions(DocumentIdOptions &&value)
ElasticsearchDestinationDescription & WithClusterEndpoint(const Aws::String &value)
ElasticsearchDestinationDescription & WithBufferingHints(ElasticsearchBufferingHints &&value)
ElasticsearchDestinationDescription & WithDomainARN(Aws::String &&value)
ElasticsearchDestinationDescription & WithRetryOptions(const ElasticsearchRetryOptions &value)
ElasticsearchDestinationDescription & WithClusterEndpoint(Aws::String &&value)
ElasticsearchDestinationDescription & WithVpcConfigurationDescription(VpcConfigurationDescription &&value)
ElasticsearchDestinationDescription & WithS3BackupMode(ElasticsearchS3BackupMode &&value)
ElasticsearchDestinationDescription & WithTypeName(Aws::String &&value)
ElasticsearchDestinationDescription & WithRoleARN(const char *value)
ElasticsearchDestinationDescription & WithIndexRotationPeriod(const ElasticsearchIndexRotationPeriod &value)
const ElasticsearchIndexRotationPeriod & GetIndexRotationPeriod() const
ElasticsearchDestinationDescription & WithRoleARN(const Aws::String &value)
ElasticsearchDestinationDescription & WithIndexName(const Aws::String &value)
ElasticsearchDestinationDescription & WithProcessingConfiguration(const ProcessingConfiguration &value)
ElasticsearchDestinationDescription & WithRoleARN(Aws::String &&value)
ElasticsearchDestinationDescription & WithS3BackupMode(const ElasticsearchS3BackupMode &value)
AWS_FIREHOSE_API ElasticsearchDestinationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchDestinationDescription & WithRetryOptions(ElasticsearchRetryOptions &&value)
ElasticsearchDestinationDescription & WithS3DestinationDescription(S3DestinationDescription &&value)
ElasticsearchDestinationDescription & WithVpcConfigurationDescription(const VpcConfigurationDescription &value)
ElasticsearchDestinationDescription & WithProcessingConfiguration(ProcessingConfiguration &&value)
ElasticsearchDestinationDescription & WithDocumentIdOptions(const DocumentIdOptions &value)
ElasticsearchDestinationDescription & WithIndexName(const char *value)
ElasticsearchDestinationDescription & WithIndexName(Aws::String &&value)
ElasticsearchDestinationDescription & WithClusterEndpoint(const char *value)
ElasticsearchDestinationDescription & WithTypeName(const Aws::String &value)
ElasticsearchDestinationDescription & WithIndexRotationPeriod(ElasticsearchIndexRotationPeriod &&value)
ElasticsearchDestinationDescription & WithBufferingHints(const ElasticsearchBufferingHints &value)
AWS_FIREHOSE_API ElasticsearchDestinationDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIndexRotationPeriod(const ElasticsearchIndexRotationPeriod &value)
ElasticsearchDestinationDescription & WithDomainARN(const Aws::String &value)
ElasticsearchDestinationDescription & WithS3DestinationDescription(const S3DestinationDescription &value)
ElasticsearchDestinationDescription & WithDomainARN(const char *value)
ElasticsearchDestinationDescription & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue