AWS SDK for C++  1.9.159
AWS SDK for C++
DailyVolume.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace SESV2
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
48 
52  inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
53 
57  inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; }
58 
62  inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
63 
67  inline DailyVolume& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
68 
72  inline DailyVolume& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
73 
74 
79  inline const VolumeStatistics& GetVolumeStatistics() const{ return m_volumeStatistics; }
80 
85  inline bool VolumeStatisticsHasBeenSet() const { return m_volumeStatisticsHasBeenSet; }
86 
91  inline void SetVolumeStatistics(const VolumeStatistics& value) { m_volumeStatisticsHasBeenSet = true; m_volumeStatistics = value; }
92 
97  inline void SetVolumeStatistics(VolumeStatistics&& value) { m_volumeStatisticsHasBeenSet = true; m_volumeStatistics = std::move(value); }
98 
103  inline DailyVolume& WithVolumeStatistics(const VolumeStatistics& value) { SetVolumeStatistics(value); return *this;}
104 
109  inline DailyVolume& WithVolumeStatistics(VolumeStatistics&& value) { SetVolumeStatistics(std::move(value)); return *this;}
110 
111 
116  inline const Aws::Vector<DomainIspPlacement>& GetDomainIspPlacements() const{ return m_domainIspPlacements; }
117 
122  inline bool DomainIspPlacementsHasBeenSet() const { return m_domainIspPlacementsHasBeenSet; }
123 
128  inline void SetDomainIspPlacements(const Aws::Vector<DomainIspPlacement>& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements = value; }
129 
134  inline void SetDomainIspPlacements(Aws::Vector<DomainIspPlacement>&& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements = std::move(value); }
135 
140  inline DailyVolume& WithDomainIspPlacements(const Aws::Vector<DomainIspPlacement>& value) { SetDomainIspPlacements(value); return *this;}
141 
146  inline DailyVolume& WithDomainIspPlacements(Aws::Vector<DomainIspPlacement>&& value) { SetDomainIspPlacements(std::move(value)); return *this;}
147 
152  inline DailyVolume& AddDomainIspPlacements(const DomainIspPlacement& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements.push_back(value); return *this; }
153 
158  inline DailyVolume& AddDomainIspPlacements(DomainIspPlacement&& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements.push_back(std::move(value)); return *this; }
159 
160  private:
161 
162  Aws::Utils::DateTime m_startDate;
163  bool m_startDateHasBeenSet;
164 
165  VolumeStatistics m_volumeStatistics;
166  bool m_volumeStatisticsHasBeenSet;
167 
168  Aws::Vector<DomainIspPlacement> m_domainIspPlacements;
169  bool m_domainIspPlacementsHasBeenSet;
170  };
171 
172 } // namespace Model
173 } // namespace SESV2
174 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
DomainIspPlacement.h
Aws::SESV2::Model::DailyVolume::DailyVolume
DailyVolume(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::DailyVolume::GetDomainIspPlacements
const Aws::Vector< DomainIspPlacement > & GetDomainIspPlacements() const
Definition: DailyVolume.h:116
Aws::SESV2::Model::DailyVolume::DailyVolume
DailyVolume()
Aws::SESV2::Model::DailyVolume::WithDomainIspPlacements
DailyVolume & WithDomainIspPlacements(const Aws::Vector< DomainIspPlacement > &value)
Definition: DailyVolume.h:140
DateTime.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SESV2::Model::DailyVolume::AddDomainIspPlacements
DailyVolume & AddDomainIspPlacements(const DomainIspPlacement &value)
Definition: DailyVolume.h:152
AWSVector.h
Aws::SESV2::Model::DailyVolume::GetVolumeStatistics
const VolumeStatistics & GetVolumeStatistics() const
Definition: DailyVolume.h:79
Aws::SESV2::Model::DailyVolume::SetStartDate
void SetStartDate(Aws::Utils::DateTime &&value)
Definition: DailyVolume.h:62
Aws::SESV2::Model::DailyVolume::SetDomainIspPlacements
void SetDomainIspPlacements(const Aws::Vector< DomainIspPlacement > &value)
Definition: DailyVolume.h:128
Aws::SESV2::Model::DailyVolume::WithStartDate
DailyVolume & WithStartDate(Aws::Utils::DateTime &&value)
Definition: DailyVolume.h:72
Aws::SESV2::Model::DailyVolume::SetDomainIspPlacements
void SetDomainIspPlacements(Aws::Vector< DomainIspPlacement > &&value)
Definition: DailyVolume.h:134
Aws::SESV2::Model::DailyVolume::SetStartDate
void SetStartDate(const Aws::Utils::DateTime &value)
Definition: DailyVolume.h:57
Aws::SESV2::Model::DailyVolume::WithStartDate
DailyVolume & WithStartDate(const Aws::Utils::DateTime &value)
Definition: DailyVolume.h:67
Aws::SESV2::Model::DailyVolume::DomainIspPlacementsHasBeenSet
bool DomainIspPlacementsHasBeenSet() const
Definition: DailyVolume.h:122
Aws::SESV2::Model::DailyVolume::StartDateHasBeenSet
bool StartDateHasBeenSet() const
Definition: DailyVolume.h:52
Aws::SESV2::Model::DailyVolume::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::SESV2::Model::DailyVolume::GetStartDate
const Aws::Utils::DateTime & GetStartDate() const
Definition: DailyVolume.h:47
Aws::SESV2::Model::DailyVolume::VolumeStatisticsHasBeenSet
bool VolumeStatisticsHasBeenSet() const
Definition: DailyVolume.h:85
Aws::SESV2::Model::DailyVolume::WithVolumeStatistics
DailyVolume & WithVolumeStatistics(const VolumeStatistics &value)
Definition: DailyVolume.h:103
VolumeStatistics.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::VolumeStatistics
Definition: VolumeStatistics.h:31
Aws::SESV2::Model::DomainIspPlacement
Definition: DomainIspPlacement.h:33
Aws::SESV2::Model::DailyVolume::operator=
DailyVolume & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::DailyVolume::WithVolumeStatistics
DailyVolume & WithVolumeStatistics(VolumeStatistics &&value)
Definition: DailyVolume.h:109
Aws::SESV2::Model::DailyVolume
Definition: DailyVolume.h:36
Aws::SESV2::Model::DailyVolume::WithDomainIspPlacements
DailyVolume & WithDomainIspPlacements(Aws::Vector< DomainIspPlacement > &&value)
Definition: DailyVolume.h:146
Aws::SESV2::Model::DailyVolume::SetVolumeStatistics
void SetVolumeStatistics(VolumeStatistics &&value)
Definition: DailyVolume.h:97
Aws::SESV2::Model::DailyVolume::SetVolumeStatistics
void SetVolumeStatistics(const VolumeStatistics &value)
Definition: DailyVolume.h:91
Aws::SESV2::Model::DailyVolume::AddDomainIspPlacements
DailyVolume & AddDomainIspPlacements(DomainIspPlacement &&value)
Definition: DailyVolume.h:158