AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RouteMatrixAvoidanceArea.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteMatrixAvoidanceAreaGeometry.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 RouteMatrixAvoidanceArea() = default;
37 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const RouteMatrixAvoidanceAreaGeometry& GetGeometry() const { return m_geometry; }
45 inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; }
46 template<typename GeometryT = RouteMatrixAvoidanceAreaGeometry>
47 void SetGeometry(GeometryT&& value) { m_geometryHasBeenSet = true; m_geometry = std::forward<GeometryT>(value); }
48 template<typename GeometryT = RouteMatrixAvoidanceAreaGeometry>
49 RouteMatrixAvoidanceArea& 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
AWS_GEOROUTES_API RouteMatrixAvoidanceArea & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API RouteMatrixAvoidanceArea(Aws::Utils::Json::JsonView jsonValue)
RouteMatrixAvoidanceArea & WithGeometry(GeometryT &&value)
const RouteMatrixAvoidanceAreaGeometry & GetGeometry() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteMatrixAvoidanceArea()=default
Aws::Utils::Json::JsonValue JsonValue