/*
* 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-email-2018-07-26.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.PinpointEmail.Model
{
///
/// An object that contains information about the volume of email sent on each day of
/// the analysis period.
///
public partial class DailyVolume
{
private List _domainIspPlacements = new List();
private DateTime? _startDate;
private VolumeStatistics _volumeStatistics;
///
/// Gets and sets the property DomainIspPlacements.
///
/// An object that contains inbox placement metrics for a specified day in the analysis
/// period, broken out by the recipient's email provider.
///
///
public List DomainIspPlacements
{
get { return this._domainIspPlacements; }
set { this._domainIspPlacements = value; }
}
// Check to see if DomainIspPlacements property is set
internal bool IsSetDomainIspPlacements()
{
return this._domainIspPlacements != null && this._domainIspPlacements.Count > 0;
}
///
/// Gets and sets the property StartDate.
///
/// The date that the DailyVolume metrics apply to, in Unix time.
///
///
public DateTime StartDate
{
get { return this._startDate.GetValueOrDefault(); }
set { this._startDate = value; }
}
// Check to see if StartDate property is set
internal bool IsSetStartDate()
{
return this._startDate.HasValue;
}
///
/// Gets and sets the property VolumeStatistics.
///
/// An object that contains inbox placement metrics for a specific day in the analysis
/// period.
///
///
public VolumeStatistics VolumeStatistics
{
get { return this._volumeStatistics; }
set { this._volumeStatistics = value; }
}
// Check to see if VolumeStatistics property is set
internal bool IsSetVolumeStatistics()
{
return this._volumeStatistics != null;
}
}
}