AWS SDK for C++  1.9.156
AWS SDK for C++
OverallVolume.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SESV2
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
47  inline const VolumeStatistics& GetVolumeStatistics() const{ return m_volumeStatistics; }
48 
53  inline bool VolumeStatisticsHasBeenSet() const { return m_volumeStatisticsHasBeenSet; }
54 
59  inline void SetVolumeStatistics(const VolumeStatistics& value) { m_volumeStatisticsHasBeenSet = true; m_volumeStatistics = value; }
60 
65  inline void SetVolumeStatistics(VolumeStatistics&& value) { m_volumeStatisticsHasBeenSet = true; m_volumeStatistics = std::move(value); }
66 
71  inline OverallVolume& WithVolumeStatistics(const VolumeStatistics& value) { SetVolumeStatistics(value); return *this;}
72 
77  inline OverallVolume& WithVolumeStatistics(VolumeStatistics&& value) { SetVolumeStatistics(std::move(value)); return *this;}
78 
79 
84  inline double GetReadRatePercent() const{ return m_readRatePercent; }
85 
90  inline bool ReadRatePercentHasBeenSet() const { return m_readRatePercentHasBeenSet; }
91 
96  inline void SetReadRatePercent(double value) { m_readRatePercentHasBeenSet = true; m_readRatePercent = value; }
97 
102  inline OverallVolume& WithReadRatePercent(double value) { SetReadRatePercent(value); return *this;}
103 
104 
109  inline const Aws::Vector<DomainIspPlacement>& GetDomainIspPlacements() const{ return m_domainIspPlacements; }
110 
115  inline bool DomainIspPlacementsHasBeenSet() const { return m_domainIspPlacementsHasBeenSet; }
116 
121  inline void SetDomainIspPlacements(const Aws::Vector<DomainIspPlacement>& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements = value; }
122 
127  inline void SetDomainIspPlacements(Aws::Vector<DomainIspPlacement>&& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements = std::move(value); }
128 
133  inline OverallVolume& WithDomainIspPlacements(const Aws::Vector<DomainIspPlacement>& value) { SetDomainIspPlacements(value); return *this;}
134 
139  inline OverallVolume& WithDomainIspPlacements(Aws::Vector<DomainIspPlacement>&& value) { SetDomainIspPlacements(std::move(value)); return *this;}
140 
145  inline OverallVolume& AddDomainIspPlacements(const DomainIspPlacement& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements.push_back(value); return *this; }
146 
151  inline OverallVolume& AddDomainIspPlacements(DomainIspPlacement&& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements.push_back(std::move(value)); return *this; }
152 
153  private:
154 
155  VolumeStatistics m_volumeStatistics;
156  bool m_volumeStatisticsHasBeenSet;
157 
158  double m_readRatePercent;
159  bool m_readRatePercentHasBeenSet;
160 
161  Aws::Vector<DomainIspPlacement> m_domainIspPlacements;
162  bool m_domainIspPlacementsHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace SESV2
167 } // namespace Aws
DomainIspPlacement.h
Aws::SESV2::Model::OverallVolume::OverallVolume
OverallVolume()
Aws::SESV2::Model::OverallVolume::GetVolumeStatistics
const VolumeStatistics & GetVolumeStatistics() const
Definition: OverallVolume.h:47
Aws::SESV2::Model::OverallVolume::WithDomainIspPlacements
OverallVolume & WithDomainIspPlacements(Aws::Vector< DomainIspPlacement > &&value)
Definition: OverallVolume.h:139
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::OverallVolume::AddDomainIspPlacements
OverallVolume & AddDomainIspPlacements(const DomainIspPlacement &value)
Definition: OverallVolume.h:145
Aws::SESV2::Model::OverallVolume::VolumeStatisticsHasBeenSet
bool VolumeStatisticsHasBeenSet() const
Definition: OverallVolume.h:53
Aws::SESV2::Model::OverallVolume::DomainIspPlacementsHasBeenSet
bool DomainIspPlacementsHasBeenSet() const
Definition: OverallVolume.h:115
Aws::SESV2::Model::OverallVolume::SetReadRatePercent
void SetReadRatePercent(double value)
Definition: OverallVolume.h:96
Aws::SESV2::Model::OverallVolume::GetDomainIspPlacements
const Aws::Vector< DomainIspPlacement > & GetDomainIspPlacements() const
Definition: OverallVolume.h:109
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SESV2::Model::OverallVolume::WithVolumeStatistics
OverallVolume & WithVolumeStatistics(const VolumeStatistics &value)
Definition: OverallVolume.h:71
AWSVector.h
Aws::SESV2::Model::OverallVolume::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::OverallVolume::SetVolumeStatistics
void SetVolumeStatistics(const VolumeStatistics &value)
Definition: OverallVolume.h:59
Aws::SESV2::Model::OverallVolume::operator=
OverallVolume & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::OverallVolume
Definition: OverallVolume.h:35
Aws::SESV2::Model::OverallVolume::GetReadRatePercent
double GetReadRatePercent() const
Definition: OverallVolume.h:84
Aws::SESV2::Model::OverallVolume::WithDomainIspPlacements
OverallVolume & WithDomainIspPlacements(const Aws::Vector< DomainIspPlacement > &value)
Definition: OverallVolume.h:133
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::SESV2::Model::OverallVolume::SetVolumeStatistics
void SetVolumeStatistics(VolumeStatistics &&value)
Definition: OverallVolume.h:65
Aws::SESV2::Model::OverallVolume::WithReadRatePercent
OverallVolume & WithReadRatePercent(double value)
Definition: OverallVolume.h:102
Aws::SESV2::Model::OverallVolume::AddDomainIspPlacements
OverallVolume & AddDomainIspPlacements(DomainIspPlacement &&value)
Definition: OverallVolume.h:151
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::OverallVolume::ReadRatePercentHasBeenSet
bool ReadRatePercentHasBeenSet() const
Definition: OverallVolume.h:90
Aws::SESV2::Model::OverallVolume::SetDomainIspPlacements
void SetDomainIspPlacements(Aws::Vector< DomainIspPlacement > &&value)
Definition: OverallVolume.h:127
Aws::SESV2::Model::OverallVolume::SetDomainIspPlacements
void SetDomainIspPlacements(const Aws::Vector< DomainIspPlacement > &value)
Definition: OverallVolume.h:121
Aws::SESV2::Model::OverallVolume::WithVolumeStatistics
OverallVolume & WithVolumeStatistics(VolumeStatistics &&value)
Definition: OverallVolume.h:77
Aws::SESV2::Model::OverallVolume::OverallVolume
OverallVolume(Aws::Utils::Json::JsonView jsonValue)