AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteAllowOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GeoRoutes
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_GEOROUTES_API RouteAllowOptions();
34 AWS_GEOROUTES_API RouteAllowOptions(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline bool GetHot() const{ return m_hot; }
44 inline bool HotHasBeenSet() const { return m_hotHasBeenSet; }
45 inline void SetHot(bool value) { m_hotHasBeenSet = true; m_hot = value; }
46 inline RouteAllowOptions& WithHot(bool value) { SetHot(value); return *this;}
48
50
53 inline bool GetHov() const{ return m_hov; }
54 inline bool HovHasBeenSet() const { return m_hovHasBeenSet; }
55 inline void SetHov(bool value) { m_hovHasBeenSet = true; m_hov = value; }
56 inline RouteAllowOptions& WithHov(bool value) { SetHov(value); return *this;}
58 private:
59
60 bool m_hot;
61 bool m_hotHasBeenSet = false;
62
63 bool m_hov;
64 bool m_hovHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace GeoRoutes
69} // namespace Aws
AWS_GEOROUTES_API RouteAllowOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteAllowOptions & WithHov(bool value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteAllowOptions(Aws::Utils::Json::JsonView jsonValue)
RouteAllowOptions & WithHot(bool value)
Aws::Utils::Json::JsonValue JsonValue