AWS SDK for C++  1.9.20
AWS SDK for C++
Robot.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace RoboMaker
25 {
26 namespace Model
27 {
28 
35  {
36  public:
37  Robot();
41 
42 
46  inline const Aws::String& GetArn() const{ return m_arn; }
47 
51  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
52 
56  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
57 
61  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
62 
66  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
67 
71  inline Robot& WithArn(const Aws::String& value) { SetArn(value); return *this;}
72 
76  inline Robot& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
77 
81  inline Robot& WithArn(const char* value) { SetArn(value); return *this;}
82 
83 
87  inline const Aws::String& GetName() const{ return m_name; }
88 
92  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
93 
97  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
98 
102  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
103 
107  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
108 
112  inline Robot& WithName(const Aws::String& value) { SetName(value); return *this;}
113 
117  inline Robot& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
118 
122  inline Robot& WithName(const char* value) { SetName(value); return *this;}
123 
124 
128  inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
129 
133  inline bool FleetArnHasBeenSet() const { return m_fleetArnHasBeenSet; }
134 
138  inline void SetFleetArn(const Aws::String& value) { m_fleetArnHasBeenSet = true; m_fleetArn = value; }
139 
143  inline void SetFleetArn(Aws::String&& value) { m_fleetArnHasBeenSet = true; m_fleetArn = std::move(value); }
144 
148  inline void SetFleetArn(const char* value) { m_fleetArnHasBeenSet = true; m_fleetArn.assign(value); }
149 
153  inline Robot& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
154 
158  inline Robot& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
159 
163  inline Robot& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
164 
165 
169  inline const RobotStatus& GetStatus() const{ return m_status; }
170 
174  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
175 
179  inline void SetStatus(const RobotStatus& value) { m_statusHasBeenSet = true; m_status = value; }
180 
184  inline void SetStatus(RobotStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
185 
189  inline Robot& WithStatus(const RobotStatus& value) { SetStatus(value); return *this;}
190 
194  inline Robot& WithStatus(RobotStatus&& value) { SetStatus(std::move(value)); return *this;}
195 
196 
200  inline const Aws::String& GetGreenGrassGroupId() const{ return m_greenGrassGroupId; }
201 
205  inline bool GreenGrassGroupIdHasBeenSet() const { return m_greenGrassGroupIdHasBeenSet; }
206 
210  inline void SetGreenGrassGroupId(const Aws::String& value) { m_greenGrassGroupIdHasBeenSet = true; m_greenGrassGroupId = value; }
211 
215  inline void SetGreenGrassGroupId(Aws::String&& value) { m_greenGrassGroupIdHasBeenSet = true; m_greenGrassGroupId = std::move(value); }
216 
220  inline void SetGreenGrassGroupId(const char* value) { m_greenGrassGroupIdHasBeenSet = true; m_greenGrassGroupId.assign(value); }
221 
225  inline Robot& WithGreenGrassGroupId(const Aws::String& value) { SetGreenGrassGroupId(value); return *this;}
226 
230  inline Robot& WithGreenGrassGroupId(Aws::String&& value) { SetGreenGrassGroupId(std::move(value)); return *this;}
231 
235  inline Robot& WithGreenGrassGroupId(const char* value) { SetGreenGrassGroupId(value); return *this;}
236 
237 
241  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
242 
246  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
247 
251  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
252 
256  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
257 
261  inline Robot& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
262 
266  inline Robot& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
267 
268 
272  inline const Architecture& GetArchitecture() const{ return m_architecture; }
273 
277  inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
278 
282  inline void SetArchitecture(const Architecture& value) { m_architectureHasBeenSet = true; m_architecture = value; }
283 
287  inline void SetArchitecture(Architecture&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); }
288 
292  inline Robot& WithArchitecture(const Architecture& value) { SetArchitecture(value); return *this;}
293 
297  inline Robot& WithArchitecture(Architecture&& value) { SetArchitecture(std::move(value)); return *this;}
298 
299 
303  inline const Aws::String& GetLastDeploymentJob() const{ return m_lastDeploymentJob; }
304 
308  inline bool LastDeploymentJobHasBeenSet() const { return m_lastDeploymentJobHasBeenSet; }
309 
313  inline void SetLastDeploymentJob(const Aws::String& value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob = value; }
314 
318  inline void SetLastDeploymentJob(Aws::String&& value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob = std::move(value); }
319 
323  inline void SetLastDeploymentJob(const char* value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob.assign(value); }
324 
328  inline Robot& WithLastDeploymentJob(const Aws::String& value) { SetLastDeploymentJob(value); return *this;}
329 
333  inline Robot& WithLastDeploymentJob(Aws::String&& value) { SetLastDeploymentJob(std::move(value)); return *this;}
334 
338  inline Robot& WithLastDeploymentJob(const char* value) { SetLastDeploymentJob(value); return *this;}
339 
340 
344  inline const Aws::Utils::DateTime& GetLastDeploymentTime() const{ return m_lastDeploymentTime; }
345 
349  inline bool LastDeploymentTimeHasBeenSet() const { return m_lastDeploymentTimeHasBeenSet; }
350 
354  inline void SetLastDeploymentTime(const Aws::Utils::DateTime& value) { m_lastDeploymentTimeHasBeenSet = true; m_lastDeploymentTime = value; }
355 
359  inline void SetLastDeploymentTime(Aws::Utils::DateTime&& value) { m_lastDeploymentTimeHasBeenSet = true; m_lastDeploymentTime = std::move(value); }
360 
364  inline Robot& WithLastDeploymentTime(const Aws::Utils::DateTime& value) { SetLastDeploymentTime(value); return *this;}
365 
369  inline Robot& WithLastDeploymentTime(Aws::Utils::DateTime&& value) { SetLastDeploymentTime(std::move(value)); return *this;}
370 
371  private:
372 
373  Aws::String m_arn;
374  bool m_arnHasBeenSet;
375 
376  Aws::String m_name;
377  bool m_nameHasBeenSet;
378 
379  Aws::String m_fleetArn;
380  bool m_fleetArnHasBeenSet;
381 
382  RobotStatus m_status;
383  bool m_statusHasBeenSet;
384 
385  Aws::String m_greenGrassGroupId;
386  bool m_greenGrassGroupIdHasBeenSet;
387 
388  Aws::Utils::DateTime m_createdAt;
389  bool m_createdAtHasBeenSet;
390 
391  Architecture m_architecture;
392  bool m_architectureHasBeenSet;
393 
394  Aws::String m_lastDeploymentJob;
395  bool m_lastDeploymentJobHasBeenSet;
396 
397  Aws::Utils::DateTime m_lastDeploymentTime;
398  bool m_lastDeploymentTimeHasBeenSet;
399  };
400 
401 } // namespace Model
402 } // namespace RoboMaker
403 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RoboMaker::Model::Robot::GetName
const Aws::String & GetName() const
Definition: Robot.h:87
Aws::RoboMaker::Model::Robot::WithArn
Robot & WithArn(const Aws::String &value)
Definition: Robot.h:71
Aws::RoboMaker::Model::Robot::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: Robot.h:251
Aws::RoboMaker::Model::RobotStatus
RobotStatus
Definition: RobotStatus.h:17
Aws::RoboMaker::Model::Robot::WithLastDeploymentJob
Robot & WithLastDeploymentJob(const Aws::String &value)
Definition: Robot.h:328
Aws::RoboMaker::Model::Robot::SetLastDeploymentJob
void SetLastDeploymentJob(const Aws::String &value)
Definition: Robot.h:313
Aws::RoboMaker::Model::Robot::SetLastDeploymentTime
void SetLastDeploymentTime(const Aws::Utils::DateTime &value)
Definition: Robot.h:354
Aws::RoboMaker::Model::Robot::WithFleetArn
Robot & WithFleetArn(Aws::String &&value)
Definition: Robot.h:158
Aws::RoboMaker::Model::Robot::WithCreatedAt
Robot & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: Robot.h:261
Aws::RoboMaker::Model::Robot::WithName
Robot & WithName(Aws::String &&value)
Definition: Robot.h:117
Aws::RoboMaker::Model::Robot::WithGreenGrassGroupId
Robot & WithGreenGrassGroupId(Aws::String &&value)
Definition: Robot.h:230
DateTime.h
Aws::RoboMaker::Model::Robot::SetLastDeploymentTime
void SetLastDeploymentTime(Aws::Utils::DateTime &&value)
Definition: Robot.h:359
Aws::RoboMaker::Model::Robot::SetArn
void SetArn(Aws::String &&value)
Definition: Robot.h:61
Aws::RoboMaker::Model::Robot::WithLastDeploymentTime
Robot & WithLastDeploymentTime(const Aws::Utils::DateTime &value)
Definition: Robot.h:364
Aws::RoboMaker::Model::Robot::WithArchitecture
Robot & WithArchitecture(const Architecture &value)
Definition: Robot.h:292
Aws::RoboMaker::Model::Robot::WithGreenGrassGroupId
Robot & WithGreenGrassGroupId(const char *value)
Definition: Robot.h:235
Aws::RoboMaker::Model::Robot::WithFleetArn
Robot & WithFleetArn(const Aws::String &value)
Definition: Robot.h:153
Aws::RoboMaker::Model::Robot::GreenGrassGroupIdHasBeenSet
bool GreenGrassGroupIdHasBeenSet() const
Definition: Robot.h:205
Aws::RoboMaker::Model::Robot::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: Robot.h:256
Aws::RoboMaker::Model::Robot::FleetArnHasBeenSet
bool FleetArnHasBeenSet() const
Definition: Robot.h:133
Aws::RoboMaker::Model::Robot::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: Robot.h:174
Aws::RoboMaker::Model::Robot::WithArn
Robot & WithArn(Aws::String &&value)
Definition: Robot.h:76
Aws::RoboMaker::Model::Robot::SetFleetArn
void SetFleetArn(const Aws::String &value)
Definition: Robot.h:138
Aws::RoboMaker::Model::Robot::LastDeploymentJobHasBeenSet
bool LastDeploymentJobHasBeenSet() const
Definition: Robot.h:308
Aws::RoboMaker::Model::Robot::SetFleetArn
void SetFleetArn(const char *value)
Definition: Robot.h:148
Aws::RoboMaker::Model::Robot::SetArn
void SetArn(const char *value)
Definition: Robot.h:66
Aws::RoboMaker::Model::Robot
Definition: Robot.h:35
Aws::RoboMaker::Model::Robot::SetGreenGrassGroupId
void SetGreenGrassGroupId(const Aws::String &value)
Definition: Robot.h:210
Aws::RoboMaker::Model::Robot::WithArn
Robot & WithArn(const char *value)
Definition: Robot.h:81
Aws::RoboMaker::Model::Robot::SetName
void SetName(const char *value)
Definition: Robot.h:107
Aws::RoboMaker::Model::Robot::LastDeploymentTimeHasBeenSet
bool LastDeploymentTimeHasBeenSet() const
Definition: Robot.h:349
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::Robot::SetName
void SetName(const Aws::String &value)
Definition: Robot.h:97
Aws::RoboMaker::Model::Robot::WithFleetArn
Robot & WithFleetArn(const char *value)
Definition: Robot.h:163
RobotStatus.h
Aws::RoboMaker::Model::Robot::GetLastDeploymentTime
const Aws::Utils::DateTime & GetLastDeploymentTime() const
Definition: Robot.h:344
Aws::RoboMaker::Model::Robot::SetName
void SetName(Aws::String &&value)
Definition: Robot.h:102
Aws::RoboMaker::Model::Robot::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: Robot.h:246
Aws::RoboMaker::Model::Robot::GetStatus
const RobotStatus & GetStatus() const
Definition: Robot.h:169
Aws::RoboMaker::Model::Robot::SetGreenGrassGroupId
void SetGreenGrassGroupId(const char *value)
Definition: Robot.h:220
Aws::RoboMaker::Model::Robot::SetGreenGrassGroupId
void SetGreenGrassGroupId(Aws::String &&value)
Definition: Robot.h:215
Aws::RoboMaker::Model::Robot::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Robot.h:51
Aws::RoboMaker::Model::Robot::WithGreenGrassGroupId
Robot & WithGreenGrassGroupId(const Aws::String &value)
Definition: Robot.h:225
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::Robot::WithName
Robot & WithName(const char *value)
Definition: Robot.h:122
Aws::RoboMaker::Model::Robot::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: Robot.h:241
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::RoboMaker::Model::Robot::GetArchitecture
const Architecture & GetArchitecture() const
Definition: Robot.h:272
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RoboMaker::Model::Robot::SetStatus
void SetStatus(RobotStatus &&value)
Definition: Robot.h:184
Aws::RoboMaker::Model::Robot::WithName
Robot & WithName(const Aws::String &value)
Definition: Robot.h:112
Aws::RoboMaker::Model::Robot::Robot
Robot()
Aws::RoboMaker::Model::Robot::SetArn
void SetArn(const Aws::String &value)
Definition: Robot.h:56
Aws::RoboMaker::Model::Robot::SetFleetArn
void SetFleetArn(Aws::String &&value)
Definition: Robot.h:143
Aws::RoboMaker::Model::Robot::SetLastDeploymentJob
void SetLastDeploymentJob(Aws::String &&value)
Definition: Robot.h:318
Aws::RoboMaker::Model::Robot::operator=
Robot & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::Robot::GetArn
const Aws::String & GetArn() const
Definition: Robot.h:46
Aws::RoboMaker::Model::Robot::GetGreenGrassGroupId
const Aws::String & GetGreenGrassGroupId() const
Definition: Robot.h:200
Aws::RoboMaker::Model::Robot::GetFleetArn
const Aws::String & GetFleetArn() const
Definition: Robot.h:128
Aws::RoboMaker::Model::Robot::Robot
Robot(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::Robot::WithLastDeploymentJob
Robot & WithLastDeploymentJob(Aws::String &&value)
Definition: Robot.h:333
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::Robot::SetArchitecture
void SetArchitecture(const Architecture &value)
Definition: Robot.h:282
Aws::RoboMaker::Model::Architecture
Architecture
Definition: Architecture.h:17
Aws::RoboMaker::Model::Robot::ArchitectureHasBeenSet
bool ArchitectureHasBeenSet() const
Definition: Robot.h:277
Aws::RoboMaker::Model::Robot::WithLastDeploymentTime
Robot & WithLastDeploymentTime(Aws::Utils::DateTime &&value)
Definition: Robot.h:369
Aws::RoboMaker::Model::Robot::WithLastDeploymentJob
Robot & WithLastDeploymentJob(const char *value)
Definition: Robot.h:338
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::Robot::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RoboMaker::Model::Robot::WithStatus
Robot & WithStatus(const RobotStatus &value)
Definition: Robot.h:189
Aws::RoboMaker::Model::Robot::SetStatus
void SetStatus(const RobotStatus &value)
Definition: Robot.h:179
Aws::RoboMaker::Model::Robot::WithStatus
Robot & WithStatus(RobotStatus &&value)
Definition: Robot.h:194
Aws::RoboMaker::Model::Robot::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Robot.h:92
Aws::RoboMaker::Model::Robot::GetLastDeploymentJob
const Aws::String & GetLastDeploymentJob() const
Definition: Robot.h:303
Aws::RoboMaker::Model::Robot::SetLastDeploymentJob
void SetLastDeploymentJob(const char *value)
Definition: Robot.h:323
Aws::RoboMaker::Model::Robot::WithArchitecture
Robot & WithArchitecture(Architecture &&value)
Definition: Robot.h:297
Aws::RoboMaker::Model::Robot::WithCreatedAt
Robot & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: Robot.h:266
Architecture.h
Aws::RoboMaker::Model::Robot::SetArchitecture
void SetArchitecture(Architecture &&value)
Definition: Robot.h:287