AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetExcept(const Aws::Vector<IsolineAvoidanceAreaGeometry>& value) { m_exceptHasBeenSet = true; m_except = value; }
49 inline void SetExcept(Aws::Vector<IsolineAvoidanceAreaGeometry>&& value) { m_exceptHasBeenSet = true; m_except = std::move(value); }
51 inline IsolineAvoidanceArea& WithExcept(Aws::Vector<IsolineAvoidanceAreaGeometry>&& value) { SetExcept(std::move(value)); return *this;}
52 inline IsolineAvoidanceArea& AddExcept(const IsolineAvoidanceAreaGeometry& value) { m_exceptHasBeenSet = true; m_except.push_back(value); return *this; }
53 inline IsolineAvoidanceArea& AddExcept(IsolineAvoidanceAreaGeometry&& value) { m_exceptHasBeenSet = true; m_except.push_back(std::move(value)); return *this; }
55
57
60 inline const IsolineAvoidanceAreaGeometry& GetGeometry() const{ return m_geometry; }
61 inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; }
62 inline void SetGeometry(const IsolineAvoidanceAreaGeometry& value) { m_geometryHasBeenSet = true; m_geometry = value; }
63 inline void SetGeometry(IsolineAvoidanceAreaGeometry&& value) { m_geometryHasBeenSet = true; m_geometry = std::move(value); }
64 inline IsolineAvoidanceArea& WithGeometry(const IsolineAvoidanceAreaGeometry& value) { SetGeometry(value); return *this;}
65 inline IsolineAvoidanceArea& WithGeometry(IsolineAvoidanceAreaGeometry&& value) { SetGeometry(std::move(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(const IsolineAvoidanceAreaGeometry &value)
const Aws::Vector< IsolineAvoidanceAreaGeometry > & GetExcept() const
const IsolineAvoidanceAreaGeometry & GetGeometry() const
void SetGeometry(IsolineAvoidanceAreaGeometry &&value)
IsolineAvoidanceArea & AddExcept(const IsolineAvoidanceAreaGeometry &value)
IsolineAvoidanceArea & AddExcept(IsolineAvoidanceAreaGeometry &&value)
IsolineAvoidanceArea & WithExcept(const Aws::Vector< IsolineAvoidanceAreaGeometry > &value)
IsolineAvoidanceArea & WithExcept(Aws::Vector< IsolineAvoidanceAreaGeometry > &&value)
void SetGeometry(const IsolineAvoidanceAreaGeometry &value)
void SetExcept(Aws::Vector< IsolineAvoidanceAreaGeometry > &&value)
AWS_GEOROUTES_API IsolineAvoidanceArea & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetExcept(const Aws::Vector< IsolineAvoidanceAreaGeometry > &value)
IsolineAvoidanceArea & WithGeometry(IsolineAvoidanceAreaGeometry &&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