AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RoutePedestrianNotice.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RoutePedestrianNoticeCode.h>
9#include <aws/geo-routes/model/RouteNoticeImpact.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 RoutePedestrianNotice() = default;
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline RoutePedestrianNoticeCode GetCode() const { return m_code; }
47 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
48 inline void SetCode(RoutePedestrianNoticeCode value) { m_codeHasBeenSet = true; m_code = value; }
49 inline RoutePedestrianNotice& WithCode(RoutePedestrianNoticeCode value) { SetCode(value); return *this;}
51
53
58 inline RouteNoticeImpact GetImpact() const { return m_impact; }
59 inline bool ImpactHasBeenSet() const { return m_impactHasBeenSet; }
60 inline void SetImpact(RouteNoticeImpact value) { m_impactHasBeenSet = true; m_impact = value; }
61 inline RoutePedestrianNotice& WithImpact(RouteNoticeImpact value) { SetImpact(value); return *this;}
63 private:
64
66 bool m_codeHasBeenSet = false;
67
69 bool m_impactHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace GeoRoutes
74} // namespace Aws
AWS_GEOROUTES_API RoutePedestrianNotice & operator=(Aws::Utils::Json::JsonView jsonValue)
RoutePedestrianNotice & WithCode(RoutePedestrianNoticeCode value)
void SetCode(RoutePedestrianNoticeCode value)
AWS_GEOROUTES_API RoutePedestrianNotice()=default
AWS_GEOROUTES_API RoutePedestrianNotice(Aws::Utils::Json::JsonView jsonValue)
RoutePedestrianNotice & WithImpact(RouteNoticeImpact value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue