/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SESV2 { namespace Model { /** *

An object that includes statistics that are related to the domain that you * specified.

See Also:

AWS * API Reference

*/ class GetDomainStatisticsReportResult { public: AWS_SESV2_API GetDomainStatisticsReportResult(); AWS_SESV2_API GetDomainStatisticsReportResult(const Aws::AmazonWebServiceResult& result); AWS_SESV2_API GetDomainStatisticsReportResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An object that contains deliverability metrics for the domain that you * specified. The data in this object is a summary of all of the data that was * collected from the StartDate to the EndDate.

*/ inline const OverallVolume& GetOverallVolume() const{ return m_overallVolume; } /** *

An object that contains deliverability metrics for the domain that you * specified. The data in this object is a summary of all of the data that was * collected from the StartDate to the EndDate.

*/ inline void SetOverallVolume(const OverallVolume& value) { m_overallVolume = value; } /** *

An object that contains deliverability metrics for the domain that you * specified. The data in this object is a summary of all of the data that was * collected from the StartDate to the EndDate.

*/ inline void SetOverallVolume(OverallVolume&& value) { m_overallVolume = std::move(value); } /** *

An object that contains deliverability metrics for the domain that you * specified. The data in this object is a summary of all of the data that was * collected from the StartDate to the EndDate.

*/ inline GetDomainStatisticsReportResult& WithOverallVolume(const OverallVolume& value) { SetOverallVolume(value); return *this;} /** *

An object that contains deliverability metrics for the domain that you * specified. The data in this object is a summary of all of the data that was * collected from the StartDate to the EndDate.

*/ inline GetDomainStatisticsReportResult& WithOverallVolume(OverallVolume&& value) { SetOverallVolume(std::move(value)); return *this;} /** *

An object that contains deliverability metrics for the domain that you * specified. This object contains data for each day, starting on the * StartDate and ending on the EndDate.

*/ inline const Aws::Vector& GetDailyVolumes() const{ return m_dailyVolumes; } /** *

An object that contains deliverability metrics for the domain that you * specified. This object contains data for each day, starting on the * StartDate and ending on the EndDate.

*/ inline void SetDailyVolumes(const Aws::Vector& value) { m_dailyVolumes = value; } /** *

An object that contains deliverability metrics for the domain that you * specified. This object contains data for each day, starting on the * StartDate and ending on the EndDate.

*/ inline void SetDailyVolumes(Aws::Vector&& value) { m_dailyVolumes = std::move(value); } /** *

An object that contains deliverability metrics for the domain that you * specified. This object contains data for each day, starting on the * StartDate and ending on the EndDate.

*/ inline GetDomainStatisticsReportResult& WithDailyVolumes(const Aws::Vector& value) { SetDailyVolumes(value); return *this;} /** *

An object that contains deliverability metrics for the domain that you * specified. This object contains data for each day, starting on the * StartDate and ending on the EndDate.

*/ inline GetDomainStatisticsReportResult& WithDailyVolumes(Aws::Vector&& value) { SetDailyVolumes(std::move(value)); return *this;} /** *

An object that contains deliverability metrics for the domain that you * specified. This object contains data for each day, starting on the * StartDate and ending on the EndDate.

*/ inline GetDomainStatisticsReportResult& AddDailyVolumes(const DailyVolume& value) { m_dailyVolumes.push_back(value); return *this; } /** *

An object that contains deliverability metrics for the domain that you * specified. This object contains data for each day, starting on the * StartDate and ending on the EndDate.

*/ inline GetDomainStatisticsReportResult& AddDailyVolumes(DailyVolume&& value) { m_dailyVolumes.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetDomainStatisticsReportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDomainStatisticsReportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDomainStatisticsReportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: OverallVolume m_overallVolume; Aws::Vector m_dailyVolumes; Aws::String m_requestId; }; } // namespace Model } // namespace SESV2 } // namespace Aws