AWS SDK for C++

AWS SDK for C++ Version 1.11.710

Loading...
Searching...
No Matches
AssetLocation.h
1
6#pragma once
7#include <aws/outposts/Outposts_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Outposts {
17namespace Model {
18
26 public:
27 AWS_OUTPOSTS_API AssetLocation() = default;
28 AWS_OUTPOSTS_API AssetLocation(Aws::Utils::Json::JsonView jsonValue);
30 AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline double GetRackElevation() const { return m_rackElevation; }
37 inline bool RackElevationHasBeenSet() const { return m_rackElevationHasBeenSet; }
38 inline void SetRackElevation(double value) {
39 m_rackElevationHasBeenSet = true;
40 m_rackElevation = value;
41 }
42 inline AssetLocation& WithRackElevation(double value) {
43 SetRackElevation(value);
44 return *this;
45 }
47 private:
48 double m_rackElevation{0.0};
49 bool m_rackElevationHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace Outposts
54} // namespace Aws
AWS_OUTPOSTS_API AssetLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OUTPOSTS_API AssetLocation(Aws::Utils::Json::JsonView jsonValue)
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OUTPOSTS_API AssetLocation()=default
AssetLocation & WithRackElevation(double value)
Aws::Utils::Json::JsonValue JsonValue