AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPolyline(const Aws::String& value) { m_polylineHasBeenSet = true; m_polyline = value; }
50 inline void SetPolyline(Aws::String&& value) { m_polylineHasBeenSet = true; m_polyline = std::move(value); }
51 inline void SetPolyline(const char* value) { m_polylineHasBeenSet = true; m_polyline.assign(value); }
52 inline PolylineCorridor& WithPolyline(const Aws::String& value) { SetPolyline(value); return *this;}
53 inline PolylineCorridor& WithPolyline(Aws::String&& value) { SetPolyline(std::move(value)); return *this;}
54 inline PolylineCorridor& WithPolyline(const char* value) { SetPolyline(value); return *this;}
56
58
63 inline int GetRadius() const{ return m_radius; }
64 inline bool RadiusHasBeenSet() const { return m_radiusHasBeenSet; }
65 inline void SetRadius(int value) { m_radiusHasBeenSet = true; m_radius = value; }
66 inline PolylineCorridor& WithRadius(int value) { SetRadius(value); return *this;}
68 private:
69
70 Aws::String m_polyline;
71 bool m_polylineHasBeenSet = false;
72
73 int m_radius;
74 bool m_radiusHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace GeoRoutes
79} // namespace Aws
PolylineCorridor & WithPolyline(const char *value)
AWS_GEOROUTES_API PolylineCorridor(Aws::Utils::Json::JsonView jsonValue)
PolylineCorridor & WithPolyline(const Aws::String &value)
const Aws::String & GetPolyline() const
AWS_GEOROUTES_API PolylineCorridor & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPolyline(const Aws::String &value)
PolylineCorridor & WithPolyline(Aws::String &&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