7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
9#include <aws/geo-routes/model/RouteLeg.h>
10#include <aws/geo-routes/model/RouteMajorRoadLabel.h>
11#include <aws/geo-routes/model/RouteSummary.h>
32 AWS_GEOROUTES_API
Route() =
default;
47 template <
typename LegsT = Aws::Vector<RouteLeg>>
49 m_legsHasBeenSet =
true;
50 m_legs = std::forward<LegsT>(value);
52 template <
typename LegsT = Aws::Vector<RouteLeg>>
54 SetLegs(std::forward<LegsT>(value));
57 template <
typename LegsT = RouteLeg>
59 m_legsHasBeenSet =
true;
60 m_legs.emplace_back(std::forward<LegsT>(value));
72 template <
typename MajorRoadLabelsT = Aws::Vector<RouteMajorRoadLabel>>
74 m_majorRoadLabelsHasBeenSet =
true;
75 m_majorRoadLabels = std::forward<MajorRoadLabelsT>(value);
77 template <
typename MajorRoadLabelsT = Aws::Vector<RouteMajorRoadLabel>>
82 template <
typename MajorRoadLabelsT = RouteMajorRoadLabel>
84 m_majorRoadLabelsHasBeenSet =
true;
85 m_majorRoadLabels.emplace_back(std::forward<MajorRoadLabelsT>(value));
96 template <
typename SummaryT = RouteSummary>
98 m_summaryHasBeenSet =
true;
99 m_summary = std::forward<SummaryT>(value);
101 template <
typename SummaryT = RouteSummary>
113 bool m_legsHasBeenSet =
false;
114 bool m_majorRoadLabelsHasBeenSet =
false;
115 bool m_summaryHasBeenSet =
false;
Route & AddLegs(LegsT &&value)
Route & AddMajorRoadLabels(MajorRoadLabelsT &&value)
AWS_GEOROUTES_API Route()=default
Route & WithLegs(LegsT &&value)
const Aws::Vector< RouteMajorRoadLabel > & GetMajorRoadLabels() const
bool MajorRoadLabelsHasBeenSet() const
Route & WithMajorRoadLabels(MajorRoadLabelsT &&value)
const Aws::Vector< RouteLeg > & GetLegs() const
bool LegsHasBeenSet() const
void SetSummary(SummaryT &&value)
void SetMajorRoadLabels(MajorRoadLabelsT &&value)
AWS_GEOROUTES_API Route(Aws::Utils::Json::JsonView jsonValue)
Route & WithSummary(SummaryT &&value)
AWS_GEOROUTES_API Route & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
bool SummaryHasBeenSet() const
const RouteSummary & GetSummary() const
void SetLegs(LegsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue