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>
51 inline void SetCountry(
const char* value) { m_countryHasBeenSet =
true; m_country.assign(value); }
64 inline void SetDistance(
long long value) { m_distanceHasBeenSet =
true; m_distance = value; }
76 inline void SetDuration(
long long value) { m_durationHasBeenSet =
true; m_duration = value; }
86 inline void SetGeometryOffset(
int value) { m_geometryOffsetHasBeenSet =
true; m_geometryOffset = value; }
113 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
121 bool m_countryHasBeenSet =
false;
123 long long m_distance;
124 bool m_distanceHasBeenSet =
false;
126 long long m_duration;
127 bool m_durationHasBeenSet =
false;
129 int m_geometryOffset;
130 bool m_geometryOffsetHasBeenSet =
false;
133 bool m_namesHasBeenSet =
false;
136 bool m_regionHasBeenSet =
false;
void SetCountry(const Aws::String &value)
AWS_GEOROUTES_API RouteFerrySpan(Aws::Utils::Json::JsonView jsonValue)
bool NamesHasBeenSet() const
long long GetDuration() const
AWS_GEOROUTES_API RouteFerrySpan()
void SetGeometryOffset(int value)
RouteFerrySpan & WithDuration(long long value)
void SetRegion(const char *value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNames(const Aws::Vector< LocalizedString > &value)
bool GeometryOffsetHasBeenSet() const
RouteFerrySpan & WithRegion(const char *value)
void SetRegion(Aws::String &&value)
RouteFerrySpan & WithRegion(Aws::String &&value)
RouteFerrySpan & WithCountry(const Aws::String &value)
const Aws::String & GetCountry() const
bool CountryHasBeenSet() const
RouteFerrySpan & WithGeometryOffset(int value)
const Aws::String & GetRegion() const
bool RegionHasBeenSet() const
RouteFerrySpan & AddNames(LocalizedString &&value)
RouteFerrySpan & WithRegion(const Aws::String &value)
RouteFerrySpan & WithNames(const Aws::Vector< LocalizedString > &value)
const Aws::Vector< LocalizedString > & GetNames() const
bool DurationHasBeenSet() const
void SetDistance(long long value)
void SetNames(Aws::Vector< LocalizedString > &&value)
int GetGeometryOffset() const
AWS_GEOROUTES_API RouteFerrySpan & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteFerrySpan & WithCountry(Aws::String &&value)
void SetCountry(Aws::String &&value)
long long GetDistance() const
RouteFerrySpan & WithCountry(const char *value)
RouteFerrySpan & WithDistance(long long value)
void SetCountry(const char *value)
RouteFerrySpan & WithNames(Aws::Vector< LocalizedString > &&value)
void SetDuration(long long value)
RouteFerrySpan & AddNames(const LocalizedString &value)
bool DistanceHasBeenSet() const
void SetRegion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue