AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
49 AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
57 inline PowerDrawKva GetPowerDrawKva() const { return m_powerDrawKva; }
58 inline bool PowerDrawKvaHasBeenSet() const { return m_powerDrawKvaHasBeenSet; }
59 inline void SetPowerDrawKva(PowerDrawKva value) { m_powerDrawKvaHasBeenSet = true; m_powerDrawKva = value; }
62
64
67 inline PowerPhase GetPowerPhase() const { return m_powerPhase; }
68 inline bool PowerPhaseHasBeenSet() const { return m_powerPhaseHasBeenSet; }
69 inline void SetPowerPhase(PowerPhase value) { m_powerPhaseHasBeenSet = true; m_powerPhase = value; }
70 inline RackPhysicalProperties& WithPowerPhase(PowerPhase value) { SetPowerPhase(value); return *this;}
72
74
77 inline PowerConnector GetPowerConnector() const { return m_powerConnector; }
78 inline bool PowerConnectorHasBeenSet() const { return m_powerConnectorHasBeenSet; }
79 inline void SetPowerConnector(PowerConnector value) { m_powerConnectorHasBeenSet = true; m_powerConnector = value; }
82
84
87 inline PowerFeedDrop GetPowerFeedDrop() const { return m_powerFeedDrop; }
88 inline bool PowerFeedDropHasBeenSet() const { return m_powerFeedDropHasBeenSet; }
89 inline void SetPowerFeedDrop(PowerFeedDrop value) { m_powerFeedDropHasBeenSet = true; m_powerFeedDrop = value; }
92
94
97 inline UplinkGbps GetUplinkGbps() const { return m_uplinkGbps; }
98 inline bool UplinkGbpsHasBeenSet() const { return m_uplinkGbpsHasBeenSet; }
99 inline void SetUplinkGbps(UplinkGbps value) { m_uplinkGbpsHasBeenSet = true; m_uplinkGbps = value; }
100 inline RackPhysicalProperties& WithUplinkGbps(UplinkGbps value) { SetUplinkGbps(value); return *this;}
102
104
107 inline UplinkCount GetUplinkCount() const { return m_uplinkCount; }
108 inline bool UplinkCountHasBeenSet() const { return m_uplinkCountHasBeenSet; }
109 inline void SetUplinkCount(UplinkCount value) { m_uplinkCountHasBeenSet = true; m_uplinkCount = value; }
110 inline RackPhysicalProperties& WithUplinkCount(UplinkCount value) { SetUplinkCount(value); return *this;}
112
114
117 inline FiberOpticCableType GetFiberOpticCableType() const { return m_fiberOpticCableType; }
118 inline bool FiberOpticCableTypeHasBeenSet() const { return m_fiberOpticCableTypeHasBeenSet; }
119 inline void SetFiberOpticCableType(FiberOpticCableType value) { m_fiberOpticCableTypeHasBeenSet = true; m_fiberOpticCableType = value; }
122
124
131 inline OpticalStandard GetOpticalStandard() const { return m_opticalStandard; }
132 inline bool OpticalStandardHasBeenSet() const { return m_opticalStandardHasBeenSet; }
133 inline void SetOpticalStandard(OpticalStandard value) { m_opticalStandardHasBeenSet = true; m_opticalStandard = value; }
136
138
142 inline MaximumSupportedWeightLbs GetMaximumSupportedWeightLbs() const { return m_maximumSupportedWeightLbs; }
143 inline bool MaximumSupportedWeightLbsHasBeenSet() const { return m_maximumSupportedWeightLbsHasBeenSet; }
144 inline void SetMaximumSupportedWeightLbs(MaximumSupportedWeightLbs value) { m_maximumSupportedWeightLbsHasBeenSet = true; m_maximumSupportedWeightLbs = value; }
147 private:
148
149 PowerDrawKva m_powerDrawKva{PowerDrawKva::NOT_SET};
150 bool m_powerDrawKvaHasBeenSet = false;
151
152 PowerPhase m_powerPhase{PowerPhase::NOT_SET};
153 bool m_powerPhaseHasBeenSet = false;
154
155 PowerConnector m_powerConnector{PowerConnector::NOT_SET};
156 bool m_powerConnectorHasBeenSet = false;
157
158 PowerFeedDrop m_powerFeedDrop{PowerFeedDrop::NOT_SET};
159 bool m_powerFeedDropHasBeenSet = false;
160
161 UplinkGbps m_uplinkGbps{UplinkGbps::NOT_SET};
162 bool m_uplinkGbpsHasBeenSet = false;
163
164 UplinkCount m_uplinkCount{UplinkCount::NOT_SET};
165 bool m_uplinkCountHasBeenSet = false;
166
168 bool m_fiberOpticCableTypeHasBeenSet = false;
169
170 OpticalStandard m_opticalStandard{OpticalStandard::NOT_SET};
171 bool m_opticalStandardHasBeenSet = false;
172
174 bool m_maximumSupportedWeightLbsHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace Outposts
179} // 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