AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RoutePedestrianPlace.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/geo-routes/model/RouteSideOfStreet.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GeoRoutes
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GEOROUTES_API RoutePedestrianPlace();
40 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline RoutePedestrianPlace& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline RoutePedestrianPlace& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline RoutePedestrianPlace& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::Vector<double>& GetOriginalPosition() const{ return m_originalPosition; }
62 inline bool OriginalPositionHasBeenSet() const { return m_originalPositionHasBeenSet; }
63 inline void SetOriginalPosition(const Aws::Vector<double>& value) { m_originalPositionHasBeenSet = true; m_originalPosition = value; }
64 inline void SetOriginalPosition(Aws::Vector<double>&& value) { m_originalPositionHasBeenSet = true; m_originalPosition = std::move(value); }
66 inline RoutePedestrianPlace& WithOriginalPosition(Aws::Vector<double>&& value) { SetOriginalPosition(std::move(value)); return *this;}
67 inline RoutePedestrianPlace& AddOriginalPosition(double value) { m_originalPositionHasBeenSet = true; m_originalPosition.push_back(value); return *this; }
69
71
74 inline const Aws::Vector<double>& GetPosition() const{ return m_position; }
75 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
76 inline void SetPosition(const Aws::Vector<double>& value) { m_positionHasBeenSet = true; m_position = value; }
77 inline void SetPosition(Aws::Vector<double>&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
78 inline RoutePedestrianPlace& WithPosition(const Aws::Vector<double>& value) { SetPosition(value); return *this;}
79 inline RoutePedestrianPlace& WithPosition(Aws::Vector<double>&& value) { SetPosition(std::move(value)); return *this;}
80 inline RoutePedestrianPlace& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; }
82
84
88 inline const RouteSideOfStreet& GetSideOfStreet() const{ return m_sideOfStreet; }
89 inline bool SideOfStreetHasBeenSet() const { return m_sideOfStreetHasBeenSet; }
90 inline void SetSideOfStreet(const RouteSideOfStreet& value) { m_sideOfStreetHasBeenSet = true; m_sideOfStreet = value; }
91 inline void SetSideOfStreet(RouteSideOfStreet&& value) { m_sideOfStreetHasBeenSet = true; m_sideOfStreet = std::move(value); }
92 inline RoutePedestrianPlace& WithSideOfStreet(const RouteSideOfStreet& value) { SetSideOfStreet(value); return *this;}
93 inline RoutePedestrianPlace& WithSideOfStreet(RouteSideOfStreet&& value) { SetSideOfStreet(std::move(value)); return *this;}
95
97
100 inline int GetWaypointIndex() const{ return m_waypointIndex; }
101 inline bool WaypointIndexHasBeenSet() const { return m_waypointIndexHasBeenSet; }
102 inline void SetWaypointIndex(int value) { m_waypointIndexHasBeenSet = true; m_waypointIndex = value; }
103 inline RoutePedestrianPlace& WithWaypointIndex(int value) { SetWaypointIndex(value); return *this;}
105 private:
106
107 Aws::String m_name;
108 bool m_nameHasBeenSet = false;
109
110 Aws::Vector<double> m_originalPosition;
111 bool m_originalPositionHasBeenSet = false;
112
113 Aws::Vector<double> m_position;
114 bool m_positionHasBeenSet = false;
115
116 RouteSideOfStreet m_sideOfStreet;
117 bool m_sideOfStreetHasBeenSet = false;
118
119 int m_waypointIndex;
120 bool m_waypointIndexHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace GeoRoutes
125} // namespace Aws
RoutePedestrianPlace & WithPosition(const Aws::Vector< double > &value)
RoutePedestrianPlace & WithWaypointIndex(int value)
const RouteSideOfStreet & GetSideOfStreet() const
RoutePedestrianPlace & WithName(const char *value)
AWS_GEOROUTES_API RoutePedestrianPlace & operator=(Aws::Utils::Json::JsonView jsonValue)
RoutePedestrianPlace & WithSideOfStreet(RouteSideOfStreet &&value)
void SetOriginalPosition(const Aws::Vector< double > &value)
void SetSideOfStreet(const RouteSideOfStreet &value)
AWS_GEOROUTES_API RoutePedestrianPlace(Aws::Utils::Json::JsonView jsonValue)
RoutePedestrianPlace & WithName(Aws::String &&value)
const Aws::Vector< double > & GetPosition() const
void SetOriginalPosition(Aws::Vector< double > &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RoutePedestrianPlace & WithName(const Aws::String &value)
void SetPosition(const Aws::Vector< double > &value)
RoutePedestrianPlace & WithOriginalPosition(const Aws::Vector< double > &value)
RoutePedestrianPlace & WithPosition(Aws::Vector< double > &&value)
RoutePedestrianPlace & WithSideOfStreet(const RouteSideOfStreet &value)
RoutePedestrianPlace & AddOriginalPosition(double value)
void SetPosition(Aws::Vector< double > &&value)
void SetSideOfStreet(RouteSideOfStreet &&value)
RoutePedestrianPlace & WithOriginalPosition(Aws::Vector< double > &&value)
const Aws::Vector< double > & GetOriginalPosition() const
RoutePedestrianPlace & AddPosition(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue