625 lines
26 KiB
C++
625 lines
26 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/firehose/Firehose_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/firehose/model/ElasticsearchIndexRotationPeriod.h>
|
|
#include <aws/firehose/model/ElasticsearchBufferingHints.h>
|
|
#include <aws/firehose/model/ElasticsearchRetryOptions.h>
|
|
#include <aws/firehose/model/ElasticsearchS3BackupMode.h>
|
|
#include <aws/firehose/model/S3DestinationDescription.h>
|
|
#include <aws/firehose/model/ProcessingConfiguration.h>
|
|
#include <aws/firehose/model/CloudWatchLoggingOptions.h>
|
|
#include <aws/firehose/model/VpcConfigurationDescription.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace Firehose
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>The destination description in Amazon ES.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchDestinationDescription">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_FIREHOSE_API ElasticsearchDestinationDescription
|
|
{
|
|
public:
|
|
ElasticsearchDestinationDescription();
|
|
ElasticsearchDestinationDescription(Aws::Utils::Json::JsonView jsonValue);
|
|
ElasticsearchDestinationDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the AWS credentials. For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
* Resource Names (ARNs) and AWS Service Namespaces</a>.</p>
|
|
*/
|
|
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the AWS credentials. For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
* Resource Names (ARNs) and AWS Service Namespaces</a>.</p>
|
|
*/
|
|
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the AWS credentials. For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
* Resource Names (ARNs) and AWS Service Namespaces</a>.</p>
|
|
*/
|
|
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the AWS credentials. For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
* Resource Names (ARNs) and AWS Service Namespaces</a>.</p>
|
|
*/
|
|
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the AWS credentials. For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
* Resource Names (ARNs) and AWS Service Namespaces</a>.</p>
|
|
*/
|
|
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the AWS credentials. For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
* Resource Names (ARNs) and AWS Service Namespaces</a>.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the AWS credentials. For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
* Resource Names (ARNs) and AWS Service Namespaces</a>.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the AWS credentials. For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
* Resource Names (ARNs) and AWS Service Namespaces</a>.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The ARN of the Amazon ES domain. For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
* Resource Names (ARNs) and AWS Service Namespaces</a>.</p> <p>Kinesis Data
|
|
* Firehose uses either <code>ClusterEndpoint</code> or <code>DomainARN</code> to
|
|
* send data to Amazon ES.</p>
|
|
*/
|
|
inline const Aws::String& GetDomainARN() const{ return m_domainARN; }
|
|
|
|
/**
|
|
* <p>The ARN of the Amazon ES domain. For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
* Resource Names (ARNs) and AWS Service Namespaces</a>.</p> <p>Kinesis Data
|
|
* Firehose uses either <code>ClusterEndpoint</code> or <code>DomainARN</code> to
|
|
* send data to Amazon ES.</p>
|
|
*/
|
|
inline bool DomainARNHasBeenSet() const { return m_domainARNHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ARN of the Amazon ES domain. For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
* Resource Names (ARNs) and AWS Service Namespaces</a>.</p> <p>Kinesis Data
|
|
* Firehose uses either <code>ClusterEndpoint</code> or <code>DomainARN</code> to
|
|
* send data to Amazon ES.</p>
|
|
*/
|
|
inline void SetDomainARN(const Aws::String& value) { m_domainARNHasBeenSet = true; m_domainARN = value; }
|
|
|
|
/**
|
|
* <p>The ARN of the Amazon ES domain. For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
* Resource Names (ARNs) and AWS Service Namespaces</a>.</p> <p>Kinesis Data
|
|
* Firehose uses either <code>ClusterEndpoint</code> or <code>DomainARN</code> to
|
|
* send data to Amazon ES.</p>
|
|
*/
|
|
inline void SetDomainARN(Aws::String&& value) { m_domainARNHasBeenSet = true; m_domainARN = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the Amazon ES domain. For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
* Resource Names (ARNs) and AWS Service Namespaces</a>.</p> <p>Kinesis Data
|
|
* Firehose uses either <code>ClusterEndpoint</code> or <code>DomainARN</code> to
|
|
* send data to Amazon ES.</p>
|
|
*/
|
|
inline void SetDomainARN(const char* value) { m_domainARNHasBeenSet = true; m_domainARN.assign(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the Amazon ES domain. For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
* Resource Names (ARNs) and AWS Service Namespaces</a>.</p> <p>Kinesis Data
|
|
* Firehose uses either <code>ClusterEndpoint</code> or <code>DomainARN</code> to
|
|
* send data to Amazon ES.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithDomainARN(const Aws::String& value) { SetDomainARN(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the Amazon ES domain. For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
* Resource Names (ARNs) and AWS Service Namespaces</a>.</p> <p>Kinesis Data
|
|
* Firehose uses either <code>ClusterEndpoint</code> or <code>DomainARN</code> to
|
|
* send data to Amazon ES.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithDomainARN(Aws::String&& value) { SetDomainARN(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the Amazon ES domain. For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
* Resource Names (ARNs) and AWS Service Namespaces</a>.</p> <p>Kinesis Data
|
|
* Firehose uses either <code>ClusterEndpoint</code> or <code>DomainARN</code> to
|
|
* send data to Amazon ES.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithDomainARN(const char* value) { SetDomainARN(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The endpoint to use when communicating with the cluster. Kinesis Data
|
|
* Firehose uses either this <code>ClusterEndpoint</code> or the
|
|
* <code>DomainARN</code> field to send data to Amazon ES.</p>
|
|
*/
|
|
inline const Aws::String& GetClusterEndpoint() const{ return m_clusterEndpoint; }
|
|
|
|
/**
|
|
* <p>The endpoint to use when communicating with the cluster. Kinesis Data
|
|
* Firehose uses either this <code>ClusterEndpoint</code> or the
|
|
* <code>DomainARN</code> field to send data to Amazon ES.</p>
|
|
*/
|
|
inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The endpoint to use when communicating with the cluster. Kinesis Data
|
|
* Firehose uses either this <code>ClusterEndpoint</code> or the
|
|
* <code>DomainARN</code> field to send data to Amazon ES.</p>
|
|
*/
|
|
inline void SetClusterEndpoint(const Aws::String& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = value; }
|
|
|
|
/**
|
|
* <p>The endpoint to use when communicating with the cluster. Kinesis Data
|
|
* Firehose uses either this <code>ClusterEndpoint</code> or the
|
|
* <code>DomainARN</code> field to send data to Amazon ES.</p>
|
|
*/
|
|
inline void SetClusterEndpoint(Aws::String&& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = std::move(value); }
|
|
|
|
/**
|
|
* <p>The endpoint to use when communicating with the cluster. Kinesis Data
|
|
* Firehose uses either this <code>ClusterEndpoint</code> or the
|
|
* <code>DomainARN</code> field to send data to Amazon ES.</p>
|
|
*/
|
|
inline void SetClusterEndpoint(const char* value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint.assign(value); }
|
|
|
|
/**
|
|
* <p>The endpoint to use when communicating with the cluster. Kinesis Data
|
|
* Firehose uses either this <code>ClusterEndpoint</code> or the
|
|
* <code>DomainARN</code> field to send data to Amazon ES.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithClusterEndpoint(const Aws::String& value) { SetClusterEndpoint(value); return *this;}
|
|
|
|
/**
|
|
* <p>The endpoint to use when communicating with the cluster. Kinesis Data
|
|
* Firehose uses either this <code>ClusterEndpoint</code> or the
|
|
* <code>DomainARN</code> field to send data to Amazon ES.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithClusterEndpoint(Aws::String&& value) { SetClusterEndpoint(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The endpoint to use when communicating with the cluster. Kinesis Data
|
|
* Firehose uses either this <code>ClusterEndpoint</code> or the
|
|
* <code>DomainARN</code> field to send data to Amazon ES.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithClusterEndpoint(const char* value) { SetClusterEndpoint(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The Elasticsearch index name.</p>
|
|
*/
|
|
inline const Aws::String& GetIndexName() const{ return m_indexName; }
|
|
|
|
/**
|
|
* <p>The Elasticsearch index name.</p>
|
|
*/
|
|
inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Elasticsearch index name.</p>
|
|
*/
|
|
inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
|
|
|
|
/**
|
|
* <p>The Elasticsearch index name.</p>
|
|
*/
|
|
inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Elasticsearch index name.</p>
|
|
*/
|
|
inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
|
|
|
|
/**
|
|
* <p>The Elasticsearch index name.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Elasticsearch index name.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Elasticsearch index name.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithIndexName(const char* value) { SetIndexName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The Elasticsearch type name. This applies to Elasticsearch 6.x and lower
|
|
* versions. For Elasticsearch 7.x, there's no value for <code>TypeName</code>.</p>
|
|
*/
|
|
inline const Aws::String& GetTypeName() const{ return m_typeName; }
|
|
|
|
/**
|
|
* <p>The Elasticsearch type name. This applies to Elasticsearch 6.x and lower
|
|
* versions. For Elasticsearch 7.x, there's no value for <code>TypeName</code>.</p>
|
|
*/
|
|
inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Elasticsearch type name. This applies to Elasticsearch 6.x and lower
|
|
* versions. For Elasticsearch 7.x, there's no value for <code>TypeName</code>.</p>
|
|
*/
|
|
inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
|
|
|
|
/**
|
|
* <p>The Elasticsearch type name. This applies to Elasticsearch 6.x and lower
|
|
* versions. For Elasticsearch 7.x, there's no value for <code>TypeName</code>.</p>
|
|
*/
|
|
inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Elasticsearch type name. This applies to Elasticsearch 6.x and lower
|
|
* versions. For Elasticsearch 7.x, there's no value for <code>TypeName</code>.</p>
|
|
*/
|
|
inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
|
|
|
|
/**
|
|
* <p>The Elasticsearch type name. This applies to Elasticsearch 6.x and lower
|
|
* versions. For Elasticsearch 7.x, there's no value for <code>TypeName</code>.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Elasticsearch type name. This applies to Elasticsearch 6.x and lower
|
|
* versions. For Elasticsearch 7.x, there's no value for <code>TypeName</code>.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Elasticsearch type name. This applies to Elasticsearch 6.x and lower
|
|
* versions. For Elasticsearch 7.x, there's no value for <code>TypeName</code>.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithTypeName(const char* value) { SetTypeName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The Elasticsearch index rotation period</p>
|
|
*/
|
|
inline const ElasticsearchIndexRotationPeriod& GetIndexRotationPeriod() const{ return m_indexRotationPeriod; }
|
|
|
|
/**
|
|
* <p>The Elasticsearch index rotation period</p>
|
|
*/
|
|
inline bool IndexRotationPeriodHasBeenSet() const { return m_indexRotationPeriodHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Elasticsearch index rotation period</p>
|
|
*/
|
|
inline void SetIndexRotationPeriod(const ElasticsearchIndexRotationPeriod& value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = value; }
|
|
|
|
/**
|
|
* <p>The Elasticsearch index rotation period</p>
|
|
*/
|
|
inline void SetIndexRotationPeriod(ElasticsearchIndexRotationPeriod&& value) { m_indexRotationPeriodHasBeenSet = true; m_indexRotationPeriod = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Elasticsearch index rotation period</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithIndexRotationPeriod(const ElasticsearchIndexRotationPeriod& value) { SetIndexRotationPeriod(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Elasticsearch index rotation period</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithIndexRotationPeriod(ElasticsearchIndexRotationPeriod&& value) { SetIndexRotationPeriod(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The buffering options.</p>
|
|
*/
|
|
inline const ElasticsearchBufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
|
|
|
|
/**
|
|
* <p>The buffering options.</p>
|
|
*/
|
|
inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The buffering options.</p>
|
|
*/
|
|
inline void SetBufferingHints(const ElasticsearchBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
|
|
|
|
/**
|
|
* <p>The buffering options.</p>
|
|
*/
|
|
inline void SetBufferingHints(ElasticsearchBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
|
|
|
|
/**
|
|
* <p>The buffering options.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithBufferingHints(const ElasticsearchBufferingHints& value) { SetBufferingHints(value); return *this;}
|
|
|
|
/**
|
|
* <p>The buffering options.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithBufferingHints(ElasticsearchBufferingHints&& value) { SetBufferingHints(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The Amazon ES retry options.</p>
|
|
*/
|
|
inline const ElasticsearchRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
|
|
|
|
/**
|
|
* <p>The Amazon ES retry options.</p>
|
|
*/
|
|
inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon ES retry options.</p>
|
|
*/
|
|
inline void SetRetryOptions(const ElasticsearchRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
|
|
|
|
/**
|
|
* <p>The Amazon ES retry options.</p>
|
|
*/
|
|
inline void SetRetryOptions(ElasticsearchRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon ES retry options.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithRetryOptions(const ElasticsearchRetryOptions& value) { SetRetryOptions(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon ES retry options.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithRetryOptions(ElasticsearchRetryOptions&& value) { SetRetryOptions(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The Amazon S3 backup mode.</p>
|
|
*/
|
|
inline const ElasticsearchS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; }
|
|
|
|
/**
|
|
* <p>The Amazon S3 backup mode.</p>
|
|
*/
|
|
inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon S3 backup mode.</p>
|
|
*/
|
|
inline void SetS3BackupMode(const ElasticsearchS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
|
|
|
|
/**
|
|
* <p>The Amazon S3 backup mode.</p>
|
|
*/
|
|
inline void SetS3BackupMode(ElasticsearchS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon S3 backup mode.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithS3BackupMode(const ElasticsearchS3BackupMode& value) { SetS3BackupMode(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon S3 backup mode.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithS3BackupMode(ElasticsearchS3BackupMode&& value) { SetS3BackupMode(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The Amazon S3 destination.</p>
|
|
*/
|
|
inline const S3DestinationDescription& GetS3DestinationDescription() const{ return m_s3DestinationDescription; }
|
|
|
|
/**
|
|
* <p>The Amazon S3 destination.</p>
|
|
*/
|
|
inline bool S3DestinationDescriptionHasBeenSet() const { return m_s3DestinationDescriptionHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon S3 destination.</p>
|
|
*/
|
|
inline void SetS3DestinationDescription(const S3DestinationDescription& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = value; }
|
|
|
|
/**
|
|
* <p>The Amazon S3 destination.</p>
|
|
*/
|
|
inline void SetS3DestinationDescription(S3DestinationDescription&& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon S3 destination.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithS3DestinationDescription(const S3DestinationDescription& value) { SetS3DestinationDescription(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon S3 destination.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithS3DestinationDescription(S3DestinationDescription&& value) { SetS3DestinationDescription(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The data processing configuration.</p>
|
|
*/
|
|
inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
|
|
|
|
/**
|
|
* <p>The data processing configuration.</p>
|
|
*/
|
|
inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The data processing configuration.</p>
|
|
*/
|
|
inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
|
|
|
|
/**
|
|
* <p>The data processing configuration.</p>
|
|
*/
|
|
inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
|
|
|
|
/**
|
|
* <p>The data processing configuration.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithProcessingConfiguration(const ProcessingConfiguration& value) { SetProcessingConfiguration(value); return *this;}
|
|
|
|
/**
|
|
* <p>The data processing configuration.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithProcessingConfiguration(ProcessingConfiguration&& value) { SetProcessingConfiguration(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The Amazon CloudWatch logging options.</p>
|
|
*/
|
|
inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
|
|
|
|
/**
|
|
* <p>The Amazon CloudWatch logging options.</p>
|
|
*/
|
|
inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon CloudWatch logging options.</p>
|
|
*/
|
|
inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
|
|
|
|
/**
|
|
* <p>The Amazon CloudWatch logging options.</p>
|
|
*/
|
|
inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon CloudWatch logging options.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { SetCloudWatchLoggingOptions(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon CloudWatch logging options.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { SetCloudWatchLoggingOptions(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The details of the VPC of the Amazon ES destination.</p>
|
|
*/
|
|
inline const VpcConfigurationDescription& GetVpcConfigurationDescription() const{ return m_vpcConfigurationDescription; }
|
|
|
|
/**
|
|
* <p>The details of the VPC of the Amazon ES destination.</p>
|
|
*/
|
|
inline bool VpcConfigurationDescriptionHasBeenSet() const { return m_vpcConfigurationDescriptionHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The details of the VPC of the Amazon ES destination.</p>
|
|
*/
|
|
inline void SetVpcConfigurationDescription(const VpcConfigurationDescription& value) { m_vpcConfigurationDescriptionHasBeenSet = true; m_vpcConfigurationDescription = value; }
|
|
|
|
/**
|
|
* <p>The details of the VPC of the Amazon ES destination.</p>
|
|
*/
|
|
inline void SetVpcConfigurationDescription(VpcConfigurationDescription&& value) { m_vpcConfigurationDescriptionHasBeenSet = true; m_vpcConfigurationDescription = std::move(value); }
|
|
|
|
/**
|
|
* <p>The details of the VPC of the Amazon ES destination.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithVpcConfigurationDescription(const VpcConfigurationDescription& value) { SetVpcConfigurationDescription(value); return *this;}
|
|
|
|
/**
|
|
* <p>The details of the VPC of the Amazon ES destination.</p>
|
|
*/
|
|
inline ElasticsearchDestinationDescription& WithVpcConfigurationDescription(VpcConfigurationDescription&& value) { SetVpcConfigurationDescription(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_roleARN;
|
|
bool m_roleARNHasBeenSet;
|
|
|
|
Aws::String m_domainARN;
|
|
bool m_domainARNHasBeenSet;
|
|
|
|
Aws::String m_clusterEndpoint;
|
|
bool m_clusterEndpointHasBeenSet;
|
|
|
|
Aws::String m_indexName;
|
|
bool m_indexNameHasBeenSet;
|
|
|
|
Aws::String m_typeName;
|
|
bool m_typeNameHasBeenSet;
|
|
|
|
ElasticsearchIndexRotationPeriod m_indexRotationPeriod;
|
|
bool m_indexRotationPeriodHasBeenSet;
|
|
|
|
ElasticsearchBufferingHints m_bufferingHints;
|
|
bool m_bufferingHintsHasBeenSet;
|
|
|
|
ElasticsearchRetryOptions m_retryOptions;
|
|
bool m_retryOptionsHasBeenSet;
|
|
|
|
ElasticsearchS3BackupMode m_s3BackupMode;
|
|
bool m_s3BackupModeHasBeenSet;
|
|
|
|
S3DestinationDescription m_s3DestinationDescription;
|
|
bool m_s3DestinationDescriptionHasBeenSet;
|
|
|
|
ProcessingConfiguration m_processingConfiguration;
|
|
bool m_processingConfigurationHasBeenSet;
|
|
|
|
CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
|
|
bool m_cloudWatchLoggingOptionsHasBeenSet;
|
|
|
|
VpcConfigurationDescription m_vpcConfigurationDescription;
|
|
bool m_vpcConfigurationDescriptionHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Firehose
|
|
} // namespace Aws
|