AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RouteMajorRoadLabel.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#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 RouteMajorRoadLabel() = default;
37 AWS_GEOROUTES_API RouteMajorRoadLabel(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const LocalizedString& GetRoadName() const { return m_roadName; }
47 inline bool RoadNameHasBeenSet() const { return m_roadNameHasBeenSet; }
48 template<typename RoadNameT = LocalizedString>
49 void SetRoadName(RoadNameT&& value) { m_roadNameHasBeenSet = true; m_roadName = std::forward<RoadNameT>(value); }
50 template<typename RoadNameT = LocalizedString>
51 RouteMajorRoadLabel& WithRoadName(RoadNameT&& value) { SetRoadName(std::forward<RoadNameT>(value)); return *this;}
53
55
58 inline const RouteNumber& GetRouteNumber() const { return m_routeNumber; }
59 inline bool RouteNumberHasBeenSet() const { return m_routeNumberHasBeenSet; }
60 template<typename RouteNumberT = RouteNumber>
61 void SetRouteNumber(RouteNumberT&& value) { m_routeNumberHasBeenSet = true; m_routeNumber = std::forward<RouteNumberT>(value); }
62 template<typename RouteNumberT = RouteNumber>
63 RouteMajorRoadLabel& WithRouteNumber(RouteNumberT&& value) { SetRouteNumber(std::forward<RouteNumberT>(value)); return *this;}
65 private:
66
67 LocalizedString m_roadName;
68 bool m_roadNameHasBeenSet = false;
69
70 RouteNumber m_routeNumber;
71 bool m_routeNumberHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace GeoRoutes
76} // namespace Aws
AWS_GEOROUTES_API RouteMajorRoadLabel(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
const LocalizedString & GetRoadName() const
RouteMajorRoadLabel & WithRoadName(RoadNameT &&value)
AWS_GEOROUTES_API RouteMajorRoadLabel()=default
AWS_GEOROUTES_API RouteMajorRoadLabel & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteMajorRoadLabel & WithRouteNumber(RouteNumberT &&value)
Aws::Utils::Json::JsonValue JsonValue