AWS SDK for C++

AWS SDK for C++ Version 1.11.770

Loading...
Searching...
No Matches
RoutePedestrianNotice.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteNoticeImpact.h>
9#include <aws/geo-routes/model/RoutePedestrianNoticeCode.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GeoRoutes {
21namespace Model {
22
30 public:
31 AWS_GEOROUTES_API RoutePedestrianNotice() = default;
34 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline RoutePedestrianNoticeCode GetCode() const { return m_code; }
41 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
43 m_codeHasBeenSet = true;
44 m_code = value;
45 }
47 SetCode(value);
48 return *this;
49 }
51
53
58 inline RouteNoticeImpact GetImpact() const { return m_impact; }
59 inline bool ImpactHasBeenSet() const { return m_impactHasBeenSet; }
60 inline void SetImpact(RouteNoticeImpact value) {
61 m_impactHasBeenSet = true;
62 m_impact = value;
63 }
65 SetImpact(value);
66 return *this;
67 }
69 private:
71
73 bool m_codeHasBeenSet = false;
74 bool m_impactHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace GeoRoutes
79} // 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