7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename LineStringT = Aws::Vector<Aws::Vector<
double>>>
49 void SetLineString(LineStringT&& value) { m_lineStringHasBeenSet =
true; m_lineString = std::forward<LineStringT>(value); }
50 template<
typename LineStringT = Aws::Vector<Aws::Vector<
double>>>
52 template<
typename LineStringT = Aws::Vector<
double>>
53 RouteLegGeometry&
AddLineString(LineStringT&& value) { m_lineStringHasBeenSet =
true; m_lineString.emplace_back(std::forward<LineStringT>(value));
return *
this; }
64 template<
typename PolylineT = Aws::String>
65 void SetPolyline(PolylineT&& value) { m_polylineHasBeenSet =
true; m_polyline = std::forward<PolylineT>(value); }
66 template<
typename PolylineT = Aws::String>
72 bool m_lineStringHasBeenSet =
false;
75 bool m_polylineHasBeenSet =
false;
AWS_GEOROUTES_API RouteLegGeometry()=default
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
bool LineStringHasBeenSet() const
void SetPolyline(PolylineT &&value)
RouteLegGeometry & AddLineString(LineStringT &&value)
const Aws::Vector< Aws::Vector< double > > & GetLineString() const
AWS_GEOROUTES_API RouteLegGeometry & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteLegGeometry & WithLineString(LineStringT &&value)
const Aws::String & GetPolyline() const
void SetLineString(LineStringT &&value)
AWS_GEOROUTES_API RouteLegGeometry(Aws::Utils::Json::JsonView jsonValue)
RouteLegGeometry & WithPolyline(PolylineT &&value)
bool PolylineHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue