AWS SDK for C++

AWS SDK for C++ Version 1.11.771

Loading...
Searching...
No Matches
RoutePassThroughWaypoint.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RoutePassThroughPlace.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GeoRoutes {
20namespace Model {
21
29 public:
30 AWS_GEOROUTES_API RoutePassThroughWaypoint() = default;
33 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline int GetGeometryOffset() const { return m_geometryOffset; }
40 inline bool GeometryOffsetHasBeenSet() const { return m_geometryOffsetHasBeenSet; }
41 inline void SetGeometryOffset(int value) {
42 m_geometryOffsetHasBeenSet = true;
43 m_geometryOffset = value;
44 }
46 SetGeometryOffset(value);
47 return *this;
48 }
50
52
55 inline const RoutePassThroughPlace& GetPlace() const { return m_place; }
56 inline bool PlaceHasBeenSet() const { return m_placeHasBeenSet; }
57 template <typename PlaceT = RoutePassThroughPlace>
58 void SetPlace(PlaceT&& value) {
59 m_placeHasBeenSet = true;
60 m_place = std::forward<PlaceT>(value);
61 }
62 template <typename PlaceT = RoutePassThroughPlace>
64 SetPlace(std::forward<PlaceT>(value));
65 return *this;
66 }
68 private:
69 int m_geometryOffset{0};
70
71 RoutePassThroughPlace m_place;
72 bool m_geometryOffsetHasBeenSet = false;
73 bool m_placeHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace GeoRoutes
78} // namespace Aws
AWS_GEOROUTES_API RoutePassThroughWaypoint()=default
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RoutePassThroughWaypoint(Aws::Utils::Json::JsonView jsonValue)
RoutePassThroughWaypoint & WithPlace(PlaceT &&value)
RoutePassThroughWaypoint & WithGeometryOffset(int value)
AWS_GEOROUTES_API RoutePassThroughWaypoint & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue