AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AmazonopensearchserviceDestinationConfiguration.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/AmazonopensearchserviceS3BackupMode.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
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); }
62 inline AmazonopensearchserviceDestinationConfiguration& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
63 inline AmazonopensearchserviceDestinationConfiguration& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
65
67
73 inline const Aws::String& GetDomainARN() const{ return m_domainARN; }
74 inline bool DomainARNHasBeenSet() const { return m_domainARNHasBeenSet; }
75 inline void SetDomainARN(const Aws::String& value) { m_domainARNHasBeenSet = true; m_domainARN = value; }
76 inline void SetDomainARN(Aws::String&& value) { m_domainARNHasBeenSet = true; m_domainARN = std::move(value); }
77 inline void SetDomainARN(const char* value) { m_domainARNHasBeenSet = true; m_domainARN.assign(value); }
80 inline AmazonopensearchserviceDestinationConfiguration& WithDomainARN(const char* value) { SetDomainARN(value); return *this;}
82
84
88 inline const Aws::String& GetClusterEndpoint() const{ return m_clusterEndpoint; }
89 inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; }
90 inline void SetClusterEndpoint(const Aws::String& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = value; }
91 inline void SetClusterEndpoint(Aws::String&& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = std::move(value); }
92 inline void SetClusterEndpoint(const char* value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint.assign(value); }
97
99
102 inline const Aws::String& GetIndexName() const{ return m_indexName; }
103 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
104 inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
105 inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
106 inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
109 inline AmazonopensearchserviceDestinationConfiguration& WithIndexName(const char* value) { SetIndexName(value); return *this;}
111
113
118 inline const Aws::String& GetTypeName() const{ return m_typeName; }
119 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
120 inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
121 inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
122 inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
124 inline AmazonopensearchserviceDestinationConfiguration& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
125 inline AmazonopensearchserviceDestinationConfiguration& WithTypeName(const char* value) { SetTypeName(value); return *this;}
127
129
133 inline const AmazonopensearchserviceIndexRotationPeriod& GetIndexRotationPeriod() const{ return m_indexRotationPeriod; }
134 inline bool IndexRotationPeriodHasBeenSet() const { return m_indexRotationPeriodHasBeenSet; }
135 inline void SetIndexRotationPeriod(const AmazonopensearchserviceIndexRotationPeriod& value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = value; }
136 inline void SetIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod&& value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = std::move(value); }
140
142
146 inline const AmazonopensearchserviceBufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
147 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
148 inline void SetBufferingHints(const AmazonopensearchserviceBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
149 inline void SetBufferingHints(AmazonopensearchserviceBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
153
155
159 inline const AmazonopensearchserviceRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
160 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
161 inline void SetRetryOptions(const AmazonopensearchserviceRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
162 inline void SetRetryOptions(AmazonopensearchserviceRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
166
168
176 inline const AmazonopensearchserviceS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; }
177 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
178 inline void SetS3BackupMode(const AmazonopensearchserviceS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
179 inline void SetS3BackupMode(AmazonopensearchserviceS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); }
183
185
186 inline const S3DestinationConfiguration& GetS3Configuration() const{ return m_s3Configuration; }
187 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
188 inline void SetS3Configuration(const S3DestinationConfiguration& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = value; }
189 inline void SetS3Configuration(S3DestinationConfiguration&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::move(value); }
193
195
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
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
216 inline const VpcConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; }
217 inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
218 inline void SetVpcConfiguration(const VpcConfiguration& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = value; }
219 inline void SetVpcConfiguration(VpcConfiguration&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::move(value); }
223
225
229 inline const DocumentIdOptions& GetDocumentIdOptions() const{ return m_documentIdOptions; }
230 inline bool DocumentIdOptionsHasBeenSet() const { return m_documentIdOptionsHasBeenSet; }
231 inline void SetDocumentIdOptions(const DocumentIdOptions& value) { m_documentIdOptionsHasBeenSet = true; m_documentIdOptions = value; }
232 inline void SetDocumentIdOptions(DocumentIdOptions&& value) { m_documentIdOptionsHasBeenSet = true; m_documentIdOptions = std::move(value); }
236 private:
237
238 Aws::String m_roleARN;
239 bool m_roleARNHasBeenSet = false;
240
241 Aws::String m_domainARN;
242 bool m_domainARNHasBeenSet = false;
243
244 Aws::String m_clusterEndpoint;
245 bool m_clusterEndpointHasBeenSet = false;
246
247 Aws::String m_indexName;
248 bool m_indexNameHasBeenSet = false;
249
250 Aws::String m_typeName;
251 bool m_typeNameHasBeenSet = false;
252
253 AmazonopensearchserviceIndexRotationPeriod m_indexRotationPeriod;
254 bool m_indexRotationPeriodHasBeenSet = false;
255
257 bool m_bufferingHintsHasBeenSet = false;
258
260 bool m_retryOptionsHasBeenSet = false;
261
263 bool m_s3BackupModeHasBeenSet = false;
264
265 S3DestinationConfiguration m_s3Configuration;
266 bool m_s3ConfigurationHasBeenSet = false;
267
268 ProcessingConfiguration m_processingConfiguration;
269 bool m_processingConfigurationHasBeenSet = false;
270
271 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
272 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
273
274 VpcConfiguration m_vpcConfiguration;
275 bool m_vpcConfigurationHasBeenSet = false;
276
277 DocumentIdOptions m_documentIdOptions;
278 bool m_documentIdOptionsHasBeenSet = false;
279 };
280
281} // namespace Model
282} // namespace Firehose
283} // namespace Aws
AmazonopensearchserviceDestinationConfiguration & WithS3BackupMode(AmazonopensearchserviceS3BackupMode &&value)
AmazonopensearchserviceDestinationConfiguration & WithProcessingConfiguration(const ProcessingConfiguration &value)
AmazonopensearchserviceDestinationConfiguration & WithClusterEndpoint(const char *value)
AmazonopensearchserviceDestinationConfiguration & WithProcessingConfiguration(ProcessingConfiguration &&value)
AmazonopensearchserviceDestinationConfiguration & WithIndexName(const Aws::String &value)
AmazonopensearchserviceDestinationConfiguration & WithVpcConfiguration(const VpcConfiguration &value)
AmazonopensearchserviceDestinationConfiguration & WithRoleARN(Aws::String &&value)
AmazonopensearchserviceDestinationConfiguration & WithRetryOptions(AmazonopensearchserviceRetryOptions &&value)
AmazonopensearchserviceDestinationConfiguration & WithS3BackupMode(const AmazonopensearchserviceS3BackupMode &value)
AmazonopensearchserviceDestinationConfiguration & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
AmazonopensearchserviceDestinationConfiguration & WithDocumentIdOptions(DocumentIdOptions &&value)
AmazonopensearchserviceDestinationConfiguration & WithRoleARN(const Aws::String &value)
AmazonopensearchserviceDestinationConfiguration & WithIndexName(Aws::String &&value)
AmazonopensearchserviceDestinationConfiguration & WithRetryOptions(const AmazonopensearchserviceRetryOptions &value)
AmazonopensearchserviceDestinationConfiguration & WithDomainARN(const char *value)
AmazonopensearchserviceDestinationConfiguration & WithClusterEndpoint(Aws::String &&value)
AmazonopensearchserviceDestinationConfiguration & WithTypeName(const char *value)
AmazonopensearchserviceDestinationConfiguration & WithIndexName(const char *value)
AmazonopensearchserviceDestinationConfiguration & WithBufferingHints(AmazonopensearchserviceBufferingHints &&value)
AmazonopensearchserviceDestinationConfiguration & WithVpcConfiguration(VpcConfiguration &&value)
AmazonopensearchserviceDestinationConfiguration & WithDomainARN(const Aws::String &value)
AmazonopensearchserviceDestinationConfiguration & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
AmazonopensearchserviceDestinationConfiguration & WithDocumentIdOptions(const DocumentIdOptions &value)
AmazonopensearchserviceDestinationConfiguration & WithIndexRotationPeriod(const AmazonopensearchserviceIndexRotationPeriod &value)
AmazonopensearchserviceDestinationConfiguration & WithDomainARN(Aws::String &&value)
AmazonopensearchserviceDestinationConfiguration & WithTypeName(const Aws::String &value)
AmazonopensearchserviceDestinationConfiguration & WithIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod &&value)
AmazonopensearchserviceDestinationConfiguration & WithBufferingHints(const AmazonopensearchserviceBufferingHints &value)
AmazonopensearchserviceDestinationConfiguration & WithClusterEndpoint(const Aws::String &value)
AmazonopensearchserviceDestinationConfiguration & WithS3Configuration(S3DestinationConfiguration &&value)
AWS_FIREHOSE_API AmazonopensearchserviceDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API AmazonopensearchserviceDestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AmazonopensearchserviceDestinationConfiguration & WithTypeName(Aws::String &&value)
AmazonopensearchserviceDestinationConfiguration & WithS3Configuration(const S3DestinationConfiguration &value)
AmazonopensearchserviceDestinationConfiguration & WithRoleARN(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue