AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RackPhysicalProperties.h
1
6#pragma once
7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/outposts/model/PowerDrawKva.h>
9#include <aws/outposts/model/PowerPhase.h>
10#include <aws/outposts/model/PowerConnector.h>
11#include <aws/outposts/model/PowerFeedDrop.h>
12#include <aws/outposts/model/UplinkGbps.h>
13#include <aws/outposts/model/UplinkCount.h>
14#include <aws/outposts/model/FiberOpticCableType.h>
15#include <aws/outposts/model/OpticalStandard.h>
16#include <aws/outposts/model/MaximumSupportedWeightLbs.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace Outposts
30{
31namespace Model
32{
33
44 {
45 public:
46 AWS_OUTPOSTS_API RackPhysicalProperties();
49 AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
57 inline const PowerDrawKva& GetPowerDrawKva() const{ return m_powerDrawKva; }
58 inline bool PowerDrawKvaHasBeenSet() const { return m_powerDrawKvaHasBeenSet; }
59 inline void SetPowerDrawKva(const PowerDrawKva& value) { m_powerDrawKvaHasBeenSet = true; m_powerDrawKva = value; }
60 inline void SetPowerDrawKva(PowerDrawKva&& value) { m_powerDrawKvaHasBeenSet = true; m_powerDrawKva = std::move(value); }
61 inline RackPhysicalProperties& WithPowerDrawKva(const PowerDrawKva& value) { SetPowerDrawKva(value); return *this;}
62 inline RackPhysicalProperties& WithPowerDrawKva(PowerDrawKva&& value) { SetPowerDrawKva(std::move(value)); return *this;}
64
66
69 inline const PowerPhase& GetPowerPhase() const{ return m_powerPhase; }
70 inline bool PowerPhaseHasBeenSet() const { return m_powerPhaseHasBeenSet; }
71 inline void SetPowerPhase(const PowerPhase& value) { m_powerPhaseHasBeenSet = true; m_powerPhase = value; }
72 inline void SetPowerPhase(PowerPhase&& value) { m_powerPhaseHasBeenSet = true; m_powerPhase = std::move(value); }
73 inline RackPhysicalProperties& WithPowerPhase(const PowerPhase& value) { SetPowerPhase(value); return *this;}
74 inline RackPhysicalProperties& WithPowerPhase(PowerPhase&& value) { SetPowerPhase(std::move(value)); return *this;}
76
78
81 inline const PowerConnector& GetPowerConnector() const{ return m_powerConnector; }
82 inline bool PowerConnectorHasBeenSet() const { return m_powerConnectorHasBeenSet; }
83 inline void SetPowerConnector(const PowerConnector& value) { m_powerConnectorHasBeenSet = true; m_powerConnector = value; }
84 inline void SetPowerConnector(PowerConnector&& value) { m_powerConnectorHasBeenSet = true; m_powerConnector = std::move(value); }
85 inline RackPhysicalProperties& WithPowerConnector(const PowerConnector& value) { SetPowerConnector(value); return *this;}
86 inline RackPhysicalProperties& WithPowerConnector(PowerConnector&& value) { SetPowerConnector(std::move(value)); return *this;}
88
90
93 inline const PowerFeedDrop& GetPowerFeedDrop() const{ return m_powerFeedDrop; }
94 inline bool PowerFeedDropHasBeenSet() const { return m_powerFeedDropHasBeenSet; }
95 inline void SetPowerFeedDrop(const PowerFeedDrop& value) { m_powerFeedDropHasBeenSet = true; m_powerFeedDrop = value; }
96 inline void SetPowerFeedDrop(PowerFeedDrop&& value) { m_powerFeedDropHasBeenSet = true; m_powerFeedDrop = std::move(value); }
97 inline RackPhysicalProperties& WithPowerFeedDrop(const PowerFeedDrop& value) { SetPowerFeedDrop(value); return *this;}
98 inline RackPhysicalProperties& WithPowerFeedDrop(PowerFeedDrop&& value) { SetPowerFeedDrop(std::move(value)); return *this;}
100
102
105 inline const UplinkGbps& GetUplinkGbps() const{ return m_uplinkGbps; }
106 inline bool UplinkGbpsHasBeenSet() const { return m_uplinkGbpsHasBeenSet; }
107 inline void SetUplinkGbps(const UplinkGbps& value) { m_uplinkGbpsHasBeenSet = true; m_uplinkGbps = value; }
108 inline void SetUplinkGbps(UplinkGbps&& value) { m_uplinkGbpsHasBeenSet = true; m_uplinkGbps = std::move(value); }
109 inline RackPhysicalProperties& WithUplinkGbps(const UplinkGbps& value) { SetUplinkGbps(value); return *this;}
110 inline RackPhysicalProperties& WithUplinkGbps(UplinkGbps&& value) { SetUplinkGbps(std::move(value)); return *this;}
112
114
117 inline const UplinkCount& GetUplinkCount() const{ return m_uplinkCount; }
118 inline bool UplinkCountHasBeenSet() const { return m_uplinkCountHasBeenSet; }
119 inline void SetUplinkCount(const UplinkCount& value) { m_uplinkCountHasBeenSet = true; m_uplinkCount = value; }
120 inline void SetUplinkCount(UplinkCount&& value) { m_uplinkCountHasBeenSet = true; m_uplinkCount = std::move(value); }
121 inline RackPhysicalProperties& WithUplinkCount(const UplinkCount& value) { SetUplinkCount(value); return *this;}
122 inline RackPhysicalProperties& WithUplinkCount(UplinkCount&& value) { SetUplinkCount(std::move(value)); return *this;}
124
126
129 inline const FiberOpticCableType& GetFiberOpticCableType() const{ return m_fiberOpticCableType; }
130 inline bool FiberOpticCableTypeHasBeenSet() const { return m_fiberOpticCableTypeHasBeenSet; }
131 inline void SetFiberOpticCableType(const FiberOpticCableType& value) { m_fiberOpticCableTypeHasBeenSet = true; m_fiberOpticCableType = value; }
132 inline void SetFiberOpticCableType(FiberOpticCableType&& value) { m_fiberOpticCableTypeHasBeenSet = true; m_fiberOpticCableType = std::move(value); }
136
138
145 inline const OpticalStandard& GetOpticalStandard() const{ return m_opticalStandard; }
146 inline bool OpticalStandardHasBeenSet() const { return m_opticalStandardHasBeenSet; }
147 inline void SetOpticalStandard(const OpticalStandard& value) { m_opticalStandardHasBeenSet = true; m_opticalStandard = value; }
148 inline void SetOpticalStandard(OpticalStandard&& value) { m_opticalStandardHasBeenSet = true; m_opticalStandard = std::move(value); }
150 inline RackPhysicalProperties& WithOpticalStandard(OpticalStandard&& value) { SetOpticalStandard(std::move(value)); return *this;}
152
154
158 inline const MaximumSupportedWeightLbs& GetMaximumSupportedWeightLbs() const{ return m_maximumSupportedWeightLbs; }
159 inline bool MaximumSupportedWeightLbsHasBeenSet() const { return m_maximumSupportedWeightLbsHasBeenSet; }
160 inline void SetMaximumSupportedWeightLbs(const MaximumSupportedWeightLbs& value) { m_maximumSupportedWeightLbsHasBeenSet = true; m_maximumSupportedWeightLbs = value; }
161 inline void SetMaximumSupportedWeightLbs(MaximumSupportedWeightLbs&& value) { m_maximumSupportedWeightLbsHasBeenSet = true; m_maximumSupportedWeightLbs = std::move(value); }
165 private:
166
167 PowerDrawKva m_powerDrawKva;
168 bool m_powerDrawKvaHasBeenSet = false;
169
170 PowerPhase m_powerPhase;
171 bool m_powerPhaseHasBeenSet = false;
172
173 PowerConnector m_powerConnector;
174 bool m_powerConnectorHasBeenSet = false;
175
176 PowerFeedDrop m_powerFeedDrop;
177 bool m_powerFeedDropHasBeenSet = false;
178
179 UplinkGbps m_uplinkGbps;
180 bool m_uplinkGbpsHasBeenSet = false;
181
182 UplinkCount m_uplinkCount;
183 bool m_uplinkCountHasBeenSet = false;
184
185 FiberOpticCableType m_fiberOpticCableType;
186 bool m_fiberOpticCableTypeHasBeenSet = false;
187
188 OpticalStandard m_opticalStandard;
189 bool m_opticalStandardHasBeenSet = false;
190
191 MaximumSupportedWeightLbs m_maximumSupportedWeightLbs;
192 bool m_maximumSupportedWeightLbsHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace Outposts
197} // namespace Aws
RackPhysicalProperties & WithFiberOpticCableType(FiberOpticCableType &&value)
RackPhysicalProperties & WithUplinkGbps(UplinkGbps &&value)
RackPhysicalProperties & WithPowerPhase(PowerPhase &&value)
void SetPowerConnector(const PowerConnector &value)
RackPhysicalProperties & WithPowerPhase(const PowerPhase &value)
RackPhysicalProperties & WithPowerDrawKva(const PowerDrawKva &value)
RackPhysicalProperties & WithPowerFeedDrop(const PowerFeedDrop &value)
RackPhysicalProperties & WithPowerConnector(PowerConnector &&value)
void SetFiberOpticCableType(const FiberOpticCableType &value)
const MaximumSupportedWeightLbs & GetMaximumSupportedWeightLbs() const
void SetMaximumSupportedWeightLbs(const MaximumSupportedWeightLbs &value)
RackPhysicalProperties & WithUplinkGbps(const UplinkGbps &value)
RackPhysicalProperties & WithUplinkCount(const UplinkCount &value)
RackPhysicalProperties & WithUplinkCount(UplinkCount &&value)
RackPhysicalProperties & WithPowerConnector(const PowerConnector &value)
RackPhysicalProperties & WithFiberOpticCableType(const FiberOpticCableType &value)
AWS_OUTPOSTS_API RackPhysicalProperties(Aws::Utils::Json::JsonView jsonValue)
RackPhysicalProperties & WithPowerDrawKva(PowerDrawKva &&value)
const FiberOpticCableType & GetFiberOpticCableType() const
void SetOpticalStandard(const OpticalStandard &value)
RackPhysicalProperties & WithPowerFeedDrop(PowerFeedDrop &&value)
void SetFiberOpticCableType(FiberOpticCableType &&value)
RackPhysicalProperties & WithMaximumSupportedWeightLbs(MaximumSupportedWeightLbs &&value)
void SetPowerFeedDrop(const PowerFeedDrop &value)
AWS_OUTPOSTS_API RackPhysicalProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
RackPhysicalProperties & WithOpticalStandard(OpticalStandard &&value)
RackPhysicalProperties & WithOpticalStandard(const OpticalStandard &value)
RackPhysicalProperties & WithMaximumSupportedWeightLbs(const MaximumSupportedWeightLbs &value)
void SetMaximumSupportedWeightLbs(MaximumSupportedWeightLbs &&value)
Aws::Utils::Json::JsonValue JsonValue