AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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 template<typename RoleARNT = Aws::String>
57 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
58 template<typename RoleARNT = Aws::String>
59 AmazonopensearchserviceDestinationDescription& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDomainARN() const { return m_domainARN; }
67 inline bool DomainARNHasBeenSet() const { return m_domainARNHasBeenSet; }
68 template<typename DomainARNT = Aws::String>
69 void SetDomainARN(DomainARNT&& value) { m_domainARNHasBeenSet = true; m_domainARN = std::forward<DomainARNT>(value); }
70 template<typename DomainARNT = Aws::String>
71 AmazonopensearchserviceDestinationDescription& WithDomainARN(DomainARNT&& value) { SetDomainARN(std::forward<DomainARNT>(value)); return *this;}
73
75
80 inline const Aws::String& GetClusterEndpoint() const { return m_clusterEndpoint; }
81 inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; }
82 template<typename ClusterEndpointT = Aws::String>
83 void SetClusterEndpoint(ClusterEndpointT&& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = std::forward<ClusterEndpointT>(value); }
84 template<typename ClusterEndpointT = Aws::String>
85 AmazonopensearchserviceDestinationDescription& WithClusterEndpoint(ClusterEndpointT&& value) { SetClusterEndpoint(std::forward<ClusterEndpointT>(value)); return *this;}
87
89
92 inline const Aws::String& GetIndexName() const { return m_indexName; }
93 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
94 template<typename IndexNameT = Aws::String>
95 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
96 template<typename IndexNameT = Aws::String>
97 AmazonopensearchserviceDestinationDescription& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
99
101
106 inline const Aws::String& GetTypeName() const { return m_typeName; }
107 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
108 template<typename TypeNameT = Aws::String>
109 void SetTypeName(TypeNameT&& value) { m_typeNameHasBeenSet = true; m_typeName = std::forward<TypeNameT>(value); }
110 template<typename TypeNameT = Aws::String>
111 AmazonopensearchserviceDestinationDescription& WithTypeName(TypeNameT&& value) { SetTypeName(std::forward<TypeNameT>(value)); return *this;}
113
115
118 inline AmazonopensearchserviceIndexRotationPeriod GetIndexRotationPeriod() const { return m_indexRotationPeriod; }
119 inline bool IndexRotationPeriodHasBeenSet() const { return m_indexRotationPeriodHasBeenSet; }
120 inline void SetIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = value; }
123
125
128 inline const AmazonopensearchserviceBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
129 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
130 template<typename BufferingHintsT = AmazonopensearchserviceBufferingHints>
131 void SetBufferingHints(BufferingHintsT&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::forward<BufferingHintsT>(value); }
132 template<typename BufferingHintsT = AmazonopensearchserviceBufferingHints>
133 AmazonopensearchserviceDestinationDescription& WithBufferingHints(BufferingHintsT&& value) { SetBufferingHints(std::forward<BufferingHintsT>(value)); return *this;}
135
137
140 inline const AmazonopensearchserviceRetryOptions& GetRetryOptions() const { return m_retryOptions; }
141 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
142 template<typename RetryOptionsT = AmazonopensearchserviceRetryOptions>
143 void SetRetryOptions(RetryOptionsT&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::forward<RetryOptionsT>(value); }
144 template<typename RetryOptionsT = AmazonopensearchserviceRetryOptions>
145 AmazonopensearchserviceDestinationDescription& WithRetryOptions(RetryOptionsT&& value) { SetRetryOptions(std::forward<RetryOptionsT>(value)); return *this;}
147
149
152 inline AmazonopensearchserviceS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
153 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
154 inline void SetS3BackupMode(AmazonopensearchserviceS3BackupMode value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
157
159
160 inline const S3DestinationDescription& GetS3DestinationDescription() const { return m_s3DestinationDescription; }
161 inline bool S3DestinationDescriptionHasBeenSet() const { return m_s3DestinationDescriptionHasBeenSet; }
162 template<typename S3DestinationDescriptionT = S3DestinationDescription>
163 void SetS3DestinationDescription(S3DestinationDescriptionT&& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = std::forward<S3DestinationDescriptionT>(value); }
164 template<typename S3DestinationDescriptionT = S3DestinationDescription>
165 AmazonopensearchserviceDestinationDescription& WithS3DestinationDescription(S3DestinationDescriptionT&& value) { SetS3DestinationDescription(std::forward<S3DestinationDescriptionT>(value)); return *this;}
167
169
170 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
171 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
172 template<typename ProcessingConfigurationT = ProcessingConfiguration>
173 void SetProcessingConfiguration(ProcessingConfigurationT&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::forward<ProcessingConfigurationT>(value); }
174 template<typename ProcessingConfigurationT = ProcessingConfiguration>
175 AmazonopensearchserviceDestinationDescription& WithProcessingConfiguration(ProcessingConfigurationT&& value) { SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value)); return *this;}
177
179
180 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
181 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
182 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
183 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value); }
184 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
185 AmazonopensearchserviceDestinationDescription& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value)); return *this;}
187
189
190 inline const VpcConfigurationDescription& GetVpcConfigurationDescription() const { return m_vpcConfigurationDescription; }
191 inline bool VpcConfigurationDescriptionHasBeenSet() const { return m_vpcConfigurationDescriptionHasBeenSet; }
192 template<typename VpcConfigurationDescriptionT = VpcConfigurationDescription>
193 void SetVpcConfigurationDescription(VpcConfigurationDescriptionT&& value) { m_vpcConfigurationDescriptionHasBeenSet = true; m_vpcConfigurationDescription = std::forward<VpcConfigurationDescriptionT>(value); }
194 template<typename VpcConfigurationDescriptionT = VpcConfigurationDescription>
195 AmazonopensearchserviceDestinationDescription& WithVpcConfigurationDescription(VpcConfigurationDescriptionT&& value) { SetVpcConfigurationDescription(std::forward<VpcConfigurationDescriptionT>(value)); return *this;}
197
199
203 inline const DocumentIdOptions& GetDocumentIdOptions() const { return m_documentIdOptions; }
204 inline bool DocumentIdOptionsHasBeenSet() const { return m_documentIdOptionsHasBeenSet; }
205 template<typename DocumentIdOptionsT = DocumentIdOptions>
206 void SetDocumentIdOptions(DocumentIdOptionsT&& value) { m_documentIdOptionsHasBeenSet = true; m_documentIdOptions = std::forward<DocumentIdOptionsT>(value); }
207 template<typename DocumentIdOptionsT = DocumentIdOptions>
208 AmazonopensearchserviceDestinationDescription& WithDocumentIdOptions(DocumentIdOptionsT&& value) { SetDocumentIdOptions(std::forward<DocumentIdOptionsT>(value)); return *this;}
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
228 bool m_indexRotationPeriodHasBeenSet = false;
229
230 AmazonopensearchserviceBufferingHints m_bufferingHints;
231 bool m_bufferingHintsHasBeenSet = false;
232
233 AmazonopensearchserviceRetryOptions m_retryOptions;
234 bool m_retryOptionsHasBeenSet = false;
235
237 bool m_s3BackupModeHasBeenSet = false;
238
239 S3DestinationDescription m_s3DestinationDescription;
240 bool m_s3DestinationDescriptionHasBeenSet = false;
241
242 ProcessingConfiguration m_processingConfiguration;
243 bool m_processingConfigurationHasBeenSet = false;
244
245 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
246 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
247
248 VpcConfigurationDescription m_vpcConfigurationDescription;
249 bool m_vpcConfigurationDescriptionHasBeenSet = false;
250
251 DocumentIdOptions m_documentIdOptions;
252 bool m_documentIdOptionsHasBeenSet = false;
253 };
254
255} // namespace Model
256} // namespace Firehose
257} // namespace Aws
AWS_FIREHOSE_API AmazonopensearchserviceDestinationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AmazonopensearchserviceDestinationDescription & WithBufferingHints(BufferingHintsT &&value)
AmazonopensearchserviceDestinationDescription & WithS3DestinationDescription(S3DestinationDescriptionT &&value)
AmazonopensearchserviceDestinationDescription & WithRoleARN(RoleARNT &&value)
AmazonopensearchserviceDestinationDescription & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
AmazonopensearchserviceDestinationDescription & WithDocumentIdOptions(DocumentIdOptionsT &&value)
AmazonopensearchserviceDestinationDescription & WithS3BackupMode(AmazonopensearchserviceS3BackupMode value)
AmazonopensearchserviceDestinationDescription & WithDomainARN(DomainARNT &&value)
AmazonopensearchserviceDestinationDescription & WithVpcConfigurationDescription(VpcConfigurationDescriptionT &&value)
AWS_FIREHOSE_API AmazonopensearchserviceDestinationDescription(Aws::Utils::Json::JsonView jsonValue)
AmazonopensearchserviceDestinationDescription & WithIndexName(IndexNameT &&value)
AmazonopensearchserviceDestinationDescription & WithRetryOptions(RetryOptionsT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AmazonopensearchserviceDestinationDescription & WithIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod value)
AmazonopensearchserviceDestinationDescription & WithClusterEndpoint(ClusterEndpointT &&value)
AmazonopensearchserviceDestinationDescription & WithTypeName(TypeNameT &&value)
AmazonopensearchserviceDestinationDescription & WithProcessingConfiguration(ProcessingConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue