/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 email that was sent from the * selected domain.

See Also:

AWS * API Reference

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

An object that contains information about the numbers of messages that * arrived in recipients' inboxes and junk mail folders.

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

An object that contains information about the numbers of messages that * arrived in recipients' inboxes and junk mail folders.

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

An object that contains information about the numbers of messages that * arrived in recipients' inboxes and junk mail folders.

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

An object that contains information about the numbers of messages that * arrived in recipients' inboxes and junk mail folders.

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

An object that contains information about the numbers of messages that * arrived in recipients' inboxes and junk mail folders.

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

An object that contains information about the numbers of messages that * arrived in recipients' inboxes and junk mail folders.

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

The percentage of emails that were sent from the domain that were read by * their recipients.

*/ inline double GetReadRatePercent() const{ return m_readRatePercent; } /** *

The percentage of emails that were sent from the domain that were read by * their recipients.

*/ inline bool ReadRatePercentHasBeenSet() const { return m_readRatePercentHasBeenSet; } /** *

The percentage of emails that were sent from the domain that were read by * their recipients.

*/ inline void SetReadRatePercent(double value) { m_readRatePercentHasBeenSet = true; m_readRatePercent = value; } /** *

The percentage of emails that were sent from the domain that were read by * their recipients.

*/ inline OverallVolume& WithReadRatePercent(double value) { SetReadRatePercent(value); return *this;} /** *

An object that contains inbox and junk mail placement metrics for individual * email providers.

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

An object that contains inbox and junk mail placement metrics for individual * email providers.

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

An object that contains inbox and junk mail placement metrics for individual * email providers.

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

An object that contains inbox and junk mail placement metrics for individual * email providers.

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

An object that contains inbox and junk mail placement metrics for individual * email providers.

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

An object that contains inbox and junk mail placement metrics for individual * email providers.

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

An object that contains inbox and junk mail placement metrics for individual * email providers.

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

An object that contains inbox and junk mail placement metrics for individual * email providers.

*/ inline OverallVolume& AddDomainIspPlacements(DomainIspPlacement&& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements.push_back(std::move(value)); return *this; } private: VolumeStatistics m_volumeStatistics; bool m_volumeStatisticsHasBeenSet = false; double m_readRatePercent; bool m_readRatePercentHasBeenSet = false; Aws::Vector m_domainIspPlacements; bool m_domainIspPlacementsHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws