AWS SDK for C++  1.9.20
AWS SDK for C++
CreateRobotResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace RoboMaker
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::String& GetArn() const{ return m_arn; }
42 
46  inline void SetArn(const Aws::String& value) { m_arn = value; }
47 
51  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
52 
56  inline void SetArn(const char* value) { m_arn.assign(value); }
57 
61  inline CreateRobotResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
62 
66  inline CreateRobotResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
67 
71  inline CreateRobotResult& WithArn(const char* value) { SetArn(value); return *this;}
72 
73 
77  inline const Aws::String& GetName() const{ return m_name; }
78 
82  inline void SetName(const Aws::String& value) { m_name = value; }
83 
87  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
88 
92  inline void SetName(const char* value) { m_name.assign(value); }
93 
97  inline CreateRobotResult& WithName(const Aws::String& value) { SetName(value); return *this;}
98 
102  inline CreateRobotResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
103 
107  inline CreateRobotResult& WithName(const char* value) { SetName(value); return *this;}
108 
109 
113  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
114 
118  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
119 
123  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
124 
128  inline CreateRobotResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
129 
133  inline CreateRobotResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
134 
135 
140  inline const Aws::String& GetGreengrassGroupId() const{ return m_greengrassGroupId; }
141 
146  inline void SetGreengrassGroupId(const Aws::String& value) { m_greengrassGroupId = value; }
147 
152  inline void SetGreengrassGroupId(Aws::String&& value) { m_greengrassGroupId = std::move(value); }
153 
158  inline void SetGreengrassGroupId(const char* value) { m_greengrassGroupId.assign(value); }
159 
164  inline CreateRobotResult& WithGreengrassGroupId(const Aws::String& value) { SetGreengrassGroupId(value); return *this;}
165 
170  inline CreateRobotResult& WithGreengrassGroupId(Aws::String&& value) { SetGreengrassGroupId(std::move(value)); return *this;}
171 
176  inline CreateRobotResult& WithGreengrassGroupId(const char* value) { SetGreengrassGroupId(value); return *this;}
177 
178 
182  inline const Architecture& GetArchitecture() const{ return m_architecture; }
183 
187  inline void SetArchitecture(const Architecture& value) { m_architecture = value; }
188 
192  inline void SetArchitecture(Architecture&& value) { m_architecture = std::move(value); }
193 
197  inline CreateRobotResult& WithArchitecture(const Architecture& value) { SetArchitecture(value); return *this;}
198 
202  inline CreateRobotResult& WithArchitecture(Architecture&& value) { SetArchitecture(std::move(value)); return *this;}
203 
204 
208  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
209 
213  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
214 
218  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
219 
223  inline CreateRobotResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
224 
228  inline CreateRobotResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
229 
233  inline CreateRobotResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
234 
238  inline CreateRobotResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
239 
243  inline CreateRobotResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
244 
248  inline CreateRobotResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
249 
253  inline CreateRobotResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
254 
258  inline CreateRobotResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
259 
263  inline CreateRobotResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
264 
265  private:
266 
267  Aws::String m_arn;
268 
269  Aws::String m_name;
270 
271  Aws::Utils::DateTime m_createdAt;
272 
273  Aws::String m_greengrassGroupId;
274 
275  Architecture m_architecture;
276 
278  };
279 
280 } // namespace Model
281 } // namespace RoboMaker
282 } // namespace Aws
Aws::RoboMaker::Model::CreateRobotResult::WithName
CreateRobotResult & WithName(const char *value)
Definition: CreateRobotResult.h:107
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RoboMaker::Model::CreateRobotResult::WithArn
CreateRobotResult & WithArn(Aws::String &&value)
Definition: CreateRobotResult.h:66
Aws::RoboMaker::Model::CreateRobotResult::CreateRobotResult
CreateRobotResult()
Aws::RoboMaker::Model::CreateRobotResult::WithName
CreateRobotResult & WithName(const Aws::String &value)
Definition: CreateRobotResult.h:97
Aws::RoboMaker::Model::CreateRobotResult::AddTags
CreateRobotResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateRobotResult.h:238
Aws::RoboMaker::Model::CreateRobotResult::GetArn
const Aws::String & GetArn() const
Definition: CreateRobotResult.h:41
Aws::RoboMaker::Model::CreateRobotResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateRobotResult.h:46
Aws::RoboMaker::Model::CreateRobotResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateRobotResult.h:213
Aws::RoboMaker::Model::CreateRobotResult::WithCreatedAt
CreateRobotResult & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: CreateRobotResult.h:133
Aws::RoboMaker::Model::CreateRobotResult::AddTags
CreateRobotResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateRobotResult.h:248
DateTime.h
Aws::RoboMaker::Model::CreateRobotResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateRobotResult.h:208
Aws::RoboMaker::Model::CreateRobotResult::CreateRobotResult
CreateRobotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::CreateRobotResult::AddTags
CreateRobotResult & AddTags(const char *key, const char *value)
Definition: CreateRobotResult.h:263
Aws::RoboMaker::Model::CreateRobotResult::AddTags
CreateRobotResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateRobotResult.h:233
Aws::RoboMaker::Model::CreateRobotResult::operator=
CreateRobotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::CreateRobotResult::SetName
void SetName(const Aws::String &value)
Definition: CreateRobotResult.h:82
Aws::RoboMaker::Model::CreateRobotResult::WithCreatedAt
CreateRobotResult & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: CreateRobotResult.h:128
Aws::RoboMaker::Model::CreateRobotResult::GetArchitecture
const Architecture & GetArchitecture() const
Definition: CreateRobotResult.h:182
Aws::RoboMaker::Model::CreateRobotResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateRobotResult.h:51
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::CreateRobotResult::GetGreengrassGroupId
const Aws::String & GetGreengrassGroupId() const
Definition: CreateRobotResult.h:140
Aws::RoboMaker::Model::CreateRobotResult::GetName
const Aws::String & GetName() const
Definition: CreateRobotResult.h:77
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::CreateRobotResult::SetGreengrassGroupId
void SetGreengrassGroupId(const Aws::String &value)
Definition: CreateRobotResult.h:146
Aws::RoboMaker::Model::CreateRobotResult::SetArchitecture
void SetArchitecture(Architecture &&value)
Definition: CreateRobotResult.h:192
AWSString.h
Aws::RoboMaker::Model::CreateRobotResult::SetName
void SetName(const char *value)
Definition: CreateRobotResult.h:92
Aws::RoboMaker::Model::CreateRobotResult::SetName
void SetName(Aws::String &&value)
Definition: CreateRobotResult.h:87
Aws::RoboMaker::Model::CreateRobotResult::WithArchitecture
CreateRobotResult & WithArchitecture(Architecture &&value)
Definition: CreateRobotResult.h:202
Aws::RoboMaker::Model::CreateRobotResult
Definition: CreateRobotResult.h:31
Aws::RoboMaker::Model::CreateRobotResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateRobotResult.h:218
Aws::RoboMaker::Model::CreateRobotResult::AddTags
CreateRobotResult & AddTags(Aws::String &&key, const char *value)
Definition: CreateRobotResult.h:258
Aws::RoboMaker::Model::CreateRobotResult::WithArn
CreateRobotResult & WithArn(const Aws::String &value)
Definition: CreateRobotResult.h:61
Aws::RoboMaker::Model::CreateRobotResult::WithGreengrassGroupId
CreateRobotResult & WithGreengrassGroupId(const char *value)
Definition: CreateRobotResult.h:176
Aws::RoboMaker::Model::CreateRobotResult::SetArchitecture
void SetArchitecture(const Architecture &value)
Definition: CreateRobotResult.h:187
Aws::RoboMaker::Model::CreateRobotResult::WithArchitecture
CreateRobotResult & WithArchitecture(const Architecture &value)
Definition: CreateRobotResult.h:197
Aws::RoboMaker::Model::CreateRobotResult::AddTags
CreateRobotResult & AddTags(const char *key, Aws::String &&value)
Definition: CreateRobotResult.h:253
Aws::RoboMaker::Model::CreateRobotResult::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: CreateRobotResult.h:123
Aws::RoboMaker::Model::CreateRobotResult::WithGreengrassGroupId
CreateRobotResult & WithGreengrassGroupId(Aws::String &&value)
Definition: CreateRobotResult.h:170
Aws::RoboMaker::Model::CreateRobotResult::SetGreengrassGroupId
void SetGreengrassGroupId(Aws::String &&value)
Definition: CreateRobotResult.h:152
Aws::RoboMaker::Model::CreateRobotResult::WithTags
CreateRobotResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateRobotResult.h:228
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::CreateRobotResult::WithArn
CreateRobotResult & WithArn(const char *value)
Definition: CreateRobotResult.h:71
Aws::RoboMaker::Model::Architecture
Architecture
Definition: Architecture.h:17
Aws::RoboMaker::Model::CreateRobotResult::WithName
CreateRobotResult & WithName(Aws::String &&value)
Definition: CreateRobotResult.h:102
Aws::RoboMaker::Model::CreateRobotResult::AddTags
CreateRobotResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateRobotResult.h:243
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::CreateRobotResult::SetGreengrassGroupId
void SetGreengrassGroupId(const char *value)
Definition: CreateRobotResult.h:158
Aws::RoboMaker::Model::CreateRobotResult::WithTags
CreateRobotResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateRobotResult.h:223
AWSMap.h
Aws::RoboMaker::Model::CreateRobotResult::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: CreateRobotResult.h:113
Aws::RoboMaker::Model::CreateRobotResult::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: CreateRobotResult.h:118
Aws::RoboMaker::Model::CreateRobotResult::WithGreengrassGroupId
CreateRobotResult & WithGreengrassGroupId(const Aws::String &value)
Definition: CreateRobotResult.h:164
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Architecture.h
Aws::RoboMaker::Model::CreateRobotResult::SetArn
void SetArn(const char *value)
Definition: CreateRobotResult.h:56