AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateSiteRackPhysicalPropertiesRequest.h
1
6#pragma once
7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/outposts/OutpostsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/outposts/model/PowerDrawKva.h>
11#include <aws/outposts/model/PowerPhase.h>
12#include <aws/outposts/model/PowerConnector.h>
13#include <aws/outposts/model/PowerFeedDrop.h>
14#include <aws/outposts/model/UplinkGbps.h>
15#include <aws/outposts/model/UplinkCount.h>
16#include <aws/outposts/model/FiberOpticCableType.h>
17#include <aws/outposts/model/OpticalStandard.h>
18#include <aws/outposts/model/MaximumSupportedWeightLbs.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Outposts
24{
25namespace Model
26{
27
31 {
32 public:
33 AWS_OUTPOSTS_API UpdateSiteRackPhysicalPropertiesRequest() = default;
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "UpdateSiteRackPhysicalProperties"; }
40
41 AWS_OUTPOSTS_API Aws::String SerializePayload() const override;
42
43
45
48 inline const Aws::String& GetSiteId() const { return m_siteId; }
49 inline bool SiteIdHasBeenSet() const { return m_siteIdHasBeenSet; }
50 template<typename SiteIdT = Aws::String>
51 void SetSiteId(SiteIdT&& value) { m_siteIdHasBeenSet = true; m_siteId = std::forward<SiteIdT>(value); }
52 template<typename SiteIdT = Aws::String>
53 UpdateSiteRackPhysicalPropertiesRequest& WithSiteId(SiteIdT&& value) { SetSiteId(std::forward<SiteIdT>(value)); return *this;}
55
57
61 inline PowerDrawKva GetPowerDrawKva() const { return m_powerDrawKva; }
62 inline bool PowerDrawKvaHasBeenSet() const { return m_powerDrawKvaHasBeenSet; }
63 inline void SetPowerDrawKva(PowerDrawKva value) { m_powerDrawKvaHasBeenSet = true; m_powerDrawKva = value; }
66
68
73 inline PowerPhase GetPowerPhase() const { return m_powerPhase; }
74 inline bool PowerPhaseHasBeenSet() const { return m_powerPhaseHasBeenSet; }
75 inline void SetPowerPhase(PowerPhase value) { m_powerPhaseHasBeenSet = true; m_powerPhase = value; }
78
80
92 inline PowerConnector GetPowerConnector() const { return m_powerConnector; }
93 inline bool PowerConnectorHasBeenSet() const { return m_powerConnectorHasBeenSet; }
94 inline void SetPowerConnector(PowerConnector value) { m_powerConnectorHasBeenSet = true; m_powerConnector = value; }
97
99
102 inline PowerFeedDrop GetPowerFeedDrop() const { return m_powerFeedDrop; }
103 inline bool PowerFeedDropHasBeenSet() const { return m_powerFeedDropHasBeenSet; }
104 inline void SetPowerFeedDrop(PowerFeedDrop value) { m_powerFeedDropHasBeenSet = true; m_powerFeedDrop = value; }
107
109
113 inline UplinkGbps GetUplinkGbps() const { return m_uplinkGbps; }
114 inline bool UplinkGbpsHasBeenSet() const { return m_uplinkGbpsHasBeenSet; }
115 inline void SetUplinkGbps(UplinkGbps value) { m_uplinkGbpsHasBeenSet = true; m_uplinkGbps = value; }
118
120
130 inline UplinkCount GetUplinkCount() const { return m_uplinkCount; }
131 inline bool UplinkCountHasBeenSet() const { return m_uplinkCountHasBeenSet; }
132 inline void SetUplinkCount(UplinkCount value) { m_uplinkCountHasBeenSet = true; m_uplinkCount = value; }
135
137
141 inline FiberOpticCableType GetFiberOpticCableType() const { return m_fiberOpticCableType; }
142 inline bool FiberOpticCableTypeHasBeenSet() const { return m_fiberOpticCableTypeHasBeenSet; }
143 inline void SetFiberOpticCableType(FiberOpticCableType value) { m_fiberOpticCableTypeHasBeenSet = true; m_fiberOpticCableType = value; }
146
148
169 inline OpticalStandard GetOpticalStandard() const { return m_opticalStandard; }
170 inline bool OpticalStandardHasBeenSet() const { return m_opticalStandardHasBeenSet; }
171 inline void SetOpticalStandard(OpticalStandard value) { m_opticalStandardHasBeenSet = true; m_opticalStandard = value; }
174
176
180 inline MaximumSupportedWeightLbs GetMaximumSupportedWeightLbs() const { return m_maximumSupportedWeightLbs; }
181 inline bool MaximumSupportedWeightLbsHasBeenSet() const { return m_maximumSupportedWeightLbsHasBeenSet; }
182 inline void SetMaximumSupportedWeightLbs(MaximumSupportedWeightLbs value) { m_maximumSupportedWeightLbsHasBeenSet = true; m_maximumSupportedWeightLbs = value; }
185 private:
186
187 Aws::String m_siteId;
188 bool m_siteIdHasBeenSet = false;
189
190 PowerDrawKva m_powerDrawKva{PowerDrawKva::NOT_SET};
191 bool m_powerDrawKvaHasBeenSet = false;
192
193 PowerPhase m_powerPhase{PowerPhase::NOT_SET};
194 bool m_powerPhaseHasBeenSet = false;
195
196 PowerConnector m_powerConnector{PowerConnector::NOT_SET};
197 bool m_powerConnectorHasBeenSet = false;
198
199 PowerFeedDrop m_powerFeedDrop{PowerFeedDrop::NOT_SET};
200 bool m_powerFeedDropHasBeenSet = false;
201
202 UplinkGbps m_uplinkGbps{UplinkGbps::NOT_SET};
203 bool m_uplinkGbpsHasBeenSet = false;
204
205 UplinkCount m_uplinkCount{UplinkCount::NOT_SET};
206 bool m_uplinkCountHasBeenSet = false;
207
209 bool m_fiberOpticCableTypeHasBeenSet = false;
210
211 OpticalStandard m_opticalStandard{OpticalStandard::NOT_SET};
212 bool m_opticalStandardHasBeenSet = false;
213
215 bool m_maximumSupportedWeightLbsHasBeenSet = false;
216 };
217
218} // namespace Model
219} // namespace Outposts
220} // namespace Aws
UpdateSiteRackPhysicalPropertiesRequest & WithPowerPhase(PowerPhase value)
UpdateSiteRackPhysicalPropertiesRequest & WithFiberOpticCableType(FiberOpticCableType value)
UpdateSiteRackPhysicalPropertiesRequest & WithPowerDrawKva(PowerDrawKva value)
AWS_OUTPOSTS_API Aws::String SerializePayload() const override
UpdateSiteRackPhysicalPropertiesRequest & WithUplinkCount(UplinkCount value)
UpdateSiteRackPhysicalPropertiesRequest & WithSiteId(SiteIdT &&value)
UpdateSiteRackPhysicalPropertiesRequest & WithPowerConnector(PowerConnector value)
UpdateSiteRackPhysicalPropertiesRequest & WithOpticalStandard(OpticalStandard value)
UpdateSiteRackPhysicalPropertiesRequest & WithMaximumSupportedWeightLbs(MaximumSupportedWeightLbs value)
UpdateSiteRackPhysicalPropertiesRequest & WithPowerFeedDrop(PowerFeedDrop value)
UpdateSiteRackPhysicalPropertiesRequest & WithUplinkGbps(UplinkGbps value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String