AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OverallVolume.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/model/VolumeStatistics.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sesv2/model/DomainIspPlacement.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SESV2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SESV2_API OverallVolume();
38 AWS_SESV2_API OverallVolume(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const VolumeStatistics& GetVolumeStatistics() const{ return m_volumeStatistics; }
49 inline bool VolumeStatisticsHasBeenSet() const { return m_volumeStatisticsHasBeenSet; }
50 inline void SetVolumeStatistics(const VolumeStatistics& value) { m_volumeStatisticsHasBeenSet = true; m_volumeStatistics = value; }
51 inline void SetVolumeStatistics(VolumeStatistics&& value) { m_volumeStatisticsHasBeenSet = true; m_volumeStatistics = std::move(value); }
52 inline OverallVolume& WithVolumeStatistics(const VolumeStatistics& value) { SetVolumeStatistics(value); return *this;}
53 inline OverallVolume& WithVolumeStatistics(VolumeStatistics&& value) { SetVolumeStatistics(std::move(value)); return *this;}
55
57
61 inline double GetReadRatePercent() const{ return m_readRatePercent; }
62 inline bool ReadRatePercentHasBeenSet() const { return m_readRatePercentHasBeenSet; }
63 inline void SetReadRatePercent(double value) { m_readRatePercentHasBeenSet = true; m_readRatePercent = value; }
64 inline OverallVolume& WithReadRatePercent(double value) { SetReadRatePercent(value); return *this;}
66
68
72 inline const Aws::Vector<DomainIspPlacement>& GetDomainIspPlacements() const{ return m_domainIspPlacements; }
73 inline bool DomainIspPlacementsHasBeenSet() const { return m_domainIspPlacementsHasBeenSet; }
74 inline void SetDomainIspPlacements(const Aws::Vector<DomainIspPlacement>& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements = value; }
75 inline void SetDomainIspPlacements(Aws::Vector<DomainIspPlacement>&& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements = std::move(value); }
78 inline OverallVolume& AddDomainIspPlacements(const DomainIspPlacement& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements.push_back(value); return *this; }
79 inline OverallVolume& AddDomainIspPlacements(DomainIspPlacement&& value) { m_domainIspPlacementsHasBeenSet = true; m_domainIspPlacements.push_back(std::move(value)); return *this; }
81 private:
82
83 VolumeStatistics m_volumeStatistics;
84 bool m_volumeStatisticsHasBeenSet = false;
85
86 double m_readRatePercent;
87 bool m_readRatePercentHasBeenSet = false;
88
89 Aws::Vector<DomainIspPlacement> m_domainIspPlacements;
90 bool m_domainIspPlacementsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SESV2
95} // namespace Aws
OverallVolume & WithReadRatePercent(double value)
void SetDomainIspPlacements(Aws::Vector< DomainIspPlacement > &&value)
OverallVolume & WithDomainIspPlacements(const Aws::Vector< DomainIspPlacement > &value)
OverallVolume & AddDomainIspPlacements(const DomainIspPlacement &value)
const VolumeStatistics & GetVolumeStatistics() const
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVolumeStatistics(const VolumeStatistics &value)
OverallVolume & WithDomainIspPlacements(Aws::Vector< DomainIspPlacement > &&value)
const Aws::Vector< DomainIspPlacement > & GetDomainIspPlacements() const
OverallVolume & AddDomainIspPlacements(DomainIspPlacement &&value)
OverallVolume & WithVolumeStatistics(const VolumeStatistics &value)
AWS_SESV2_API OverallVolume(Aws::Utils::Json::JsonView jsonValue)
OverallVolume & WithVolumeStatistics(VolumeStatistics &&value)
AWS_SESV2_API OverallVolume & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDomainIspPlacements(const Aws::Vector< DomainIspPlacement > &value)
void SetReadRatePercent(double value)
void SetVolumeStatistics(VolumeStatistics &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue