7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/geo-routes/model/LocalizedString.h>
49 template<
typename CountryT = Aws::String>
50 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
51 template<
typename CountryT = Aws::String>
63 inline void SetDistance(
long long value) { m_distanceHasBeenSet =
true; m_distance = value; }
75 inline void SetDuration(
long long value) { m_durationHasBeenSet =
true; m_duration = value; }
85 inline void SetGeometryOffset(
int value) { m_geometryOffsetHasBeenSet =
true; m_geometryOffset = value; }
95 template<
typename NamesT = Aws::Vector<LocalizedString>>
96 void SetNames(NamesT&& value) { m_namesHasBeenSet =
true; m_names = std::forward<NamesT>(value); }
97 template<
typename NamesT = Aws::Vector<LocalizedString>>
99 template<
typename NamesT = LocalizedString>
100 RouteFerrySpan&
AddNames(NamesT&& value) { m_namesHasBeenSet =
true; m_names.emplace_back(std::forward<NamesT>(value));
return *
this; }
110 template<
typename RegionT = Aws::String>
111 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
112 template<
typename RegionT = Aws::String>
118 bool m_countryHasBeenSet =
false;
120 long long m_distance{0};
121 bool m_distanceHasBeenSet =
false;
123 long long m_duration{0};
124 bool m_durationHasBeenSet =
false;
126 int m_geometryOffset{0};
127 bool m_geometryOffsetHasBeenSet =
false;
130 bool m_namesHasBeenSet =
false;
133 bool m_regionHasBeenSet =
false;
AWS_GEOROUTES_API RouteFerrySpan(Aws::Utils::Json::JsonView jsonValue)
bool NamesHasBeenSet() const
long long GetDuration() const
void SetGeometryOffset(int value)
RouteFerrySpan & WithDuration(long long value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNames(NamesT &&value)
bool GeometryOffsetHasBeenSet() const
RouteFerrySpan & AddNames(NamesT &&value)
RouteFerrySpan & WithCountry(CountryT &&value)
const Aws::String & GetCountry() const
RouteFerrySpan & WithNames(NamesT &&value)
bool CountryHasBeenSet() const
AWS_GEOROUTES_API RouteFerrySpan()=default
RouteFerrySpan & WithGeometryOffset(int value)
const Aws::String & GetRegion() const
bool RegionHasBeenSet() const
void SetRegion(RegionT &&value)
const Aws::Vector< LocalizedString > & GetNames() const
bool DurationHasBeenSet() const
void SetDistance(long long value)
RouteFerrySpan & WithRegion(RegionT &&value)
int GetGeometryOffset() const
AWS_GEOROUTES_API RouteFerrySpan & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCountry(CountryT &&value)
long long GetDistance() const
RouteFerrySpan & WithDistance(long long value)
void SetDuration(long long value)
bool DistanceHasBeenSet() 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