AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetSiteId(const Aws::String& value) { m_siteIdHasBeenSet = true; m_siteId = value; }
51 inline void SetSiteId(Aws::String&& value) { m_siteIdHasBeenSet = true; m_siteId = std::move(value); }
52 inline void SetSiteId(const char* value) { m_siteIdHasBeenSet = true; m_siteId.assign(value); }
53 inline UpdateSiteRackPhysicalPropertiesRequest& WithSiteId(const Aws::String& value) { SetSiteId(value); return *this;}
54 inline UpdateSiteRackPhysicalPropertiesRequest& WithSiteId(Aws::String&& value) { SetSiteId(std::move(value)); return *this;}
55 inline UpdateSiteRackPhysicalPropertiesRequest& WithSiteId(const char* value) { SetSiteId(value); return *this;}
57
59
63 inline const PowerDrawKva& GetPowerDrawKva() const{ return m_powerDrawKva; }
64 inline bool PowerDrawKvaHasBeenSet() const { return m_powerDrawKvaHasBeenSet; }
65 inline void SetPowerDrawKva(const PowerDrawKva& value) { m_powerDrawKvaHasBeenSet = true; m_powerDrawKva = value; }
66 inline void SetPowerDrawKva(PowerDrawKva&& value) { m_powerDrawKvaHasBeenSet = true; m_powerDrawKva = std::move(value); }
68 inline UpdateSiteRackPhysicalPropertiesRequest& WithPowerDrawKva(PowerDrawKva&& value) { SetPowerDrawKva(std::move(value)); return *this;}
70
72
77 inline const PowerPhase& GetPowerPhase() const{ return m_powerPhase; }
78 inline bool PowerPhaseHasBeenSet() const { return m_powerPhaseHasBeenSet; }
79 inline void SetPowerPhase(const PowerPhase& value) { m_powerPhaseHasBeenSet = true; m_powerPhase = value; }
80 inline void SetPowerPhase(PowerPhase&& value) { m_powerPhaseHasBeenSet = true; m_powerPhase = std::move(value); }
82 inline UpdateSiteRackPhysicalPropertiesRequest& WithPowerPhase(PowerPhase&& value) { SetPowerPhase(std::move(value)); return *this;}
84
86
97 inline const PowerConnector& GetPowerConnector() const{ return m_powerConnector; }
98 inline bool PowerConnectorHasBeenSet() const { return m_powerConnectorHasBeenSet; }
99 inline void SetPowerConnector(const PowerConnector& value) { m_powerConnectorHasBeenSet = true; m_powerConnector = value; }
100 inline void SetPowerConnector(PowerConnector&& value) { m_powerConnectorHasBeenSet = true; m_powerConnector = std::move(value); }
104
106
109 inline const PowerFeedDrop& GetPowerFeedDrop() const{ return m_powerFeedDrop; }
110 inline bool PowerFeedDropHasBeenSet() const { return m_powerFeedDropHasBeenSet; }
111 inline void SetPowerFeedDrop(const PowerFeedDrop& value) { m_powerFeedDropHasBeenSet = true; m_powerFeedDrop = value; }
112 inline void SetPowerFeedDrop(PowerFeedDrop&& value) { m_powerFeedDropHasBeenSet = true; m_powerFeedDrop = std::move(value); }
116
118
122 inline const UplinkGbps& GetUplinkGbps() const{ return m_uplinkGbps; }
123 inline bool UplinkGbpsHasBeenSet() const { return m_uplinkGbpsHasBeenSet; }
124 inline void SetUplinkGbps(const UplinkGbps& value) { m_uplinkGbpsHasBeenSet = true; m_uplinkGbps = value; }
125 inline void SetUplinkGbps(UplinkGbps&& value) { m_uplinkGbpsHasBeenSet = true; m_uplinkGbps = std::move(value); }
127 inline UpdateSiteRackPhysicalPropertiesRequest& WithUplinkGbps(UplinkGbps&& value) { SetUplinkGbps(std::move(value)); return *this;}
129
131
141 inline const UplinkCount& GetUplinkCount() const{ return m_uplinkCount; }
142 inline bool UplinkCountHasBeenSet() const { return m_uplinkCountHasBeenSet; }
143 inline void SetUplinkCount(const UplinkCount& value) { m_uplinkCountHasBeenSet = true; m_uplinkCount = value; }
144 inline void SetUplinkCount(UplinkCount&& value) { m_uplinkCountHasBeenSet = true; m_uplinkCount = std::move(value); }
146 inline UpdateSiteRackPhysicalPropertiesRequest& WithUplinkCount(UplinkCount&& value) { SetUplinkCount(std::move(value)); return *this;}
148
150
154 inline const FiberOpticCableType& GetFiberOpticCableType() const{ return m_fiberOpticCableType; }
155 inline bool FiberOpticCableTypeHasBeenSet() const { return m_fiberOpticCableTypeHasBeenSet; }
156 inline void SetFiberOpticCableType(const FiberOpticCableType& value) { m_fiberOpticCableTypeHasBeenSet = true; m_fiberOpticCableType = value; }
157 inline void SetFiberOpticCableType(FiberOpticCableType&& value) { m_fiberOpticCableTypeHasBeenSet = true; m_fiberOpticCableType = std::move(value); }
161
163
184 inline const OpticalStandard& GetOpticalStandard() const{ return m_opticalStandard; }
185 inline bool OpticalStandardHasBeenSet() const { return m_opticalStandardHasBeenSet; }
186 inline void SetOpticalStandard(const OpticalStandard& value) { m_opticalStandardHasBeenSet = true; m_opticalStandard = value; }
187 inline void SetOpticalStandard(OpticalStandard&& value) { m_opticalStandardHasBeenSet = true; m_opticalStandard = std::move(value); }
191
193
197 inline const MaximumSupportedWeightLbs& GetMaximumSupportedWeightLbs() const{ return m_maximumSupportedWeightLbs; }
198 inline bool MaximumSupportedWeightLbsHasBeenSet() const { return m_maximumSupportedWeightLbsHasBeenSet; }
199 inline void SetMaximumSupportedWeightLbs(const MaximumSupportedWeightLbs& value) { m_maximumSupportedWeightLbsHasBeenSet = true; m_maximumSupportedWeightLbs = value; }
200 inline void SetMaximumSupportedWeightLbs(MaximumSupportedWeightLbs&& value) { m_maximumSupportedWeightLbsHasBeenSet = true; m_maximumSupportedWeightLbs = std::move(value); }
204 private:
205
206 Aws::String m_siteId;
207 bool m_siteIdHasBeenSet = false;
208
209 PowerDrawKva m_powerDrawKva;
210 bool m_powerDrawKvaHasBeenSet = false;
211
212 PowerPhase m_powerPhase;
213 bool m_powerPhaseHasBeenSet = false;
214
215 PowerConnector m_powerConnector;
216 bool m_powerConnectorHasBeenSet = false;
217
218 PowerFeedDrop m_powerFeedDrop;
219 bool m_powerFeedDropHasBeenSet = false;
220
221 UplinkGbps m_uplinkGbps;
222 bool m_uplinkGbpsHasBeenSet = false;
223
224 UplinkCount m_uplinkCount;
225 bool m_uplinkCountHasBeenSet = false;
226
227 FiberOpticCableType m_fiberOpticCableType;
228 bool m_fiberOpticCableTypeHasBeenSet = false;
229
230 OpticalStandard m_opticalStandard;
231 bool m_opticalStandardHasBeenSet = false;
232
233 MaximumSupportedWeightLbs m_maximumSupportedWeightLbs;
234 bool m_maximumSupportedWeightLbsHasBeenSet = false;
235 };
236
237} // namespace Model
238} // namespace Outposts
239} // namespace Aws
UpdateSiteRackPhysicalPropertiesRequest & WithPowerFeedDrop(const PowerFeedDrop &value)
UpdateSiteRackPhysicalPropertiesRequest & WithMaximumSupportedWeightLbs(MaximumSupportedWeightLbs &&value)
UpdateSiteRackPhysicalPropertiesRequest & WithOpticalStandard(const OpticalStandard &value)
UpdateSiteRackPhysicalPropertiesRequest & WithUplinkGbps(UplinkGbps &&value)
UpdateSiteRackPhysicalPropertiesRequest & WithUplinkCount(UplinkCount &&value)
UpdateSiteRackPhysicalPropertiesRequest & WithPowerConnector(const PowerConnector &value)
UpdateSiteRackPhysicalPropertiesRequest & WithFiberOpticCableType(FiberOpticCableType &&value)
UpdateSiteRackPhysicalPropertiesRequest & WithSiteId(const Aws::String &value)
AWS_OUTPOSTS_API Aws::String SerializePayload() const override
UpdateSiteRackPhysicalPropertiesRequest & WithSiteId(const char *value)
UpdateSiteRackPhysicalPropertiesRequest & WithPowerDrawKva(const PowerDrawKva &value)
UpdateSiteRackPhysicalPropertiesRequest & WithUplinkGbps(const UplinkGbps &value)
UpdateSiteRackPhysicalPropertiesRequest & WithPowerPhase(const PowerPhase &value)
UpdateSiteRackPhysicalPropertiesRequest & WithUplinkCount(const UplinkCount &value)
UpdateSiteRackPhysicalPropertiesRequest & WithMaximumSupportedWeightLbs(const MaximumSupportedWeightLbs &value)
UpdateSiteRackPhysicalPropertiesRequest & WithFiberOpticCableType(const FiberOpticCableType &value)
UpdateSiteRackPhysicalPropertiesRequest & WithSiteId(Aws::String &&value)
UpdateSiteRackPhysicalPropertiesRequest & WithPowerDrawKva(PowerDrawKva &&value)
UpdateSiteRackPhysicalPropertiesRequest & WithOpticalStandard(OpticalStandard &&value)
UpdateSiteRackPhysicalPropertiesRequest & WithPowerPhase(PowerPhase &&value)
UpdateSiteRackPhysicalPropertiesRequest & WithPowerConnector(PowerConnector &&value)
UpdateSiteRackPhysicalPropertiesRequest & WithPowerFeedDrop(PowerFeedDrop &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String