/*
* 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 rds-2014-10-31.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.RDS.Model
{
///
/// This is the response object from the ModifyActivityStream operation.
///
public partial class ModifyActivityStreamResponse : AmazonWebServiceResponse
{
private bool? _engineNativeAuditFieldsIncluded;
private string _kinesisStreamName;
private string _kmsKeyId;
private ActivityStreamMode _mode;
private ActivityStreamPolicyStatus _policyStatus;
private ActivityStreamStatus _status;
///
/// Gets and sets the property EngineNativeAuditFieldsIncluded.
///
/// Indicates whether engine-native audit fields are included in the database activity
/// stream.
///
///
public bool EngineNativeAuditFieldsIncluded
{
get { return this._engineNativeAuditFieldsIncluded.GetValueOrDefault(); }
set { this._engineNativeAuditFieldsIncluded = value; }
}
// Check to see if EngineNativeAuditFieldsIncluded property is set
internal bool IsSetEngineNativeAuditFieldsIncluded()
{
return this._engineNativeAuditFieldsIncluded.HasValue;
}
///
/// Gets and sets the property KinesisStreamName.
///
/// The name of the Amazon Kinesis data stream to be used for the database activity stream.
///
///
public string KinesisStreamName
{
get { return this._kinesisStreamName; }
set { this._kinesisStreamName = value; }
}
// Check to see if KinesisStreamName property is set
internal bool IsSetKinesisStreamName()
{
return this._kinesisStreamName != null;
}
///
/// Gets and sets the property KmsKeyId.
///
/// The Amazon Web Services KMS key identifier for encryption of messages in the database
/// activity stream.
///
///
public string KmsKeyId
{
get { return this._kmsKeyId; }
set { this._kmsKeyId = value; }
}
// Check to see if KmsKeyId property is set
internal bool IsSetKmsKeyId()
{
return this._kmsKeyId != null;
}
///
/// Gets and sets the property Mode.
///
/// The mode of the database activity stream.
///
///
public ActivityStreamMode Mode
{
get { return this._mode; }
set { this._mode = value; }
}
// Check to see if Mode property is set
internal bool IsSetMode()
{
return this._mode != null;
}
///
/// Gets and sets the property PolicyStatus.
///
/// The status of the modification to the policy state of the database activity stream.
///
///
public ActivityStreamPolicyStatus PolicyStatus
{
get { return this._policyStatus; }
set { this._policyStatus = value; }
}
// Check to see if PolicyStatus property is set
internal bool IsSetPolicyStatus()
{
return this._policyStatus != null;
}
///
/// Gets and sets the property Status.
///
/// The status of the modification to the database activity stream.
///
///
public ActivityStreamStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}