AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteAvoidanceArea.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/model/RouteAvoidanceAreaGeometry.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GeoRoutes
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GEOROUTES_API RouteAvoidanceArea();
36 AWS_GEOROUTES_API RouteAvoidanceArea(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::Vector<RouteAvoidanceAreaGeometry>& GetExcept() const{ return m_except; }
47 inline bool ExceptHasBeenSet() const { return m_exceptHasBeenSet; }
48 inline void SetExcept(const Aws::Vector<RouteAvoidanceAreaGeometry>& value) { m_exceptHasBeenSet = true; m_except = value; }
49 inline void SetExcept(Aws::Vector<RouteAvoidanceAreaGeometry>&& value) { m_exceptHasBeenSet = true; m_except = std::move(value); }
51 inline RouteAvoidanceArea& WithExcept(Aws::Vector<RouteAvoidanceAreaGeometry>&& value) { SetExcept(std::move(value)); return *this;}
52 inline RouteAvoidanceArea& AddExcept(const RouteAvoidanceAreaGeometry& value) { m_exceptHasBeenSet = true; m_except.push_back(value); return *this; }
53 inline RouteAvoidanceArea& AddExcept(RouteAvoidanceAreaGeometry&& value) { m_exceptHasBeenSet = true; m_except.push_back(std::move(value)); return *this; }
55
57
58 inline const RouteAvoidanceAreaGeometry& GetGeometry() const{ return m_geometry; }
59 inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; }
60 inline void SetGeometry(const RouteAvoidanceAreaGeometry& value) { m_geometryHasBeenSet = true; m_geometry = value; }
61 inline void SetGeometry(RouteAvoidanceAreaGeometry&& value) { m_geometryHasBeenSet = true; m_geometry = std::move(value); }
62 inline RouteAvoidanceArea& WithGeometry(const RouteAvoidanceAreaGeometry& value) { SetGeometry(value); return *this;}
63 inline RouteAvoidanceArea& WithGeometry(RouteAvoidanceAreaGeometry&& value) { SetGeometry(std::move(value)); return *this;}
65 private:
66
68 bool m_exceptHasBeenSet = false;
69
71 bool m_geometryHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace GeoRoutes
76} // namespace Aws
AWS_GEOROUTES_API RouteAvoidanceArea & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGeometry(const RouteAvoidanceAreaGeometry &value)
RouteAvoidanceArea & AddExcept(const RouteAvoidanceAreaGeometry &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteAvoidanceArea(Aws::Utils::Json::JsonView jsonValue)
void SetExcept(Aws::Vector< RouteAvoidanceAreaGeometry > &&value)
RouteAvoidanceArea & WithExcept(const Aws::Vector< RouteAvoidanceAreaGeometry > &value)
RouteAvoidanceArea & WithGeometry(const RouteAvoidanceAreaGeometry &value)
RouteAvoidanceArea & AddExcept(RouteAvoidanceAreaGeometry &&value)
RouteAvoidanceArea & WithGeometry(RouteAvoidanceAreaGeometry &&value)
void SetExcept(const Aws::Vector< RouteAvoidanceAreaGeometry > &value)
const Aws::Vector< RouteAvoidanceAreaGeometry > & GetExcept() const
void SetGeometry(RouteAvoidanceAreaGeometry &&value)
RouteAvoidanceArea & WithExcept(Aws::Vector< RouteAvoidanceAreaGeometry > &&value)
const RouteAvoidanceAreaGeometry & GetGeometry() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue