AWS SDK for C++

AWS SDK for C++ Version 1.11.760

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
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 RouteMatrixAvoidanceArea() = default;
32 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const RouteMatrixAvoidanceAreaGeometry& GetGeometry() const { return m_geometry; }
39 inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; }
40 template <typename GeometryT = RouteMatrixAvoidanceAreaGeometry>
41 void SetGeometry(GeometryT&& value) {
42 m_geometryHasBeenSet = true;
43 m_geometry = std::forward<GeometryT>(value);
44 }
45 template <typename GeometryT = RouteMatrixAvoidanceAreaGeometry>
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
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