7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
10#include <aws/geo-routes/model/LocalizedString.h>
43 template <
typename CountryT = Aws::String>
45 m_countryHasBeenSet =
true;
46 m_country = std::forward<CountryT>(value);
48 template <
typename CountryT = Aws::String>
64 m_distanceHasBeenSet =
true;
82 m_durationHasBeenSet =
true;
98 m_geometryOffsetHasBeenSet =
true;
99 m_geometryOffset = value;
113 template <
typename NamesT = Aws::Vector<LocalizedString>>
115 m_namesHasBeenSet =
true;
116 m_names = std::forward<NamesT>(value);
118 template <
typename NamesT = Aws::Vector<LocalizedString>>
120 SetNames(std::forward<NamesT>(value));
123 template <
typename NamesT = LocalizedString>
125 m_namesHasBeenSet =
true;
126 m_names.emplace_back(std::forward<NamesT>(value));
138 template <
typename RegionT = Aws::String>
140 m_regionHasBeenSet =
true;
141 m_region = std::forward<RegionT>(value);
143 template <
typename RegionT = Aws::String>
152 long long m_distance{0};
154 long long m_duration{0};
156 int m_geometryOffset{0};
161 bool m_countryHasBeenSet =
false;
162 bool m_distanceHasBeenSet =
false;
163 bool m_durationHasBeenSet =
false;
164 bool m_geometryOffsetHasBeenSet =
false;
165 bool m_namesHasBeenSet =
false;
166 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