AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RouteSignpostLabel.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteNumber.h>
9#include <aws/geo-routes/model/LocalizedString.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
33 {
34 public:
35 AWS_GEOROUTES_API RouteSignpostLabel() = default;
36 AWS_GEOROUTES_API RouteSignpostLabel(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const RouteNumber& GetRouteNumber() const { return m_routeNumber; }
46 inline bool RouteNumberHasBeenSet() const { return m_routeNumberHasBeenSet; }
47 template<typename RouteNumberT = RouteNumber>
48 void SetRouteNumber(RouteNumberT&& value) { m_routeNumberHasBeenSet = true; m_routeNumber = std::forward<RouteNumberT>(value); }
49 template<typename RouteNumberT = RouteNumber>
50 RouteSignpostLabel& WithRouteNumber(RouteNumberT&& value) { SetRouteNumber(std::forward<RouteNumberT>(value)); return *this;}
52
54
57 inline const LocalizedString& GetText() const { return m_text; }
58 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
59 template<typename TextT = LocalizedString>
60 void SetText(TextT&& value) { m_textHasBeenSet = true; m_text = std::forward<TextT>(value); }
61 template<typename TextT = LocalizedString>
62 RouteSignpostLabel& WithText(TextT&& value) { SetText(std::forward<TextT>(value)); return *this;}
64 private:
65
66 RouteNumber m_routeNumber;
67 bool m_routeNumberHasBeenSet = false;
68
69 LocalizedString m_text;
70 bool m_textHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace GeoRoutes
75} // namespace Aws
AWS_GEOROUTES_API RouteSignpostLabel()=default
const LocalizedString & GetText() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteSignpostLabel & WithText(TextT &&value)
AWS_GEOROUTES_API RouteSignpostLabel & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteSignpostLabel & WithRouteNumber(RouteNumberT &&value)
AWS_GEOROUTES_API RouteSignpostLabel(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue