AWS SDK for C++

AWS SDK for C++ Version 1.11.710

Loading...
Searching...
No Matches
RackPhysicalProperties.h
1
6#pragma once
7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/outposts/model/FiberOpticCableType.h>
9#include <aws/outposts/model/MaximumSupportedWeightLbs.h>
10#include <aws/outposts/model/OpticalStandard.h>
11#include <aws/outposts/model/PowerConnector.h>
12#include <aws/outposts/model/PowerDrawKva.h>
13#include <aws/outposts/model/PowerFeedDrop.h>
14#include <aws/outposts/model/PowerPhase.h>
15#include <aws/outposts/model/UplinkCount.h>
16#include <aws/outposts/model/UplinkGbps.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Outposts {
28namespace Model {
29
40 public:
41 AWS_OUTPOSTS_API RackPhysicalProperties() = default;
44 AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
47
51 inline PowerDrawKva GetPowerDrawKva() const { return m_powerDrawKva; }
52 inline bool PowerDrawKvaHasBeenSet() const { return m_powerDrawKvaHasBeenSet; }
53 inline void SetPowerDrawKva(PowerDrawKva value) {
54 m_powerDrawKvaHasBeenSet = true;
55 m_powerDrawKva = value;
56 }
58 SetPowerDrawKva(value);
59 return *this;
60 }
62
64
67 inline PowerPhase GetPowerPhase() const { return m_powerPhase; }
68 inline bool PowerPhaseHasBeenSet() const { return m_powerPhaseHasBeenSet; }
69 inline void SetPowerPhase(PowerPhase value) {
70 m_powerPhaseHasBeenSet = true;
71 m_powerPhase = value;
72 }
74 SetPowerPhase(value);
75 return *this;
76 }
78
80
83 inline PowerConnector GetPowerConnector() const { return m_powerConnector; }
84 inline bool PowerConnectorHasBeenSet() const { return m_powerConnectorHasBeenSet; }
85 inline void SetPowerConnector(PowerConnector value) {
86 m_powerConnectorHasBeenSet = true;
87 m_powerConnector = value;
88 }
90 SetPowerConnector(value);
91 return *this;
92 }
94
96
99 inline PowerFeedDrop GetPowerFeedDrop() const { return m_powerFeedDrop; }
100 inline bool PowerFeedDropHasBeenSet() const { return m_powerFeedDropHasBeenSet; }
101 inline void SetPowerFeedDrop(PowerFeedDrop value) {
102 m_powerFeedDropHasBeenSet = true;
103 m_powerFeedDrop = value;
104 }
106 SetPowerFeedDrop(value);
107 return *this;
108 }
110
112
115 inline UplinkGbps GetUplinkGbps() const { return m_uplinkGbps; }
116 inline bool UplinkGbpsHasBeenSet() const { return m_uplinkGbpsHasBeenSet; }
117 inline void SetUplinkGbps(UplinkGbps value) {
118 m_uplinkGbpsHasBeenSet = true;
119 m_uplinkGbps = value;
120 }
122 SetUplinkGbps(value);
123 return *this;
124 }
126
128
131 inline UplinkCount GetUplinkCount() const { return m_uplinkCount; }
132 inline bool UplinkCountHasBeenSet() const { return m_uplinkCountHasBeenSet; }
133 inline void SetUplinkCount(UplinkCount value) {
134 m_uplinkCountHasBeenSet = true;
135 m_uplinkCount = value;
136 }
138 SetUplinkCount(value);
139 return *this;
140 }
142
144
147 inline FiberOpticCableType GetFiberOpticCableType() const { return m_fiberOpticCableType; }
148 inline bool FiberOpticCableTypeHasBeenSet() const { return m_fiberOpticCableTypeHasBeenSet; }
150 m_fiberOpticCableTypeHasBeenSet = true;
151 m_fiberOpticCableType = value;
152 }
155 return *this;
156 }
158
160
167 inline OpticalStandard GetOpticalStandard() const { return m_opticalStandard; }
168 inline bool OpticalStandardHasBeenSet() const { return m_opticalStandardHasBeenSet; }
170 m_opticalStandardHasBeenSet = true;
171 m_opticalStandard = value;
172 }
174 SetOpticalStandard(value);
175 return *this;
176 }
178
180
184 inline MaximumSupportedWeightLbs GetMaximumSupportedWeightLbs() const { return m_maximumSupportedWeightLbs; }
185 inline bool MaximumSupportedWeightLbsHasBeenSet() const { return m_maximumSupportedWeightLbsHasBeenSet; }
187 m_maximumSupportedWeightLbsHasBeenSet = true;
188 m_maximumSupportedWeightLbs = value;
189 }
192 return *this;
193 }
195 private:
196 PowerDrawKva m_powerDrawKva{PowerDrawKva::NOT_SET};
197
198 PowerPhase m_powerPhase{PowerPhase::NOT_SET};
199
200 PowerConnector m_powerConnector{PowerConnector::NOT_SET};
201
202 PowerFeedDrop m_powerFeedDrop{PowerFeedDrop::NOT_SET};
203
204 UplinkGbps m_uplinkGbps{UplinkGbps::NOT_SET};
205
206 UplinkCount m_uplinkCount{UplinkCount::NOT_SET};
207
209
210 OpticalStandard m_opticalStandard{OpticalStandard::NOT_SET};
211
213 bool m_powerDrawKvaHasBeenSet = false;
214 bool m_powerPhaseHasBeenSet = false;
215 bool m_powerConnectorHasBeenSet = false;
216 bool m_powerFeedDropHasBeenSet = false;
217 bool m_uplinkGbpsHasBeenSet = false;
218 bool m_uplinkCountHasBeenSet = false;
219 bool m_fiberOpticCableTypeHasBeenSet = false;
220 bool m_opticalStandardHasBeenSet = false;
221 bool m_maximumSupportedWeightLbsHasBeenSet = false;
222};
223
224} // namespace Model
225} // namespace Outposts
226} // namespace Aws
RackPhysicalProperties & WithPowerConnector(PowerConnector value)
RackPhysicalProperties & WithPowerFeedDrop(PowerFeedDrop value)
RackPhysicalProperties & WithPowerPhase(PowerPhase value)
RackPhysicalProperties & WithOpticalStandard(OpticalStandard value)
RackPhysicalProperties & WithUplinkGbps(UplinkGbps value)
RackPhysicalProperties & WithPowerDrawKva(PowerDrawKva value)
RackPhysicalProperties & WithMaximumSupportedWeightLbs(MaximumSupportedWeightLbs value)
AWS_OUTPOSTS_API RackPhysicalProperties(Aws::Utils::Json::JsonView jsonValue)
void SetFiberOpticCableType(FiberOpticCableType value)
void SetMaximumSupportedWeightLbs(MaximumSupportedWeightLbs value)
AWS_OUTPOSTS_API RackPhysicalProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
RackPhysicalProperties & WithUplinkCount(UplinkCount value)
AWS_OUTPOSTS_API RackPhysicalProperties()=default
MaximumSupportedWeightLbs GetMaximumSupportedWeightLbs() const
RackPhysicalProperties & WithFiberOpticCableType(FiberOpticCableType value)
Aws::Utils::Json::JsonValue JsonValue