AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
RouteAllowOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace GeoRoutes {
17namespace Model {
18
26 public:
27 AWS_GEOROUTES_API RouteAllowOptions() = default;
28 AWS_GEOROUTES_API RouteAllowOptions(Aws::Utils::Json::JsonView jsonValue);
30 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline bool GetHot() const { return m_hot; }
38 inline bool HotHasBeenSet() const { return m_hotHasBeenSet; }
39 inline void SetHot(bool value) {
40 m_hotHasBeenSet = true;
41 m_hot = value;
42 }
43 inline RouteAllowOptions& WithHot(bool value) {
44 SetHot(value);
45 return *this;
46 }
48
50
54 inline bool GetHov() const { return m_hov; }
55 inline bool HovHasBeenSet() const { return m_hovHasBeenSet; }
56 inline void SetHov(bool value) {
57 m_hovHasBeenSet = true;
58 m_hov = value;
59 }
60 inline RouteAllowOptions& WithHov(bool value) {
61 SetHov(value);
62 return *this;
63 }
65 private:
66 bool m_hot{false};
67
68 bool m_hov{false};
69 bool m_hotHasBeenSet = false;
70 bool m_hovHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace GeoRoutes
75} // 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