AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const RouteResponseNoticeCode& GetCode() const{ return m_code; }
47 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
48 inline void SetCode(const RouteResponseNoticeCode& value) { m_codeHasBeenSet = true; m_code = value; }
49 inline void SetCode(RouteResponseNoticeCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
50 inline RouteResponseNotice& WithCode(const RouteResponseNoticeCode& value) { SetCode(value); return *this;}
51 inline RouteResponseNotice& WithCode(RouteResponseNoticeCode&& 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 RouteResponseNotice& WithImpact(const RouteNoticeImpact& value) { SetImpact(value); return *this;}
65 inline RouteResponseNotice& 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
RouteResponseNotice & WithCode(const RouteResponseNoticeCode &value)
RouteResponseNotice & WithImpact(RouteNoticeImpact &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteResponseNotice & WithImpact(const RouteNoticeImpact &value)
void SetCode(const RouteResponseNoticeCode &value)
RouteResponseNotice & WithCode(RouteResponseNoticeCode &&value)
AWS_GEOROUTES_API RouteResponseNotice(Aws::Utils::Json::JsonView jsonValue)
void SetImpact(RouteNoticeImpact &&value)
void SetImpact(const RouteNoticeImpact &value)
AWS_GEOROUTES_API RouteResponseNotice & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCode(RouteResponseNoticeCode &&value)
const RouteResponseNoticeCode & GetCode() const
Aws::Utils::Json::JsonValue JsonValue