AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AmazonopensearchserviceDestinationDescription.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/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:
47 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
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); }
60 inline AmazonopensearchserviceDestinationDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
61 inline AmazonopensearchserviceDestinationDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
63
65
68 inline const Aws::String& GetDomainARN() const{ return m_domainARN; }
69 inline bool DomainARNHasBeenSet() const { return m_domainARNHasBeenSet; }
70 inline void SetDomainARN(const Aws::String& value) { m_domainARNHasBeenSet = true; m_domainARN = value; }
71 inline void SetDomainARN(Aws::String&& value) { m_domainARNHasBeenSet = true; m_domainARN = std::move(value); }
72 inline void SetDomainARN(const char* value) { m_domainARNHasBeenSet = true; m_domainARN.assign(value); }
74 inline AmazonopensearchserviceDestinationDescription& WithDomainARN(Aws::String&& value) { SetDomainARN(std::move(value)); return *this;}
75 inline AmazonopensearchserviceDestinationDescription& WithDomainARN(const char* value) { SetDomainARN(value); return *this;}
77
79
84 inline const Aws::String& GetClusterEndpoint() const{ return m_clusterEndpoint; }
85 inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; }
86 inline void SetClusterEndpoint(const Aws::String& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = value; }
87 inline void SetClusterEndpoint(Aws::String&& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = std::move(value); }
88 inline void SetClusterEndpoint(const char* value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint.assign(value); }
93
95
98 inline const Aws::String& GetIndexName() const{ return m_indexName; }
99 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
100 inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
101 inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
102 inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
104 inline AmazonopensearchserviceDestinationDescription& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
105 inline AmazonopensearchserviceDestinationDescription& WithIndexName(const char* value) { SetIndexName(value); return *this;}
107
109
114 inline const Aws::String& GetTypeName() const{ return m_typeName; }
115 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
116 inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
117 inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
118 inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
120 inline AmazonopensearchserviceDestinationDescription& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
121 inline AmazonopensearchserviceDestinationDescription& WithTypeName(const char* value) { SetTypeName(value); return *this;}
123
125
128 inline const AmazonopensearchserviceIndexRotationPeriod& GetIndexRotationPeriod() const{ return m_indexRotationPeriod; }
129 inline bool IndexRotationPeriodHasBeenSet() const { return m_indexRotationPeriodHasBeenSet; }
130 inline void SetIndexRotationPeriod(const AmazonopensearchserviceIndexRotationPeriod& value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = value; }
131 inline void SetIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod&& value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = std::move(value); }
135
137
140 inline const AmazonopensearchserviceBufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
141 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
142 inline void SetBufferingHints(const AmazonopensearchserviceBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
143 inline void SetBufferingHints(AmazonopensearchserviceBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
147
149
152 inline const AmazonopensearchserviceRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
153 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
154 inline void SetRetryOptions(const AmazonopensearchserviceRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
155 inline void SetRetryOptions(AmazonopensearchserviceRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
159
161
164 inline const AmazonopensearchserviceS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; }
165 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
166 inline void SetS3BackupMode(const AmazonopensearchserviceS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
167 inline void SetS3BackupMode(AmazonopensearchserviceS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); }
171
173
174 inline const S3DestinationDescription& GetS3DestinationDescription() const{ return m_s3DestinationDescription; }
175 inline bool S3DestinationDescriptionHasBeenSet() const { return m_s3DestinationDescriptionHasBeenSet; }
176 inline void SetS3DestinationDescription(const S3DestinationDescription& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = value; }
177 inline void SetS3DestinationDescription(S3DestinationDescription&& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = std::move(value); }
181
183
184 inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
185 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
186 inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
187 inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
191
193
194 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
195 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
196 inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
197 inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
201
203
204 inline const VpcConfigurationDescription& GetVpcConfigurationDescription() const{ return m_vpcConfigurationDescription; }
205 inline bool VpcConfigurationDescriptionHasBeenSet() const { return m_vpcConfigurationDescriptionHasBeenSet; }
206 inline void SetVpcConfigurationDescription(const VpcConfigurationDescription& value) { m_vpcConfigurationDescriptionHasBeenSet = true; m_vpcConfigurationDescription = value; }
207 inline void SetVpcConfigurationDescription(VpcConfigurationDescription&& value) { m_vpcConfigurationDescriptionHasBeenSet = true; m_vpcConfigurationDescription = std::move(value); }
211
213
217 inline const DocumentIdOptions& GetDocumentIdOptions() const{ return m_documentIdOptions; }
218 inline bool DocumentIdOptionsHasBeenSet() const { return m_documentIdOptionsHasBeenSet; }
219 inline void SetDocumentIdOptions(const DocumentIdOptions& value) { m_documentIdOptionsHasBeenSet = true; m_documentIdOptions = value; }
220 inline void SetDocumentIdOptions(DocumentIdOptions&& value) { m_documentIdOptionsHasBeenSet = true; m_documentIdOptions = std::move(value); }
224 private:
225
226 Aws::String m_roleARN;
227 bool m_roleARNHasBeenSet = false;
228
229 Aws::String m_domainARN;
230 bool m_domainARNHasBeenSet = false;
231
232 Aws::String m_clusterEndpoint;
233 bool m_clusterEndpointHasBeenSet = false;
234
235 Aws::String m_indexName;
236 bool m_indexNameHasBeenSet = false;
237
238 Aws::String m_typeName;
239 bool m_typeNameHasBeenSet = false;
240
241 AmazonopensearchserviceIndexRotationPeriod m_indexRotationPeriod;
242 bool m_indexRotationPeriodHasBeenSet = false;
243
245 bool m_bufferingHintsHasBeenSet = false;
246
248 bool m_retryOptionsHasBeenSet = false;
249
251 bool m_s3BackupModeHasBeenSet = false;
252
253 S3DestinationDescription m_s3DestinationDescription;
254 bool m_s3DestinationDescriptionHasBeenSet = false;
255
256 ProcessingConfiguration m_processingConfiguration;
257 bool m_processingConfigurationHasBeenSet = false;
258
259 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
260 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
261
262 VpcConfigurationDescription m_vpcConfigurationDescription;
263 bool m_vpcConfigurationDescriptionHasBeenSet = false;
264
265 DocumentIdOptions m_documentIdOptions;
266 bool m_documentIdOptionsHasBeenSet = false;
267 };
268
269} // namespace Model
270} // namespace Firehose
271} // namespace Aws
AWS_FIREHOSE_API AmazonopensearchserviceDestinationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AmazonopensearchserviceDestinationDescription & WithProcessingConfiguration(ProcessingConfiguration &&value)
AmazonopensearchserviceDestinationDescription & WithRoleARN(const char *value)
AmazonopensearchserviceDestinationDescription & WithS3DestinationDescription(S3DestinationDescription &&value)
AmazonopensearchserviceDestinationDescription & WithIndexRotationPeriod(const AmazonopensearchserviceIndexRotationPeriod &value)
AmazonopensearchserviceDestinationDescription & WithIndexName(Aws::String &&value)
AmazonopensearchserviceDestinationDescription & WithBufferingHints(AmazonopensearchserviceBufferingHints &&value)
AmazonopensearchserviceDestinationDescription & WithIndexName(const char *value)
AmazonopensearchserviceDestinationDescription & WithIndexName(const Aws::String &value)
AmazonopensearchserviceDestinationDescription & WithS3BackupMode(const AmazonopensearchserviceS3BackupMode &value)
AmazonopensearchserviceDestinationDescription & WithDomainARN(Aws::String &&value)
AmazonopensearchserviceDestinationDescription & WithVpcConfigurationDescription(const VpcConfigurationDescription &value)
AmazonopensearchserviceDestinationDescription & WithRoleARN(Aws::String &&value)
AmazonopensearchserviceDestinationDescription & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
AmazonopensearchserviceDestinationDescription & WithTypeName(const Aws::String &value)
AmazonopensearchserviceDestinationDescription & WithClusterEndpoint(const Aws::String &value)
AmazonopensearchserviceDestinationDescription & WithS3BackupMode(AmazonopensearchserviceS3BackupMode &&value)
AmazonopensearchserviceDestinationDescription & WithIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod &&value)
AmazonopensearchserviceDestinationDescription & WithRoleARN(const Aws::String &value)
AmazonopensearchserviceDestinationDescription & WithS3DestinationDescription(const S3DestinationDescription &value)
AmazonopensearchserviceDestinationDescription & WithVpcConfigurationDescription(VpcConfigurationDescription &&value)
AmazonopensearchserviceDestinationDescription & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
AmazonopensearchserviceDestinationDescription & WithDocumentIdOptions(DocumentIdOptions &&value)
AmazonopensearchserviceDestinationDescription & WithDomainARN(const char *value)
AmazonopensearchserviceDestinationDescription & WithBufferingHints(const AmazonopensearchserviceBufferingHints &value)
AWS_FIREHOSE_API AmazonopensearchserviceDestinationDescription(Aws::Utils::Json::JsonView jsonValue)
AmazonopensearchserviceDestinationDescription & WithProcessingConfiguration(const ProcessingConfiguration &value)
AmazonopensearchserviceDestinationDescription & WithRetryOptions(const AmazonopensearchserviceRetryOptions &value)
AmazonopensearchserviceDestinationDescription & WithClusterEndpoint(Aws::String &&value)
AmazonopensearchserviceDestinationDescription & WithTypeName(Aws::String &&value)
AmazonopensearchserviceDestinationDescription & WithTypeName(const char *value)
void SetIndexRotationPeriod(const AmazonopensearchserviceIndexRotationPeriod &value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AmazonopensearchserviceDestinationDescription & WithRetryOptions(AmazonopensearchserviceRetryOptions &&value)
AmazonopensearchserviceDestinationDescription & WithDocumentIdOptions(const DocumentIdOptions &value)
AmazonopensearchserviceDestinationDescription & WithClusterEndpoint(const char *value)
AmazonopensearchserviceDestinationDescription & WithDomainARN(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue