/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace SES { namespace Model { /** *

Represents a list of data points. This list contains aggregated data from the * previous two weeks of your sending activity with Amazon SES.

See * Also:

AWS * API Reference

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

A list of data points, each of which represents 15 minutes of activity.

*/ inline const Aws::Vector& GetSendDataPoints() const{ return m_sendDataPoints; } /** *

A list of data points, each of which represents 15 minutes of activity.

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

A list of data points, each of which represents 15 minutes of activity.

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

A list of data points, each of which represents 15 minutes of activity.

*/ inline GetSendStatisticsResult& WithSendDataPoints(const Aws::Vector& value) { SetSendDataPoints(value); return *this;} /** *

A list of data points, each of which represents 15 minutes of activity.

*/ inline GetSendStatisticsResult& WithSendDataPoints(Aws::Vector&& value) { SetSendDataPoints(std::move(value)); return *this;} /** *

A list of data points, each of which represents 15 minutes of activity.

*/ inline GetSendStatisticsResult& AddSendDataPoints(const SendDataPoint& value) { m_sendDataPoints.push_back(value); return *this; } /** *

A list of data points, each of which represents 15 minutes of activity.

*/ inline GetSendStatisticsResult& AddSendDataPoints(SendDataPoint&& value) { m_sendDataPoints.push_back(std::move(value)); return *this; } inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline GetSendStatisticsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetSendStatisticsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_sendDataPoints; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace SES } // namespace Aws