AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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 template<typename RoleARNT = Aws::String>
59 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
60 template<typename RoleARNT = Aws::String>
61 AmazonopensearchserviceDestinationConfiguration& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
63
65
71 inline const Aws::String& GetDomainARN() const { return m_domainARN; }
72 inline bool DomainARNHasBeenSet() const { return m_domainARNHasBeenSet; }
73 template<typename DomainARNT = Aws::String>
74 void SetDomainARN(DomainARNT&& value) { m_domainARNHasBeenSet = true; m_domainARN = std::forward<DomainARNT>(value); }
75 template<typename DomainARNT = Aws::String>
76 AmazonopensearchserviceDestinationConfiguration& WithDomainARN(DomainARNT&& value) { SetDomainARN(std::forward<DomainARNT>(value)); return *this;}
78
80
84 inline const Aws::String& GetClusterEndpoint() const { return m_clusterEndpoint; }
85 inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; }
86 template<typename ClusterEndpointT = Aws::String>
87 void SetClusterEndpoint(ClusterEndpointT&& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = std::forward<ClusterEndpointT>(value); }
88 template<typename ClusterEndpointT = Aws::String>
89 AmazonopensearchserviceDestinationConfiguration& WithClusterEndpoint(ClusterEndpointT&& value) { SetClusterEndpoint(std::forward<ClusterEndpointT>(value)); return *this;}
91
93
96 inline const Aws::String& GetIndexName() const { return m_indexName; }
97 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
98 template<typename IndexNameT = Aws::String>
99 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
100 template<typename IndexNameT = Aws::String>
101 AmazonopensearchserviceDestinationConfiguration& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
103
105
110 inline const Aws::String& GetTypeName() const { return m_typeName; }
111 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
112 template<typename TypeNameT = Aws::String>
113 void SetTypeName(TypeNameT&& value) { m_typeNameHasBeenSet = true; m_typeName = std::forward<TypeNameT>(value); }
114 template<typename TypeNameT = Aws::String>
115 AmazonopensearchserviceDestinationConfiguration& WithTypeName(TypeNameT&& value) { SetTypeName(std::forward<TypeNameT>(value)); return *this;}
117
119
123 inline AmazonopensearchserviceIndexRotationPeriod GetIndexRotationPeriod() const { return m_indexRotationPeriod; }
124 inline bool IndexRotationPeriodHasBeenSet() const { return m_indexRotationPeriodHasBeenSet; }
125 inline void SetIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = value; }
128
130
134 inline const AmazonopensearchserviceBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
135 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
136 template<typename BufferingHintsT = AmazonopensearchserviceBufferingHints>
137 void SetBufferingHints(BufferingHintsT&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::forward<BufferingHintsT>(value); }
138 template<typename BufferingHintsT = AmazonopensearchserviceBufferingHints>
139 AmazonopensearchserviceDestinationConfiguration& WithBufferingHints(BufferingHintsT&& value) { SetBufferingHints(std::forward<BufferingHintsT>(value)); return *this;}
141
143
147 inline const AmazonopensearchserviceRetryOptions& GetRetryOptions() const { return m_retryOptions; }
148 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
149 template<typename RetryOptionsT = AmazonopensearchserviceRetryOptions>
150 void SetRetryOptions(RetryOptionsT&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::forward<RetryOptionsT>(value); }
151 template<typename RetryOptionsT = AmazonopensearchserviceRetryOptions>
152 AmazonopensearchserviceDestinationConfiguration& WithRetryOptions(RetryOptionsT&& value) { SetRetryOptions(std::forward<RetryOptionsT>(value)); return *this;}
154
156
164 inline AmazonopensearchserviceS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
165 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
166 inline void SetS3BackupMode(AmazonopensearchserviceS3BackupMode value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
169
171
172 inline const S3DestinationConfiguration& GetS3Configuration() const { return m_s3Configuration; }
173 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
174 template<typename S3ConfigurationT = S3DestinationConfiguration>
175 void SetS3Configuration(S3ConfigurationT&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::forward<S3ConfigurationT>(value); }
176 template<typename S3ConfigurationT = S3DestinationConfiguration>
177 AmazonopensearchserviceDestinationConfiguration& WithS3Configuration(S3ConfigurationT&& value) { SetS3Configuration(std::forward<S3ConfigurationT>(value)); return *this;}
179
181
182 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
183 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
184 template<typename ProcessingConfigurationT = ProcessingConfiguration>
185 void SetProcessingConfiguration(ProcessingConfigurationT&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::forward<ProcessingConfigurationT>(value); }
186 template<typename ProcessingConfigurationT = ProcessingConfiguration>
187 AmazonopensearchserviceDestinationConfiguration& WithProcessingConfiguration(ProcessingConfigurationT&& value) { SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value)); return *this;}
189
191
192 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
193 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
194 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
195 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value); }
196 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
197 AmazonopensearchserviceDestinationConfiguration& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value)); return *this;}
199
201
202 inline const VpcConfiguration& GetVpcConfiguration() const { return m_vpcConfiguration; }
203 inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
204 template<typename VpcConfigurationT = VpcConfiguration>
205 void SetVpcConfiguration(VpcConfigurationT&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::forward<VpcConfigurationT>(value); }
206 template<typename VpcConfigurationT = VpcConfiguration>
207 AmazonopensearchserviceDestinationConfiguration& WithVpcConfiguration(VpcConfigurationT&& value) { SetVpcConfiguration(std::forward<VpcConfigurationT>(value)); return *this;}
209
211
215 inline const DocumentIdOptions& GetDocumentIdOptions() const { return m_documentIdOptions; }
216 inline bool DocumentIdOptionsHasBeenSet() const { return m_documentIdOptionsHasBeenSet; }
217 template<typename DocumentIdOptionsT = DocumentIdOptions>
218 void SetDocumentIdOptions(DocumentIdOptionsT&& value) { m_documentIdOptionsHasBeenSet = true; m_documentIdOptions = std::forward<DocumentIdOptionsT>(value); }
219 template<typename DocumentIdOptionsT = DocumentIdOptions>
220 AmazonopensearchserviceDestinationConfiguration& WithDocumentIdOptions(DocumentIdOptionsT&& value) { SetDocumentIdOptions(std::forward<DocumentIdOptionsT>(value)); return *this;}
222 private:
223
224 Aws::String m_roleARN;
225 bool m_roleARNHasBeenSet = false;
226
227 Aws::String m_domainARN;
228 bool m_domainARNHasBeenSet = false;
229
230 Aws::String m_clusterEndpoint;
231 bool m_clusterEndpointHasBeenSet = false;
232
233 Aws::String m_indexName;
234 bool m_indexNameHasBeenSet = false;
235
236 Aws::String m_typeName;
237 bool m_typeNameHasBeenSet = false;
238
240 bool m_indexRotationPeriodHasBeenSet = false;
241
242 AmazonopensearchserviceBufferingHints m_bufferingHints;
243 bool m_bufferingHintsHasBeenSet = false;
244
245 AmazonopensearchserviceRetryOptions m_retryOptions;
246 bool m_retryOptionsHasBeenSet = false;
247
249 bool m_s3BackupModeHasBeenSet = false;
250
251 S3DestinationConfiguration m_s3Configuration;
252 bool m_s3ConfigurationHasBeenSet = false;
253
254 ProcessingConfiguration m_processingConfiguration;
255 bool m_processingConfigurationHasBeenSet = false;
256
257 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
258 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
259
260 VpcConfiguration m_vpcConfiguration;
261 bool m_vpcConfigurationHasBeenSet = false;
262
263 DocumentIdOptions m_documentIdOptions;
264 bool m_documentIdOptionsHasBeenSet = false;
265 };
266
267} // namespace Model
268} // namespace Firehose
269} // namespace Aws
AmazonopensearchserviceDestinationConfiguration & WithProcessingConfiguration(ProcessingConfigurationT &&value)
AmazonopensearchserviceDestinationConfiguration & WithBufferingHints(BufferingHintsT &&value)
AmazonopensearchserviceDestinationConfiguration & WithVpcConfiguration(VpcConfigurationT &&value)
AmazonopensearchserviceDestinationConfiguration & WithS3BackupMode(AmazonopensearchserviceS3BackupMode value)
AmazonopensearchserviceDestinationConfiguration & WithDomainARN(DomainARNT &&value)
AmazonopensearchserviceDestinationConfiguration & WithTypeName(TypeNameT &&value)
AmazonopensearchserviceDestinationConfiguration & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
AmazonopensearchserviceDestinationConfiguration & WithIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod value)
AmazonopensearchserviceDestinationConfiguration & WithDocumentIdOptions(DocumentIdOptionsT &&value)
AmazonopensearchserviceDestinationConfiguration & WithRoleARN(RoleARNT &&value)
AmazonopensearchserviceDestinationConfiguration & WithIndexName(IndexNameT &&value)
AmazonopensearchserviceDestinationConfiguration & WithS3Configuration(S3ConfigurationT &&value)
AmazonopensearchserviceDestinationConfiguration & WithClusterEndpoint(ClusterEndpointT &&value)
AWS_FIREHOSE_API AmazonopensearchserviceDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API AmazonopensearchserviceDestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AmazonopensearchserviceDestinationConfiguration & WithRetryOptions(RetryOptionsT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue