AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRoadName(const LocalizedString& value) { m_roadNameHasBeenSet = true; m_roadName = value; }
49 inline void SetRoadName(LocalizedString&& value) { m_roadNameHasBeenSet = true; m_roadName = std::move(value); }
50 inline RouteMajorRoadLabel& WithRoadName(const LocalizedString& value) { SetRoadName(value); return *this;}
51 inline RouteMajorRoadLabel& WithRoadName(LocalizedString&& value) { SetRoadName(std::move(value)); return *this;}
53
55
58 inline const RouteNumber& GetRouteNumber() const{ return m_routeNumber; }
59 inline bool RouteNumberHasBeenSet() const { return m_routeNumberHasBeenSet; }
60 inline void SetRouteNumber(const RouteNumber& value) { m_routeNumberHasBeenSet = true; m_routeNumber = value; }
61 inline void SetRouteNumber(RouteNumber&& value) { m_routeNumberHasBeenSet = true; m_routeNumber = std::move(value); }
62 inline RouteMajorRoadLabel& WithRouteNumber(const RouteNumber& value) { SetRouteNumber(value); return *this;}
63 inline RouteMajorRoadLabel& WithRouteNumber(RouteNumber&& value) { SetRouteNumber(std::move(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
void SetRoadName(const LocalizedString &value)
AWS_GEOROUTES_API RouteMajorRoadLabel(Aws::Utils::Json::JsonView jsonValue)
RouteMajorRoadLabel & WithRoadName(LocalizedString &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
const LocalizedString & GetRoadName() const
RouteMajorRoadLabel & WithRouteNumber(const RouteNumber &value)
AWS_GEOROUTES_API RouteMajorRoadLabel & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteMajorRoadLabel & WithRoadName(const LocalizedString &value)
RouteMajorRoadLabel & WithRouteNumber(RouteNumber &&value)
void SetRouteNumber(const RouteNumber &value)
Aws::Utils::Json::JsonValue JsonValue