AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteFerryAfterTravelStep.h
1
6#pragma once
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>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GeoRoutes
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GEOROUTES_API RouteFerryAfterTravelStep();
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline long long GetDuration() const{ return m_duration; }
47 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
48 inline void SetDuration(long long value) { m_durationHasBeenSet = true; m_duration = value; }
49 inline RouteFerryAfterTravelStep& WithDuration(long long value) { SetDuration(value); return *this;}
51
53
57 inline const Aws::String& GetInstruction() const{ return m_instruction; }
58 inline bool InstructionHasBeenSet() const { return m_instructionHasBeenSet; }
59 inline void SetInstruction(const Aws::String& value) { m_instructionHasBeenSet = true; m_instruction = value; }
60 inline void SetInstruction(Aws::String&& value) { m_instructionHasBeenSet = true; m_instruction = std::move(value); }
61 inline void SetInstruction(const char* value) { m_instructionHasBeenSet = true; m_instruction.assign(value); }
62 inline RouteFerryAfterTravelStep& WithInstruction(const Aws::String& value) { SetInstruction(value); return *this;}
63 inline RouteFerryAfterTravelStep& WithInstruction(Aws::String&& value) { SetInstruction(std::move(value)); return *this;}
64 inline RouteFerryAfterTravelStep& WithInstruction(const char* value) { SetInstruction(value); return *this;}
66
68
71 inline const RouteFerryAfterTravelStepType& GetType() const{ return m_type; }
72 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
73 inline void SetType(const RouteFerryAfterTravelStepType& value) { m_typeHasBeenSet = true; m_type = value; }
74 inline void SetType(RouteFerryAfterTravelStepType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
75 inline RouteFerryAfterTravelStep& WithType(const RouteFerryAfterTravelStepType& value) { SetType(value); return *this;}
76 inline RouteFerryAfterTravelStep& WithType(RouteFerryAfterTravelStepType&& value) { SetType(std::move(value)); return *this;}
78 private:
79
80 long long m_duration;
81 bool m_durationHasBeenSet = false;
82
83 Aws::String m_instruction;
84 bool m_instructionHasBeenSet = false;
85
87 bool m_typeHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace GeoRoutes
92} // namespace Aws
RouteFerryAfterTravelStep & WithInstruction(const char *value)
RouteFerryAfterTravelStep & WithInstruction(const Aws::String &value)
AWS_GEOROUTES_API RouteFerryAfterTravelStep(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
const RouteFerryAfterTravelStepType & GetType() const
RouteFerryAfterTravelStep & WithType(const RouteFerryAfterTravelStepType &value)
RouteFerryAfterTravelStep & WithType(RouteFerryAfterTravelStepType &&value)
void SetType(const RouteFerryAfterTravelStepType &value)
RouteFerryAfterTravelStep & WithInstruction(Aws::String &&value)
RouteFerryAfterTravelStep & WithDuration(long long value)
void SetType(RouteFerryAfterTravelStepType &&value)
AWS_GEOROUTES_API RouteFerryAfterTravelStep & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue