AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AmazonopensearchserviceDestinationUpdate.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/AmazonopensearchserviceIndexRotationPeriod.h>
10#include <aws/firehose/model/AmazonopensearchserviceBufferingHints.h>
11#include <aws/firehose/model/AmazonopensearchserviceRetryOptions.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
54 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
55 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
56 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
57 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
58 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
59 inline AmazonopensearchserviceDestinationUpdate& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
60 inline AmazonopensearchserviceDestinationUpdate& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
61 inline AmazonopensearchserviceDestinationUpdate& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
63
65
70 inline const Aws::String& GetDomainARN() const{ return m_domainARN; }
71 inline bool DomainARNHasBeenSet() const { return m_domainARNHasBeenSet; }
72 inline void SetDomainARN(const Aws::String& value) { m_domainARNHasBeenSet = true; m_domainARN = value; }
73 inline void SetDomainARN(Aws::String&& value) { m_domainARNHasBeenSet = true; m_domainARN = std::move(value); }
74 inline void SetDomainARN(const char* value) { m_domainARNHasBeenSet = true; m_domainARN.assign(value); }
76 inline AmazonopensearchserviceDestinationUpdate& WithDomainARN(Aws::String&& value) { SetDomainARN(std::move(value)); return *this;}
77 inline AmazonopensearchserviceDestinationUpdate& WithDomainARN(const char* value) { SetDomainARN(value); return *this;}
79
81
85 inline const Aws::String& GetClusterEndpoint() const{ return m_clusterEndpoint; }
86 inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; }
87 inline void SetClusterEndpoint(const Aws::String& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = value; }
88 inline void SetClusterEndpoint(Aws::String&& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = std::move(value); }
89 inline void SetClusterEndpoint(const char* value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint.assign(value); }
92 inline AmazonopensearchserviceDestinationUpdate& WithClusterEndpoint(const char* value) { SetClusterEndpoint(value); return *this;}
94
96
99 inline const Aws::String& GetIndexName() const{ return m_indexName; }
100 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
101 inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
102 inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
103 inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
105 inline AmazonopensearchserviceDestinationUpdate& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
106 inline AmazonopensearchserviceDestinationUpdate& WithIndexName(const char* value) { SetIndexName(value); return *this;}
108
110
119 inline const Aws::String& GetTypeName() const{ return m_typeName; }
120 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
121 inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
122 inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
123 inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
125 inline AmazonopensearchserviceDestinationUpdate& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
126 inline AmazonopensearchserviceDestinationUpdate& WithTypeName(const char* value) { SetTypeName(value); return *this;}
128
130
134 inline const AmazonopensearchserviceIndexRotationPeriod& GetIndexRotationPeriod() const{ return m_indexRotationPeriod; }
135 inline bool IndexRotationPeriodHasBeenSet() const { return m_indexRotationPeriodHasBeenSet; }
136 inline void SetIndexRotationPeriod(const AmazonopensearchserviceIndexRotationPeriod& value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = value; }
137 inline void SetIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod&& value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = std::move(value); }
141
143
147 inline const AmazonopensearchserviceBufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
148 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
149 inline void SetBufferingHints(const AmazonopensearchserviceBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
150 inline void SetBufferingHints(AmazonopensearchserviceBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
154
156
160 inline const AmazonopensearchserviceRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
161 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
162 inline void SetRetryOptions(const AmazonopensearchserviceRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
163 inline void SetRetryOptions(AmazonopensearchserviceRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
167
169
170 inline const S3DestinationUpdate& GetS3Update() const{ return m_s3Update; }
171 inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
172 inline void SetS3Update(const S3DestinationUpdate& value) { m_s3UpdateHasBeenSet = true; m_s3Update = value; }
173 inline void SetS3Update(S3DestinationUpdate&& value) { m_s3UpdateHasBeenSet = true; m_s3Update = std::move(value); }
177
179
180 inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
181 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
182 inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
183 inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
187
189
190 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
191 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
192 inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
193 inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
197
199
203 inline const DocumentIdOptions& GetDocumentIdOptions() const{ return m_documentIdOptions; }
204 inline bool DocumentIdOptionsHasBeenSet() const { return m_documentIdOptionsHasBeenSet; }
205 inline void SetDocumentIdOptions(const DocumentIdOptions& value) { m_documentIdOptionsHasBeenSet = true; m_documentIdOptions = value; }
206 inline void SetDocumentIdOptions(DocumentIdOptions&& value) { m_documentIdOptionsHasBeenSet = true; m_documentIdOptions = std::move(value); }
210 private:
211
212 Aws::String m_roleARN;
213 bool m_roleARNHasBeenSet = false;
214
215 Aws::String m_domainARN;
216 bool m_domainARNHasBeenSet = false;
217
218 Aws::String m_clusterEndpoint;
219 bool m_clusterEndpointHasBeenSet = false;
220
221 Aws::String m_indexName;
222 bool m_indexNameHasBeenSet = false;
223
224 Aws::String m_typeName;
225 bool m_typeNameHasBeenSet = false;
226
227 AmazonopensearchserviceIndexRotationPeriod m_indexRotationPeriod;
228 bool m_indexRotationPeriodHasBeenSet = false;
229
231 bool m_bufferingHintsHasBeenSet = false;
232
234 bool m_retryOptionsHasBeenSet = false;
235
236 S3DestinationUpdate m_s3Update;
237 bool m_s3UpdateHasBeenSet = false;
238
239 ProcessingConfiguration m_processingConfiguration;
240 bool m_processingConfigurationHasBeenSet = false;
241
242 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
243 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
244
245 DocumentIdOptions m_documentIdOptions;
246 bool m_documentIdOptionsHasBeenSet = false;
247 };
248
249} // namespace Model
250} // namespace Firehose
251} // namespace Aws
AmazonopensearchserviceDestinationUpdate & WithProcessingConfiguration(ProcessingConfiguration &&value)
AmazonopensearchserviceDestinationUpdate & WithBufferingHints(AmazonopensearchserviceBufferingHints &&value)
const AmazonopensearchserviceIndexRotationPeriod & GetIndexRotationPeriod() const
AmazonopensearchserviceDestinationUpdate & WithIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod &&value)
AmazonopensearchserviceDestinationUpdate & WithIndexName(const char *value)
void SetIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod &&value)
AWS_FIREHOSE_API AmazonopensearchserviceDestinationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIndexRotationPeriod(const AmazonopensearchserviceIndexRotationPeriod &value)
AmazonopensearchserviceDestinationUpdate & WithDomainARN(Aws::String &&value)
AmazonopensearchserviceDestinationUpdate & WithClusterEndpoint(Aws::String &&value)
AmazonopensearchserviceDestinationUpdate & WithTypeName(const char *value)
AmazonopensearchserviceDestinationUpdate & WithIndexRotationPeriod(const AmazonopensearchserviceIndexRotationPeriod &value)
AmazonopensearchserviceDestinationUpdate & WithS3Update(S3DestinationUpdate &&value)
AmazonopensearchserviceDestinationUpdate & WithTypeName(const Aws::String &value)
AmazonopensearchserviceDestinationUpdate & WithTypeName(Aws::String &&value)
AmazonopensearchserviceDestinationUpdate & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
AmazonopensearchserviceDestinationUpdate & WithRoleARN(Aws::String &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AmazonopensearchserviceDestinationUpdate & WithBufferingHints(const AmazonopensearchserviceBufferingHints &value)
AmazonopensearchserviceDestinationUpdate & WithDocumentIdOptions(const DocumentIdOptions &value)
AmazonopensearchserviceDestinationUpdate & WithS3Update(const S3DestinationUpdate &value)
AmazonopensearchserviceDestinationUpdate & WithDomainARN(const char *value)
AmazonopensearchserviceDestinationUpdate & WithRoleARN(const Aws::String &value)
AWS_FIREHOSE_API AmazonopensearchserviceDestinationUpdate(Aws::Utils::Json::JsonView jsonValue)
AmazonopensearchserviceDestinationUpdate & WithIndexName(Aws::String &&value)
AmazonopensearchserviceDestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
AmazonopensearchserviceDestinationUpdate & WithIndexName(const Aws::String &value)
AmazonopensearchserviceDestinationUpdate & WithDocumentIdOptions(DocumentIdOptions &&value)
AmazonopensearchserviceDestinationUpdate & WithRetryOptions(const AmazonopensearchserviceRetryOptions &value)
AmazonopensearchserviceDestinationUpdate & WithRoleARN(const char *value)
AmazonopensearchserviceDestinationUpdate & WithRetryOptions(AmazonopensearchserviceRetryOptions &&value)
AmazonopensearchserviceDestinationUpdate & WithProcessingConfiguration(const ProcessingConfiguration &value)
AmazonopensearchserviceDestinationUpdate & WithDomainARN(const Aws::String &value)
void SetBufferingHints(const AmazonopensearchserviceBufferingHints &value)
AmazonopensearchserviceDestinationUpdate & WithClusterEndpoint(const char *value)
AmazonopensearchserviceDestinationUpdate & WithClusterEndpoint(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue