AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Robot.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/robomaker/model/RobotStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/robomaker/model/Architecture.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace RoboMaker
25{
26namespace Model
27{
28
34 class Robot
35 {
36 public:
37 AWS_ROBOMAKER_API Robot() = default;
38 AWS_ROBOMAKER_API Robot(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROBOMAKER_API Robot& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const { return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 Robot& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 Robot& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetFleetArn() const { return m_fleetArn; }
72 inline bool FleetArnHasBeenSet() const { return m_fleetArnHasBeenSet; }
73 template<typename FleetArnT = Aws::String>
74 void SetFleetArn(FleetArnT&& value) { m_fleetArnHasBeenSet = true; m_fleetArn = std::forward<FleetArnT>(value); }
75 template<typename FleetArnT = Aws::String>
76 Robot& WithFleetArn(FleetArnT&& value) { SetFleetArn(std::forward<FleetArnT>(value)); return *this;}
78
80
83 inline RobotStatus GetStatus() const { return m_status; }
84 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
85 inline void SetStatus(RobotStatus value) { m_statusHasBeenSet = true; m_status = value; }
86 inline Robot& WithStatus(RobotStatus value) { SetStatus(value); return *this;}
88
90
93 inline const Aws::String& GetGreenGrassGroupId() const { return m_greenGrassGroupId; }
94 inline bool GreenGrassGroupIdHasBeenSet() const { return m_greenGrassGroupIdHasBeenSet; }
95 template<typename GreenGrassGroupIdT = Aws::String>
96 void SetGreenGrassGroupId(GreenGrassGroupIdT&& value) { m_greenGrassGroupIdHasBeenSet = true; m_greenGrassGroupId = std::forward<GreenGrassGroupIdT>(value); }
97 template<typename GreenGrassGroupIdT = Aws::String>
98 Robot& WithGreenGrassGroupId(GreenGrassGroupIdT&& value) { SetGreenGrassGroupId(std::forward<GreenGrassGroupIdT>(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
106 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
107 template<typename CreatedAtT = Aws::Utils::DateTime>
108 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
109 template<typename CreatedAtT = Aws::Utils::DateTime>
110 Robot& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
112
114
117 inline Architecture GetArchitecture() const { return m_architecture; }
118 inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
119 inline void SetArchitecture(Architecture value) { m_architectureHasBeenSet = true; m_architecture = value; }
120 inline Robot& WithArchitecture(Architecture value) { SetArchitecture(value); return *this;}
122
124
127 inline const Aws::String& GetLastDeploymentJob() const { return m_lastDeploymentJob; }
128 inline bool LastDeploymentJobHasBeenSet() const { return m_lastDeploymentJobHasBeenSet; }
129 template<typename LastDeploymentJobT = Aws::String>
130 void SetLastDeploymentJob(LastDeploymentJobT&& value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob = std::forward<LastDeploymentJobT>(value); }
131 template<typename LastDeploymentJobT = Aws::String>
132 Robot& WithLastDeploymentJob(LastDeploymentJobT&& value) { SetLastDeploymentJob(std::forward<LastDeploymentJobT>(value)); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetLastDeploymentTime() const { return m_lastDeploymentTime; }
140 inline bool LastDeploymentTimeHasBeenSet() const { return m_lastDeploymentTimeHasBeenSet; }
141 template<typename LastDeploymentTimeT = Aws::Utils::DateTime>
142 void SetLastDeploymentTime(LastDeploymentTimeT&& value) { m_lastDeploymentTimeHasBeenSet = true; m_lastDeploymentTime = std::forward<LastDeploymentTimeT>(value); }
143 template<typename LastDeploymentTimeT = Aws::Utils::DateTime>
144 Robot& WithLastDeploymentTime(LastDeploymentTimeT&& value) { SetLastDeploymentTime(std::forward<LastDeploymentTimeT>(value)); return *this;}
146 private:
147
148 Aws::String m_arn;
149 bool m_arnHasBeenSet = false;
150
151 Aws::String m_name;
152 bool m_nameHasBeenSet = false;
153
154 Aws::String m_fleetArn;
155 bool m_fleetArnHasBeenSet = false;
156
158 bool m_statusHasBeenSet = false;
159
160 Aws::String m_greenGrassGroupId;
161 bool m_greenGrassGroupIdHasBeenSet = false;
162
163 Aws::Utils::DateTime m_createdAt{};
164 bool m_createdAtHasBeenSet = false;
165
166 Architecture m_architecture{Architecture::NOT_SET};
167 bool m_architectureHasBeenSet = false;
168
169 Aws::String m_lastDeploymentJob;
170 bool m_lastDeploymentJobHasBeenSet = false;
171
172 Aws::Utils::DateTime m_lastDeploymentTime{};
173 bool m_lastDeploymentTimeHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace RoboMaker
178} // namespace Aws
Robot & WithCreatedAt(CreatedAtT &&value)
Definition Robot.h:110
const Aws::String & GetFleetArn() const
Definition Robot.h:71
RobotStatus GetStatus() const
Definition Robot.h:83
void SetArn(ArnT &&value)
Definition Robot.h:50
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Robot & WithLastDeploymentTime(LastDeploymentTimeT &&value)
Definition Robot.h:144
const Aws::String & GetName() const
Definition Robot.h:59
AWS_ROBOMAKER_API Robot(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
Definition Robot.h:62
bool ArchitectureHasBeenSet() const
Definition Robot.h:118
const Aws::String & GetArn() const
Definition Robot.h:47
bool FleetArnHasBeenSet() const
Definition Robot.h:72
void SetFleetArn(FleetArnT &&value)
Definition Robot.h:74
bool ArnHasBeenSet() const
Definition Robot.h:48
Robot & WithArn(ArnT &&value)
Definition Robot.h:52
bool StatusHasBeenSet() const
Definition Robot.h:84
AWS_ROBOMAKER_API Robot()=default
Robot & WithArchitecture(Architecture value)
Definition Robot.h:120
void SetStatus(RobotStatus value)
Definition Robot.h:85
const Aws::String & GetGreenGrassGroupId() const
Definition Robot.h:93
const Aws::String & GetLastDeploymentJob() const
Definition Robot.h:127
void SetGreenGrassGroupId(GreenGrassGroupIdT &&value)
Definition Robot.h:96
Robot & WithName(NameT &&value)
Definition Robot.h:64
Robot & WithLastDeploymentJob(LastDeploymentJobT &&value)
Definition Robot.h:132
void SetArchitecture(Architecture value)
Definition Robot.h:119
Architecture GetArchitecture() const
Definition Robot.h:117
Robot & WithGreenGrassGroupId(GreenGrassGroupIdT &&value)
Definition Robot.h:98
bool LastDeploymentTimeHasBeenSet() const
Definition Robot.h:140
Robot & WithStatus(RobotStatus value)
Definition Robot.h:86
bool LastDeploymentJobHasBeenSet() const
Definition Robot.h:128
void SetCreatedAt(CreatedAtT &&value)
Definition Robot.h:108
void SetLastDeploymentTime(LastDeploymentTimeT &&value)
Definition Robot.h:142
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Robot.h:105
bool GreenGrassGroupIdHasBeenSet() const
Definition Robot.h:94
Robot & WithFleetArn(FleetArnT &&value)
Definition Robot.h:76
void SetLastDeploymentJob(LastDeploymentJobT &&value)
Definition Robot.h:130
bool CreatedAtHasBeenSet() const
Definition Robot.h:106
const Aws::Utils::DateTime & GetLastDeploymentTime() const
Definition Robot.h:139
bool NameHasBeenSet() const
Definition Robot.h:60
AWS_ROBOMAKER_API Robot & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue