AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
PolylineCorridor.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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
33 {
34 public:
35 AWS_GEOROUTES_API PolylineCorridor() = default;
36 AWS_GEOROUTES_API PolylineCorridor(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetPolyline() const { return m_polyline; }
48 inline bool PolylineHasBeenSet() const { return m_polylineHasBeenSet; }
49 template<typename PolylineT = Aws::String>
50 void SetPolyline(PolylineT&& value) { m_polylineHasBeenSet = true; m_polyline = std::forward<PolylineT>(value); }
51 template<typename PolylineT = Aws::String>
52 PolylineCorridor& WithPolyline(PolylineT&& value) { SetPolyline(std::forward<PolylineT>(value)); return *this;}
54
56
61 inline int GetRadius() const { return m_radius; }
62 inline bool RadiusHasBeenSet() const { return m_radiusHasBeenSet; }
63 inline void SetRadius(int value) { m_radiusHasBeenSet = true; m_radius = value; }
64 inline PolylineCorridor& WithRadius(int value) { SetRadius(value); return *this;}
66 private:
67
68 Aws::String m_polyline;
69 bool m_polylineHasBeenSet = false;
70
71 int m_radius{0};
72 bool m_radiusHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace GeoRoutes
77} // namespace Aws
AWS_GEOROUTES_API PolylineCorridor(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API PolylineCorridor()=default
const Aws::String & GetPolyline() const
AWS_GEOROUTES_API PolylineCorridor & operator=(Aws::Utils::Json::JsonView jsonValue)
PolylineCorridor & WithPolyline(PolylineT &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
PolylineCorridor & WithRadius(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue