AWS SDK for C++  1.9.20
AWS SDK for C++
DescribeRobotResult.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace RoboMaker
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
42  inline const Aws::String& GetArn() const{ return m_arn; }
43 
47  inline void SetArn(const Aws::String& value) { m_arn = value; }
48 
52  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
53 
57  inline void SetArn(const char* value) { m_arn.assign(value); }
58 
62  inline DescribeRobotResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
63 
67  inline DescribeRobotResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 
72  inline DescribeRobotResult& WithArn(const char* value) { SetArn(value); return *this;}
73 
74 
78  inline const Aws::String& GetName() const{ return m_name; }
79 
83  inline void SetName(const Aws::String& value) { m_name = value; }
84 
88  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
89 
93  inline void SetName(const char* value) { m_name.assign(value); }
94 
98  inline DescribeRobotResult& WithName(const Aws::String& value) { SetName(value); return *this;}
99 
103  inline DescribeRobotResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
104 
108  inline DescribeRobotResult& WithName(const char* value) { SetName(value); return *this;}
109 
110 
114  inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
115 
119  inline void SetFleetArn(const Aws::String& value) { m_fleetArn = value; }
120 
124  inline void SetFleetArn(Aws::String&& value) { m_fleetArn = std::move(value); }
125 
129  inline void SetFleetArn(const char* value) { m_fleetArn.assign(value); }
130 
134  inline DescribeRobotResult& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
135 
139  inline DescribeRobotResult& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
140 
144  inline DescribeRobotResult& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
145 
146 
150  inline const RobotStatus& GetStatus() const{ return m_status; }
151 
155  inline void SetStatus(const RobotStatus& value) { m_status = value; }
156 
160  inline void SetStatus(RobotStatus&& value) { m_status = std::move(value); }
161 
165  inline DescribeRobotResult& WithStatus(const RobotStatus& value) { SetStatus(value); return *this;}
166 
170  inline DescribeRobotResult& WithStatus(RobotStatus&& value) { SetStatus(std::move(value)); return *this;}
171 
172 
176  inline const Aws::String& GetGreengrassGroupId() const{ return m_greengrassGroupId; }
177 
181  inline void SetGreengrassGroupId(const Aws::String& value) { m_greengrassGroupId = value; }
182 
186  inline void SetGreengrassGroupId(Aws::String&& value) { m_greengrassGroupId = std::move(value); }
187 
191  inline void SetGreengrassGroupId(const char* value) { m_greengrassGroupId.assign(value); }
192 
196  inline DescribeRobotResult& WithGreengrassGroupId(const Aws::String& value) { SetGreengrassGroupId(value); return *this;}
197 
201  inline DescribeRobotResult& WithGreengrassGroupId(Aws::String&& value) { SetGreengrassGroupId(std::move(value)); return *this;}
202 
206  inline DescribeRobotResult& WithGreengrassGroupId(const char* value) { SetGreengrassGroupId(value); return *this;}
207 
208 
212  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
213 
217  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
218 
222  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
223 
227  inline DescribeRobotResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
228 
232  inline DescribeRobotResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
233 
234 
238  inline const Architecture& GetArchitecture() const{ return m_architecture; }
239 
243  inline void SetArchitecture(const Architecture& value) { m_architecture = value; }
244 
248  inline void SetArchitecture(Architecture&& value) { m_architecture = std::move(value); }
249 
253  inline DescribeRobotResult& WithArchitecture(const Architecture& value) { SetArchitecture(value); return *this;}
254 
258  inline DescribeRobotResult& WithArchitecture(Architecture&& value) { SetArchitecture(std::move(value)); return *this;}
259 
260 
264  inline const Aws::String& GetLastDeploymentJob() const{ return m_lastDeploymentJob; }
265 
269  inline void SetLastDeploymentJob(const Aws::String& value) { m_lastDeploymentJob = value; }
270 
274  inline void SetLastDeploymentJob(Aws::String&& value) { m_lastDeploymentJob = std::move(value); }
275 
279  inline void SetLastDeploymentJob(const char* value) { m_lastDeploymentJob.assign(value); }
280 
284  inline DescribeRobotResult& WithLastDeploymentJob(const Aws::String& value) { SetLastDeploymentJob(value); return *this;}
285 
289  inline DescribeRobotResult& WithLastDeploymentJob(Aws::String&& value) { SetLastDeploymentJob(std::move(value)); return *this;}
290 
294  inline DescribeRobotResult& WithLastDeploymentJob(const char* value) { SetLastDeploymentJob(value); return *this;}
295 
296 
300  inline const Aws::Utils::DateTime& GetLastDeploymentTime() const{ return m_lastDeploymentTime; }
301 
305  inline void SetLastDeploymentTime(const Aws::Utils::DateTime& value) { m_lastDeploymentTime = value; }
306 
310  inline void SetLastDeploymentTime(Aws::Utils::DateTime&& value) { m_lastDeploymentTime = std::move(value); }
311 
315  inline DescribeRobotResult& WithLastDeploymentTime(const Aws::Utils::DateTime& value) { SetLastDeploymentTime(value); return *this;}
316 
320  inline DescribeRobotResult& WithLastDeploymentTime(Aws::Utils::DateTime&& value) { SetLastDeploymentTime(std::move(value)); return *this;}
321 
322 
326  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
327 
331  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
332 
336  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
337 
341  inline DescribeRobotResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
342 
346  inline DescribeRobotResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
347 
351  inline DescribeRobotResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
352 
356  inline DescribeRobotResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
357 
361  inline DescribeRobotResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
362 
366  inline DescribeRobotResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
367 
371  inline DescribeRobotResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
372 
376  inline DescribeRobotResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
377 
381  inline DescribeRobotResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
382 
383  private:
384 
385  Aws::String m_arn;
386 
387  Aws::String m_name;
388 
389  Aws::String m_fleetArn;
390 
391  RobotStatus m_status;
392 
393  Aws::String m_greengrassGroupId;
394 
395  Aws::Utils::DateTime m_createdAt;
396 
397  Architecture m_architecture;
398 
399  Aws::String m_lastDeploymentJob;
400 
401  Aws::Utils::DateTime m_lastDeploymentTime;
402 
404  };
405 
406 } // namespace Model
407 } // namespace RoboMaker
408 } // namespace Aws
Aws::RoboMaker::Model::DescribeRobotResult::SetLastDeploymentTime
void SetLastDeploymentTime(const Aws::Utils::DateTime &value)
Definition: DescribeRobotResult.h:305
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RoboMaker::Model::DescribeRobotResult::GetLastDeploymentJob
const Aws::String & GetLastDeploymentJob() const
Definition: DescribeRobotResult.h:264
Aws::RoboMaker::Model::DescribeRobotResult::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: DescribeRobotResult.h:222
Aws::RoboMaker::Model::DescribeRobotResult::WithGreengrassGroupId
DescribeRobotResult & WithGreengrassGroupId(Aws::String &&value)
Definition: DescribeRobotResult.h:201
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RoboMaker::Model::DescribeRobotResult::SetArn
void SetArn(const Aws::String &value)
Definition: DescribeRobotResult.h:47
Aws::RoboMaker::Model::RobotStatus
RobotStatus
Definition: RobotStatus.h:17
Aws::RoboMaker::Model::DescribeRobotResult::SetName
void SetName(const char *value)
Definition: DescribeRobotResult.h:93
Aws::RoboMaker::Model::DescribeRobotResult::AddTags
DescribeRobotResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: DescribeRobotResult.h:366
Aws::RoboMaker::Model::DescribeRobotResult::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: DescribeRobotResult.h:217
Aws::RoboMaker::Model::DescribeRobotResult::SetGreengrassGroupId
void SetGreengrassGroupId(const Aws::String &value)
Definition: DescribeRobotResult.h:181
Aws::RoboMaker::Model::DescribeRobotResult::WithCreatedAt
DescribeRobotResult & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: DescribeRobotResult.h:232
Aws::RoboMaker::Model::DescribeRobotResult::AddTags
DescribeRobotResult & AddTags(Aws::String &&key, const char *value)
Definition: DescribeRobotResult.h:376
Aws::RoboMaker::Model::DescribeRobotResult::DescribeRobotResult
DescribeRobotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DateTime.h
Aws::RoboMaker::Model::DescribeRobotResult::SetFleetArn
void SetFleetArn(const char *value)
Definition: DescribeRobotResult.h:129
Aws::RoboMaker::Model::DescribeRobotResult::DescribeRobotResult
DescribeRobotResult()
Aws::RoboMaker::Model::DescribeRobotResult::SetGreengrassGroupId
void SetGreengrassGroupId(Aws::String &&value)
Definition: DescribeRobotResult.h:186
Aws::RoboMaker::Model::DescribeRobotResult::SetArn
void SetArn(Aws::String &&value)
Definition: DescribeRobotResult.h:52
Aws::RoboMaker::Model::DescribeRobotResult::WithFleetArn
DescribeRobotResult & WithFleetArn(const Aws::String &value)
Definition: DescribeRobotResult.h:134
Aws::RoboMaker::Model::DescribeRobotResult::WithStatus
DescribeRobotResult & WithStatus(const RobotStatus &value)
Definition: DescribeRobotResult.h:165
Aws::RoboMaker::Model::DescribeRobotResult::GetName
const Aws::String & GetName() const
Definition: DescribeRobotResult.h:78
Aws::RoboMaker::Model::DescribeRobotResult::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: DescribeRobotResult.h:212
Aws::RoboMaker::Model::DescribeRobotResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeRobotResult.h:331
Aws::RoboMaker::Model::DescribeRobotResult::WithStatus
DescribeRobotResult & WithStatus(RobotStatus &&value)
Definition: DescribeRobotResult.h:170
Aws::RoboMaker::Model::DescribeRobotResult::WithLastDeploymentJob
DescribeRobotResult & WithLastDeploymentJob(Aws::String &&value)
Definition: DescribeRobotResult.h:289
Aws::RoboMaker::Model::DescribeRobotResult::WithArchitecture
DescribeRobotResult & WithArchitecture(Architecture &&value)
Definition: DescribeRobotResult.h:258
Aws::RoboMaker::Model::DescribeRobotResult::AddTags
DescribeRobotResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: DescribeRobotResult.h:356
Aws::RoboMaker::Model::DescribeRobotResult::WithName
DescribeRobotResult & WithName(const Aws::String &value)
Definition: DescribeRobotResult.h:98
Aws::RoboMaker::Model::DescribeRobotResult::SetFleetArn
void SetFleetArn(Aws::String &&value)
Definition: DescribeRobotResult.h:124
Aws::RoboMaker::Model::DescribeRobotResult::SetGreengrassGroupId
void SetGreengrassGroupId(const char *value)
Definition: DescribeRobotResult.h:191
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::DescribeRobotResult::WithArn
DescribeRobotResult & WithArn(const char *value)
Definition: DescribeRobotResult.h:72
Aws::RoboMaker::Model::DescribeRobotResult::WithGreengrassGroupId
DescribeRobotResult & WithGreengrassGroupId(const char *value)
Definition: DescribeRobotResult.h:206
RobotStatus.h
Aws::RoboMaker::Model::DescribeRobotResult::WithCreatedAt
DescribeRobotResult & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: DescribeRobotResult.h:227
Aws::RoboMaker::Model::DescribeRobotResult::SetName
void SetName(Aws::String &&value)
Definition: DescribeRobotResult.h:88
Aws::RoboMaker::Model::DescribeRobotResult::AddTags
DescribeRobotResult & AddTags(const char *key, const char *value)
Definition: DescribeRobotResult.h:381
Aws::RoboMaker::Model::DescribeRobotResult::WithGreengrassGroupId
DescribeRobotResult & WithGreengrassGroupId(const Aws::String &value)
Definition: DescribeRobotResult.h:196
Aws::RoboMaker::Model::DescribeRobotResult::WithArn
DescribeRobotResult & WithArn(const Aws::String &value)
Definition: DescribeRobotResult.h:62
Aws::RoboMaker::Model::DescribeRobotResult::SetLastDeploymentJob
void SetLastDeploymentJob(const char *value)
Definition: DescribeRobotResult.h:279
Aws::RoboMaker::Model::DescribeRobotResult::AddTags
DescribeRobotResult & AddTags(const char *key, Aws::String &&value)
Definition: DescribeRobotResult.h:371
Aws::RoboMaker::Model::DescribeRobotResult::WithName
DescribeRobotResult & WithName(const char *value)
Definition: DescribeRobotResult.h:108
Aws::RoboMaker::Model::DescribeRobotResult::AddTags
DescribeRobotResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: DescribeRobotResult.h:351
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::DescribeRobotResult::AddTags
DescribeRobotResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: DescribeRobotResult.h:361
Aws::RoboMaker::Model::DescribeRobotResult::SetFleetArn
void SetFleetArn(const Aws::String &value)
Definition: DescribeRobotResult.h:119
Aws::RoboMaker::Model::DescribeRobotResult::WithLastDeploymentJob
DescribeRobotResult & WithLastDeploymentJob(const Aws::String &value)
Definition: DescribeRobotResult.h:284
Aws::RoboMaker::Model::DescribeRobotResult::GetFleetArn
const Aws::String & GetFleetArn() const
Definition: DescribeRobotResult.h:114
AWSString.h
Aws::RoboMaker::Model::DescribeRobotResult::WithLastDeploymentTime
DescribeRobotResult & WithLastDeploymentTime(Aws::Utils::DateTime &&value)
Definition: DescribeRobotResult.h:320
Aws::RoboMaker::Model::DescribeRobotResult::GetLastDeploymentTime
const Aws::Utils::DateTime & GetLastDeploymentTime() const
Definition: DescribeRobotResult.h:300
Aws::RoboMaker::Model::DescribeRobotResult::SetStatus
void SetStatus(const RobotStatus &value)
Definition: DescribeRobotResult.h:155
Aws::RoboMaker::Model::DescribeRobotResult::GetArchitecture
const Architecture & GetArchitecture() const
Definition: DescribeRobotResult.h:238
Aws::RoboMaker::Model::DescribeRobotResult::SetArchitecture
void SetArchitecture(const Architecture &value)
Definition: DescribeRobotResult.h:243
Aws::RoboMaker::Model::DescribeRobotResult::WithLastDeploymentTime
DescribeRobotResult & WithLastDeploymentTime(const Aws::Utils::DateTime &value)
Definition: DescribeRobotResult.h:315
Aws::RoboMaker::Model::DescribeRobotResult::SetLastDeploymentTime
void SetLastDeploymentTime(Aws::Utils::DateTime &&value)
Definition: DescribeRobotResult.h:310
Aws::RoboMaker::Model::DescribeRobotResult::SetArchitecture
void SetArchitecture(Architecture &&value)
Definition: DescribeRobotResult.h:248
Aws::RoboMaker::Model::DescribeRobotResult::GetGreengrassGroupId
const Aws::String & GetGreengrassGroupId() const
Definition: DescribeRobotResult.h:176
Aws::RoboMaker::Model::DescribeRobotResult::SetStatus
void SetStatus(RobotStatus &&value)
Definition: DescribeRobotResult.h:160
Aws::RoboMaker::Model::DescribeRobotResult::WithLastDeploymentJob
DescribeRobotResult & WithLastDeploymentJob(const char *value)
Definition: DescribeRobotResult.h:294
Aws::RoboMaker::Model::DescribeRobotResult::WithName
DescribeRobotResult & WithName(Aws::String &&value)
Definition: DescribeRobotResult.h:103
Aws::RoboMaker::Model::DescribeRobotResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeRobotResult.h:336
Aws::RoboMaker::Model::DescribeRobotResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: DescribeRobotResult.h:326
Aws::RoboMaker::Model::DescribeRobotResult::WithTags
DescribeRobotResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeRobotResult.h:341
Aws::RoboMaker::Model::DescribeRobotResult::SetName
void SetName(const Aws::String &value)
Definition: DescribeRobotResult.h:83
Aws::RoboMaker::Model::DescribeRobotResult::operator=
DescribeRobotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::DescribeRobotResult::SetLastDeploymentJob
void SetLastDeploymentJob(Aws::String &&value)
Definition: DescribeRobotResult.h:274
Aws::RoboMaker::Model::DescribeRobotResult::WithArn
DescribeRobotResult & WithArn(Aws::String &&value)
Definition: DescribeRobotResult.h:67
Aws::RoboMaker::Model::DescribeRobotResult::GetStatus
const RobotStatus & GetStatus() const
Definition: DescribeRobotResult.h:150
Aws::RoboMaker::Model::DescribeRobotResult::WithFleetArn
DescribeRobotResult & WithFleetArn(Aws::String &&value)
Definition: DescribeRobotResult.h:139
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::DescribeRobotResult
Definition: DescribeRobotResult.h:32
Aws::RoboMaker::Model::Architecture
Architecture
Definition: Architecture.h:17
Aws::RoboMaker::Model::DescribeRobotResult::SetArn
void SetArn(const char *value)
Definition: DescribeRobotResult.h:57
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::DescribeRobotResult::WithFleetArn
DescribeRobotResult & WithFleetArn(const char *value)
Definition: DescribeRobotResult.h:144
AWSMap.h
Aws::RoboMaker::Model::DescribeRobotResult::SetLastDeploymentJob
void SetLastDeploymentJob(const Aws::String &value)
Definition: DescribeRobotResult.h:269
Aws::RoboMaker::Model::DescribeRobotResult::WithTags
DescribeRobotResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeRobotResult.h:346
Aws::RoboMaker::Model::DescribeRobotResult::GetArn
const Aws::String & GetArn() const
Definition: DescribeRobotResult.h:42
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::RoboMaker::Model::DescribeRobotResult::WithArchitecture
DescribeRobotResult & WithArchitecture(const Architecture &value)
Definition: DescribeRobotResult.h:253
Architecture.h