7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/geo-routes/model/RouteFerryBeforeTravelStepType.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 RouteFerryBeforeTravelStep()=default
RouteFerryBeforeTravelStep & WithType(RouteFerryBeforeTravelStepType value)
RouteFerryBeforeTravelStep & WithInstruction(InstructionT &&value)
const Aws::String & GetInstruction() const
RouteFerryBeforeTravelStepType GetType() const
void SetType(RouteFerryBeforeTravelStepType value)
bool TypeHasBeenSet() const
long long GetDuration() const
void SetDuration(long long value)
AWS_GEOROUTES_API RouteFerryBeforeTravelStep(Aws::Utils::Json::JsonView jsonValue)
RouteFerryBeforeTravelStep & WithDuration(long long value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteFerryBeforeTravelStep & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DurationHasBeenSet() const
bool InstructionHasBeenSet() const
void SetInstruction(InstructionT &&value)
RouteFerryBeforeTravelStepType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue