/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Outposts { namespace Model { /** *

Information about the position of the asset in a rack.

See * Also:

AWS * API Reference

*/ class AssetLocation { public: AWS_OUTPOSTS_API AssetLocation(); AWS_OUTPOSTS_API AssetLocation(Aws::Utils::Json::JsonView jsonValue); AWS_OUTPOSTS_API AssetLocation& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The position of an asset in a rack measured in rack units.

*/ inline double GetRackElevation() const{ return m_rackElevation; } /** *

The position of an asset in a rack measured in rack units.

*/ inline bool RackElevationHasBeenSet() const { return m_rackElevationHasBeenSet; } /** *

The position of an asset in a rack measured in rack units.

*/ inline void SetRackElevation(double value) { m_rackElevationHasBeenSet = true; m_rackElevation = value; } /** *

The position of an asset in a rack measured in rack units.

*/ inline AssetLocation& WithRackElevation(double value) { SetRackElevation(value); return *this;} private: double m_rackElevation; bool m_rackElevationHasBeenSet = false; }; } // namespace Model } // namespace Outposts } // namespace Aws