AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteFerryBeforeTravelStep.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/RouteFerryBeforeTravelStepType.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 RouteFerryBeforeTravelStep();
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 RouteFerryBeforeTravelStep& 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 RouteFerryBeforeTravelStep& WithInstruction(const Aws::String& value) { SetInstruction(value); return *this;}
63 inline RouteFerryBeforeTravelStep& WithInstruction(Aws::String&& value) { SetInstruction(std::move(value)); return *this;}
64 inline RouteFerryBeforeTravelStep& WithInstruction(const char* value) { SetInstruction(value); return *this;}
66
68
71 inline const RouteFerryBeforeTravelStepType& GetType() const{ return m_type; }
72 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
73 inline void SetType(const RouteFerryBeforeTravelStepType& value) { m_typeHasBeenSet = true; m_type = value; }
74 inline void SetType(RouteFerryBeforeTravelStepType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
75 inline RouteFerryBeforeTravelStep& WithType(const RouteFerryBeforeTravelStepType& value) { SetType(value); return *this;}
76 inline RouteFerryBeforeTravelStep& WithType(RouteFerryBeforeTravelStepType&& 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
RouteFerryBeforeTravelStep & WithType(const RouteFerryBeforeTravelStepType &value)
void SetType(const RouteFerryBeforeTravelStepType &value)
const RouteFerryBeforeTravelStepType & GetType() const
RouteFerryBeforeTravelStep & WithInstruction(const Aws::String &value)
RouteFerryBeforeTravelStep & WithInstruction(const char *value)
RouteFerryBeforeTravelStep & WithInstruction(Aws::String &&value)
RouteFerryBeforeTravelStep & WithType(RouteFerryBeforeTravelStepType &&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)
void SetType(RouteFerryBeforeTravelStepType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue