7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/geo-routes/model/RouteFerryTravelStepType.h>
48 inline void SetDistance(
long long value) { m_distanceHasBeenSet =
true; m_distance = value; }
58 inline void SetDuration(
long long value) { m_durationHasBeenSet =
true; m_duration = value; }
68 inline void SetGeometryOffset(
int value) { m_geometryOffsetHasBeenSet =
true; m_geometryOffset = value; }
79 template<
typename InstructionT = Aws::String>
80 void SetInstruction(InstructionT&& value) { m_instructionHasBeenSet =
true; m_instruction = std::forward<InstructionT>(value); }
81 template<
typename InstructionT = Aws::String>
96 long long m_distance{0};
97 bool m_distanceHasBeenSet =
false;
99 long long m_duration{0};
100 bool m_durationHasBeenSet =
false;
102 int m_geometryOffset{0};
103 bool m_geometryOffsetHasBeenSet =
false;
106 bool m_instructionHasBeenSet =
false;
109 bool m_typeHasBeenSet =
false;
long long GetDistance() const
void SetDistance(long long value)
RouteFerryTravelStepType GetType() const
bool GeometryOffsetHasBeenSet() const
void SetGeometryOffset(int value)
bool DurationHasBeenSet() const
long long GetDuration() const
RouteFerryTravelStep & WithDistance(long long value)
const Aws::String & GetInstruction() const
AWS_GEOROUTES_API RouteFerryTravelStep & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDuration(long long value)
AWS_GEOROUTES_API RouteFerryTravelStep(Aws::Utils::Json::JsonView jsonValue)
bool InstructionHasBeenSet() const
RouteFerryTravelStep & WithInstruction(InstructionT &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteFerryTravelStep()=default
RouteFerryTravelStep & WithDuration(long long value)
int GetGeometryOffset() const
void SetType(RouteFerryTravelStepType value)
bool TypeHasBeenSet() const
RouteFerryTravelStep & WithType(RouteFerryTravelStepType value)
RouteFerryTravelStep & WithGeometryOffset(int value)
void SetInstruction(InstructionT &&value)
bool DistanceHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue