AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
55 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
56 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
58 inline AmazonOpenSearchServerlessDestinationUpdate& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
59 inline AmazonOpenSearchServerlessDestinationUpdate& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
61
63
67 inline const Aws::String& GetCollectionEndpoint() const{ return m_collectionEndpoint; }
68 inline bool CollectionEndpointHasBeenSet() const { return m_collectionEndpointHasBeenSet; }
69 inline void SetCollectionEndpoint(const Aws::String& value) { m_collectionEndpointHasBeenSet = true; m_collectionEndpoint = value; }
70 inline void SetCollectionEndpoint(Aws::String&& value) { m_collectionEndpointHasBeenSet = true; m_collectionEndpoint = std::move(value); }
71 inline void SetCollectionEndpoint(const char* value) { m_collectionEndpointHasBeenSet = true; m_collectionEndpoint.assign(value); }
76
78
81 inline const Aws::String& GetIndexName() const{ return m_indexName; }
82 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
83 inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
84 inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
85 inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
87 inline AmazonOpenSearchServerlessDestinationUpdate& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
88 inline AmazonOpenSearchServerlessDestinationUpdate& WithIndexName(const char* value) { SetIndexName(value); return *this;}
90
92
96 inline const AmazonOpenSearchServerlessBufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
97 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
98 inline void SetBufferingHints(const AmazonOpenSearchServerlessBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
99 inline void SetBufferingHints(AmazonOpenSearchServerlessBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
103
105
110 inline const AmazonOpenSearchServerlessRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
111 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
112 inline void SetRetryOptions(const AmazonOpenSearchServerlessRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
113 inline void SetRetryOptions(AmazonOpenSearchServerlessRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
117
119
120 inline const S3DestinationUpdate& GetS3Update() const{ return m_s3Update; }
121 inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
122 inline void SetS3Update(const S3DestinationUpdate& value) { m_s3UpdateHasBeenSet = true; m_s3Update = value; }
123 inline void SetS3Update(S3DestinationUpdate&& value) { m_s3UpdateHasBeenSet = true; m_s3Update = std::move(value); }
127
129
130 inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
131 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
132 inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
133 inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
137
139
140 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
141 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
142 inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
143 inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
147 private:
148
149 Aws::String m_roleARN;
150 bool m_roleARNHasBeenSet = false;
151
152 Aws::String m_collectionEndpoint;
153 bool m_collectionEndpointHasBeenSet = false;
154
155 Aws::String m_indexName;
156 bool m_indexNameHasBeenSet = false;
157
159 bool m_bufferingHintsHasBeenSet = false;
160
162 bool m_retryOptionsHasBeenSet = false;
163
164 S3DestinationUpdate m_s3Update;
165 bool m_s3UpdateHasBeenSet = false;
166
167 ProcessingConfiguration m_processingConfiguration;
168 bool m_processingConfigurationHasBeenSet = false;
169
170 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
171 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace Firehose
176} // namespace Aws
AmazonOpenSearchServerlessDestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
AmazonOpenSearchServerlessDestinationUpdate & WithS3Update(S3DestinationUpdate &&value)
AmazonOpenSearchServerlessDestinationUpdate & WithRoleARN(const Aws::String &value)
AmazonOpenSearchServerlessDestinationUpdate & WithS3Update(const S3DestinationUpdate &value)
AmazonOpenSearchServerlessDestinationUpdate & WithCollectionEndpoint(const char *value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AmazonOpenSearchServerlessDestinationUpdate & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
AmazonOpenSearchServerlessDestinationUpdate & WithIndexName(const char *value)
AWS_FIREHOSE_API AmazonOpenSearchServerlessDestinationUpdate(Aws::Utils::Json::JsonView jsonValue)
AmazonOpenSearchServerlessDestinationUpdate & WithIndexName(Aws::String &&value)
AmazonOpenSearchServerlessDestinationUpdate & WithCollectionEndpoint(const Aws::String &value)
AmazonOpenSearchServerlessDestinationUpdate & WithCollectionEndpoint(Aws::String &&value)
AmazonOpenSearchServerlessDestinationUpdate & WithProcessingConfiguration(ProcessingConfiguration &&value)
void SetBufferingHints(const AmazonOpenSearchServerlessBufferingHints &value)
AmazonOpenSearchServerlessDestinationUpdate & WithBufferingHints(const AmazonOpenSearchServerlessBufferingHints &value)
AWS_FIREHOSE_API AmazonOpenSearchServerlessDestinationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AmazonOpenSearchServerlessDestinationUpdate & WithRoleARN(Aws::String &&value)
AmazonOpenSearchServerlessDestinationUpdate & WithProcessingConfiguration(const ProcessingConfiguration &value)
AmazonOpenSearchServerlessDestinationUpdate & WithIndexName(const Aws::String &value)
AmazonOpenSearchServerlessDestinationUpdate & WithRoleARN(const char *value)
AmazonOpenSearchServerlessDestinationUpdate & WithBufferingHints(AmazonOpenSearchServerlessBufferingHints &&value)
AmazonOpenSearchServerlessDestinationUpdate & WithRetryOptions(AmazonOpenSearchServerlessRetryOptions &&value)
AmazonOpenSearchServerlessDestinationUpdate & WithRetryOptions(const AmazonOpenSearchServerlessRetryOptions &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue