AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AmazonOpenSearchServerlessDestinationDescription.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/S3DestinationDescription.h>
13#include <aws/firehose/model/ProcessingConfiguration.h>
14#include <aws/firehose/model/CloudWatchLoggingOptions.h>
15#include <aws/firehose/model/VpcConfigurationDescription.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
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 AmazonOpenSearchServerlessDestinationDescription& 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 AmazonOpenSearchServerlessDestinationDescription& 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 AmazonOpenSearchServerlessDestinationDescription& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
84
86
89 inline const AmazonOpenSearchServerlessBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
90 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
91 template<typename BufferingHintsT = AmazonOpenSearchServerlessBufferingHints>
92 void SetBufferingHints(BufferingHintsT&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::forward<BufferingHintsT>(value); }
93 template<typename BufferingHintsT = AmazonOpenSearchServerlessBufferingHints>
94 AmazonOpenSearchServerlessDestinationDescription& WithBufferingHints(BufferingHintsT&& value) { SetBufferingHints(std::forward<BufferingHintsT>(value)); return *this;}
96
98
101 inline const AmazonOpenSearchServerlessRetryOptions& GetRetryOptions() const { return m_retryOptions; }
102 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
103 template<typename RetryOptionsT = AmazonOpenSearchServerlessRetryOptions>
104 void SetRetryOptions(RetryOptionsT&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::forward<RetryOptionsT>(value); }
105 template<typename RetryOptionsT = AmazonOpenSearchServerlessRetryOptions>
106 AmazonOpenSearchServerlessDestinationDescription& WithRetryOptions(RetryOptionsT&& value) { SetRetryOptions(std::forward<RetryOptionsT>(value)); return *this;}
108
110
113 inline AmazonOpenSearchServerlessS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
114 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
115 inline void SetS3BackupMode(AmazonOpenSearchServerlessS3BackupMode value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
118
120
121 inline const S3DestinationDescription& GetS3DestinationDescription() const { return m_s3DestinationDescription; }
122 inline bool S3DestinationDescriptionHasBeenSet() const { return m_s3DestinationDescriptionHasBeenSet; }
123 template<typename S3DestinationDescriptionT = S3DestinationDescription>
124 void SetS3DestinationDescription(S3DestinationDescriptionT&& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = std::forward<S3DestinationDescriptionT>(value); }
125 template<typename S3DestinationDescriptionT = S3DestinationDescription>
126 AmazonOpenSearchServerlessDestinationDescription& WithS3DestinationDescription(S3DestinationDescriptionT&& value) { SetS3DestinationDescription(std::forward<S3DestinationDescriptionT>(value)); return *this;}
128
130
131 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
132 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
133 template<typename ProcessingConfigurationT = ProcessingConfiguration>
134 void SetProcessingConfiguration(ProcessingConfigurationT&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::forward<ProcessingConfigurationT>(value); }
135 template<typename ProcessingConfigurationT = ProcessingConfiguration>
136 AmazonOpenSearchServerlessDestinationDescription& WithProcessingConfiguration(ProcessingConfigurationT&& value) { SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value)); return *this;}
138
140
141 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
142 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
143 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
144 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value); }
145 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
146 AmazonOpenSearchServerlessDestinationDescription& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value)); return *this;}
148
150
151 inline const VpcConfigurationDescription& GetVpcConfigurationDescription() const { return m_vpcConfigurationDescription; }
152 inline bool VpcConfigurationDescriptionHasBeenSet() const { return m_vpcConfigurationDescriptionHasBeenSet; }
153 template<typename VpcConfigurationDescriptionT = VpcConfigurationDescription>
154 void SetVpcConfigurationDescription(VpcConfigurationDescriptionT&& value) { m_vpcConfigurationDescriptionHasBeenSet = true; m_vpcConfigurationDescription = std::forward<VpcConfigurationDescriptionT>(value); }
155 template<typename VpcConfigurationDescriptionT = VpcConfigurationDescription>
156 AmazonOpenSearchServerlessDestinationDescription& WithVpcConfigurationDescription(VpcConfigurationDescriptionT&& value) { SetVpcConfigurationDescription(std::forward<VpcConfigurationDescriptionT>(value)); return *this;}
158 private:
159
160 Aws::String m_roleARN;
161 bool m_roleARNHasBeenSet = false;
162
163 Aws::String m_collectionEndpoint;
164 bool m_collectionEndpointHasBeenSet = false;
165
166 Aws::String m_indexName;
167 bool m_indexNameHasBeenSet = false;
168
170 bool m_bufferingHintsHasBeenSet = false;
171
173 bool m_retryOptionsHasBeenSet = false;
174
176 bool m_s3BackupModeHasBeenSet = false;
177
178 S3DestinationDescription m_s3DestinationDescription;
179 bool m_s3DestinationDescriptionHasBeenSet = false;
180
181 ProcessingConfiguration m_processingConfiguration;
182 bool m_processingConfigurationHasBeenSet = false;
183
184 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
185 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
186
187 VpcConfigurationDescription m_vpcConfigurationDescription;
188 bool m_vpcConfigurationDescriptionHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace Firehose
193} // namespace Aws
AmazonOpenSearchServerlessDestinationDescription & WithProcessingConfiguration(ProcessingConfigurationT &&value)
AmazonOpenSearchServerlessDestinationDescription & WithS3DestinationDescription(S3DestinationDescriptionT &&value)
AmazonOpenSearchServerlessDestinationDescription & WithCollectionEndpoint(CollectionEndpointT &&value)
AmazonOpenSearchServerlessDestinationDescription & WithRoleARN(RoleARNT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AmazonOpenSearchServerlessDestinationDescription & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
AmazonOpenSearchServerlessDestinationDescription & WithBufferingHints(BufferingHintsT &&value)
AWS_FIREHOSE_API AmazonOpenSearchServerlessDestinationDescription(Aws::Utils::Json::JsonView jsonValue)
AmazonOpenSearchServerlessDestinationDescription & WithRetryOptions(RetryOptionsT &&value)
AmazonOpenSearchServerlessDestinationDescription & WithVpcConfigurationDescription(VpcConfigurationDescriptionT &&value)
AmazonOpenSearchServerlessDestinationDescription & WithS3BackupMode(AmazonOpenSearchServerlessS3BackupMode value)
AWS_FIREHOSE_API AmazonOpenSearchServerlessDestinationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AmazonOpenSearchServerlessDestinationDescription & WithIndexName(IndexNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue