/*
* 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 pinpoint-2016-12-01.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.Pinpoint.Model
{
///
/// The default sending limits for journeys in the application. To override these limits
/// and define custom limits for a specific journey, use the Journey resource.
///
public partial class ApplicationSettingsJourneyLimits
{
private int? _dailyCap;
private JourneyTimeframeCap _timeframeCap;
private int? _totalCap;
///
/// Gets and sets the property DailyCap.
///
/// The daily number of messages that an endpoint can receive from all journeys. The maximum
/// value is 100. If set to 0, this limit will not apply.
///
///
public int DailyCap
{
get { return this._dailyCap.GetValueOrDefault(); }
set { this._dailyCap = value; }
}
// Check to see if DailyCap property is set
internal bool IsSetDailyCap()
{
return this._dailyCap.HasValue;
}
///
/// Gets and sets the property TimeframeCap.
///
/// The default maximum number of messages that can be sent to an endpoint during the
/// specified timeframe for all journeys.
///
///
public JourneyTimeframeCap TimeframeCap
{
get { return this._timeframeCap; }
set { this._timeframeCap = value; }
}
// Check to see if TimeframeCap property is set
internal bool IsSetTimeframeCap()
{
return this._timeframeCap != null;
}
///
/// Gets and sets the property TotalCap.
///
/// The default maximum number of messages that a single journey can sent to a single
/// endpoint. The maximum value is 100. If set to 0, this limit will not apply.
///
///
public int TotalCap
{
get { return this._totalCap.GetValueOrDefault(); }
set { this._totalCap = value; }
}
// Check to see if TotalCap property is set
internal bool IsSetTotalCap()
{
return this._totalCap.HasValue;
}
}
}