AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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