AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
WaypointOptimizationAvoidanceArea.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/WaypointOptimizationAvoidanceAreaGeometry.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
28 public:
29 AWS_GEOROUTES_API WaypointOptimizationAvoidanceArea() = default;
32 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const WaypointOptimizationAvoidanceAreaGeometry& GetGeometry() const { return m_geometry; }
39 inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; }
40 template <typename GeometryT = WaypointOptimizationAvoidanceAreaGeometry>
41 void SetGeometry(GeometryT&& value) {
42 m_geometryHasBeenSet = true;
43 m_geometry = std::forward<GeometryT>(value);
44 }
45 template <typename GeometryT = WaypointOptimizationAvoidanceAreaGeometry>
47 SetGeometry(std::forward<GeometryT>(value));
48 return *this;
49 }
51 private:
53 bool m_geometryHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace GeoRoutes
58} // namespace Aws
const WaypointOptimizationAvoidanceAreaGeometry & GetGeometry() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API WaypointOptimizationAvoidanceArea()=default
AWS_GEOROUTES_API WaypointOptimizationAvoidanceArea & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API WaypointOptimizationAvoidanceArea(Aws::Utils::Json::JsonView jsonValue)
WaypointOptimizationAvoidanceArea & WithGeometry(GeometryT &&value)
Aws::Utils::Json::JsonValue JsonValue