/*
 * 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
{
    /// 
    /// Container for the parameters to the DescribeDBClusterBacktracks operation.
    /// Returns information about backtracks for a DB cluster.
    /// 
    ///  
    /// 
    /// For more information on Amazon Aurora, see 
    /// What is Amazon Aurora? in the Amazon Aurora User Guide.
    /// 
    ///   
    /// 
    /// This action only applies to Aurora MySQL DB clusters.
    /// 
    ///  
    /// 
    public partial class DescribeDBClusterBacktracksRequest : AmazonRDSRequest
    {
        private string _backtrackIdentifier;
        private string _dbClusterIdentifier;
        private List _filters = new List();
        private string _marker;
        private int? _maxRecords;
        /// 
        /// Gets and sets the property BacktrackIdentifier. 
        /// 
        /// If specified, this value is the backtrack identifier of the backtrack to be described.
        /// 
        ///  
        /// 
        /// Constraints:
        /// 
        ///   
        /// 
        /// Example: 123e4567-e89b-12d3-a456-426655440000 
        /// 
        /// 
        public string BacktrackIdentifier
        {
            get { return this._backtrackIdentifier; }
            set { this._backtrackIdentifier = value; }
        }
        // Check to see if BacktrackIdentifier property is set
        internal bool IsSetBacktrackIdentifier()
        {
            return this._backtrackIdentifier != null;
        }
        /// 
        /// Gets and sets the property DBClusterIdentifier. 
        /// 
        /// The DB cluster identifier of the DB cluster to be described. This parameter is stored
        /// as a lowercase string.
        /// 
        ///  
        /// 
        /// Constraints:
        /// 
        ///   -  
        /// 
        /// Must contain from 1 to 63 alphanumeric characters or hyphens.
        /// 
        ///  
  -  
        /// 
        /// First character must be a letter.
        /// 
        ///  
  -  
        /// 
        /// Can't end with a hyphen or contain two consecutive hyphens.
        /// 
        ///  
  
 
        /// 
        /// Example: my-cluster1 
        /// 
        /// 
        [AWSProperty(Required=true)]
        public string DBClusterIdentifier
        {
            get { return this._dbClusterIdentifier; }
            set { this._dbClusterIdentifier = value; }
        }
        // Check to see if DBClusterIdentifier property is set
        internal bool IsSetDBClusterIdentifier()
        {
            return this._dbClusterIdentifier != null;
        }
        /// 
        /// Gets and sets the property Filters. 
        /// 
        /// A filter that specifies one or more DB clusters to describe. Supported filters include
        /// the following:
        /// 
        ///   -  
        /// 
        ///  
db-cluster-backtrack-id - Accepts backtrack identifiers. The results
        /// list includes information about only the backtracks identified by these identifiers.
        /// 
        ///    -  
        /// 
        ///  
db-cluster-backtrack-status - Accepts any of the following backtrack
        /// status values:
        /// 
        ///   -  
        /// 
        ///  
applying 
        /// 
        ///    -  
        /// 
        ///  
completed 
        /// 
        ///    -  
        /// 
        ///  
failed 
        /// 
        ///    -  
        /// 
        ///  
pending 
        /// 
        ///    
 
        /// 
        /// The results list includes information about only the backtracks identified by these
        /// values.
        /// 
        ///    
        /// 
        public List Filters
        {
            get { return this._filters; }
            set { this._filters = value; }
        }
        // Check to see if Filters property is set
        internal bool IsSetFilters()
        {
            return this._filters != null && this._filters.Count > 0; 
        }
        /// 
        /// Gets and sets the property Marker. 
        /// 
        /// An optional pagination token provided by a previous DescribeDBClusterBacktracks
        /// request. If this parameter is specified, the response includes only records beyond
        /// the marker, up to the value specified by MaxRecords.
        /// 
        /// 
        public string Marker
        {
            get { return this._marker; }
            set { this._marker = value; }
        }
        // Check to see if Marker property is set
        internal bool IsSetMarker()
        {
            return this._marker != null;
        }
        /// 
        /// Gets and sets the property MaxRecords. 
        /// 
        /// The maximum number of records to include in the response. If more records exist than
        /// the specified MaxRecords value, a pagination token called a marker is
        /// included in the response so you can retrieve the remaining results.
        /// 
        ///  
        /// 
        /// Default: 100
        /// 
        ///  
        /// 
        /// Constraints: Minimum 20, maximum 100.
        /// 
        /// 
        public int MaxRecords
        {
            get { return this._maxRecords.GetValueOrDefault(); }
            set { this._maxRecords = value; }
        }
        // Check to see if MaxRecords property is set
        internal bool IsSetMaxRecords()
        {
            return this._maxRecords.HasValue; 
        }
    }
}