AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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#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 RoutePassThroughWaypoint() = default;
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetGeometryOffset() const { return m_geometryOffset; }
46 inline bool GeometryOffsetHasBeenSet() const { return m_geometryOffsetHasBeenSet; }
47 inline void SetGeometryOffset(int value) { m_geometryOffsetHasBeenSet = true; m_geometryOffset = value; }
48 inline RoutePassThroughWaypoint& WithGeometryOffset(int value) { SetGeometryOffset(value); return *this;}
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) { m_placeHasBeenSet = true; m_place = std::forward<PlaceT>(value); }
59 template<typename PlaceT = RoutePassThroughPlace>
60 RoutePassThroughWaypoint& WithPlace(PlaceT&& value) { SetPlace(std::forward<PlaceT>(value)); return *this;}
62 private:
63
64 int m_geometryOffset{0};
65 bool m_geometryOffsetHasBeenSet = false;
66
67 RoutePassThroughPlace m_place;
68 bool m_placeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace GeoRoutes
73} // 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