AWS SDK for C++

AWS SDK for C++ Version 1.11.772

Loading...
Searching...
No Matches
RoadSnapTravelModeOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RoadSnapTruckOptions.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
29 public:
30 AWS_GEOROUTES_API RoadSnapTravelModeOptions() = default;
33 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const RoadSnapTruckOptions& GetTruck() const { return m_truck; }
40 inline bool TruckHasBeenSet() const { return m_truckHasBeenSet; }
41 template <typename TruckT = RoadSnapTruckOptions>
42 void SetTruck(TruckT&& value) {
43 m_truckHasBeenSet = true;
44 m_truck = std::forward<TruckT>(value);
45 }
46 template <typename TruckT = RoadSnapTruckOptions>
48 SetTruck(std::forward<TruckT>(value));
49 return *this;
50 }
52 private:
54 bool m_truckHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace GeoRoutes
59} // namespace Aws
AWS_GEOROUTES_API RoadSnapTravelModeOptions()=default
RoadSnapTravelModeOptions & WithTruck(TruckT &&value)
AWS_GEOROUTES_API RoadSnapTravelModeOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RoadSnapTravelModeOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue