AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
IsolineAvoidanceArea.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/IsolineAvoidanceAreaGeometry.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 IsolineAvoidanceArea() = default;
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::Vector<IsolineAvoidanceAreaGeometry>& GetExcept() const { return m_except; }
47 inline bool ExceptHasBeenSet() const { return m_exceptHasBeenSet; }
48 template<typename ExceptT = Aws::Vector<IsolineAvoidanceAreaGeometry>>
49 void SetExcept(ExceptT&& value) { m_exceptHasBeenSet = true; m_except = std::forward<ExceptT>(value); }
50 template<typename ExceptT = Aws::Vector<IsolineAvoidanceAreaGeometry>>
51 IsolineAvoidanceArea& WithExcept(ExceptT&& value) { SetExcept(std::forward<ExceptT>(value)); return *this;}
52 template<typename ExceptT = IsolineAvoidanceAreaGeometry>
53 IsolineAvoidanceArea& AddExcept(ExceptT&& value) { m_exceptHasBeenSet = true; m_except.emplace_back(std::forward<ExceptT>(value)); return *this; }
55
57
60 inline const IsolineAvoidanceAreaGeometry& GetGeometry() const { return m_geometry; }
61 inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; }
62 template<typename GeometryT = IsolineAvoidanceAreaGeometry>
63 void SetGeometry(GeometryT&& value) { m_geometryHasBeenSet = true; m_geometry = std::forward<GeometryT>(value); }
64 template<typename GeometryT = IsolineAvoidanceAreaGeometry>
65 IsolineAvoidanceArea& WithGeometry(GeometryT&& value) { SetGeometry(std::forward<GeometryT>(value)); return *this;}
67 private:
68
70 bool m_exceptHasBeenSet = false;
71
73 bool m_geometryHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace GeoRoutes
78} // namespace Aws
IsolineAvoidanceArea & WithGeometry(GeometryT &&value)
const Aws::Vector< IsolineAvoidanceAreaGeometry > & GetExcept() const
const IsolineAvoidanceAreaGeometry & GetGeometry() const
AWS_GEOROUTES_API IsolineAvoidanceArea()=default
AWS_GEOROUTES_API IsolineAvoidanceArea & operator=(Aws::Utils::Json::JsonView jsonValue)
IsolineAvoidanceArea & WithExcept(ExceptT &&value)
IsolineAvoidanceArea & AddExcept(ExceptT &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API IsolineAvoidanceArea(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue