AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
WaypointOptimizationTrafficOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/TrafficUsage.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GeoRoutes {
20namespace Model {
21
28 public:
29 AWS_GEOROUTES_API WaypointOptimizationTrafficOptions() = default;
32 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline TrafficUsage GetUsage() const { return m_usage; }
40 inline bool UsageHasBeenSet() const { return m_usageHasBeenSet; }
41 inline void SetUsage(TrafficUsage value) {
42 m_usageHasBeenSet = true;
43 m_usage = value;
44 }
46 SetUsage(value);
47 return *this;
48 }
50 private:
52 bool m_usageHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace GeoRoutes
57} // namespace Aws
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API WaypointOptimizationTrafficOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API WaypointOptimizationTrafficOptions()=default
WaypointOptimizationTrafficOptions & WithUsage(TrafficUsage value)
AWS_GEOROUTES_API WaypointOptimizationTrafficOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue