AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
RouteMatrixBoundary.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteMatrixBoundaryGeometry.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
34 {
35 public:
36 AWS_GEOROUTES_API RouteMatrixBoundary() = default;
37 AWS_GEOROUTES_API RouteMatrixBoundary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const RouteMatrixBoundaryGeometry& GetGeometry() const { return m_geometry; }
47 inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; }
48 template<typename GeometryT = RouteMatrixBoundaryGeometry>
49 void SetGeometry(GeometryT&& value) { m_geometryHasBeenSet = true; m_geometry = std::forward<GeometryT>(value); }
50 template<typename GeometryT = RouteMatrixBoundaryGeometry>
51 RouteMatrixBoundary& WithGeometry(GeometryT&& value) { SetGeometry(std::forward<GeometryT>(value)); return *this;}
53
55
59 inline bool GetUnbounded() const { return m_unbounded; }
60 inline bool UnboundedHasBeenSet() const { return m_unboundedHasBeenSet; }
61 inline void SetUnbounded(bool value) { m_unboundedHasBeenSet = true; m_unbounded = value; }
62 inline RouteMatrixBoundary& WithUnbounded(bool value) { SetUnbounded(value); return *this;}
64 private:
65
67 bool m_geometryHasBeenSet = false;
68
69 bool m_unbounded{false};
70 bool m_unboundedHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace GeoRoutes
75} // namespace Aws
AWS_GEOROUTES_API RouteMatrixBoundary()=default
const RouteMatrixBoundaryGeometry & GetGeometry() const
AWS_GEOROUTES_API RouteMatrixBoundary(Aws::Utils::Json::JsonView jsonValue)
RouteMatrixBoundary & WithGeometry(GeometryT &&value)
RouteMatrixBoundary & WithUnbounded(bool value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteMatrixBoundary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue