AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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
42 {
43 public:
44 AWS_FIREHOSE_API ElasticsearchDestinationDescription() = default;
47 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
57 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
58 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
59 template<typename RoleARNT = Aws::String>
60 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
61 template<typename RoleARNT = Aws::String>
62 ElasticsearchDestinationDescription& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
64
66
73 inline const Aws::String& GetDomainARN() const { return m_domainARN; }
74 inline bool DomainARNHasBeenSet() const { return m_domainARNHasBeenSet; }
75 template<typename DomainARNT = Aws::String>
76 void SetDomainARN(DomainARNT&& value) { m_domainARNHasBeenSet = true; m_domainARN = std::forward<DomainARNT>(value); }
77 template<typename DomainARNT = Aws::String>
78 ElasticsearchDestinationDescription& WithDomainARN(DomainARNT&& value) { SetDomainARN(std::forward<DomainARNT>(value)); return *this;}
80
82
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) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = std::forward<ClusterEndpointT>(value); }
91 template<typename ClusterEndpointT = Aws::String>
92 ElasticsearchDestinationDescription& WithClusterEndpoint(ClusterEndpointT&& value) { SetClusterEndpoint(std::forward<ClusterEndpointT>(value)); return *this;}
94
96
99 inline const Aws::String& GetIndexName() const { return m_indexName; }
100 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
101 template<typename IndexNameT = Aws::String>
102 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
103 template<typename IndexNameT = Aws::String>
104 ElasticsearchDestinationDescription& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
106
108
113 inline const Aws::String& GetTypeName() const { return m_typeName; }
114 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
115 template<typename TypeNameT = Aws::String>
116 void SetTypeName(TypeNameT&& value) { m_typeNameHasBeenSet = true; m_typeName = std::forward<TypeNameT>(value); }
117 template<typename TypeNameT = Aws::String>
118 ElasticsearchDestinationDescription& WithTypeName(TypeNameT&& value) { SetTypeName(std::forward<TypeNameT>(value)); return *this;}
120
122
125 inline ElasticsearchIndexRotationPeriod GetIndexRotationPeriod() const { return m_indexRotationPeriod; }
126 inline bool IndexRotationPeriodHasBeenSet() const { return m_indexRotationPeriodHasBeenSet; }
127 inline void SetIndexRotationPeriod(ElasticsearchIndexRotationPeriod value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = value; }
130
132
135 inline const ElasticsearchBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
136 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
137 template<typename BufferingHintsT = ElasticsearchBufferingHints>
138 void SetBufferingHints(BufferingHintsT&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::forward<BufferingHintsT>(value); }
139 template<typename BufferingHintsT = ElasticsearchBufferingHints>
140 ElasticsearchDestinationDescription& WithBufferingHints(BufferingHintsT&& value) { SetBufferingHints(std::forward<BufferingHintsT>(value)); return *this;}
142
144
147 inline const ElasticsearchRetryOptions& GetRetryOptions() const { return m_retryOptions; }
148 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
149 template<typename RetryOptionsT = ElasticsearchRetryOptions>
150 void SetRetryOptions(RetryOptionsT&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::forward<RetryOptionsT>(value); }
151 template<typename RetryOptionsT = ElasticsearchRetryOptions>
152 ElasticsearchDestinationDescription& WithRetryOptions(RetryOptionsT&& value) { SetRetryOptions(std::forward<RetryOptionsT>(value)); return *this;}
154
156
159 inline ElasticsearchS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
160 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
161 inline void SetS3BackupMode(ElasticsearchS3BackupMode value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
164
166
169 inline const S3DestinationDescription& GetS3DestinationDescription() const { return m_s3DestinationDescription; }
170 inline bool S3DestinationDescriptionHasBeenSet() const { return m_s3DestinationDescriptionHasBeenSet; }
171 template<typename S3DestinationDescriptionT = S3DestinationDescription>
172 void SetS3DestinationDescription(S3DestinationDescriptionT&& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = std::forward<S3DestinationDescriptionT>(value); }
173 template<typename S3DestinationDescriptionT = S3DestinationDescription>
174 ElasticsearchDestinationDescription& WithS3DestinationDescription(S3DestinationDescriptionT&& value) { SetS3DestinationDescription(std::forward<S3DestinationDescriptionT>(value)); return *this;}
176
178
181 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
182 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
183 template<typename ProcessingConfigurationT = ProcessingConfiguration>
184 void SetProcessingConfiguration(ProcessingConfigurationT&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::forward<ProcessingConfigurationT>(value); }
185 template<typename ProcessingConfigurationT = ProcessingConfiguration>
186 ElasticsearchDestinationDescription& WithProcessingConfiguration(ProcessingConfigurationT&& value) { SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value)); return *this;}
188
190
193 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
194 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
195 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
196 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value); }
197 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
198 ElasticsearchDestinationDescription& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value)); return *this;}
200
202
206 inline const VpcConfigurationDescription& GetVpcConfigurationDescription() const { return m_vpcConfigurationDescription; }
207 inline bool VpcConfigurationDescriptionHasBeenSet() const { return m_vpcConfigurationDescriptionHasBeenSet; }
208 template<typename VpcConfigurationDescriptionT = VpcConfigurationDescription>
209 void SetVpcConfigurationDescription(VpcConfigurationDescriptionT&& value) { m_vpcConfigurationDescriptionHasBeenSet = true; m_vpcConfigurationDescription = std::forward<VpcConfigurationDescriptionT>(value); }
210 template<typename VpcConfigurationDescriptionT = VpcConfigurationDescription>
211 ElasticsearchDestinationDescription& WithVpcConfigurationDescription(VpcConfigurationDescriptionT&& value) { SetVpcConfigurationDescription(std::forward<VpcConfigurationDescriptionT>(value)); return *this;}
213
215
219 inline const DocumentIdOptions& GetDocumentIdOptions() const { return m_documentIdOptions; }
220 inline bool DocumentIdOptionsHasBeenSet() const { return m_documentIdOptionsHasBeenSet; }
221 template<typename DocumentIdOptionsT = DocumentIdOptions>
222 void SetDocumentIdOptions(DocumentIdOptionsT&& value) { m_documentIdOptionsHasBeenSet = true; m_documentIdOptions = std::forward<DocumentIdOptionsT>(value); }
223 template<typename DocumentIdOptionsT = DocumentIdOptions>
224 ElasticsearchDestinationDescription& WithDocumentIdOptions(DocumentIdOptionsT&& value) { SetDocumentIdOptions(std::forward<DocumentIdOptionsT>(value)); return *this;}
226 private:
227
228 Aws::String m_roleARN;
229 bool m_roleARNHasBeenSet = false;
230
231 Aws::String m_domainARN;
232 bool m_domainARNHasBeenSet = false;
233
234 Aws::String m_clusterEndpoint;
235 bool m_clusterEndpointHasBeenSet = false;
236
237 Aws::String m_indexName;
238 bool m_indexNameHasBeenSet = false;
239
240 Aws::String m_typeName;
241 bool m_typeNameHasBeenSet = false;
242
244 bool m_indexRotationPeriodHasBeenSet = false;
245
246 ElasticsearchBufferingHints m_bufferingHints;
247 bool m_bufferingHintsHasBeenSet = false;
248
249 ElasticsearchRetryOptions m_retryOptions;
250 bool m_retryOptionsHasBeenSet = false;
251
253 bool m_s3BackupModeHasBeenSet = false;
254
255 S3DestinationDescription m_s3DestinationDescription;
256 bool m_s3DestinationDescriptionHasBeenSet = false;
257
258 ProcessingConfiguration m_processingConfiguration;
259 bool m_processingConfigurationHasBeenSet = false;
260
261 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
262 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
263
264 VpcConfigurationDescription m_vpcConfigurationDescription;
265 bool m_vpcConfigurationDescriptionHasBeenSet = false;
266
267 DocumentIdOptions m_documentIdOptions;
268 bool m_documentIdOptionsHasBeenSet = false;
269 };
270
271} // namespace Model
272} // namespace Firehose
273} // namespace Aws
ElasticsearchDestinationDescription & WithClusterEndpoint(ClusterEndpointT &&value)
ElasticsearchDestinationDescription & WithTypeName(TypeNameT &&value)
ElasticsearchDestinationDescription & WithDomainARN(DomainARNT &&value)
ElasticsearchDestinationDescription & WithRetryOptions(RetryOptionsT &&value)
ElasticsearchDestinationDescription & WithS3BackupMode(ElasticsearchS3BackupMode value)
ElasticsearchDestinationDescription & WithDocumentIdOptions(DocumentIdOptionsT &&value)
ElasticsearchDestinationDescription & WithIndexName(IndexNameT &&value)
AWS_FIREHOSE_API ElasticsearchDestinationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchDestinationDescription & WithBufferingHints(BufferingHintsT &&value)
ElasticsearchDestinationDescription & WithIndexRotationPeriod(ElasticsearchIndexRotationPeriod value)
ElasticsearchDestinationDescription & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
ElasticsearchDestinationDescription & WithRoleARN(RoleARNT &&value)
AWS_FIREHOSE_API ElasticsearchDestinationDescription(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchDestinationDescription & WithS3DestinationDescription(S3DestinationDescriptionT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
ElasticsearchDestinationDescription & WithProcessingConfiguration(ProcessingConfigurationT &&value)
ElasticsearchDestinationDescription & WithVpcConfigurationDescription(VpcConfigurationDescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue