AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAccessHours(const WaypointOptimizationAccessHours& value) { m_accessHoursHasBeenSet = true; m_accessHours = value; }
49 inline void SetAccessHours(WaypointOptimizationAccessHours&& value) { m_accessHoursHasBeenSet = true; m_accessHours = std::move(value); }
53
55
58 inline const Aws::String& GetAppointmentTime() const{ return m_appointmentTime; }
59 inline bool AppointmentTimeHasBeenSet() const { return m_appointmentTimeHasBeenSet; }
60 inline void SetAppointmentTime(const Aws::String& value) { m_appointmentTimeHasBeenSet = true; m_appointmentTime = value; }
61 inline void SetAppointmentTime(Aws::String&& value) { m_appointmentTimeHasBeenSet = true; m_appointmentTime = std::move(value); }
62 inline void SetAppointmentTime(const char* value) { m_appointmentTimeHasBeenSet = true; m_appointmentTime.assign(value); }
65 inline WaypointOptimizationDestinationOptions& WithAppointmentTime(const char* value) { SetAppointmentTime(value); return *this;}
67
69
72 inline double GetHeading() const{ return m_heading; }
73 inline bool HeadingHasBeenSet() const { return m_headingHasBeenSet; }
74 inline void SetHeading(double value) { m_headingHasBeenSet = true; m_heading = value; }
75 inline WaypointOptimizationDestinationOptions& WithHeading(double value) { SetHeading(value); return *this;}
77
79
82 inline const Aws::String& GetId() const{ return m_id; }
83 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
84 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
85 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
86 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
87 inline WaypointOptimizationDestinationOptions& WithId(const Aws::String& value) { SetId(value); return *this;}
88 inline WaypointOptimizationDestinationOptions& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
89 inline WaypointOptimizationDestinationOptions& WithId(const char* value) { SetId(value); return *this;}
91
93
98 inline long long GetServiceDuration() const{ return m_serviceDuration; }
99 inline bool ServiceDurationHasBeenSet() const { return m_serviceDurationHasBeenSet; }
100 inline void SetServiceDuration(long long value) { m_serviceDurationHasBeenSet = true; m_serviceDuration = value; }
101 inline WaypointOptimizationDestinationOptions& WithServiceDuration(long long value) { SetServiceDuration(value); return *this;}
103
105
109 inline const WaypointOptimizationSideOfStreetOptions& GetSideOfStreet() const{ return m_sideOfStreet; }
110 inline bool SideOfStreetHasBeenSet() const { return m_sideOfStreetHasBeenSet; }
111 inline void SetSideOfStreet(const WaypointOptimizationSideOfStreetOptions& value) { m_sideOfStreetHasBeenSet = true; m_sideOfStreet = value; }
112 inline void SetSideOfStreet(WaypointOptimizationSideOfStreetOptions&& value) { m_sideOfStreetHasBeenSet = true; m_sideOfStreet = std::move(value); }
116 private:
117
119 bool m_accessHoursHasBeenSet = false;
120
121 Aws::String m_appointmentTime;
122 bool m_appointmentTimeHasBeenSet = false;
123
124 double m_heading;
125 bool m_headingHasBeenSet = false;
126
127 Aws::String m_id;
128 bool m_idHasBeenSet = false;
129
130 long long m_serviceDuration;
131 bool m_serviceDurationHasBeenSet = false;
132
134 bool m_sideOfStreetHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace GeoRoutes
139} // namespace Aws
WaypointOptimizationDestinationOptions & WithSideOfStreet(const WaypointOptimizationSideOfStreetOptions &value)
WaypointOptimizationDestinationOptions & WithAccessHours(const WaypointOptimizationAccessHours &value)
WaypointOptimizationDestinationOptions & WithAccessHours(WaypointOptimizationAccessHours &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
WaypointOptimizationDestinationOptions & WithAppointmentTime(Aws::String &&value)
WaypointOptimizationDestinationOptions & WithServiceDuration(long long value)
WaypointOptimizationDestinationOptions & WithSideOfStreet(WaypointOptimizationSideOfStreetOptions &&value)
AWS_GEOROUTES_API WaypointOptimizationDestinationOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
WaypointOptimizationDestinationOptions & WithId(const Aws::String &value)
void SetSideOfStreet(const WaypointOptimizationSideOfStreetOptions &value)
WaypointOptimizationDestinationOptions & WithAppointmentTime(const char *value)
WaypointOptimizationDestinationOptions & WithId(Aws::String &&value)
WaypointOptimizationDestinationOptions & WithAppointmentTime(const Aws::String &value)
WaypointOptimizationDestinationOptions & WithId(const char *value)
AWS_GEOROUTES_API WaypointOptimizationDestinationOptions(Aws::Utils::Json::JsonView jsonValue)
const WaypointOptimizationSideOfStreetOptions & GetSideOfStreet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue