7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/geo-routes/model/RouteFerryAfterTravelStepType.h>
48 inline void SetDuration(
long long value) { m_durationHasBeenSet =
true; m_duration = value; }
59 template<
typename InstructionT = Aws::String>
60 void SetInstruction(InstructionT&& value) { m_instructionHasBeenSet =
true; m_instruction = std::forward<InstructionT>(value); }
61 template<
typename InstructionT = Aws::String>
76 long long m_duration{0};
77 bool m_durationHasBeenSet =
false;
80 bool m_instructionHasBeenSet =
false;
83 bool m_typeHasBeenSet =
false;
AWS_GEOROUTES_API RouteFerryAfterTravelStep(Aws::Utils::Json::JsonView jsonValue)
void SetDuration(long long value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetInstruction() const
long long GetDuration() const
void SetInstruction(InstructionT &&value)
bool DurationHasBeenSet() const
bool InstructionHasBeenSet() const
RouteFerryAfterTravelStep & WithDuration(long long value)
RouteFerryAfterTravelStep & WithType(RouteFerryAfterTravelStepType value)
RouteFerryAfterTravelStep & WithInstruction(InstructionT &&value)
void SetType(RouteFerryAfterTravelStepType value)
bool TypeHasBeenSet() const
AWS_GEOROUTES_API RouteFerryAfterTravelStep()=default
RouteFerryAfterTravelStepType GetType() const
AWS_GEOROUTES_API RouteFerryAfterTravelStep & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteFerryAfterTravelStepType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue