7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/outposts/Outposts_EXPORTS.h>
9#include <aws/outposts/model/EC2Capacity.h>
10#include <aws/outposts/model/RackUnitHeight.h>
44 m_serverPowerDrawKvaHasBeenSet =
true;
45 m_serverPowerDrawKva = value;
60 m_serverWeightLbsHasBeenSet =
true;
61 m_serverWeightLbs = value;
76 m_serverHeightInchesHasBeenSet =
true;
77 m_serverHeightInches = value;
92 m_serverWidthInchesHasBeenSet =
true;
93 m_serverWidthInches = value;
108 m_serverDepthInchesHasBeenSet =
true;
109 m_serverDepthInches = value;
126 m_rackUnitHeightHasBeenSet =
true;
127 m_rackUnitHeight = value;
141 template <
typename EC2CapacitiesT = Aws::Vector<EC2Capacity>>
143 m_eC2CapacitiesHasBeenSet =
true;
144 m_eC2Capacities = std::forward<EC2CapacitiesT>(value);
146 template <
typename EC2CapacitiesT = Aws::Vector<EC2Capacity>>
151 template <
typename EC2CapacitiesT = EC2Capacity>
153 m_eC2CapacitiesHasBeenSet =
true;
154 m_eC2Capacities.emplace_back(std::forward<EC2CapacitiesT>(value));
159 double m_serverPowerDrawKva{0.0};
161 double m_serverWeightLbs{0.0};
163 double m_serverHeightInches{0.0};
165 double m_serverWidthInches{0.0};
167 double m_serverDepthInches{0.0};
172 bool m_serverPowerDrawKvaHasBeenSet =
false;
173 bool m_serverWeightLbsHasBeenSet =
false;
174 bool m_serverHeightInchesHasBeenSet =
false;
175 bool m_serverWidthInchesHasBeenSet =
false;
176 bool m_serverDepthInchesHasBeenSet =
false;
177 bool m_rackUnitHeightHasBeenSet =
false;
178 bool m_eC2CapacitiesHasBeenSet =
false;
double GetServerPowerDrawKva() const
bool ServerWeightLbsHasBeenSet() const
bool ServerHeightInchesHasBeenSet() const
double GetServerWidthInches() const
void SetRackUnitHeight(RackUnitHeight value)
ServerSpecificationDetails & WithServerDepthInches(double value)
void SetEC2Capacities(EC2CapacitiesT &&value)
bool ServerWidthInchesHasBeenSet() const
double GetServerWeightLbs() const
AWS_OUTPOSTS_API ServerSpecificationDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OUTPOSTS_API ServerSpecificationDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< EC2Capacity > & GetEC2Capacities() const
bool EC2CapacitiesHasBeenSet() const
bool ServerPowerDrawKvaHasBeenSet() const
ServerSpecificationDetails & WithRackUnitHeight(RackUnitHeight value)
bool RackUnitHeightHasBeenSet() const
double GetServerDepthInches() const
AWS_OUTPOSTS_API ServerSpecificationDetails()=default
RackUnitHeight GetRackUnitHeight() const
void SetServerPowerDrawKva(double value)
void SetServerHeightInches(double value)
ServerSpecificationDetails & WithServerWidthInches(double value)
ServerSpecificationDetails & WithServerWeightLbs(double value)
double GetServerHeightInches() const
void SetServerWidthInches(double value)
void SetServerDepthInches(double value)
ServerSpecificationDetails & WithServerPowerDrawKva(double value)
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ServerDepthInchesHasBeenSet() const
ServerSpecificationDetails & WithEC2Capacities(EC2CapacitiesT &&value)
ServerSpecificationDetails & WithServerHeightInches(double value)
ServerSpecificationDetails & AddEC2Capacities(EC2CapacitiesT &&value)
void SetServerWeightLbs(double value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue