/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The destination description in the Serverless offering for Amazon OpenSearch
* Service.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the AWS credentials.
*/ inline const Aws::String& GetRoleARN() const{ return m_roleARN; } /** *The Amazon Resource Name (ARN) of the AWS credentials.
*/ inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; } /** *The Amazon Resource Name (ARN) of the AWS credentials.
*/ inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; } /** *The Amazon Resource Name (ARN) of the AWS credentials.
*/ inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); } /** *The Amazon Resource Name (ARN) of the AWS credentials.
*/ inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); } /** *The Amazon Resource Name (ARN) of the AWS credentials.
*/ inline AmazonOpenSearchServerlessDestinationDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;} /** *The Amazon Resource Name (ARN) of the AWS credentials.
*/ inline AmazonOpenSearchServerlessDestinationDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the AWS credentials.
*/ inline AmazonOpenSearchServerlessDestinationDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;} /** *The endpoint to use when communicating with the collection in the Serverless * offering for Amazon OpenSearch Service.
*/ inline const Aws::String& GetCollectionEndpoint() const{ return m_collectionEndpoint; } /** *The endpoint to use when communicating with the collection in the Serverless * offering for Amazon OpenSearch Service.
*/ inline bool CollectionEndpointHasBeenSet() const { return m_collectionEndpointHasBeenSet; } /** *The endpoint to use when communicating with the collection in the Serverless * offering for Amazon OpenSearch Service.
*/ inline void SetCollectionEndpoint(const Aws::String& value) { m_collectionEndpointHasBeenSet = true; m_collectionEndpoint = value; } /** *The endpoint to use when communicating with the collection in the Serverless * offering for Amazon OpenSearch Service.
*/ inline void SetCollectionEndpoint(Aws::String&& value) { m_collectionEndpointHasBeenSet = true; m_collectionEndpoint = std::move(value); } /** *The endpoint to use when communicating with the collection in the Serverless * offering for Amazon OpenSearch Service.
*/ inline void SetCollectionEndpoint(const char* value) { m_collectionEndpointHasBeenSet = true; m_collectionEndpoint.assign(value); } /** *The endpoint to use when communicating with the collection in the Serverless * offering for Amazon OpenSearch Service.
*/ inline AmazonOpenSearchServerlessDestinationDescription& WithCollectionEndpoint(const Aws::String& value) { SetCollectionEndpoint(value); return *this;} /** *The endpoint to use when communicating with the collection in the Serverless * offering for Amazon OpenSearch Service.
*/ inline AmazonOpenSearchServerlessDestinationDescription& WithCollectionEndpoint(Aws::String&& value) { SetCollectionEndpoint(std::move(value)); return *this;} /** *The endpoint to use when communicating with the collection in the Serverless * offering for Amazon OpenSearch Service.
*/ inline AmazonOpenSearchServerlessDestinationDescription& WithCollectionEndpoint(const char* value) { SetCollectionEndpoint(value); return *this;} /** *The Serverless offering for Amazon OpenSearch Service index name.
*/ inline const Aws::String& GetIndexName() const{ return m_indexName; } /** *The Serverless offering for Amazon OpenSearch Service index name.
*/ inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; } /** *The Serverless offering for Amazon OpenSearch Service index name.
*/ inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; } /** *The Serverless offering for Amazon OpenSearch Service index name.
*/ inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); } /** *The Serverless offering for Amazon OpenSearch Service index name.
*/ inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); } /** *The Serverless offering for Amazon OpenSearch Service index name.
*/ inline AmazonOpenSearchServerlessDestinationDescription& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} /** *The Serverless offering for Amazon OpenSearch Service index name.
*/ inline AmazonOpenSearchServerlessDestinationDescription& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} /** *The Serverless offering for Amazon OpenSearch Service index name.
*/ inline AmazonOpenSearchServerlessDestinationDescription& WithIndexName(const char* value) { SetIndexName(value); return *this;} /** *The buffering options.
*/ inline const AmazonOpenSearchServerlessBufferingHints& GetBufferingHints() const{ return m_bufferingHints; } /** *The buffering options.
*/ inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; } /** *The buffering options.
*/ inline void SetBufferingHints(const AmazonOpenSearchServerlessBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; } /** *The buffering options.
*/ inline void SetBufferingHints(AmazonOpenSearchServerlessBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); } /** *The buffering options.
*/ inline AmazonOpenSearchServerlessDestinationDescription& WithBufferingHints(const AmazonOpenSearchServerlessBufferingHints& value) { SetBufferingHints(value); return *this;} /** *The buffering options.
*/ inline AmazonOpenSearchServerlessDestinationDescription& WithBufferingHints(AmazonOpenSearchServerlessBufferingHints&& value) { SetBufferingHints(std::move(value)); return *this;} /** *The Serverless offering for Amazon OpenSearch Service retry options.
*/ inline const AmazonOpenSearchServerlessRetryOptions& GetRetryOptions() const{ return m_retryOptions; } /** *The Serverless offering for Amazon OpenSearch Service retry options.
*/ inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; } /** *The Serverless offering for Amazon OpenSearch Service retry options.
*/ inline void SetRetryOptions(const AmazonOpenSearchServerlessRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; } /** *The Serverless offering for Amazon OpenSearch Service retry options.
*/ inline void SetRetryOptions(AmazonOpenSearchServerlessRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); } /** *The Serverless offering for Amazon OpenSearch Service retry options.
*/ inline AmazonOpenSearchServerlessDestinationDescription& WithRetryOptions(const AmazonOpenSearchServerlessRetryOptions& value) { SetRetryOptions(value); return *this;} /** *The Serverless offering for Amazon OpenSearch Service retry options.
*/ inline AmazonOpenSearchServerlessDestinationDescription& WithRetryOptions(AmazonOpenSearchServerlessRetryOptions&& value) { SetRetryOptions(std::move(value)); return *this;} /** *The Amazon S3 backup mode.
*/ inline const AmazonOpenSearchServerlessS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; } /** *The Amazon S3 backup mode.
*/ inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; } /** *The Amazon S3 backup mode.
*/ inline void SetS3BackupMode(const AmazonOpenSearchServerlessS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; } /** *The Amazon S3 backup mode.
*/ inline void SetS3BackupMode(AmazonOpenSearchServerlessS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); } /** *The Amazon S3 backup mode.
*/ inline AmazonOpenSearchServerlessDestinationDescription& WithS3BackupMode(const AmazonOpenSearchServerlessS3BackupMode& value) { SetS3BackupMode(value); return *this;} /** *The Amazon S3 backup mode.
*/ inline AmazonOpenSearchServerlessDestinationDescription& WithS3BackupMode(AmazonOpenSearchServerlessS3BackupMode&& value) { SetS3BackupMode(std::move(value)); return *this;} inline const S3DestinationDescription& GetS3DestinationDescription() const{ return m_s3DestinationDescription; } inline bool S3DestinationDescriptionHasBeenSet() const { return m_s3DestinationDescriptionHasBeenSet; } inline void SetS3DestinationDescription(const S3DestinationDescription& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = value; } inline void SetS3DestinationDescription(S3DestinationDescription&& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = std::move(value); } inline AmazonOpenSearchServerlessDestinationDescription& WithS3DestinationDescription(const S3DestinationDescription& value) { SetS3DestinationDescription(value); return *this;} inline AmazonOpenSearchServerlessDestinationDescription& WithS3DestinationDescription(S3DestinationDescription&& value) { SetS3DestinationDescription(std::move(value)); return *this;} inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; } inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; } inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; } inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); } inline AmazonOpenSearchServerlessDestinationDescription& WithProcessingConfiguration(const ProcessingConfiguration& value) { SetProcessingConfiguration(value); return *this;} inline AmazonOpenSearchServerlessDestinationDescription& WithProcessingConfiguration(ProcessingConfiguration&& value) { SetProcessingConfiguration(std::move(value)); return *this;} inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; } inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; } inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; } inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); } inline AmazonOpenSearchServerlessDestinationDescription& WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { SetCloudWatchLoggingOptions(value); return *this;} inline AmazonOpenSearchServerlessDestinationDescription& WithCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { SetCloudWatchLoggingOptions(std::move(value)); return *this;} inline const VpcConfigurationDescription& GetVpcConfigurationDescription() const{ return m_vpcConfigurationDescription; } inline bool VpcConfigurationDescriptionHasBeenSet() const { return m_vpcConfigurationDescriptionHasBeenSet; } inline void SetVpcConfigurationDescription(const VpcConfigurationDescription& value) { m_vpcConfigurationDescriptionHasBeenSet = true; m_vpcConfigurationDescription = value; } inline void SetVpcConfigurationDescription(VpcConfigurationDescription&& value) { m_vpcConfigurationDescriptionHasBeenSet = true; m_vpcConfigurationDescription = std::move(value); } inline AmazonOpenSearchServerlessDestinationDescription& WithVpcConfigurationDescription(const VpcConfigurationDescription& value) { SetVpcConfigurationDescription(value); return *this;} inline AmazonOpenSearchServerlessDestinationDescription& WithVpcConfigurationDescription(VpcConfigurationDescription&& value) { SetVpcConfigurationDescription(std::move(value)); return *this;} private: Aws::String m_roleARN; bool m_roleARNHasBeenSet = false; Aws::String m_collectionEndpoint; bool m_collectionEndpointHasBeenSet = false; Aws::String m_indexName; bool m_indexNameHasBeenSet = false; AmazonOpenSearchServerlessBufferingHints m_bufferingHints; bool m_bufferingHintsHasBeenSet = false; AmazonOpenSearchServerlessRetryOptions m_retryOptions; bool m_retryOptionsHasBeenSet = false; AmazonOpenSearchServerlessS3BackupMode m_s3BackupMode; bool m_s3BackupModeHasBeenSet = false; S3DestinationDescription m_s3DestinationDescription; bool m_s3DestinationDescriptionHasBeenSet = false; ProcessingConfiguration m_processingConfiguration; bool m_processingConfigurationHasBeenSet = false; CloudWatchLoggingOptions m_cloudWatchLoggingOptions; bool m_cloudWatchLoggingOptionsHasBeenSet = false; VpcConfigurationDescription m_vpcConfigurationDescription; bool m_vpcConfigurationDescriptionHasBeenSet = false; }; } // namespace Model } // namespace Firehose } // namespace Aws