AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AmazonOpenSearchServerlessDestinationUpdate.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/AmazonOpenSearchServerlessBufferingHints.h>
10#include <aws/firehose/model/AmazonOpenSearchServerlessRetryOptions.h>
11#include <aws/firehose/model/S3DestinationUpdate.h>
12#include <aws/firehose/model/ProcessingConfiguration.h>
13#include <aws/firehose/model/CloudWatchLoggingOptions.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Firehose
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_FIREHOSE_API AmazonOpenSearchServerlessDestinationUpdate() = default;
43 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
52 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
53 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
54 template<typename RoleARNT = Aws::String>
55 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
56 template<typename RoleARNT = Aws::String>
57 AmazonOpenSearchServerlessDestinationUpdate& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
59
61
65 inline const Aws::String& GetCollectionEndpoint() const { return m_collectionEndpoint; }
66 inline bool CollectionEndpointHasBeenSet() const { return m_collectionEndpointHasBeenSet; }
67 template<typename CollectionEndpointT = Aws::String>
68 void SetCollectionEndpoint(CollectionEndpointT&& value) { m_collectionEndpointHasBeenSet = true; m_collectionEndpoint = std::forward<CollectionEndpointT>(value); }
69 template<typename CollectionEndpointT = Aws::String>
70 AmazonOpenSearchServerlessDestinationUpdate& WithCollectionEndpoint(CollectionEndpointT&& value) { SetCollectionEndpoint(std::forward<CollectionEndpointT>(value)); return *this;}
72
74
77 inline const Aws::String& GetIndexName() const { return m_indexName; }
78 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
79 template<typename IndexNameT = Aws::String>
80 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
81 template<typename IndexNameT = Aws::String>
82 AmazonOpenSearchServerlessDestinationUpdate& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
84
86
90 inline const AmazonOpenSearchServerlessBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
91 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
92 template<typename BufferingHintsT = AmazonOpenSearchServerlessBufferingHints>
93 void SetBufferingHints(BufferingHintsT&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::forward<BufferingHintsT>(value); }
94 template<typename BufferingHintsT = AmazonOpenSearchServerlessBufferingHints>
95 AmazonOpenSearchServerlessDestinationUpdate& WithBufferingHints(BufferingHintsT&& value) { SetBufferingHints(std::forward<BufferingHintsT>(value)); return *this;}
97
99
104 inline const AmazonOpenSearchServerlessRetryOptions& GetRetryOptions() const { return m_retryOptions; }
105 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
106 template<typename RetryOptionsT = AmazonOpenSearchServerlessRetryOptions>
107 void SetRetryOptions(RetryOptionsT&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::forward<RetryOptionsT>(value); }
108 template<typename RetryOptionsT = AmazonOpenSearchServerlessRetryOptions>
109 AmazonOpenSearchServerlessDestinationUpdate& WithRetryOptions(RetryOptionsT&& value) { SetRetryOptions(std::forward<RetryOptionsT>(value)); return *this;}
111
113
114 inline const S3DestinationUpdate& GetS3Update() const { return m_s3Update; }
115 inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
116 template<typename S3UpdateT = S3DestinationUpdate>
117 void SetS3Update(S3UpdateT&& value) { m_s3UpdateHasBeenSet = true; m_s3Update = std::forward<S3UpdateT>(value); }
118 template<typename S3UpdateT = S3DestinationUpdate>
119 AmazonOpenSearchServerlessDestinationUpdate& WithS3Update(S3UpdateT&& value) { SetS3Update(std::forward<S3UpdateT>(value)); return *this;}
121
123
124 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
125 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
126 template<typename ProcessingConfigurationT = ProcessingConfiguration>
127 void SetProcessingConfiguration(ProcessingConfigurationT&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::forward<ProcessingConfigurationT>(value); }
128 template<typename ProcessingConfigurationT = ProcessingConfiguration>
129 AmazonOpenSearchServerlessDestinationUpdate& WithProcessingConfiguration(ProcessingConfigurationT&& value) { SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value)); return *this;}
131
133
134 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
135 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
136 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
137 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value); }
138 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
139 AmazonOpenSearchServerlessDestinationUpdate& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value)); return *this;}
141 private:
142
143 Aws::String m_roleARN;
144 bool m_roleARNHasBeenSet = false;
145
146 Aws::String m_collectionEndpoint;
147 bool m_collectionEndpointHasBeenSet = false;
148
149 Aws::String m_indexName;
150 bool m_indexNameHasBeenSet = false;
151
153 bool m_bufferingHintsHasBeenSet = false;
154
156 bool m_retryOptionsHasBeenSet = false;
157
158 S3DestinationUpdate m_s3Update;
159 bool m_s3UpdateHasBeenSet = false;
160
161 ProcessingConfiguration m_processingConfiguration;
162 bool m_processingConfigurationHasBeenSet = false;
163
164 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
165 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace Firehose
170} // namespace Aws
AmazonOpenSearchServerlessDestinationUpdate & WithIndexName(IndexNameT &&value)
AmazonOpenSearchServerlessDestinationUpdate & WithCollectionEndpoint(CollectionEndpointT &&value)
AmazonOpenSearchServerlessDestinationUpdate & WithRoleARN(RoleARNT &&value)
AmazonOpenSearchServerlessDestinationUpdate & WithProcessingConfiguration(ProcessingConfigurationT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AmazonOpenSearchServerlessDestinationUpdate & WithS3Update(S3UpdateT &&value)
AWS_FIREHOSE_API AmazonOpenSearchServerlessDestinationUpdate(Aws::Utils::Json::JsonView jsonValue)
AmazonOpenSearchServerlessDestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
AWS_FIREHOSE_API AmazonOpenSearchServerlessDestinationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AmazonOpenSearchServerlessDestinationUpdate & WithRetryOptions(RetryOptionsT &&value)
AmazonOpenSearchServerlessDestinationUpdate & WithBufferingHints(BufferingHintsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue