AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GeoRoutes
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GEOROUTES_API WaypointOptimizationTrafficOptions() = default;
37 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline TrafficUsage GetUsage() const { return m_usage; }
46 inline bool UsageHasBeenSet() const { return m_usageHasBeenSet; }
47 inline void SetUsage(TrafficUsage value) { m_usageHasBeenSet = true; m_usage = value; }
48 inline WaypointOptimizationTrafficOptions& WithUsage(TrafficUsage value) { SetUsage(value); return *this;}
50 private:
51
53 bool m_usageHasBeenSet = false;
54 };
55
56} // namespace Model
57} // namespace GeoRoutes
58} // 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