AWS SDK for C++

AWS SDK for C++ Version 1.11.772

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