AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline Robot& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline Robot& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline Robot& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline Robot& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline Robot& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline Robot& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
76 inline bool FleetArnHasBeenSet() const { return m_fleetArnHasBeenSet; }
77 inline void SetFleetArn(const Aws::String& value) { m_fleetArnHasBeenSet = true; m_fleetArn = value; }
78 inline void SetFleetArn(Aws::String&& value) { m_fleetArnHasBeenSet = true; m_fleetArn = std::move(value); }
79 inline void SetFleetArn(const char* value) { m_fleetArnHasBeenSet = true; m_fleetArn.assign(value); }
80 inline Robot& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
81 inline Robot& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
82 inline Robot& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
84
86
89 inline const RobotStatus& GetStatus() const{ return m_status; }
90 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
91 inline void SetStatus(const RobotStatus& value) { m_statusHasBeenSet = true; m_status = value; }
92 inline void SetStatus(RobotStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
93 inline Robot& WithStatus(const RobotStatus& value) { SetStatus(value); return *this;}
94 inline Robot& WithStatus(RobotStatus&& value) { SetStatus(std::move(value)); return *this;}
96
98
101 inline const Aws::String& GetGreenGrassGroupId() const{ return m_greenGrassGroupId; }
102 inline bool GreenGrassGroupIdHasBeenSet() const { return m_greenGrassGroupIdHasBeenSet; }
103 inline void SetGreenGrassGroupId(const Aws::String& value) { m_greenGrassGroupIdHasBeenSet = true; m_greenGrassGroupId = value; }
104 inline void SetGreenGrassGroupId(Aws::String&& value) { m_greenGrassGroupIdHasBeenSet = true; m_greenGrassGroupId = std::move(value); }
105 inline void SetGreenGrassGroupId(const char* value) { m_greenGrassGroupIdHasBeenSet = true; m_greenGrassGroupId.assign(value); }
106 inline Robot& WithGreenGrassGroupId(const Aws::String& value) { SetGreenGrassGroupId(value); return *this;}
107 inline Robot& WithGreenGrassGroupId(Aws::String&& value) { SetGreenGrassGroupId(std::move(value)); return *this;}
108 inline Robot& WithGreenGrassGroupId(const char* value) { SetGreenGrassGroupId(value); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
116 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
117 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
118 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
119 inline Robot& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
120 inline Robot& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
122
124
127 inline const Architecture& GetArchitecture() const{ return m_architecture; }
128 inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
129 inline void SetArchitecture(const Architecture& value) { m_architectureHasBeenSet = true; m_architecture = value; }
130 inline void SetArchitecture(Architecture&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); }
131 inline Robot& WithArchitecture(const Architecture& value) { SetArchitecture(value); return *this;}
132 inline Robot& WithArchitecture(Architecture&& value) { SetArchitecture(std::move(value)); return *this;}
134
136
139 inline const Aws::String& GetLastDeploymentJob() const{ return m_lastDeploymentJob; }
140 inline bool LastDeploymentJobHasBeenSet() const { return m_lastDeploymentJobHasBeenSet; }
141 inline void SetLastDeploymentJob(const Aws::String& value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob = value; }
142 inline void SetLastDeploymentJob(Aws::String&& value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob = std::move(value); }
143 inline void SetLastDeploymentJob(const char* value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob.assign(value); }
144 inline Robot& WithLastDeploymentJob(const Aws::String& value) { SetLastDeploymentJob(value); return *this;}
145 inline Robot& WithLastDeploymentJob(Aws::String&& value) { SetLastDeploymentJob(std::move(value)); return *this;}
146 inline Robot& WithLastDeploymentJob(const char* value) { SetLastDeploymentJob(value); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetLastDeploymentTime() const{ return m_lastDeploymentTime; }
154 inline bool LastDeploymentTimeHasBeenSet() const { return m_lastDeploymentTimeHasBeenSet; }
155 inline void SetLastDeploymentTime(const Aws::Utils::DateTime& value) { m_lastDeploymentTimeHasBeenSet = true; m_lastDeploymentTime = value; }
156 inline void SetLastDeploymentTime(Aws::Utils::DateTime&& value) { m_lastDeploymentTimeHasBeenSet = true; m_lastDeploymentTime = std::move(value); }
157 inline Robot& WithLastDeploymentTime(const Aws::Utils::DateTime& value) { SetLastDeploymentTime(value); return *this;}
158 inline Robot& WithLastDeploymentTime(Aws::Utils::DateTime&& value) { SetLastDeploymentTime(std::move(value)); return *this;}
160 private:
161
162 Aws::String m_arn;
163 bool m_arnHasBeenSet = false;
164
165 Aws::String m_name;
166 bool m_nameHasBeenSet = false;
167
168 Aws::String m_fleetArn;
169 bool m_fleetArnHasBeenSet = false;
170
171 RobotStatus m_status;
172 bool m_statusHasBeenSet = false;
173
174 Aws::String m_greenGrassGroupId;
175 bool m_greenGrassGroupIdHasBeenSet = false;
176
177 Aws::Utils::DateTime m_createdAt;
178 bool m_createdAtHasBeenSet = false;
179
180 Architecture m_architecture;
181 bool m_architectureHasBeenSet = false;
182
183 Aws::String m_lastDeploymentJob;
184 bool m_lastDeploymentJobHasBeenSet = false;
185
186 Aws::Utils::DateTime m_lastDeploymentTime;
187 bool m_lastDeploymentTimeHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace RoboMaker
192} // namespace Aws
void SetName(const char *value)
Definition Robot.h:65
const Aws::String & GetFleetArn() const
Definition Robot.h:75
void SetLastDeploymentTime(Aws::Utils::DateTime &&value)
Definition Robot.h:156
Robot & WithName(const char *value)
Definition Robot.h:68
void SetArn(const char *value)
Definition Robot.h:51
Robot & WithGreenGrassGroupId(Aws::String &&value)
Definition Robot.h:107
const Architecture & GetArchitecture() const
Definition Robot.h:127
void SetLastDeploymentJob(const Aws::String &value)
Definition Robot.h:141
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Robot.h:118
Robot & WithGreenGrassGroupId(const char *value)
Definition Robot.h:108
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGreenGrassGroupId(Aws::String &&value)
Definition Robot.h:104
void SetLastDeploymentTime(const Aws::Utils::DateTime &value)
Definition Robot.h:155
const Aws::String & GetName() const
Definition Robot.h:61
AWS_ROBOMAKER_API Robot(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
Definition Robot.h:63
Robot & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Robot.h:119
bool ArchitectureHasBeenSet() const
Definition Robot.h:128
void SetFleetArn(const char *value)
Definition Robot.h:79
void SetLastDeploymentJob(Aws::String &&value)
Definition Robot.h:142
Robot & WithArchitecture(const Architecture &value)
Definition Robot.h:131
const Aws::String & GetArn() const
Definition Robot.h:47
Robot & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Robot.h:120
bool FleetArnHasBeenSet() const
Definition Robot.h:76
void SetStatus(const RobotStatus &value)
Definition Robot.h:91
void SetFleetArn(Aws::String &&value)
Definition Robot.h:78
bool ArnHasBeenSet() const
Definition Robot.h:48
bool StatusHasBeenSet() const
Definition Robot.h:90
Robot & WithName(const Aws::String &value)
Definition Robot.h:66
Robot & WithFleetArn(const Aws::String &value)
Definition Robot.h:80
const RobotStatus & GetStatus() const
Definition Robot.h:89
void SetStatus(RobotStatus &&value)
Definition Robot.h:92
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Robot.h:117
void SetArn(Aws::String &&value)
Definition Robot.h:50
const Aws::String & GetGreenGrassGroupId() const
Definition Robot.h:101
const Aws::String & GetLastDeploymentJob() const
Definition Robot.h:139
void SetName(Aws::String &&value)
Definition Robot.h:64
void SetGreenGrassGroupId(const char *value)
Definition Robot.h:105
bool LastDeploymentTimeHasBeenSet() const
Definition Robot.h:154
Robot & WithArn(Aws::String &&value)
Definition Robot.h:53
void SetArchitecture(Architecture &&value)
Definition Robot.h:130
Robot & WithLastDeploymentTime(Aws::Utils::DateTime &&value)
Definition Robot.h:158
bool LastDeploymentJobHasBeenSet() const
Definition Robot.h:140
Robot & WithStatus(const RobotStatus &value)
Definition Robot.h:93
Robot & WithArn(const char *value)
Definition Robot.h:54
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Robot.h:115
Robot & WithLastDeploymentJob(const Aws::String &value)
Definition Robot.h:144
Robot & WithArchitecture(Architecture &&value)
Definition Robot.h:132
Robot & WithArn(const Aws::String &value)
Definition Robot.h:52
void SetFleetArn(const Aws::String &value)
Definition Robot.h:77
Robot & WithLastDeploymentJob(Aws::String &&value)
Definition Robot.h:145
void SetArn(const Aws::String &value)
Definition Robot.h:49
Robot & WithLastDeploymentTime(const Aws::Utils::DateTime &value)
Definition Robot.h:157
void SetArchitecture(const Architecture &value)
Definition Robot.h:129
Robot & WithStatus(RobotStatus &&value)
Definition Robot.h:94
bool GreenGrassGroupIdHasBeenSet() const
Definition Robot.h:102
Robot & WithGreenGrassGroupId(const Aws::String &value)
Definition Robot.h:106
AWS_ROBOMAKER_API Robot()
void SetGreenGrassGroupId(const Aws::String &value)
Definition Robot.h:103
Robot & WithFleetArn(const char *value)
Definition Robot.h:82
bool CreatedAtHasBeenSet() const
Definition Robot.h:116
const Aws::Utils::DateTime & GetLastDeploymentTime() const
Definition Robot.h:153
void SetLastDeploymentJob(const char *value)
Definition Robot.h:143
Robot & WithName(Aws::String &&value)
Definition Robot.h:67
bool NameHasBeenSet() const
Definition Robot.h:62
Robot & WithFleetArn(Aws::String &&value)
Definition Robot.h:81
AWS_ROBOMAKER_API Robot & operator=(Aws::Utils::Json::JsonView jsonValue)
Robot & WithLastDeploymentJob(const char *value)
Definition Robot.h:146
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue