/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the firehose-2015-08-04.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.KinesisFirehose.Model
{
///
/// The destination description in the Serverless offering for Amazon OpenSearch Service.
///
public partial class AmazonOpenSearchServerlessDestinationDescription
{
private AmazonOpenSearchServerlessBufferingHints _bufferingHints;
private CloudWatchLoggingOptions _cloudWatchLoggingOptions;
private string _collectionEndpoint;
private string _indexName;
private ProcessingConfiguration _processingConfiguration;
private AmazonOpenSearchServerlessRetryOptions _retryOptions;
private string _roleARN;
private AmazonOpenSearchServerlessS3BackupMode _s3BackupMode;
private S3DestinationDescription _s3DestinationDescription;
private VpcConfigurationDescription _vpcConfigurationDescription;
///
/// Gets and sets the property BufferingHints.
///
/// The buffering options.
///
///
public AmazonOpenSearchServerlessBufferingHints BufferingHints
{
get { return this._bufferingHints; }
set { this._bufferingHints = value; }
}
// Check to see if BufferingHints property is set
internal bool IsSetBufferingHints()
{
return this._bufferingHints != null;
}
///
/// Gets and sets the property CloudWatchLoggingOptions.
///
public CloudWatchLoggingOptions CloudWatchLoggingOptions
{
get { return this._cloudWatchLoggingOptions; }
set { this._cloudWatchLoggingOptions = value; }
}
// Check to see if CloudWatchLoggingOptions property is set
internal bool IsSetCloudWatchLoggingOptions()
{
return this._cloudWatchLoggingOptions != null;
}
///
/// Gets and sets the property CollectionEndpoint.
///
/// The endpoint to use when communicating with the collection in the Serverless offering
/// for Amazon OpenSearch Service.
///
///
[AWSProperty(Min=1, Max=512)]
public string CollectionEndpoint
{
get { return this._collectionEndpoint; }
set { this._collectionEndpoint = value; }
}
// Check to see if CollectionEndpoint property is set
internal bool IsSetCollectionEndpoint()
{
return this._collectionEndpoint != null;
}
///
/// Gets and sets the property IndexName.
///
/// The Serverless offering for Amazon OpenSearch Service index name.
///
///
[AWSProperty(Min=1, Max=80)]
public string IndexName
{
get { return this._indexName; }
set { this._indexName = value; }
}
// Check to see if IndexName property is set
internal bool IsSetIndexName()
{
return this._indexName != null;
}
///
/// Gets and sets the property ProcessingConfiguration.
///
public ProcessingConfiguration ProcessingConfiguration
{
get { return this._processingConfiguration; }
set { this._processingConfiguration = value; }
}
// Check to see if ProcessingConfiguration property is set
internal bool IsSetProcessingConfiguration()
{
return this._processingConfiguration != null;
}
///
/// Gets and sets the property RetryOptions.
///
/// The Serverless offering for Amazon OpenSearch Service retry options.
///
///
public AmazonOpenSearchServerlessRetryOptions RetryOptions
{
get { return this._retryOptions; }
set { this._retryOptions = value; }
}
// Check to see if RetryOptions property is set
internal bool IsSetRetryOptions()
{
return this._retryOptions != null;
}
///
/// Gets and sets the property RoleARN.
///
/// The Amazon Resource Name (ARN) of the AWS credentials.
///
///
[AWSProperty(Min=1, Max=512)]
public string RoleARN
{
get { return this._roleARN; }
set { this._roleARN = value; }
}
// Check to see if RoleARN property is set
internal bool IsSetRoleARN()
{
return this._roleARN != null;
}
///
/// Gets and sets the property S3BackupMode.
///
/// The Amazon S3 backup mode.
///
///
public AmazonOpenSearchServerlessS3BackupMode S3BackupMode
{
get { return this._s3BackupMode; }
set { this._s3BackupMode = value; }
}
// Check to see if S3BackupMode property is set
internal bool IsSetS3BackupMode()
{
return this._s3BackupMode != null;
}
///
/// Gets and sets the property S3DestinationDescription.
///
public S3DestinationDescription S3DestinationDescription
{
get { return this._s3DestinationDescription; }
set { this._s3DestinationDescription = value; }
}
// Check to see if S3DestinationDescription property is set
internal bool IsSetS3DestinationDescription()
{
return this._s3DestinationDescription != null;
}
///
/// Gets and sets the property VpcConfigurationDescription.
///
public VpcConfigurationDescription VpcConfigurationDescription
{
get { return this._vpcConfigurationDescription; }
set { this._vpcConfigurationDescription = value; }
}
// Check to see if VpcConfigurationDescription property is set
internal bool IsSetVpcConfigurationDescription()
{
return this._vpcConfigurationDescription != null;
}
}
}