AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename StartDateT = Aws::Utils::DateTime>
51 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet = true; m_startDate = std::forward<StartDateT>(value); }
52 template<typename StartDateT = Aws::Utils::DateTime>
53 DailyVolume& WithStartDate(StartDateT&& value) { SetStartDate(std::forward<StartDateT>(value)); return *this;}
55
57
61 inline const VolumeStatistics& GetVolumeStatistics() const { return m_volumeStatistics; }
62 inline bool VolumeStatisticsHasBeenSet() const { return m_volumeStatisticsHasBeenSet; }
63 template<typename VolumeStatisticsT = VolumeStatistics>
64 void SetVolumeStatistics(VolumeStatisticsT&& value) { m_volumeStatisticsHasBeenSet = true; m_volumeStatistics = std::forward<VolumeStatisticsT>(value); }
65 template<typename VolumeStatisticsT = VolumeStatistics>
66 DailyVolume& WithVolumeStatistics(VolumeStatisticsT&& value) { SetVolumeStatistics(std::forward<VolumeStatisticsT>(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 template<typename DomainIspPlacementsT = Aws::Vector<DomainIspPlacement>>
77 void SetDomainIspPlacements(DomainIspPlacementsT&& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements = std::forward<DomainIspPlacementsT>(value); }
78 template<typename DomainIspPlacementsT = Aws::Vector<DomainIspPlacement>>
79 DailyVolume& WithDomainIspPlacements(DomainIspPlacementsT&& value) { SetDomainIspPlacements(std::forward<DomainIspPlacementsT>(value)); return *this;}
80 template<typename DomainIspPlacementsT = DomainIspPlacement>
81 DailyVolume& AddDomainIspPlacements(DomainIspPlacementsT&& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements.emplace_back(std::forward<DomainIspPlacementsT>(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
void SetDomainIspPlacements(DomainIspPlacementsT &&value)
Definition DailyVolume.h:77
void SetVolumeStatistics(VolumeStatisticsT &&value)
Definition DailyVolume.h:64
DailyVolume & WithStartDate(StartDateT &&value)
Definition DailyVolume.h:53
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
DailyVolume & AddDomainIspPlacements(DomainIspPlacementsT &&value)
Definition DailyVolume.h:81
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
DailyVolume & WithVolumeStatistics(VolumeStatisticsT &&value)
Definition DailyVolume.h:66
const Aws::Vector< DomainIspPlacement > & GetDomainIspPlacements() const
Definition DailyVolume.h:74
DailyVolume & WithDomainIspPlacements(DomainIspPlacementsT &&value)
Definition DailyVolume.h:79
AWS_PINPOINTEMAIL_API DailyVolume()=default
void SetStartDate(StartDateT &&value)
Definition DailyVolume.h:51
const VolumeStatistics & GetVolumeStatistics() const
Definition DailyVolume.h:61
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue