AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteSideOfStreetOptions.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/SideOfStreetMatchingStrategy.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
34 {
35 public:
36 AWS_GEOROUTES_API RouteSideOfStreetOptions();
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<double>& GetPosition() const{ return m_position; }
47 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
48 inline void SetPosition(const Aws::Vector<double>& value) { m_positionHasBeenSet = true; m_position = value; }
49 inline void SetPosition(Aws::Vector<double>&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
50 inline RouteSideOfStreetOptions& WithPosition(const Aws::Vector<double>& value) { SetPosition(value); return *this;}
51 inline RouteSideOfStreetOptions& WithPosition(Aws::Vector<double>&& value) { SetPosition(std::move(value)); return *this;}
52 inline RouteSideOfStreetOptions& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; }
54
56
60 inline const SideOfStreetMatchingStrategy& GetUseWith() const{ return m_useWith; }
61 inline bool UseWithHasBeenSet() const { return m_useWithHasBeenSet; }
62 inline void SetUseWith(const SideOfStreetMatchingStrategy& value) { m_useWithHasBeenSet = true; m_useWith = value; }
63 inline void SetUseWith(SideOfStreetMatchingStrategy&& value) { m_useWithHasBeenSet = true; m_useWith = std::move(value); }
64 inline RouteSideOfStreetOptions& WithUseWith(const SideOfStreetMatchingStrategy& value) { SetUseWith(value); return *this;}
65 inline RouteSideOfStreetOptions& WithUseWith(SideOfStreetMatchingStrategy&& value) { SetUseWith(std::move(value)); return *this;}
67 private:
68
69 Aws::Vector<double> m_position;
70 bool m_positionHasBeenSet = false;
71
73 bool m_useWithHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace GeoRoutes
78} // namespace Aws
AWS_GEOROUTES_API RouteSideOfStreetOptions(Aws::Utils::Json::JsonView jsonValue)
void SetUseWith(const SideOfStreetMatchingStrategy &value)
RouteSideOfStreetOptions & WithUseWith(SideOfStreetMatchingStrategy &&value)
AWS_GEOROUTES_API RouteSideOfStreetOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteSideOfStreetOptions & WithPosition(const Aws::Vector< double > &value)
void SetPosition(const Aws::Vector< double > &value)
const Aws::Vector< double > & GetPosition() const
RouteSideOfStreetOptions & WithPosition(Aws::Vector< double > &&value)
RouteSideOfStreetOptions & AddPosition(double value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
const SideOfStreetMatchingStrategy & GetUseWith() const
RouteSideOfStreetOptions & WithUseWith(const SideOfStreetMatchingStrategy &value)
void SetUseWith(SideOfStreetMatchingStrategy &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue