AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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#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
32 {
33 public:
34 AWS_GEOROUTES_API WaypointOptimizationAvoidanceArea() = default;
37 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const WaypointOptimizationAvoidanceAreaGeometry& GetGeometry() const { return m_geometry; }
45 inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; }
46 template<typename GeometryT = WaypointOptimizationAvoidanceAreaGeometry>
47 void SetGeometry(GeometryT&& value) { m_geometryHasBeenSet = true; m_geometry = std::forward<GeometryT>(value); }
48 template<typename GeometryT = WaypointOptimizationAvoidanceAreaGeometry>
49 WaypointOptimizationAvoidanceArea& WithGeometry(GeometryT&& value) { SetGeometry(std::forward<GeometryT>(value)); return *this;}
51 private:
52
54 bool m_geometryHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace GeoRoutes
59} // 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