AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RouteTollPaymentSite.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 RouteTollPaymentSite() = default;
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 RouteTollPaymentSite& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const Aws::Vector<double>& GetPosition() const { return m_position; }
59 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
60 template<typename PositionT = Aws::Vector<double>>
61 void SetPosition(PositionT&& value) { m_positionHasBeenSet = true; m_position = std::forward<PositionT>(value); }
62 template<typename PositionT = Aws::Vector<double>>
63 RouteTollPaymentSite& WithPosition(PositionT&& value) { SetPosition(std::forward<PositionT>(value)); return *this;}
64 inline RouteTollPaymentSite& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; }
66 private:
67
68 Aws::String m_name;
69 bool m_nameHasBeenSet = false;
70
71 Aws::Vector<double> m_position;
72 bool m_positionHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace GeoRoutes
77} // namespace Aws
AWS_GEOROUTES_API RouteTollPaymentSite & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteTollPaymentSite & WithPosition(PositionT &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteTollPaymentSite & WithName(NameT &&value)
RouteTollPaymentSite & AddPosition(double value)
AWS_GEOROUTES_API RouteTollPaymentSite(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API RouteTollPaymentSite()=default
const Aws::Vector< double > & GetPosition() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue