AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RoutePassThroughPlace.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GeoRoutes
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GEOROUTES_API RoutePassThroughPlace();
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<double>& GetOriginalPosition() const{ return m_originalPosition; }
46 inline bool OriginalPositionHasBeenSet() const { return m_originalPositionHasBeenSet; }
47 inline void SetOriginalPosition(const Aws::Vector<double>& value) { m_originalPositionHasBeenSet = true; m_originalPosition = value; }
48 inline void SetOriginalPosition(Aws::Vector<double>&& value) { m_originalPositionHasBeenSet = true; m_originalPosition = std::move(value); }
50 inline RoutePassThroughPlace& WithOriginalPosition(Aws::Vector<double>&& value) { SetOriginalPosition(std::move(value)); return *this;}
51 inline RoutePassThroughPlace& AddOriginalPosition(double value) { m_originalPositionHasBeenSet = true; m_originalPosition.push_back(value); return *this; }
53
55
58 inline const Aws::Vector<double>& GetPosition() const{ return m_position; }
59 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
60 inline void SetPosition(const Aws::Vector<double>& value) { m_positionHasBeenSet = true; m_position = value; }
61 inline void SetPosition(Aws::Vector<double>&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
62 inline RoutePassThroughPlace& WithPosition(const Aws::Vector<double>& value) { SetPosition(value); return *this;}
63 inline RoutePassThroughPlace& WithPosition(Aws::Vector<double>&& value) { SetPosition(std::move(value)); return *this;}
64 inline RoutePassThroughPlace& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; }
66
68
71 inline int GetWaypointIndex() const{ return m_waypointIndex; }
72 inline bool WaypointIndexHasBeenSet() const { return m_waypointIndexHasBeenSet; }
73 inline void SetWaypointIndex(int value) { m_waypointIndexHasBeenSet = true; m_waypointIndex = value; }
74 inline RoutePassThroughPlace& WithWaypointIndex(int value) { SetWaypointIndex(value); return *this;}
76 private:
77
78 Aws::Vector<double> m_originalPosition;
79 bool m_originalPositionHasBeenSet = false;
80
81 Aws::Vector<double> m_position;
82 bool m_positionHasBeenSet = false;
83
84 int m_waypointIndex;
85 bool m_waypointIndexHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace GeoRoutes
90} // namespace Aws
AWS_GEOROUTES_API RoutePassThroughPlace(Aws::Utils::Json::JsonView jsonValue)
void SetOriginalPosition(Aws::Vector< double > &&value)
RoutePassThroughPlace & WithOriginalPosition(Aws::Vector< double > &&value)
RoutePassThroughPlace & WithPosition(Aws::Vector< double > &&value)
void SetPosition(Aws::Vector< double > &&value)
RoutePassThroughPlace & WithOriginalPosition(const Aws::Vector< double > &value)
AWS_GEOROUTES_API RoutePassThroughPlace & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOriginalPosition(const Aws::Vector< double > &value)
const Aws::Vector< double > & GetOriginalPosition() const
RoutePassThroughPlace & WithWaypointIndex(int value)
const Aws::Vector< double > & GetPosition() const
RoutePassThroughPlace & AddPosition(double value)
void SetPosition(const Aws::Vector< double > &value)
RoutePassThroughPlace & WithPosition(const Aws::Vector< double > &value)
RoutePassThroughPlace & AddOriginalPosition(double value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue