/*
 * 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 config-2014-11-12.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.ConfigService.Model
{
    /// 
    /// Provides options for how often Config delivers configuration snapshots to the Amazon
    /// S3 bucket in your delivery channel.
    /// 
    ///  
    /// 
    /// The frequency for a rule that triggers evaluations for your resources when Config
    /// delivers the configuration snapshot is set by one of two values, depending on which
    /// is less frequent:
    /// 
    ///   -  
    /// 
    /// The value for the 
deliveryFrequency parameter within the delivery channel
    /// configuration, which sets how often Config delivers configuration snapshots. This
    /// value also sets how often Config invokes evaluations for Config rules.
    /// 
    ///    -  
    /// 
    /// The value for the 
MaximumExecutionFrequency parameter, which sets the
    /// maximum frequency with which Config invokes evaluations for the rule. For more information,
    /// see ConfigRule.
    /// 
    ///    
 
    /// 
    /// If the deliveryFrequency value is less frequent than the MaximumExecutionFrequency
    /// value for a rule, Config invokes the rule only as often as the deliveryFrequency
    /// value.
    /// 
    ///   -  
    /// 
    /// For example, you want your rule to run evaluations when Config delivers the configuration
    /// snapshot.
    /// 
    ///  
  -  
    /// 
    /// You specify the 
MaximumExecutionFrequency value for Six_Hours.
    /// 
    /// 
    ///    -  
    /// 
    /// You then specify the delivery channel 
deliveryFrequency value for TwentyFour_Hours.
    /// 
    ///    -  
    /// 
    /// Because the value for 
deliveryFrequency is less frequent than MaximumExecutionFrequency,
    /// Config invokes evaluations for the rule every 24 hours. 
    /// 
    ///    
 
    /// 
    /// You should set the MaximumExecutionFrequency value to be at least as
    /// frequent as the deliveryFrequency value. You can view the deliveryFrequency
    /// value by using the DescribeDeliveryChannnels action.
    /// 
    ///  
    /// 
    /// To update the deliveryFrequency with which Config delivers your configuration
    /// snapshots, use the PutDeliveryChannel action.
    /// 
    /// 
    public partial class ConfigSnapshotDeliveryProperties
    {
        private MaximumExecutionFrequency _deliveryFrequency;
        /// 
        /// Gets and sets the property DeliveryFrequency. 
        /// 
        /// The frequency with which Config delivers configuration snapshots.
        /// 
        /// 
        public MaximumExecutionFrequency DeliveryFrequency
        {
            get { return this._deliveryFrequency; }
            set { this._deliveryFrequency = value; }
        }
        // Check to see if DeliveryFrequency property is set
        internal bool IsSetDeliveryFrequency()
        {
            return this._deliveryFrequency != null;
        }
    }
}