/** * 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 { /** *

Worker orientation measured in units clockwise from north.

See * Also:

AWS * API Reference

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

Degrees, limited on [0, 360)

*/ inline double GetDegrees() const{ return m_degrees; } /** *

Degrees, limited on [0, 360)

*/ inline bool DegreesHasBeenSet() const { return m_degreesHasBeenSet; } /** *

Degrees, limited on [0, 360)

*/ inline void SetDegrees(double value) { m_degreesHasBeenSet = true; m_degrees = value; } /** *

Degrees, limited on [0, 360)

*/ inline Orientation& WithDegrees(double value) { SetDegrees(value); return *this;} private: double m_degrees; bool m_degreesHasBeenSet = false; }; } // namespace Model } // namespace IoTRoboRunner } // namespace Aws