AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
34 AWS_GEOROUTES_API RouteAllowOptions(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline bool GetHot() const { return m_hot; }
45 inline bool HotHasBeenSet() const { return m_hotHasBeenSet; }
46 inline void SetHot(bool value) { m_hotHasBeenSet = true; m_hot = value; }
47 inline RouteAllowOptions& WithHot(bool value) { SetHot(value); return *this;}
49
51
55 inline bool GetHov() const { return m_hov; }
56 inline bool HovHasBeenSet() const { return m_hovHasBeenSet; }
57 inline void SetHov(bool value) { m_hovHasBeenSet = true; m_hov = value; }
58 inline RouteAllowOptions& WithHov(bool value) { SetHov(value); return *this;}
60 private:
61
62 bool m_hot{false};
63 bool m_hotHasBeenSet = false;
64
65 bool m_hov{false};
66 bool m_hovHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace GeoRoutes
71} // 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)
AWS_GEOROUTES_API RouteAllowOptions()=default
RouteAllowOptions & WithHot(bool value)
Aws::Utils::Json::JsonValue JsonValue