AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteFerryPlace.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GeoRoutes
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GEOROUTES_API RouteFerryPlace();
36 AWS_GEOROUTES_API RouteFerryPlace(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline RouteFerryPlace& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline RouteFerryPlace& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline RouteFerryPlace& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::Vector<double>& GetOriginalPosition() const{ return m_originalPosition; }
60 inline bool OriginalPositionHasBeenSet() const { return m_originalPositionHasBeenSet; }
61 inline void SetOriginalPosition(const Aws::Vector<double>& value) { m_originalPositionHasBeenSet = true; m_originalPosition = value; }
62 inline void SetOriginalPosition(Aws::Vector<double>&& value) { m_originalPositionHasBeenSet = true; m_originalPosition = std::move(value); }
63 inline RouteFerryPlace& WithOriginalPosition(const Aws::Vector<double>& value) { SetOriginalPosition(value); return *this;}
64 inline RouteFerryPlace& WithOriginalPosition(Aws::Vector<double>&& value) { SetOriginalPosition(std::move(value)); return *this;}
65 inline RouteFerryPlace& AddOriginalPosition(double value) { m_originalPositionHasBeenSet = true; m_originalPosition.push_back(value); return *this; }
67
69
72 inline const Aws::Vector<double>& GetPosition() const{ return m_position; }
73 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
74 inline void SetPosition(const Aws::Vector<double>& value) { m_positionHasBeenSet = true; m_position = value; }
75 inline void SetPosition(Aws::Vector<double>&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
76 inline RouteFerryPlace& WithPosition(const Aws::Vector<double>& value) { SetPosition(value); return *this;}
77 inline RouteFerryPlace& WithPosition(Aws::Vector<double>&& value) { SetPosition(std::move(value)); return *this;}
78 inline RouteFerryPlace& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; }
80
82
85 inline int GetWaypointIndex() const{ return m_waypointIndex; }
86 inline bool WaypointIndexHasBeenSet() const { return m_waypointIndexHasBeenSet; }
87 inline void SetWaypointIndex(int value) { m_waypointIndexHasBeenSet = true; m_waypointIndex = value; }
88 inline RouteFerryPlace& WithWaypointIndex(int value) { SetWaypointIndex(value); return *this;}
90 private:
91
92 Aws::String m_name;
93 bool m_nameHasBeenSet = false;
94
95 Aws::Vector<double> m_originalPosition;
96 bool m_originalPositionHasBeenSet = false;
97
98 Aws::Vector<double> m_position;
99 bool m_positionHasBeenSet = false;
100
101 int m_waypointIndex;
102 bool m_waypointIndexHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace GeoRoutes
107} // namespace Aws
RouteFerryPlace & WithOriginalPosition(const Aws::Vector< double > &value)
RouteFerryPlace & WithWaypointIndex(int value)
RouteFerryPlace & WithName(const char *value)
void SetName(const Aws::String &value)
RouteFerryPlace & AddOriginalPosition(double value)
AWS_GEOROUTES_API RouteFerryPlace & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteFerryPlace & WithOriginalPosition(Aws::Vector< double > &&value)
const Aws::Vector< double > & GetOriginalPosition() const
RouteFerryPlace & WithPosition(const Aws::Vector< double > &value)
const Aws::Vector< double > & GetPosition() const
AWS_GEOROUTES_API RouteFerryPlace(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteFerryPlace & AddPosition(double value)
RouteFerryPlace & WithName(const Aws::String &value)
RouteFerryPlace & WithPosition(Aws::Vector< double > &&value)
void SetOriginalPosition(const Aws::Vector< double > &value)
void SetOriginalPosition(Aws::Vector< double > &&value)
void SetPosition(const Aws::Vector< double > &value)
RouteFerryPlace & WithName(Aws::String &&value)
void SetPosition(Aws::Vector< double > &&value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue