AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const RoutePedestrianNoticeCode& GetCode() const{ return m_code; }
47 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
48 inline void SetCode(const RoutePedestrianNoticeCode& value) { m_codeHasBeenSet = true; m_code = value; }
49 inline void SetCode(RoutePedestrianNoticeCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
50 inline RoutePedestrianNotice& WithCode(const RoutePedestrianNoticeCode& value) { SetCode(value); return *this;}
51 inline RoutePedestrianNotice& WithCode(RoutePedestrianNoticeCode&& value) { SetCode(std::move(value)); return *this;}
53
55
60 inline const RouteNoticeImpact& GetImpact() const{ return m_impact; }
61 inline bool ImpactHasBeenSet() const { return m_impactHasBeenSet; }
62 inline void SetImpact(const RouteNoticeImpact& value) { m_impactHasBeenSet = true; m_impact = value; }
63 inline void SetImpact(RouteNoticeImpact&& value) { m_impactHasBeenSet = true; m_impact = std::move(value); }
64 inline RoutePedestrianNotice& WithImpact(const RouteNoticeImpact& value) { SetImpact(value); return *this;}
65 inline RoutePedestrianNotice& WithImpact(RouteNoticeImpact&& value) { SetImpact(std::move(value)); return *this;}
67 private:
68
70 bool m_codeHasBeenSet = false;
71
72 RouteNoticeImpact m_impact;
73 bool m_impactHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace GeoRoutes
78} // namespace Aws
const RouteNoticeImpact & GetImpact() const
const RoutePedestrianNoticeCode & GetCode() const
RoutePedestrianNotice & WithImpact(const RouteNoticeImpact &value)
AWS_GEOROUTES_API RoutePedestrianNotice & operator=(Aws::Utils::Json::JsonView jsonValue)
RoutePedestrianNotice & WithImpact(RouteNoticeImpact &&value)
RoutePedestrianNotice & WithCode(RoutePedestrianNoticeCode &&value)
void SetCode(const RoutePedestrianNoticeCode &value)
void SetImpact(const RouteNoticeImpact &value)
AWS_GEOROUTES_API RoutePedestrianNotice(Aws::Utils::Json::JsonView jsonValue)
void SetCode(RoutePedestrianNoticeCode &&value)
RoutePedestrianNotice & WithCode(const RoutePedestrianNoticeCode &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue