AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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 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 AmazonOpenSearchServerlessDestinationConfiguration& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
61
63
67 inline const Aws::String& GetCollectionEndpoint() const { return m_collectionEndpoint; }
68 inline bool CollectionEndpointHasBeenSet() const { return m_collectionEndpointHasBeenSet; }
69 template<typename CollectionEndpointT = Aws::String>
70 void SetCollectionEndpoint(CollectionEndpointT&& value) { m_collectionEndpointHasBeenSet = true; m_collectionEndpoint = std::forward<CollectionEndpointT>(value); }
71 template<typename CollectionEndpointT = Aws::String>
72 AmazonOpenSearchServerlessDestinationConfiguration& WithCollectionEndpoint(CollectionEndpointT&& value) { SetCollectionEndpoint(std::forward<CollectionEndpointT>(value)); return *this;}
74
76
79 inline const Aws::String& GetIndexName() const { return m_indexName; }
80 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
81 template<typename IndexNameT = Aws::String>
82 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
83 template<typename IndexNameT = Aws::String>
84 AmazonOpenSearchServerlessDestinationConfiguration& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
86
88
92 inline const AmazonOpenSearchServerlessBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
93 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
94 template<typename BufferingHintsT = AmazonOpenSearchServerlessBufferingHints>
95 void SetBufferingHints(BufferingHintsT&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::forward<BufferingHintsT>(value); }
96 template<typename BufferingHintsT = AmazonOpenSearchServerlessBufferingHints>
97 AmazonOpenSearchServerlessDestinationConfiguration& WithBufferingHints(BufferingHintsT&& value) { SetBufferingHints(std::forward<BufferingHintsT>(value)); return *this;}
99
101
106 inline const AmazonOpenSearchServerlessRetryOptions& GetRetryOptions() const { return m_retryOptions; }
107 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
108 template<typename RetryOptionsT = AmazonOpenSearchServerlessRetryOptions>
109 void SetRetryOptions(RetryOptionsT&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::forward<RetryOptionsT>(value); }
110 template<typename RetryOptionsT = AmazonOpenSearchServerlessRetryOptions>
111 AmazonOpenSearchServerlessDestinationConfiguration& WithRetryOptions(RetryOptionsT&& value) { SetRetryOptions(std::forward<RetryOptionsT>(value)); return *this;}
113
115
123 inline AmazonOpenSearchServerlessS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
124 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
125 inline void SetS3BackupMode(AmazonOpenSearchServerlessS3BackupMode value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
128
130
131 inline const S3DestinationConfiguration& GetS3Configuration() const { return m_s3Configuration; }
132 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
133 template<typename S3ConfigurationT = S3DestinationConfiguration>
134 void SetS3Configuration(S3ConfigurationT&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::forward<S3ConfigurationT>(value); }
135 template<typename S3ConfigurationT = S3DestinationConfiguration>
136 AmazonOpenSearchServerlessDestinationConfiguration& WithS3Configuration(S3ConfigurationT&& value) { SetS3Configuration(std::forward<S3ConfigurationT>(value)); return *this;}
138
140
141 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
142 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
143 template<typename ProcessingConfigurationT = ProcessingConfiguration>
144 void SetProcessingConfiguration(ProcessingConfigurationT&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::forward<ProcessingConfigurationT>(value); }
145 template<typename ProcessingConfigurationT = ProcessingConfiguration>
146 AmazonOpenSearchServerlessDestinationConfiguration& WithProcessingConfiguration(ProcessingConfigurationT&& value) { SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value)); return *this;}
148
150
151 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
152 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
153 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
154 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value); }
155 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
156 AmazonOpenSearchServerlessDestinationConfiguration& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value)); return *this;}
158
160
161 inline const VpcConfiguration& GetVpcConfiguration() const { return m_vpcConfiguration; }
162 inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
163 template<typename VpcConfigurationT = VpcConfiguration>
164 void SetVpcConfiguration(VpcConfigurationT&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::forward<VpcConfigurationT>(value); }
165 template<typename VpcConfigurationT = VpcConfiguration>
166 AmazonOpenSearchServerlessDestinationConfiguration& WithVpcConfiguration(VpcConfigurationT&& value) { SetVpcConfiguration(std::forward<VpcConfigurationT>(value)); return *this;}
168 private:
169
170 Aws::String m_roleARN;
171 bool m_roleARNHasBeenSet = false;
172
173 Aws::String m_collectionEndpoint;
174 bool m_collectionEndpointHasBeenSet = false;
175
176 Aws::String m_indexName;
177 bool m_indexNameHasBeenSet = false;
178
180 bool m_bufferingHintsHasBeenSet = false;
181
183 bool m_retryOptionsHasBeenSet = false;
184
186 bool m_s3BackupModeHasBeenSet = false;
187
188 S3DestinationConfiguration m_s3Configuration;
189 bool m_s3ConfigurationHasBeenSet = false;
190
191 ProcessingConfiguration m_processingConfiguration;
192 bool m_processingConfigurationHasBeenSet = false;
193
194 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
195 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
196
197 VpcConfiguration m_vpcConfiguration;
198 bool m_vpcConfigurationHasBeenSet = false;
199 };
200
201} // namespace Model
202} // namespace Firehose
203} // namespace Aws
AmazonOpenSearchServerlessDestinationConfiguration & WithCollectionEndpoint(CollectionEndpointT &&value)
AmazonOpenSearchServerlessDestinationConfiguration & WithIndexName(IndexNameT &&value)
AmazonOpenSearchServerlessDestinationConfiguration & WithBufferingHints(BufferingHintsT &&value)
AWS_FIREHOSE_API AmazonOpenSearchServerlessDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AmazonOpenSearchServerlessDestinationConfiguration & WithRetryOptions(RetryOptionsT &&value)
AmazonOpenSearchServerlessDestinationConfiguration & WithS3BackupMode(AmazonOpenSearchServerlessS3BackupMode value)
AWS_FIREHOSE_API AmazonOpenSearchServerlessDestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AmazonOpenSearchServerlessDestinationConfiguration & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
AmazonOpenSearchServerlessDestinationConfiguration & WithVpcConfiguration(VpcConfigurationT &&value)
AmazonOpenSearchServerlessDestinationConfiguration & WithProcessingConfiguration(ProcessingConfigurationT &&value)
AmazonOpenSearchServerlessDestinationConfiguration & WithS3Configuration(S3ConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue