AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
42 AWS_FIREHOSE_API AmazonopensearchserviceDestinationUpdate() = default;
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 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 AmazonopensearchserviceDestinationUpdate& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
61
63
68 inline const Aws::String& GetDomainARN() const { return m_domainARN; }
69 inline bool DomainARNHasBeenSet() const { return m_domainARNHasBeenSet; }
70 template<typename DomainARNT = Aws::String>
71 void SetDomainARN(DomainARNT&& value) { m_domainARNHasBeenSet = true; m_domainARN = std::forward<DomainARNT>(value); }
72 template<typename DomainARNT = Aws::String>
73 AmazonopensearchserviceDestinationUpdate& WithDomainARN(DomainARNT&& value) { SetDomainARN(std::forward<DomainARNT>(value)); return *this;}
75
77
81 inline const Aws::String& GetClusterEndpoint() const { return m_clusterEndpoint; }
82 inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; }
83 template<typename ClusterEndpointT = Aws::String>
84 void SetClusterEndpoint(ClusterEndpointT&& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = std::forward<ClusterEndpointT>(value); }
85 template<typename ClusterEndpointT = Aws::String>
86 AmazonopensearchserviceDestinationUpdate& WithClusterEndpoint(ClusterEndpointT&& value) { SetClusterEndpoint(std::forward<ClusterEndpointT>(value)); return *this;}
88
90
93 inline const Aws::String& GetIndexName() const { return m_indexName; }
94 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
95 template<typename IndexNameT = Aws::String>
96 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
97 template<typename IndexNameT = Aws::String>
98 AmazonopensearchserviceDestinationUpdate& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
100
102
111 inline const Aws::String& GetTypeName() const { return m_typeName; }
112 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
113 template<typename TypeNameT = Aws::String>
114 void SetTypeName(TypeNameT&& value) { m_typeNameHasBeenSet = true; m_typeName = std::forward<TypeNameT>(value); }
115 template<typename TypeNameT = Aws::String>
116 AmazonopensearchserviceDestinationUpdate& WithTypeName(TypeNameT&& value) { SetTypeName(std::forward<TypeNameT>(value)); return *this;}
118
120
124 inline AmazonopensearchserviceIndexRotationPeriod GetIndexRotationPeriod() const { return m_indexRotationPeriod; }
125 inline bool IndexRotationPeriodHasBeenSet() const { return m_indexRotationPeriodHasBeenSet; }
126 inline void SetIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = value; }
129
131
135 inline const AmazonopensearchserviceBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
136 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
137 template<typename BufferingHintsT = AmazonopensearchserviceBufferingHints>
138 void SetBufferingHints(BufferingHintsT&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::forward<BufferingHintsT>(value); }
139 template<typename BufferingHintsT = AmazonopensearchserviceBufferingHints>
140 AmazonopensearchserviceDestinationUpdate& WithBufferingHints(BufferingHintsT&& value) { SetBufferingHints(std::forward<BufferingHintsT>(value)); return *this;}
142
144
148 inline const AmazonopensearchserviceRetryOptions& GetRetryOptions() const { return m_retryOptions; }
149 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
150 template<typename RetryOptionsT = AmazonopensearchserviceRetryOptions>
151 void SetRetryOptions(RetryOptionsT&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::forward<RetryOptionsT>(value); }
152 template<typename RetryOptionsT = AmazonopensearchserviceRetryOptions>
153 AmazonopensearchserviceDestinationUpdate& WithRetryOptions(RetryOptionsT&& value) { SetRetryOptions(std::forward<RetryOptionsT>(value)); return *this;}
155
157
158 inline const S3DestinationUpdate& GetS3Update() const { return m_s3Update; }
159 inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
160 template<typename S3UpdateT = S3DestinationUpdate>
161 void SetS3Update(S3UpdateT&& value) { m_s3UpdateHasBeenSet = true; m_s3Update = std::forward<S3UpdateT>(value); }
162 template<typename S3UpdateT = S3DestinationUpdate>
163 AmazonopensearchserviceDestinationUpdate& WithS3Update(S3UpdateT&& value) { SetS3Update(std::forward<S3UpdateT>(value)); return *this;}
165
167
168 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
169 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
170 template<typename ProcessingConfigurationT = ProcessingConfiguration>
171 void SetProcessingConfiguration(ProcessingConfigurationT&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::forward<ProcessingConfigurationT>(value); }
172 template<typename ProcessingConfigurationT = ProcessingConfiguration>
173 AmazonopensearchserviceDestinationUpdate& WithProcessingConfiguration(ProcessingConfigurationT&& value) { SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value)); return *this;}
175
177
178 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
179 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
180 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
181 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value); }
182 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
183 AmazonopensearchserviceDestinationUpdate& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value)); return *this;}
185
187
191 inline const DocumentIdOptions& GetDocumentIdOptions() const { return m_documentIdOptions; }
192 inline bool DocumentIdOptionsHasBeenSet() const { return m_documentIdOptionsHasBeenSet; }
193 template<typename DocumentIdOptionsT = DocumentIdOptions>
194 void SetDocumentIdOptions(DocumentIdOptionsT&& value) { m_documentIdOptionsHasBeenSet = true; m_documentIdOptions = std::forward<DocumentIdOptionsT>(value); }
195 template<typename DocumentIdOptionsT = DocumentIdOptions>
196 AmazonopensearchserviceDestinationUpdate& WithDocumentIdOptions(DocumentIdOptionsT&& value) { SetDocumentIdOptions(std::forward<DocumentIdOptionsT>(value)); return *this;}
198 private:
199
200 Aws::String m_roleARN;
201 bool m_roleARNHasBeenSet = false;
202
203 Aws::String m_domainARN;
204 bool m_domainARNHasBeenSet = false;
205
206 Aws::String m_clusterEndpoint;
207 bool m_clusterEndpointHasBeenSet = false;
208
209 Aws::String m_indexName;
210 bool m_indexNameHasBeenSet = false;
211
212 Aws::String m_typeName;
213 bool m_typeNameHasBeenSet = false;
214
216 bool m_indexRotationPeriodHasBeenSet = false;
217
218 AmazonopensearchserviceBufferingHints m_bufferingHints;
219 bool m_bufferingHintsHasBeenSet = false;
220
221 AmazonopensearchserviceRetryOptions m_retryOptions;
222 bool m_retryOptionsHasBeenSet = false;
223
224 S3DestinationUpdate m_s3Update;
225 bool m_s3UpdateHasBeenSet = false;
226
227 ProcessingConfiguration m_processingConfiguration;
228 bool m_processingConfigurationHasBeenSet = false;
229
230 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
231 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
232
233 DocumentIdOptions m_documentIdOptions;
234 bool m_documentIdOptionsHasBeenSet = false;
235 };
236
237} // namespace Model
238} // namespace Firehose
239} // namespace Aws
AmazonopensearchserviceDestinationUpdate & WithClusterEndpoint(ClusterEndpointT &&value)
AWS_FIREHOSE_API AmazonopensearchserviceDestinationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AmazonopensearchserviceDestinationUpdate & WithRetryOptions(RetryOptionsT &&value)
AmazonopensearchserviceDestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
AmazonopensearchserviceDestinationUpdate & WithS3Update(S3UpdateT &&value)
AmazonopensearchserviceDestinationUpdate & WithRoleARN(RoleARNT &&value)
void SetIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod value)
AmazonopensearchserviceDestinationUpdate & WithProcessingConfiguration(ProcessingConfigurationT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AmazonopensearchserviceDestinationUpdate & WithIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod value)
AmazonopensearchserviceDestinationUpdate & WithDomainARN(DomainARNT &&value)
AmazonopensearchserviceDestinationUpdate & WithBufferingHints(BufferingHintsT &&value)
AmazonopensearchserviceDestinationUpdate & WithDocumentIdOptions(DocumentIdOptionsT &&value)
AWS_FIREHOSE_API AmazonopensearchserviceDestinationUpdate(Aws::Utils::Json::JsonView jsonValue)
AmazonopensearchserviceDestinationUpdate & WithIndexName(IndexNameT &&value)
AmazonopensearchserviceDestinationUpdate & WithTypeName(TypeNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue