AWS SDK for C++

AWS SDK for C++ Version 1.11.770

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
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 RouteFerryNotice() = default;
32 AWS_GEOROUTES_API RouteFerryNotice(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline RouteFerryNoticeCode GetCode() const { return m_code; }
41 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
42 inline void SetCode(RouteFerryNoticeCode value) {
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 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