AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDomainStatisticsReportResult.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/pinpoint-email/model/OverallVolume.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/pinpoint-email/model/DailyVolume.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace PinpointEmail
27{
28namespace Model
29{
37 {
38 public:
39 AWS_PINPOINTEMAIL_API GetDomainStatisticsReportResult();
42
43
45
50 inline const OverallVolume& GetOverallVolume() const{ return m_overallVolume; }
51 inline void SetOverallVolume(const OverallVolume& value) { m_overallVolume = value; }
52 inline void SetOverallVolume(OverallVolume&& value) { m_overallVolume = std::move(value); }
54 inline GetDomainStatisticsReportResult& WithOverallVolume(OverallVolume&& value) { SetOverallVolume(std::move(value)); return *this;}
56
58
63 inline const Aws::Vector<DailyVolume>& GetDailyVolumes() const{ return m_dailyVolumes; }
64 inline void SetDailyVolumes(const Aws::Vector<DailyVolume>& value) { m_dailyVolumes = value; }
65 inline void SetDailyVolumes(Aws::Vector<DailyVolume>&& value) { m_dailyVolumes = std::move(value); }
68 inline GetDomainStatisticsReportResult& AddDailyVolumes(const DailyVolume& value) { m_dailyVolumes.push_back(value); return *this; }
69 inline GetDomainStatisticsReportResult& AddDailyVolumes(DailyVolume&& value) { m_dailyVolumes.push_back(std::move(value)); return *this; }
71
73
74 inline const Aws::String& GetRequestId() const{ return m_requestId; }
75 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
76 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
77 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
78 inline GetDomainStatisticsReportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
79 inline GetDomainStatisticsReportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
80 inline GetDomainStatisticsReportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
82 private:
83
84 OverallVolume m_overallVolume;
85
86 Aws::Vector<DailyVolume> m_dailyVolumes;
87
88 Aws::String m_requestId;
89 };
90
91} // namespace Model
92} // namespace PinpointEmail
93} // namespace Aws
GetDomainStatisticsReportResult & WithOverallVolume(const OverallVolume &value)
GetDomainStatisticsReportResult & WithRequestId(const char *value)
GetDomainStatisticsReportResult & AddDailyVolumes(const DailyVolume &value)
GetDomainStatisticsReportResult & WithOverallVolume(OverallVolume &&value)
GetDomainStatisticsReportResult & WithDailyVolumes(const Aws::Vector< DailyVolume > &value)
AWS_PINPOINTEMAIL_API GetDomainStatisticsReportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDomainStatisticsReportResult & WithDailyVolumes(Aws::Vector< DailyVolume > &&value)
GetDomainStatisticsReportResult & AddDailyVolumes(DailyVolume &&value)
AWS_PINPOINTEMAIL_API GetDomainStatisticsReportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDomainStatisticsReportResult & WithRequestId(Aws::String &&value)
GetDomainStatisticsReportResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue