AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
WaypointOptimizationDestinationOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/WaypointOptimizationAccessHours.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/geo-routes/model/WaypointOptimizationSideOfStreetOptions.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GeoRoutes
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_GEOROUTES_API WaypointOptimizationDestinationOptions() = default;
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const WaypointOptimizationAccessHours& GetAccessHours() const { return m_accessHours; }
47 inline bool AccessHoursHasBeenSet() const { return m_accessHoursHasBeenSet; }
48 template<typename AccessHoursT = WaypointOptimizationAccessHours>
49 void SetAccessHours(AccessHoursT&& value) { m_accessHoursHasBeenSet = true; m_accessHours = std::forward<AccessHoursT>(value); }
50 template<typename AccessHoursT = WaypointOptimizationAccessHours>
51 WaypointOptimizationDestinationOptions& WithAccessHours(AccessHoursT&& value) { SetAccessHours(std::forward<AccessHoursT>(value)); return *this;}
53
55
58 inline const Aws::String& GetAppointmentTime() const { return m_appointmentTime; }
59 inline bool AppointmentTimeHasBeenSet() const { return m_appointmentTimeHasBeenSet; }
60 template<typename AppointmentTimeT = Aws::String>
61 void SetAppointmentTime(AppointmentTimeT&& value) { m_appointmentTimeHasBeenSet = true; m_appointmentTime = std::forward<AppointmentTimeT>(value); }
62 template<typename AppointmentTimeT = Aws::String>
63 WaypointOptimizationDestinationOptions& WithAppointmentTime(AppointmentTimeT&& value) { SetAppointmentTime(std::forward<AppointmentTimeT>(value)); return *this;}
65
67
70 inline double GetHeading() const { return m_heading; }
71 inline bool HeadingHasBeenSet() const { return m_headingHasBeenSet; }
72 inline void SetHeading(double value) { m_headingHasBeenSet = true; m_heading = value; }
73 inline WaypointOptimizationDestinationOptions& WithHeading(double value) { SetHeading(value); return *this;}
75
77
80 inline const Aws::String& GetId() const { return m_id; }
81 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
82 template<typename IdT = Aws::String>
83 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
84 template<typename IdT = Aws::String>
85 WaypointOptimizationDestinationOptions& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
87
89
94 inline long long GetServiceDuration() const { return m_serviceDuration; }
95 inline bool ServiceDurationHasBeenSet() const { return m_serviceDurationHasBeenSet; }
96 inline void SetServiceDuration(long long value) { m_serviceDurationHasBeenSet = true; m_serviceDuration = value; }
97 inline WaypointOptimizationDestinationOptions& WithServiceDuration(long long value) { SetServiceDuration(value); return *this;}
99
101
105 inline const WaypointOptimizationSideOfStreetOptions& GetSideOfStreet() const { return m_sideOfStreet; }
106 inline bool SideOfStreetHasBeenSet() const { return m_sideOfStreetHasBeenSet; }
107 template<typename SideOfStreetT = WaypointOptimizationSideOfStreetOptions>
108 void SetSideOfStreet(SideOfStreetT&& value) { m_sideOfStreetHasBeenSet = true; m_sideOfStreet = std::forward<SideOfStreetT>(value); }
109 template<typename SideOfStreetT = WaypointOptimizationSideOfStreetOptions>
110 WaypointOptimizationDestinationOptions& WithSideOfStreet(SideOfStreetT&& value) { SetSideOfStreet(std::forward<SideOfStreetT>(value)); return *this;}
112 private:
113
115 bool m_accessHoursHasBeenSet = false;
116
117 Aws::String m_appointmentTime;
118 bool m_appointmentTimeHasBeenSet = false;
119
120 double m_heading{0.0};
121 bool m_headingHasBeenSet = false;
122
123 Aws::String m_id;
124 bool m_idHasBeenSet = false;
125
126 long long m_serviceDuration{0};
127 bool m_serviceDurationHasBeenSet = false;
128
129 WaypointOptimizationSideOfStreetOptions m_sideOfStreet;
130 bool m_sideOfStreetHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace GeoRoutes
135} // namespace Aws
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
WaypointOptimizationDestinationOptions & WithServiceDuration(long long value)
WaypointOptimizationDestinationOptions & WithSideOfStreet(SideOfStreetT &&value)
AWS_GEOROUTES_API WaypointOptimizationDestinationOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API WaypointOptimizationDestinationOptions(Aws::Utils::Json::JsonView jsonValue)
const WaypointOptimizationSideOfStreetOptions & GetSideOfStreet() const
WaypointOptimizationDestinationOptions & WithAppointmentTime(AppointmentTimeT &&value)
WaypointOptimizationDestinationOptions & WithAccessHours(AccessHoursT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue