AWS SDK for C++  1.9.122
AWS SDK for C++
GetCoreDeviceResult.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 GreengrassV2
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::String& GetCoreDeviceThingName() const{ return m_coreDeviceThingName; }
42 
46  inline void SetCoreDeviceThingName(const Aws::String& value) { m_coreDeviceThingName = value; }
47 
51  inline void SetCoreDeviceThingName(Aws::String&& value) { m_coreDeviceThingName = std::move(value); }
52 
56  inline void SetCoreDeviceThingName(const char* value) { m_coreDeviceThingName.assign(value); }
57 
61  inline GetCoreDeviceResult& WithCoreDeviceThingName(const Aws::String& value) { SetCoreDeviceThingName(value); return *this;}
62 
66  inline GetCoreDeviceResult& WithCoreDeviceThingName(Aws::String&& value) { SetCoreDeviceThingName(std::move(value)); return *this;}
67 
71  inline GetCoreDeviceResult& WithCoreDeviceThingName(const char* value) { SetCoreDeviceThingName(value); return *this;}
72 
73 
81  inline const Aws::String& GetCoreVersion() const{ return m_coreVersion; }
82 
90  inline void SetCoreVersion(const Aws::String& value) { m_coreVersion = value; }
91 
99  inline void SetCoreVersion(Aws::String&& value) { m_coreVersion = std::move(value); }
100 
108  inline void SetCoreVersion(const char* value) { m_coreVersion.assign(value); }
109 
117  inline GetCoreDeviceResult& WithCoreVersion(const Aws::String& value) { SetCoreVersion(value); return *this;}
118 
126  inline GetCoreDeviceResult& WithCoreVersion(Aws::String&& value) { SetCoreVersion(std::move(value)); return *this;}
127 
135  inline GetCoreDeviceResult& WithCoreVersion(const char* value) { SetCoreVersion(value); return *this;}
136 
137 
141  inline const Aws::String& GetPlatform() const{ return m_platform; }
142 
146  inline void SetPlatform(const Aws::String& value) { m_platform = value; }
147 
151  inline void SetPlatform(Aws::String&& value) { m_platform = std::move(value); }
152 
156  inline void SetPlatform(const char* value) { m_platform.assign(value); }
157 
161  inline GetCoreDeviceResult& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;}
162 
166  inline GetCoreDeviceResult& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;}
167 
171  inline GetCoreDeviceResult& WithPlatform(const char* value) { SetPlatform(value); return *this;}
172 
173 
177  inline const Aws::String& GetArchitecture() const{ return m_architecture; }
178 
182  inline void SetArchitecture(const Aws::String& value) { m_architecture = value; }
183 
187  inline void SetArchitecture(Aws::String&& value) { m_architecture = std::move(value); }
188 
192  inline void SetArchitecture(const char* value) { m_architecture.assign(value); }
193 
197  inline GetCoreDeviceResult& WithArchitecture(const Aws::String& value) { SetArchitecture(value); return *this;}
198 
202  inline GetCoreDeviceResult& WithArchitecture(Aws::String&& value) { SetArchitecture(std::move(value)); return *this;}
203 
207  inline GetCoreDeviceResult& WithArchitecture(const char* value) { SetArchitecture(value); return *this;}
208 
209 
217  inline const CoreDeviceStatus& GetStatus() const{ return m_status; }
218 
226  inline void SetStatus(const CoreDeviceStatus& value) { m_status = value; }
227 
235  inline void SetStatus(CoreDeviceStatus&& value) { m_status = std::move(value); }
236 
244  inline GetCoreDeviceResult& WithStatus(const CoreDeviceStatus& value) { SetStatus(value); return *this;}
245 
253  inline GetCoreDeviceResult& WithStatus(CoreDeviceStatus&& value) { SetStatus(std::move(value)); return *this;}
254 
255 
260  inline const Aws::Utils::DateTime& GetLastStatusUpdateTimestamp() const{ return m_lastStatusUpdateTimestamp; }
261 
266  inline void SetLastStatusUpdateTimestamp(const Aws::Utils::DateTime& value) { m_lastStatusUpdateTimestamp = value; }
267 
272  inline void SetLastStatusUpdateTimestamp(Aws::Utils::DateTime&& value) { m_lastStatusUpdateTimestamp = std::move(value); }
273 
278  inline GetCoreDeviceResult& WithLastStatusUpdateTimestamp(const Aws::Utils::DateTime& value) { SetLastStatusUpdateTimestamp(value); return *this;}
279 
284  inline GetCoreDeviceResult& WithLastStatusUpdateTimestamp(Aws::Utils::DateTime&& value) { SetLastStatusUpdateTimestamp(std::move(value)); return *this;}
285 
286 
293  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
294 
301  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
302 
309  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
310 
317  inline GetCoreDeviceResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
318 
325  inline GetCoreDeviceResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
326 
333  inline GetCoreDeviceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
334 
341  inline GetCoreDeviceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
342 
349  inline GetCoreDeviceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
350 
357  inline GetCoreDeviceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
358 
365  inline GetCoreDeviceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
366 
373  inline GetCoreDeviceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
374 
381  inline GetCoreDeviceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
382 
383  private:
384 
385  Aws::String m_coreDeviceThingName;
386 
387  Aws::String m_coreVersion;
388 
389  Aws::String m_platform;
390 
391  Aws::String m_architecture;
392 
393  CoreDeviceStatus m_status;
394 
395  Aws::Utils::DateTime m_lastStatusUpdateTimestamp;
396 
398  };
399 
400 } // namespace Model
401 } // namespace GreengrassV2
402 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::GreengrassV2::Model::GetCoreDeviceResult::WithLastStatusUpdateTimestamp
GetCoreDeviceResult & WithLastStatusUpdateTimestamp(Aws::Utils::DateTime &&value)
Definition: GetCoreDeviceResult.h:284
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GreengrassV2::Model::GetCoreDeviceResult::WithArchitecture
GetCoreDeviceResult & WithArchitecture(Aws::String &&value)
Definition: GetCoreDeviceResult.h:202
Aws::GreengrassV2::Model::GetCoreDeviceResult::GetCoreVersion
const Aws::String & GetCoreVersion() const
Definition: GetCoreDeviceResult.h:81
Aws::GreengrassV2::Model::GetCoreDeviceResult::SetLastStatusUpdateTimestamp
void SetLastStatusUpdateTimestamp(const Aws::Utils::DateTime &value)
Definition: GetCoreDeviceResult.h:266
Aws::GreengrassV2::Model::GetCoreDeviceResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetCoreDeviceResult.h:301
Aws::GreengrassV2::Model::GetCoreDeviceResult::WithPlatform
GetCoreDeviceResult & WithPlatform(Aws::String &&value)
Definition: GetCoreDeviceResult.h:166
Aws::GreengrassV2::Model::CoreDeviceStatus
CoreDeviceStatus
Definition: CoreDeviceStatus.h:17
Aws::GreengrassV2::Model::GetCoreDeviceResult::SetCoreVersion
void SetCoreVersion(Aws::String &&value)
Definition: GetCoreDeviceResult.h:99
DateTime.h
Aws::GreengrassV2::Model::GetCoreDeviceResult::SetCoreVersion
void SetCoreVersion(const Aws::String &value)
Definition: GetCoreDeviceResult.h:90
Aws::GreengrassV2::Model::GetCoreDeviceResult::AddTags
GetCoreDeviceResult & AddTags(const char *key, Aws::String &&value)
Definition: GetCoreDeviceResult.h:365
Aws::GreengrassV2::Model::GetCoreDeviceResult::WithLastStatusUpdateTimestamp
GetCoreDeviceResult & WithLastStatusUpdateTimestamp(const Aws::Utils::DateTime &value)
Definition: GetCoreDeviceResult.h:278
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::GetCoreDeviceResult::GetCoreDeviceResult
GetCoreDeviceResult()
Aws::GreengrassV2::Model::GetCoreDeviceResult::AddTags
GetCoreDeviceResult & AddTags(const char *key, const char *value)
Definition: GetCoreDeviceResult.h:381
Aws::GreengrassV2::Model::GetCoreDeviceResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: GetCoreDeviceResult.h:293
Aws::GreengrassV2::Model::GetCoreDeviceResult::SetCoreVersion
void SetCoreVersion(const char *value)
Definition: GetCoreDeviceResult.h:108
Aws::GreengrassV2::Model::GetCoreDeviceResult::SetStatus
void SetStatus(CoreDeviceStatus &&value)
Definition: GetCoreDeviceResult.h:235
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::GetCoreDeviceResult::SetCoreDeviceThingName
void SetCoreDeviceThingName(const Aws::String &value)
Definition: GetCoreDeviceResult.h:46
Aws::GreengrassV2::Model::GetCoreDeviceResult::WithArchitecture
GetCoreDeviceResult & WithArchitecture(const char *value)
Definition: GetCoreDeviceResult.h:207
Aws::GreengrassV2::Model::GetCoreDeviceResult::SetCoreDeviceThingName
void SetCoreDeviceThingName(const char *value)
Definition: GetCoreDeviceResult.h:56
Aws::GreengrassV2::Model::GetCoreDeviceResult::GetLastStatusUpdateTimestamp
const Aws::Utils::DateTime & GetLastStatusUpdateTimestamp() const
Definition: GetCoreDeviceResult.h:260
Aws::GreengrassV2::Model::GetCoreDeviceResult::WithPlatform
GetCoreDeviceResult & WithPlatform(const char *value)
Definition: GetCoreDeviceResult.h:171
Aws::GreengrassV2::Model::GetCoreDeviceResult::WithCoreDeviceThingName
GetCoreDeviceResult & WithCoreDeviceThingName(const char *value)
Definition: GetCoreDeviceResult.h:71
Aws::GreengrassV2::Model::GetCoreDeviceResult::SetArchitecture
void SetArchitecture(const char *value)
Definition: GetCoreDeviceResult.h:192
Aws::GreengrassV2::Model::GetCoreDeviceResult::WithStatus
GetCoreDeviceResult & WithStatus(CoreDeviceStatus &&value)
Definition: GetCoreDeviceResult.h:253
Aws::GreengrassV2::Model::GetCoreDeviceResult::SetStatus
void SetStatus(const CoreDeviceStatus &value)
Definition: GetCoreDeviceResult.h:226
Aws::GreengrassV2::Model::GetCoreDeviceResult::WithPlatform
GetCoreDeviceResult & WithPlatform(const Aws::String &value)
Definition: GetCoreDeviceResult.h:161
Aws::GreengrassV2::Model::GetCoreDeviceResult::GetPlatform
const Aws::String & GetPlatform() const
Definition: GetCoreDeviceResult.h:141
Aws::GreengrassV2::Model::GetCoreDeviceResult::WithCoreVersion
GetCoreDeviceResult & WithCoreVersion(const Aws::String &value)
Definition: GetCoreDeviceResult.h:117
Aws::GreengrassV2::Model::GetCoreDeviceResult::AddTags
GetCoreDeviceResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: GetCoreDeviceResult.h:333
Aws::GreengrassV2::Model::GetCoreDeviceResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetCoreDeviceResult.h:309
Aws::GreengrassV2::Model::GetCoreDeviceResult::GetStatus
const CoreDeviceStatus & GetStatus() const
Definition: GetCoreDeviceResult.h:217
Aws::GreengrassV2::Model::GetCoreDeviceResult::GetCoreDeviceThingName
const Aws::String & GetCoreDeviceThingName() const
Definition: GetCoreDeviceResult.h:41
Aws::GreengrassV2::Model::GetCoreDeviceResult::SetPlatform
void SetPlatform(Aws::String &&value)
Definition: GetCoreDeviceResult.h:151
Aws::GreengrassV2::Model::GetCoreDeviceResult::WithCoreDeviceThingName
GetCoreDeviceResult & WithCoreDeviceThingName(const Aws::String &value)
Definition: GetCoreDeviceResult.h:61
Aws::GreengrassV2::Model::GetCoreDeviceResult::SetPlatform
void SetPlatform(const Aws::String &value)
Definition: GetCoreDeviceResult.h:146
Aws::GreengrassV2::Model::GetCoreDeviceResult::AddTags
GetCoreDeviceResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: GetCoreDeviceResult.h:349
AWSString.h
Aws::GreengrassV2::Model::GetCoreDeviceResult::WithStatus
GetCoreDeviceResult & WithStatus(const CoreDeviceStatus &value)
Definition: GetCoreDeviceResult.h:244
Aws::GreengrassV2::Model::GetCoreDeviceResult::WithCoreDeviceThingName
GetCoreDeviceResult & WithCoreDeviceThingName(Aws::String &&value)
Definition: GetCoreDeviceResult.h:66
Aws::GreengrassV2::Model::GetCoreDeviceResult::SetLastStatusUpdateTimestamp
void SetLastStatusUpdateTimestamp(Aws::Utils::DateTime &&value)
Definition: GetCoreDeviceResult.h:272
Aws::GreengrassV2::Model::GetCoreDeviceResult::SetCoreDeviceThingName
void SetCoreDeviceThingName(Aws::String &&value)
Definition: GetCoreDeviceResult.h:51
Aws::GreengrassV2::Model::GetCoreDeviceResult::AddTags
GetCoreDeviceResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: GetCoreDeviceResult.h:341
Aws::GreengrassV2::Model::GetCoreDeviceResult::GetArchitecture
const Aws::String & GetArchitecture() const
Definition: GetCoreDeviceResult.h:177
Aws::GreengrassV2::Model::GetCoreDeviceResult::AddTags
GetCoreDeviceResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: GetCoreDeviceResult.h:357
Aws::GreengrassV2::Model::GetCoreDeviceResult::WithCoreVersion
GetCoreDeviceResult & WithCoreVersion(Aws::String &&value)
Definition: GetCoreDeviceResult.h:126
Aws::GreengrassV2::Model::GetCoreDeviceResult::operator=
GetCoreDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GreengrassV2::Model::GetCoreDeviceResult::AddTags
GetCoreDeviceResult & AddTags(Aws::String &&key, const char *value)
Definition: GetCoreDeviceResult.h:373
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::GetCoreDeviceResult::WithCoreVersion
GetCoreDeviceResult & WithCoreVersion(const char *value)
Definition: GetCoreDeviceResult.h:135
Aws::GreengrassV2::Model::GetCoreDeviceResult::GetCoreDeviceResult
GetCoreDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::GetCoreDeviceResult::SetArchitecture
void SetArchitecture(Aws::String &&value)
Definition: GetCoreDeviceResult.h:187
CoreDeviceStatus.h
Aws::GreengrassV2::Model::GetCoreDeviceResult::SetArchitecture
void SetArchitecture(const Aws::String &value)
Definition: GetCoreDeviceResult.h:182
Aws::GreengrassV2::Model::GetCoreDeviceResult::WithTags
GetCoreDeviceResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetCoreDeviceResult.h:325
Aws::GreengrassV2::Model::GetCoreDeviceResult::WithArchitecture
GetCoreDeviceResult & WithArchitecture(const Aws::String &value)
Definition: GetCoreDeviceResult.h:197
Aws::GreengrassV2::Model::GetCoreDeviceResult::SetPlatform
void SetPlatform(const char *value)
Definition: GetCoreDeviceResult.h:156
AWSMap.h
Aws::GreengrassV2::Model::GetCoreDeviceResult
Definition: GetCoreDeviceResult.h:31
Aws::GreengrassV2::Model::GetCoreDeviceResult::WithTags
GetCoreDeviceResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetCoreDeviceResult.h:317
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19