/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SESV2 { namespace Model { /** *

An object that contains information about the volume of email sent on each * day of the analysis period.

See Also:

AWS * API Reference

*/ class DailyVolume { public: AWS_SESV2_API DailyVolume(); AWS_SESV2_API DailyVolume(Aws::Utils::Json::JsonView jsonValue); AWS_SESV2_API DailyVolume& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The date that the DailyVolume metrics apply to, in Unix time.

*/ inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; } /** *

The date that the DailyVolume metrics apply to, in Unix time.

*/ inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; } /** *

The date that the DailyVolume metrics apply to, in Unix time.

*/ inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; } /** *

The date that the DailyVolume metrics apply to, in Unix time.

*/ inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); } /** *

The date that the DailyVolume metrics apply to, in Unix time.

*/ inline DailyVolume& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;} /** *

The date that the DailyVolume metrics apply to, in Unix time.

*/ inline DailyVolume& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;} /** *

An object that contains inbox placement metrics for a specific day in the * analysis period.

*/ inline const VolumeStatistics& GetVolumeStatistics() const{ return m_volumeStatistics; } /** *

An object that contains inbox placement metrics for a specific day in the * analysis period.

*/ inline bool VolumeStatisticsHasBeenSet() const { return m_volumeStatisticsHasBeenSet; } /** *

An object that contains inbox placement metrics for a specific day in the * analysis period.

*/ inline void SetVolumeStatistics(const VolumeStatistics& value) { m_volumeStatisticsHasBeenSet = true; m_volumeStatistics = value; } /** *

An object that contains inbox placement metrics for a specific day in the * analysis period.

*/ inline void SetVolumeStatistics(VolumeStatistics&& value) { m_volumeStatisticsHasBeenSet = true; m_volumeStatistics = std::move(value); } /** *

An object that contains inbox placement metrics for a specific day in the * analysis period.

*/ inline DailyVolume& WithVolumeStatistics(const VolumeStatistics& value) { SetVolumeStatistics(value); return *this;} /** *

An object that contains inbox placement metrics for a specific day in the * analysis period.

*/ inline DailyVolume& WithVolumeStatistics(VolumeStatistics&& value) { SetVolumeStatistics(std::move(value)); return *this;} /** *

An object that contains inbox placement metrics for a specified day in the * analysis period, broken out by the recipient's email provider.

*/ inline const Aws::Vector& GetDomainIspPlacements() const{ return m_domainIspPlacements; } /** *

An object that contains inbox placement metrics for a specified day in the * analysis period, broken out by the recipient's email provider.

*/ inline bool DomainIspPlacementsHasBeenSet() const { return m_domainIspPlacementsHasBeenSet; } /** *

An object that contains inbox placement metrics for a specified day in the * analysis period, broken out by the recipient's email provider.

*/ inline void SetDomainIspPlacements(const Aws::Vector& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements = value; } /** *

An object that contains inbox placement metrics for a specified day in the * analysis period, broken out by the recipient's email provider.

*/ inline void SetDomainIspPlacements(Aws::Vector&& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements = std::move(value); } /** *

An object that contains inbox placement metrics for a specified day in the * analysis period, broken out by the recipient's email provider.

*/ inline DailyVolume& WithDomainIspPlacements(const Aws::Vector& value) { SetDomainIspPlacements(value); return *this;} /** *

An object that contains inbox placement metrics for a specified day in the * analysis period, broken out by the recipient's email provider.

*/ inline DailyVolume& WithDomainIspPlacements(Aws::Vector&& value) { SetDomainIspPlacements(std::move(value)); return *this;} /** *

An object that contains inbox placement metrics for a specified day in the * analysis period, broken out by the recipient's email provider.

*/ inline DailyVolume& AddDomainIspPlacements(const DomainIspPlacement& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements.push_back(value); return *this; } /** *

An object that contains inbox placement metrics for a specified day in the * analysis period, broken out by the recipient's email provider.

*/ inline DailyVolume& AddDomainIspPlacements(DomainIspPlacement&& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements.push_back(std::move(value)); return *this; } private: Aws::Utils::DateTime m_startDate; bool m_startDateHasBeenSet = false; VolumeStatistics m_volumeStatistics; bool m_volumeStatisticsHasBeenSet = false; Aws::Vector m_domainIspPlacements; bool m_domainIspPlacementsHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws