AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
IsolineSideOfStreetOptions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
9#include <aws/geo-routes/model/SideOfStreetMatchingStrategy.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GeoRoutes {
21namespace Model {
22
30 public:
31 AWS_GEOROUTES_API IsolineSideOfStreetOptions() = default;
34 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<double>& GetPosition() const { return m_position; }
41 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
42 template <typename PositionT = Aws::Vector<double>>
43 void SetPosition(PositionT&& value) {
44 m_positionHasBeenSet = true;
45 m_position = std::forward<PositionT>(value);
46 }
47 template <typename PositionT = Aws::Vector<double>>
49 SetPosition(std::forward<PositionT>(value));
50 return *this;
51 }
53 m_positionHasBeenSet = true;
54 m_position.push_back(value);
55 return *this;
56 }
58
60
65 inline SideOfStreetMatchingStrategy GetUseWith() const { return m_useWith; }
66 inline bool UseWithHasBeenSet() const { return m_useWithHasBeenSet; }
68 m_useWithHasBeenSet = true;
69 m_useWith = value;
70 }
72 SetUseWith(value);
73 return *this;
74 }
76 private:
77 Aws::Vector<double> m_position;
78
80 bool m_positionHasBeenSet = false;
81 bool m_useWithHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace GeoRoutes
86} // namespace Aws
AWS_GEOROUTES_API IsolineSideOfStreetOptions()=default
void SetUseWith(SideOfStreetMatchingStrategy value)
IsolineSideOfStreetOptions & WithUseWith(SideOfStreetMatchingStrategy value)
IsolineSideOfStreetOptions & WithPosition(PositionT &&value)
AWS_GEOROUTES_API IsolineSideOfStreetOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
IsolineSideOfStreetOptions & AddPosition(double value)
AWS_GEOROUTES_API IsolineSideOfStreetOptions(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue