AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 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 AmazonOpenSearchServerlessDestinationDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
59 inline AmazonOpenSearchServerlessDestinationDescription& 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); }
88 inline AmazonOpenSearchServerlessDestinationDescription& WithIndexName(const char* value) { SetIndexName(value); return *this;}
90
92
95 inline const AmazonOpenSearchServerlessBufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
96 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
97 inline void SetBufferingHints(const AmazonOpenSearchServerlessBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
98 inline void SetBufferingHints(AmazonOpenSearchServerlessBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
102
104
107 inline const AmazonOpenSearchServerlessRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
108 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
109 inline void SetRetryOptions(const AmazonOpenSearchServerlessRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
110 inline void SetRetryOptions(AmazonOpenSearchServerlessRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
114
116
119 inline const AmazonOpenSearchServerlessS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; }
120 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
121 inline void SetS3BackupMode(const AmazonOpenSearchServerlessS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
122 inline void SetS3BackupMode(AmazonOpenSearchServerlessS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); }
126
128
129 inline const S3DestinationDescription& GetS3DestinationDescription() const{ return m_s3DestinationDescription; }
130 inline bool S3DestinationDescriptionHasBeenSet() const { return m_s3DestinationDescriptionHasBeenSet; }
131 inline void SetS3DestinationDescription(const S3DestinationDescription& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = value; }
132 inline void SetS3DestinationDescription(S3DestinationDescription&& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = std::move(value); }
136
138
139 inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
140 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
141 inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
142 inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
146
148
149 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
150 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
151 inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
152 inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
156
158
159 inline const VpcConfigurationDescription& GetVpcConfigurationDescription() const{ return m_vpcConfigurationDescription; }
160 inline bool VpcConfigurationDescriptionHasBeenSet() const { return m_vpcConfigurationDescriptionHasBeenSet; }
161 inline void SetVpcConfigurationDescription(const VpcConfigurationDescription& value) { m_vpcConfigurationDescriptionHasBeenSet = true; m_vpcConfigurationDescription = value; }
162 inline void SetVpcConfigurationDescription(VpcConfigurationDescription&& value) { m_vpcConfigurationDescriptionHasBeenSet = true; m_vpcConfigurationDescription = std::move(value); }
166 private:
167
168 Aws::String m_roleARN;
169 bool m_roleARNHasBeenSet = false;
170
171 Aws::String m_collectionEndpoint;
172 bool m_collectionEndpointHasBeenSet = false;
173
174 Aws::String m_indexName;
175 bool m_indexNameHasBeenSet = false;
176
178 bool m_bufferingHintsHasBeenSet = false;
179
181 bool m_retryOptionsHasBeenSet = false;
182
184 bool m_s3BackupModeHasBeenSet = false;
185
186 S3DestinationDescription m_s3DestinationDescription;
187 bool m_s3DestinationDescriptionHasBeenSet = false;
188
189 ProcessingConfiguration m_processingConfiguration;
190 bool m_processingConfigurationHasBeenSet = false;
191
192 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
193 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
194
195 VpcConfigurationDescription m_vpcConfigurationDescription;
196 bool m_vpcConfigurationDescriptionHasBeenSet = false;
197 };
198
199} // namespace Model
200} // namespace Firehose
201} // namespace Aws
AmazonOpenSearchServerlessDestinationDescription & WithRoleARN(const Aws::String &value)
AmazonOpenSearchServerlessDestinationDescription & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
AmazonOpenSearchServerlessDestinationDescription & WithBufferingHints(AmazonOpenSearchServerlessBufferingHints &&value)
AmazonOpenSearchServerlessDestinationDescription & WithRetryOptions(AmazonOpenSearchServerlessRetryOptions &&value)
AmazonOpenSearchServerlessDestinationDescription & WithCollectionEndpoint(const Aws::String &value)
AmazonOpenSearchServerlessDestinationDescription & WithCollectionEndpoint(const char *value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AmazonOpenSearchServerlessDestinationDescription & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
AmazonOpenSearchServerlessDestinationDescription & WithVpcConfigurationDescription(VpcConfigurationDescription &&value)
AmazonOpenSearchServerlessDestinationDescription & WithCollectionEndpoint(Aws::String &&value)
AmazonOpenSearchServerlessDestinationDescription & WithBufferingHints(const AmazonOpenSearchServerlessBufferingHints &value)
AmazonOpenSearchServerlessDestinationDescription & WithS3BackupMode(const AmazonOpenSearchServerlessS3BackupMode &value)
AWS_FIREHOSE_API AmazonOpenSearchServerlessDestinationDescription(Aws::Utils::Json::JsonView jsonValue)
AmazonOpenSearchServerlessDestinationDescription & WithS3DestinationDescription(const S3DestinationDescription &value)
AmazonOpenSearchServerlessDestinationDescription & WithRoleARN(Aws::String &&value)
AmazonOpenSearchServerlessDestinationDescription & WithIndexName(const Aws::String &value)
AmazonOpenSearchServerlessDestinationDescription & WithRoleARN(const char *value)
AmazonOpenSearchServerlessDestinationDescription & WithIndexName(Aws::String &&value)
AmazonOpenSearchServerlessDestinationDescription & WithProcessingConfiguration(const ProcessingConfiguration &value)
AmazonOpenSearchServerlessDestinationDescription & WithS3DestinationDescription(S3DestinationDescription &&value)
AmazonOpenSearchServerlessDestinationDescription & WithS3BackupMode(AmazonOpenSearchServerlessS3BackupMode &&value)
AWS_FIREHOSE_API AmazonOpenSearchServerlessDestinationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AmazonOpenSearchServerlessDestinationDescription & WithRetryOptions(const AmazonOpenSearchServerlessRetryOptions &value)
AmazonOpenSearchServerlessDestinationDescription & WithVpcConfigurationDescription(const VpcConfigurationDescription &value)
AmazonOpenSearchServerlessDestinationDescription & WithIndexName(const char *value)
AmazonOpenSearchServerlessDestinationDescription & WithProcessingConfiguration(ProcessingConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue