AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ElasticsearchDestinationUpdate.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/S3DestinationUpdate.h>
13#include <aws/firehose/model/ProcessingConfiguration.h>
14#include <aws/firehose/model/CloudWatchLoggingOptions.h>
15#include <aws/firehose/model/DocumentIdOptions.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace Firehose
29{
30namespace Model
31{
32
40 {
41 public:
45 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
58 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
59 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
60 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
61 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
62 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
63 inline ElasticsearchDestinationUpdate& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
64 inline ElasticsearchDestinationUpdate& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
65 inline ElasticsearchDestinationUpdate& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
67
69
78 inline const Aws::String& GetDomainARN() const{ return m_domainARN; }
79 inline bool DomainARNHasBeenSet() const { return m_domainARNHasBeenSet; }
80 inline void SetDomainARN(const Aws::String& value) { m_domainARNHasBeenSet = true; m_domainARN = value; }
81 inline void SetDomainARN(Aws::String&& value) { m_domainARNHasBeenSet = true; m_domainARN = std::move(value); }
82 inline void SetDomainARN(const char* value) { m_domainARNHasBeenSet = true; m_domainARN.assign(value); }
83 inline ElasticsearchDestinationUpdate& WithDomainARN(const Aws::String& value) { SetDomainARN(value); return *this;}
84 inline ElasticsearchDestinationUpdate& WithDomainARN(Aws::String&& value) { SetDomainARN(std::move(value)); return *this;}
85 inline ElasticsearchDestinationUpdate& WithDomainARN(const char* value) { SetDomainARN(value); return *this;}
87
89
93 inline const Aws::String& GetClusterEndpoint() const{ return m_clusterEndpoint; }
94 inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; }
95 inline void SetClusterEndpoint(const Aws::String& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = value; }
96 inline void SetClusterEndpoint(Aws::String&& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = std::move(value); }
97 inline void SetClusterEndpoint(const char* value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint.assign(value); }
99 inline ElasticsearchDestinationUpdate& WithClusterEndpoint(Aws::String&& value) { SetClusterEndpoint(std::move(value)); return *this;}
100 inline ElasticsearchDestinationUpdate& WithClusterEndpoint(const char* value) { SetClusterEndpoint(value); return *this;}
102
104
107 inline const Aws::String& GetIndexName() const{ return m_indexName; }
108 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
109 inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
110 inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
111 inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
112 inline ElasticsearchDestinationUpdate& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
113 inline ElasticsearchDestinationUpdate& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
114 inline ElasticsearchDestinationUpdate& WithIndexName(const char* value) { SetIndexName(value); return *this;}
116
118
127 inline const Aws::String& GetTypeName() const{ return m_typeName; }
128 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
129 inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
130 inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
131 inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
132 inline ElasticsearchDestinationUpdate& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
133 inline ElasticsearchDestinationUpdate& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
134 inline ElasticsearchDestinationUpdate& WithTypeName(const char* value) { SetTypeName(value); return *this;}
136
138
146 inline const ElasticsearchIndexRotationPeriod& GetIndexRotationPeriod() const{ return m_indexRotationPeriod; }
147 inline bool IndexRotationPeriodHasBeenSet() const { return m_indexRotationPeriodHasBeenSet; }
148 inline void SetIndexRotationPeriod(const ElasticsearchIndexRotationPeriod& value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = value; }
149 inline void SetIndexRotationPeriod(ElasticsearchIndexRotationPeriod&& value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = std::move(value); }
153
155
159 inline const ElasticsearchBufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
160 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
161 inline void SetBufferingHints(const ElasticsearchBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
162 inline void SetBufferingHints(ElasticsearchBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
166
168
172 inline const ElasticsearchRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
173 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
174 inline void SetRetryOptions(const ElasticsearchRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
175 inline void SetRetryOptions(ElasticsearchRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
179
181
184 inline const S3DestinationUpdate& GetS3Update() const{ return m_s3Update; }
185 inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
186 inline void SetS3Update(const S3DestinationUpdate& value) { m_s3UpdateHasBeenSet = true; m_s3Update = value; }
187 inline void SetS3Update(S3DestinationUpdate&& value) { m_s3UpdateHasBeenSet = true; m_s3Update = std::move(value); }
188 inline ElasticsearchDestinationUpdate& WithS3Update(const S3DestinationUpdate& value) { SetS3Update(value); return *this;}
189 inline ElasticsearchDestinationUpdate& WithS3Update(S3DestinationUpdate&& value) { SetS3Update(std::move(value)); return *this;}
191
193
196 inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
197 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
198 inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
199 inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
203
205
208 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
209 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
210 inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
211 inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
215
217
221 inline const DocumentIdOptions& GetDocumentIdOptions() const{ return m_documentIdOptions; }
222 inline bool DocumentIdOptionsHasBeenSet() const { return m_documentIdOptionsHasBeenSet; }
223 inline void SetDocumentIdOptions(const DocumentIdOptions& value) { m_documentIdOptionsHasBeenSet = true; m_documentIdOptions = value; }
224 inline void SetDocumentIdOptions(DocumentIdOptions&& value) { m_documentIdOptionsHasBeenSet = true; m_documentIdOptions = std::move(value); }
228 private:
229
230 Aws::String m_roleARN;
231 bool m_roleARNHasBeenSet = false;
232
233 Aws::String m_domainARN;
234 bool m_domainARNHasBeenSet = false;
235
236 Aws::String m_clusterEndpoint;
237 bool m_clusterEndpointHasBeenSet = false;
238
239 Aws::String m_indexName;
240 bool m_indexNameHasBeenSet = false;
241
242 Aws::String m_typeName;
243 bool m_typeNameHasBeenSet = false;
244
245 ElasticsearchIndexRotationPeriod m_indexRotationPeriod;
246 bool m_indexRotationPeriodHasBeenSet = false;
247
248 ElasticsearchBufferingHints m_bufferingHints;
249 bool m_bufferingHintsHasBeenSet = false;
250
251 ElasticsearchRetryOptions m_retryOptions;
252 bool m_retryOptionsHasBeenSet = false;
253
254 S3DestinationUpdate m_s3Update;
255 bool m_s3UpdateHasBeenSet = false;
256
257 ProcessingConfiguration m_processingConfiguration;
258 bool m_processingConfigurationHasBeenSet = false;
259
260 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
261 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
262
263 DocumentIdOptions m_documentIdOptions;
264 bool m_documentIdOptionsHasBeenSet = false;
265 };
266
267} // namespace Model
268} // namespace Firehose
269} // namespace Aws
ElasticsearchDestinationUpdate & WithRoleARN(const Aws::String &value)
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
const ElasticsearchBufferingHints & GetBufferingHints() const
ElasticsearchDestinationUpdate & WithClusterEndpoint(const Aws::String &value)
ElasticsearchDestinationUpdate & WithClusterEndpoint(Aws::String &&value)
ElasticsearchDestinationUpdate & WithRoleARN(Aws::String &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
ElasticsearchDestinationUpdate & WithProcessingConfiguration(ProcessingConfiguration &&value)
ElasticsearchDestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
ElasticsearchDestinationUpdate & WithS3Update(const S3DestinationUpdate &value)
void SetBufferingHints(const ElasticsearchBufferingHints &value)
ElasticsearchDestinationUpdate & WithTypeName(Aws::String &&value)
ElasticsearchDestinationUpdate & WithClusterEndpoint(const char *value)
ElasticsearchDestinationUpdate & WithRetryOptions(ElasticsearchRetryOptions &&value)
ElasticsearchDestinationUpdate & WithTypeName(const char *value)
AWS_FIREHOSE_API ElasticsearchDestinationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchDestinationUpdate & WithDomainARN(Aws::String &&value)
ElasticsearchDestinationUpdate & WithDocumentIdOptions(DocumentIdOptions &&value)
ElasticsearchDestinationUpdate & WithRetryOptions(const ElasticsearchRetryOptions &value)
ElasticsearchDestinationUpdate & WithTypeName(const Aws::String &value)
void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
ElasticsearchDestinationUpdate & WithBufferingHints(ElasticsearchBufferingHints &&value)
void SetIndexRotationPeriod(ElasticsearchIndexRotationPeriod &&value)
ElasticsearchDestinationUpdate & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
const ElasticsearchIndexRotationPeriod & GetIndexRotationPeriod() const
void SetProcessingConfiguration(const ProcessingConfiguration &value)
void SetRetryOptions(const ElasticsearchRetryOptions &value)
ElasticsearchDestinationUpdate & WithDocumentIdOptions(const DocumentIdOptions &value)
ElasticsearchDestinationUpdate & WithS3Update(S3DestinationUpdate &&value)
ElasticsearchDestinationUpdate & WithIndexName(const Aws::String &value)
ElasticsearchDestinationUpdate & WithIndexRotationPeriod(ElasticsearchIndexRotationPeriod &&value)
ElasticsearchDestinationUpdate & WithBufferingHints(const ElasticsearchBufferingHints &value)
ElasticsearchDestinationUpdate & WithRoleARN(const char *value)
ElasticsearchDestinationUpdate & WithDomainARN(const Aws::String &value)
AWS_FIREHOSE_API ElasticsearchDestinationUpdate(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchDestinationUpdate & WithIndexName(const char *value)
ElasticsearchDestinationUpdate & WithIndexRotationPeriod(const ElasticsearchIndexRotationPeriod &value)
void SetIndexRotationPeriod(const ElasticsearchIndexRotationPeriod &value)
ElasticsearchDestinationUpdate & WithIndexName(Aws::String &&value)
ElasticsearchDestinationUpdate & WithProcessingConfiguration(const ProcessingConfiguration &value)
ElasticsearchDestinationUpdate & WithDomainARN(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue