AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DailyVolume.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/pinpoint-email/model/VolumeStatistics.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/pinpoint-email/model/DomainIspPlacement.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace PinpointEmail
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_PINPOINTEMAIL_API DailyVolume();
39 AWS_PINPOINTEMAIL_API DailyVolume(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PINPOINTEMAIL_API DailyVolume& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
49 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
50 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; }
51 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
52 inline DailyVolume& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
53 inline DailyVolume& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
55
57
61 inline const VolumeStatistics& GetVolumeStatistics() const{ return m_volumeStatistics; }
62 inline bool VolumeStatisticsHasBeenSet() const { return m_volumeStatisticsHasBeenSet; }
63 inline void SetVolumeStatistics(const VolumeStatistics& value) { m_volumeStatisticsHasBeenSet = true; m_volumeStatistics = value; }
64 inline void SetVolumeStatistics(VolumeStatistics&& value) { m_volumeStatisticsHasBeenSet = true; m_volumeStatistics = std::move(value); }
65 inline DailyVolume& WithVolumeStatistics(const VolumeStatistics& value) { SetVolumeStatistics(value); return *this;}
66 inline DailyVolume& WithVolumeStatistics(VolumeStatistics&& value) { SetVolumeStatistics(std::move(value)); return *this;}
68
70
74 inline const Aws::Vector<DomainIspPlacement>& GetDomainIspPlacements() const{ return m_domainIspPlacements; }
75 inline bool DomainIspPlacementsHasBeenSet() const { return m_domainIspPlacementsHasBeenSet; }
76 inline void SetDomainIspPlacements(const Aws::Vector<DomainIspPlacement>& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements = value; }
77 inline void SetDomainIspPlacements(Aws::Vector<DomainIspPlacement>&& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements = std::move(value); }
80 inline DailyVolume& AddDomainIspPlacements(const DomainIspPlacement& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements.push_back(value); return *this; }
81 inline DailyVolume& AddDomainIspPlacements(DomainIspPlacement&& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements.push_back(std::move(value)); return *this; }
83 private:
84
85 Aws::Utils::DateTime m_startDate;
86 bool m_startDateHasBeenSet = false;
87
88 VolumeStatistics m_volumeStatistics;
89 bool m_volumeStatisticsHasBeenSet = false;
90
91 Aws::Vector<DomainIspPlacement> m_domainIspPlacements;
92 bool m_domainIspPlacementsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace PinpointEmail
97} // namespace Aws
DailyVolume & WithVolumeStatistics(const VolumeStatistics &value)
Definition DailyVolume.h:65
DailyVolume & AddDomainIspPlacements(const DomainIspPlacement &value)
Definition DailyVolume.h:80
AWS_PINPOINTEMAIL_API DailyVolume(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINTEMAIL_API DailyVolume & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartDate() const
Definition DailyVolume.h:48
void SetStartDate(const Aws::Utils::DateTime &value)
Definition DailyVolume.h:50
DailyVolume & WithDomainIspPlacements(Aws::Vector< DomainIspPlacement > &&value)
Definition DailyVolume.h:79
void SetStartDate(Aws::Utils::DateTime &&value)
Definition DailyVolume.h:51
DailyVolume & WithStartDate(const Aws::Utils::DateTime &value)
Definition DailyVolume.h:52
DailyVolume & WithVolumeStatistics(VolumeStatistics &&value)
Definition DailyVolume.h:66
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVolumeStatistics(VolumeStatistics &&value)
Definition DailyVolume.h:64
const Aws::Vector< DomainIspPlacement > & GetDomainIspPlacements() const
Definition DailyVolume.h:74
DailyVolume & WithStartDate(Aws::Utils::DateTime &&value)
Definition DailyVolume.h:53
void SetDomainIspPlacements(Aws::Vector< DomainIspPlacement > &&value)
Definition DailyVolume.h:77
void SetVolumeStatistics(const VolumeStatistics &value)
Definition DailyVolume.h:63
DailyVolume & WithDomainIspPlacements(const Aws::Vector< DomainIspPlacement > &value)
Definition DailyVolume.h:78
const VolumeStatistics & GetVolumeStatistics() const
Definition DailyVolume.h:61
void SetDomainIspPlacements(const Aws::Vector< DomainIspPlacement > &value)
Definition DailyVolume.h:76
DailyVolume & AddDomainIspPlacements(DomainIspPlacement &&value)
Definition DailyVolume.h:81
AWS_PINPOINTEMAIL_API DailyVolume()
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue