AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AmazonOpenSearchServerlessDestinationConfiguration.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/AmazonOpenSearchServerlessS3BackupMode.h>
12#include <aws/firehose/model/S3DestinationConfiguration.h>
13#include <aws/firehose/model/ProcessingConfiguration.h>
14#include <aws/firehose/model/CloudWatchLoggingOptions.h>
15#include <aws/firehose/model/VpcConfiguration.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:
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 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
57 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
58 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
60 inline AmazonOpenSearchServerlessDestinationConfiguration& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
61 inline AmazonOpenSearchServerlessDestinationConfiguration& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
63
65
69 inline const Aws::String& GetCollectionEndpoint() const{ return m_collectionEndpoint; }
70 inline bool CollectionEndpointHasBeenSet() const { return m_collectionEndpointHasBeenSet; }
71 inline void SetCollectionEndpoint(const Aws::String& value) { m_collectionEndpointHasBeenSet = true; m_collectionEndpoint = value; }
72 inline void SetCollectionEndpoint(Aws::String&& value) { m_collectionEndpointHasBeenSet = true; m_collectionEndpoint = std::move(value); }
73 inline void SetCollectionEndpoint(const char* value) { m_collectionEndpointHasBeenSet = true; m_collectionEndpoint.assign(value); }
78
80
83 inline const Aws::String& GetIndexName() const{ return m_indexName; }
84 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
85 inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
86 inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
87 inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
90 inline AmazonOpenSearchServerlessDestinationConfiguration& WithIndexName(const char* value) { SetIndexName(value); return *this;}
92
94
98 inline const AmazonOpenSearchServerlessBufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
99 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
100 inline void SetBufferingHints(const AmazonOpenSearchServerlessBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
101 inline void SetBufferingHints(AmazonOpenSearchServerlessBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
105
107
112 inline const AmazonOpenSearchServerlessRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
113 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
114 inline void SetRetryOptions(const AmazonOpenSearchServerlessRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
115 inline void SetRetryOptions(AmazonOpenSearchServerlessRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
119
121
129 inline const AmazonOpenSearchServerlessS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; }
130 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
131 inline void SetS3BackupMode(const AmazonOpenSearchServerlessS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
132 inline void SetS3BackupMode(AmazonOpenSearchServerlessS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); }
136
138
139 inline const S3DestinationConfiguration& GetS3Configuration() const{ return m_s3Configuration; }
140 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
141 inline void SetS3Configuration(const S3DestinationConfiguration& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = value; }
142 inline void SetS3Configuration(S3DestinationConfiguration&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::move(value); }
146
148
149 inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
150 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
151 inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
152 inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
156
158
159 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
160 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
161 inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
162 inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
166
168
169 inline const VpcConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; }
170 inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
171 inline void SetVpcConfiguration(const VpcConfiguration& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = value; }
172 inline void SetVpcConfiguration(VpcConfiguration&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::move(value); }
176 private:
177
178 Aws::String m_roleARN;
179 bool m_roleARNHasBeenSet = false;
180
181 Aws::String m_collectionEndpoint;
182 bool m_collectionEndpointHasBeenSet = false;
183
184 Aws::String m_indexName;
185 bool m_indexNameHasBeenSet = false;
186
188 bool m_bufferingHintsHasBeenSet = false;
189
191 bool m_retryOptionsHasBeenSet = false;
192
194 bool m_s3BackupModeHasBeenSet = false;
195
196 S3DestinationConfiguration m_s3Configuration;
197 bool m_s3ConfigurationHasBeenSet = false;
198
199 ProcessingConfiguration m_processingConfiguration;
200 bool m_processingConfigurationHasBeenSet = false;
201
202 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
203 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
204
205 VpcConfiguration m_vpcConfiguration;
206 bool m_vpcConfigurationHasBeenSet = false;
207 };
208
209} // namespace Model
210} // namespace Firehose
211} // namespace Aws
AmazonOpenSearchServerlessDestinationConfiguration & WithIndexName(const Aws::String &value)
AmazonOpenSearchServerlessDestinationConfiguration & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
AmazonOpenSearchServerlessDestinationConfiguration & WithCollectionEndpoint(const Aws::String &value)
AmazonOpenSearchServerlessDestinationConfiguration & WithIndexName(const char *value)
AmazonOpenSearchServerlessDestinationConfiguration & WithIndexName(Aws::String &&value)
AmazonOpenSearchServerlessDestinationConfiguration & WithRoleARN(const char *value)
AWS_FIREHOSE_API AmazonOpenSearchServerlessDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AmazonOpenSearchServerlessDestinationConfiguration & WithCollectionEndpoint(const char *value)
AmazonOpenSearchServerlessDestinationConfiguration & WithS3Configuration(const S3DestinationConfiguration &value)
AmazonOpenSearchServerlessDestinationConfiguration & WithRetryOptions(AmazonOpenSearchServerlessRetryOptions &&value)
AmazonOpenSearchServerlessDestinationConfiguration & WithS3BackupMode(AmazonOpenSearchServerlessS3BackupMode &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIREHOSE_API AmazonOpenSearchServerlessDestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AmazonOpenSearchServerlessDestinationConfiguration & WithRoleARN(Aws::String &&value)
AmazonOpenSearchServerlessDestinationConfiguration & WithCollectionEndpoint(Aws::String &&value)
AmazonOpenSearchServerlessDestinationConfiguration & WithBufferingHints(AmazonOpenSearchServerlessBufferingHints &&value)
AmazonOpenSearchServerlessDestinationConfiguration & WithProcessingConfiguration(ProcessingConfiguration &&value)
AmazonOpenSearchServerlessDestinationConfiguration & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
AmazonOpenSearchServerlessDestinationConfiguration & WithProcessingConfiguration(const ProcessingConfiguration &value)
AmazonOpenSearchServerlessDestinationConfiguration & WithVpcConfiguration(const VpcConfiguration &value)
AmazonOpenSearchServerlessDestinationConfiguration & WithS3BackupMode(const AmazonOpenSearchServerlessS3BackupMode &value)
AmazonOpenSearchServerlessDestinationConfiguration & WithRetryOptions(const AmazonOpenSearchServerlessRetryOptions &value)
AmazonOpenSearchServerlessDestinationConfiguration & WithVpcConfiguration(VpcConfiguration &&value)
AmazonOpenSearchServerlessDestinationConfiguration & WithBufferingHints(const AmazonOpenSearchServerlessBufferingHints &value)
AmazonOpenSearchServerlessDestinationConfiguration & WithS3Configuration(S3DestinationConfiguration &&value)
AmazonOpenSearchServerlessDestinationConfiguration & WithRoleARN(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue