AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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
32 public:
33 AWS_GEOROUTES_API IsolineSideOfStreetOptions() = default;
36 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::Vector<double>& GetPosition() const { return m_position; }
44 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
45 template <typename PositionT = Aws::Vector<double>>
46 void SetPosition(PositionT&& value) {
47 m_positionHasBeenSet = true;
48 m_position = std::forward<PositionT>(value);
49 }
50 template <typename PositionT = Aws::Vector<double>>
52 SetPosition(std::forward<PositionT>(value));
53 return *this;
54 }
56 m_positionHasBeenSet = true;
57 m_position.push_back(value);
58 return *this;
59 }
61
63
74 inline SideOfStreetMatchingStrategy GetUseWith() const { return m_useWith; }
75 inline bool UseWithHasBeenSet() const { return m_useWithHasBeenSet; }
77 m_useWithHasBeenSet = true;
78 m_useWith = value;
79 }
81 SetUseWith(value);
82 return *this;
83 }
85 private:
86 Aws::Vector<double> m_position;
87
89 bool m_positionHasBeenSet = false;
90 bool m_useWithHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace GeoRoutes
95} // 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