AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RouteFerryNotice.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteFerryNoticeCode.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 RouteFerryNotice() = default;
37 AWS_GEOROUTES_API RouteFerryNotice(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline RouteFerryNoticeCode GetCode() const { return m_code; }
47 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
48 inline void SetCode(RouteFerryNoticeCode value) { m_codeHasBeenSet = true; m_code = value; }
49 inline RouteFerryNotice& WithCode(RouteFerryNoticeCode 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 RouteFerryNotice& 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 RouteFerryNotice()=default
AWS_GEOROUTES_API RouteFerryNotice & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteFerryNotice & WithImpact(RouteNoticeImpact value)
void SetImpact(RouteNoticeImpact value)
RouteFerryNoticeCode GetCode() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteFerryNotice & WithCode(RouteFerryNoticeCode value)
AWS_GEOROUTES_API RouteFerryNotice(Aws::Utils::Json::JsonView jsonValue)
void SetCode(RouteFerryNoticeCode value)
Aws::Utils::Json::JsonValue JsonValue