/** * 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 IoTRoboRunner { namespace Model { /** *

Cartesian coordinates in 3D space relative to the RoboRunner * origin.

See Also:

AWS * API Reference

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

X coordinate.

*/ inline double GetX() const{ return m_x; } /** *

X coordinate.

*/ inline bool XHasBeenSet() const { return m_xHasBeenSet; } /** *

X coordinate.

*/ inline void SetX(double value) { m_xHasBeenSet = true; m_x = value; } /** *

X coordinate.

*/ inline CartesianCoordinates& WithX(double value) { SetX(value); return *this;} /** *

Y coordinate.

*/ inline double GetY() const{ return m_y; } /** *

Y coordinate.

*/ inline bool YHasBeenSet() const { return m_yHasBeenSet; } /** *

Y coordinate.

*/ inline void SetY(double value) { m_yHasBeenSet = true; m_y = value; } /** *

Y coordinate.

*/ inline CartesianCoordinates& WithY(double value) { SetY(value); return *this;} /** *

Z coordinate.

*/ inline double GetZ() const{ return m_z; } /** *

Z coordinate.

*/ inline bool ZHasBeenSet() const { return m_zHasBeenSet; } /** *

Z coordinate.

*/ inline void SetZ(double value) { m_zHasBeenSet = true; m_z = value; } /** *

Z coordinate.

*/ inline CartesianCoordinates& WithZ(double value) { SetZ(value); return *this;} private: double m_x; bool m_xHasBeenSet = false; double m_y; bool m_yHasBeenSet = false; double m_z; bool m_zHasBeenSet = false; }; } // namespace Model } // namespace IoTRoboRunner } // namespace Aws