AWS SDK for C++

AWS SDK for C++ Version 1.11.768

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
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
30 public:
31 AWS_GEOROUTES_API RouteMatrixBoundary() = default;
32 AWS_GEOROUTES_API RouteMatrixBoundary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const RouteMatrixBoundaryGeometry& GetGeometry() const { return m_geometry; }
41 inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; }
42 template <typename GeometryT = RouteMatrixBoundaryGeometry>
43 void SetGeometry(GeometryT&& value) {
44 m_geometryHasBeenSet = true;
45 m_geometry = std::forward<GeometryT>(value);
46 }
47 template <typename GeometryT = RouteMatrixBoundaryGeometry>
48 RouteMatrixBoundary& WithGeometry(GeometryT&& value) {
49 SetGeometry(std::forward<GeometryT>(value));
50 return *this;
51 }
53
55
59 inline bool GetUnbounded() const { return m_unbounded; }
60 inline bool UnboundedHasBeenSet() const { return m_unboundedHasBeenSet; }
61 inline void SetUnbounded(bool value) {
62 m_unboundedHasBeenSet = true;
63 m_unbounded = value;
64 }
65 inline RouteMatrixBoundary& WithUnbounded(bool value) {
66 SetUnbounded(value);
67 return *this;
68 }
70 private:
72
73 bool m_unbounded{false};
74 bool m_geometryHasBeenSet = false;
75 bool m_unboundedHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace GeoRoutes
80} // 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