AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
RouteMatrixAllowOptions.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
25 public:
26 AWS_GEOROUTES_API RouteMatrixAllowOptions() = default;
29 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
36 inline bool GetHot() const { return m_hot; }
37 inline bool HotHasBeenSet() const { return m_hotHasBeenSet; }
38 inline void SetHot(bool value) {
39 m_hotHasBeenSet = true;
40 m_hot = value;
41 }
42 inline RouteMatrixAllowOptions& WithHot(bool value) {
43 SetHot(value);
44 return *this;
45 }
47
49
53 inline bool GetHov() const { return m_hov; }
54 inline bool HovHasBeenSet() const { return m_hovHasBeenSet; }
55 inline void SetHov(bool value) {
56 m_hovHasBeenSet = true;
57 m_hov = value;
58 }
59 inline RouteMatrixAllowOptions& WithHov(bool value) {
60 SetHov(value);
61 return *this;
62 }
64 private:
65 bool m_hot{false};
66
67 bool m_hov{false};
68 bool m_hotHasBeenSet = false;
69 bool m_hovHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace GeoRoutes
74} // namespace Aws
AWS_GEOROUTES_API RouteMatrixAllowOptions()=default
RouteMatrixAllowOptions & WithHov(bool value)
RouteMatrixAllowOptions & WithHot(bool value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteMatrixAllowOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API RouteMatrixAllowOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue