AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRouteNumber(const RouteNumber& value) { m_routeNumberHasBeenSet = true; m_routeNumber = value; }
48 inline void SetRouteNumber(RouteNumber&& value) { m_routeNumberHasBeenSet = true; m_routeNumber = std::move(value); }
49 inline RouteSignpostLabel& WithRouteNumber(const RouteNumber& value) { SetRouteNumber(value); return *this;}
50 inline RouteSignpostLabel& WithRouteNumber(RouteNumber&& value) { SetRouteNumber(std::move(value)); return *this;}
52
54
57 inline const LocalizedString& GetText() const{ return m_text; }
58 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
59 inline void SetText(const LocalizedString& value) { m_textHasBeenSet = true; m_text = value; }
60 inline void SetText(LocalizedString&& value) { m_textHasBeenSet = true; m_text = std::move(value); }
61 inline RouteSignpostLabel& WithText(const LocalizedString& value) { SetText(value); return *this;}
62 inline RouteSignpostLabel& WithText(LocalizedString&& value) { SetText(std::move(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
RouteSignpostLabel & WithText(LocalizedString &&value)
RouteSignpostLabel & WithRouteNumber(const RouteNumber &value)
const LocalizedString & GetText() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteSignpostLabel & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API RouteSignpostLabel(Aws::Utils::Json::JsonView jsonValue)
void SetText(const LocalizedString &value)
RouteSignpostLabel & WithRouteNumber(RouteNumber &&value)
RouteSignpostLabel & WithText(const LocalizedString &value)
void SetRouteNumber(const RouteNumber &value)
Aws::Utils::Json::JsonValue JsonValue