AWS SDK for C++  1.9.155
AWS SDK for C++
DescribeDeviceResult.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 SageMaker
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; }
42 
46  inline void SetDeviceArn(const Aws::String& value) { m_deviceArn = value; }
47 
51  inline void SetDeviceArn(Aws::String&& value) { m_deviceArn = std::move(value); }
52 
56  inline void SetDeviceArn(const char* value) { m_deviceArn.assign(value); }
57 
61  inline DescribeDeviceResult& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;}
62 
66  inline DescribeDeviceResult& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;}
67 
71  inline DescribeDeviceResult& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;}
72 
73 
77  inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
78 
82  inline void SetDeviceName(const Aws::String& value) { m_deviceName = value; }
83 
87  inline void SetDeviceName(Aws::String&& value) { m_deviceName = std::move(value); }
88 
92  inline void SetDeviceName(const char* value) { m_deviceName.assign(value); }
93 
97  inline DescribeDeviceResult& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
98 
102  inline DescribeDeviceResult& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
103 
107  inline DescribeDeviceResult& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
108 
109 
113  inline const Aws::String& GetDescription() const{ return m_description; }
114 
118  inline void SetDescription(const Aws::String& value) { m_description = value; }
119 
123  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
124 
128  inline void SetDescription(const char* value) { m_description.assign(value); }
129 
133  inline DescribeDeviceResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
134 
138  inline DescribeDeviceResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
139 
143  inline DescribeDeviceResult& WithDescription(const char* value) { SetDescription(value); return *this;}
144 
145 
149  inline const Aws::String& GetDeviceFleetName() const{ return m_deviceFleetName; }
150 
154  inline void SetDeviceFleetName(const Aws::String& value) { m_deviceFleetName = value; }
155 
159  inline void SetDeviceFleetName(Aws::String&& value) { m_deviceFleetName = std::move(value); }
160 
164  inline void SetDeviceFleetName(const char* value) { m_deviceFleetName.assign(value); }
165 
169  inline DescribeDeviceResult& WithDeviceFleetName(const Aws::String& value) { SetDeviceFleetName(value); return *this;}
170 
174  inline DescribeDeviceResult& WithDeviceFleetName(Aws::String&& value) { SetDeviceFleetName(std::move(value)); return *this;}
175 
179  inline DescribeDeviceResult& WithDeviceFleetName(const char* value) { SetDeviceFleetName(value); return *this;}
180 
181 
186  inline const Aws::String& GetIotThingName() const{ return m_iotThingName; }
187 
192  inline void SetIotThingName(const Aws::String& value) { m_iotThingName = value; }
193 
198  inline void SetIotThingName(Aws::String&& value) { m_iotThingName = std::move(value); }
199 
204  inline void SetIotThingName(const char* value) { m_iotThingName.assign(value); }
205 
210  inline DescribeDeviceResult& WithIotThingName(const Aws::String& value) { SetIotThingName(value); return *this;}
211 
216  inline DescribeDeviceResult& WithIotThingName(Aws::String&& value) { SetIotThingName(std::move(value)); return *this;}
217 
222  inline DescribeDeviceResult& WithIotThingName(const char* value) { SetIotThingName(value); return *this;}
223 
224 
228  inline const Aws::Utils::DateTime& GetRegistrationTime() const{ return m_registrationTime; }
229 
233  inline void SetRegistrationTime(const Aws::Utils::DateTime& value) { m_registrationTime = value; }
234 
238  inline void SetRegistrationTime(Aws::Utils::DateTime&& value) { m_registrationTime = std::move(value); }
239 
243  inline DescribeDeviceResult& WithRegistrationTime(const Aws::Utils::DateTime& value) { SetRegistrationTime(value); return *this;}
244 
248  inline DescribeDeviceResult& WithRegistrationTime(Aws::Utils::DateTime&& value) { SetRegistrationTime(std::move(value)); return *this;}
249 
250 
254  inline const Aws::Utils::DateTime& GetLatestHeartbeat() const{ return m_latestHeartbeat; }
255 
259  inline void SetLatestHeartbeat(const Aws::Utils::DateTime& value) { m_latestHeartbeat = value; }
260 
264  inline void SetLatestHeartbeat(Aws::Utils::DateTime&& value) { m_latestHeartbeat = std::move(value); }
265 
269  inline DescribeDeviceResult& WithLatestHeartbeat(const Aws::Utils::DateTime& value) { SetLatestHeartbeat(value); return *this;}
270 
274  inline DescribeDeviceResult& WithLatestHeartbeat(Aws::Utils::DateTime&& value) { SetLatestHeartbeat(std::move(value)); return *this;}
275 
276 
280  inline const Aws::Vector<EdgeModel>& GetModels() const{ return m_models; }
281 
285  inline void SetModels(const Aws::Vector<EdgeModel>& value) { m_models = value; }
286 
290  inline void SetModels(Aws::Vector<EdgeModel>&& value) { m_models = std::move(value); }
291 
295  inline DescribeDeviceResult& WithModels(const Aws::Vector<EdgeModel>& value) { SetModels(value); return *this;}
296 
300  inline DescribeDeviceResult& WithModels(Aws::Vector<EdgeModel>&& value) { SetModels(std::move(value)); return *this;}
301 
305  inline DescribeDeviceResult& AddModels(const EdgeModel& value) { m_models.push_back(value); return *this; }
306 
310  inline DescribeDeviceResult& AddModels(EdgeModel&& value) { m_models.push_back(std::move(value)); return *this; }
311 
312 
316  inline int GetMaxModels() const{ return m_maxModels; }
317 
321  inline void SetMaxModels(int value) { m_maxModels = value; }
322 
326  inline DescribeDeviceResult& WithMaxModels(int value) { SetMaxModels(value); return *this;}
327 
328 
333  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
334 
339  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
340 
345  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
346 
351  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
352 
357  inline DescribeDeviceResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
358 
363  inline DescribeDeviceResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
364 
369  inline DescribeDeviceResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
370 
371 
375  inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
376 
380  inline void SetAgentVersion(const Aws::String& value) { m_agentVersion = value; }
381 
385  inline void SetAgentVersion(Aws::String&& value) { m_agentVersion = std::move(value); }
386 
390  inline void SetAgentVersion(const char* value) { m_agentVersion.assign(value); }
391 
395  inline DescribeDeviceResult& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
396 
400  inline DescribeDeviceResult& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
401 
405  inline DescribeDeviceResult& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
406 
407  private:
408 
409  Aws::String m_deviceArn;
410 
411  Aws::String m_deviceName;
412 
413  Aws::String m_description;
414 
415  Aws::String m_deviceFleetName;
416 
417  Aws::String m_iotThingName;
418 
419  Aws::Utils::DateTime m_registrationTime;
420 
421  Aws::Utils::DateTime m_latestHeartbeat;
422 
423  Aws::Vector<EdgeModel> m_models;
424 
425  int m_maxModels;
426 
427  Aws::String m_nextToken;
428 
429  Aws::String m_agentVersion;
430  };
431 
432 } // namespace Model
433 } // namespace SageMaker
434 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::DescribeDeviceResult::SetDeviceName
void SetDeviceName(const Aws::String &value)
Definition: DescribeDeviceResult.h:82
Aws::SageMaker::Model::DescribeDeviceResult::WithMaxModels
DescribeDeviceResult & WithMaxModels(int value)
Definition: DescribeDeviceResult.h:326
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DescribeDeviceResult::SetIotThingName
void SetIotThingName(const Aws::String &value)
Definition: DescribeDeviceResult.h:192
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SageMaker::Model::DescribeDeviceResult::SetAgentVersion
void SetAgentVersion(const Aws::String &value)
Definition: DescribeDeviceResult.h:380
Aws::SageMaker::Model::DescribeDeviceResult::WithLatestHeartbeat
DescribeDeviceResult & WithLatestHeartbeat(Aws::Utils::DateTime &&value)
Definition: DescribeDeviceResult.h:274
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DescribeDeviceResult::SetDeviceArn
void SetDeviceArn(const Aws::String &value)
Definition: DescribeDeviceResult.h:46
Aws::SageMaker::Model::DescribeDeviceResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: DescribeDeviceResult.h:118
Aws::SageMaker::Model::DescribeDeviceResult::WithDescription
DescribeDeviceResult & WithDescription(const char *value)
Definition: DescribeDeviceResult.h:143
Aws::SageMaker::Model::DescribeDeviceResult::SetDescription
void SetDescription(const char *value)
Definition: DescribeDeviceResult.h:128
Aws::SageMaker::Model::DescribeDeviceResult::WithDeviceFleetName
DescribeDeviceResult & WithDeviceFleetName(const Aws::String &value)
Definition: DescribeDeviceResult.h:169
Aws::SageMaker::Model::DescribeDeviceResult::WithIotThingName
DescribeDeviceResult & WithIotThingName(const char *value)
Definition: DescribeDeviceResult.h:222
Aws::SageMaker::Model::DescribeDeviceResult::GetDeviceName
const Aws::String & GetDeviceName() const
Definition: DescribeDeviceResult.h:77
Aws::SageMaker::Model::DescribeDeviceResult::WithDeviceName
DescribeDeviceResult & WithDeviceName(Aws::String &&value)
Definition: DescribeDeviceResult.h:102
Aws::SageMaker::Model::DescribeDeviceResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: DescribeDeviceResult.h:123
Aws::SageMaker::Model::DescribeDeviceResult::WithNextToken
DescribeDeviceResult & WithNextToken(const Aws::String &value)
Definition: DescribeDeviceResult.h:357
DateTime.h
Aws::SageMaker::Model::DescribeDeviceResult::WithIotThingName
DescribeDeviceResult & WithIotThingName(Aws::String &&value)
Definition: DescribeDeviceResult.h:216
Aws::SageMaker::Model::DescribeDeviceResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeDeviceResult.h:345
Aws::SageMaker::Model::DescribeDeviceResult::SetLatestHeartbeat
void SetLatestHeartbeat(Aws::Utils::DateTime &&value)
Definition: DescribeDeviceResult.h:264
Aws::SageMaker::Model::EdgeModel
Definition: EdgeModel.h:33
Aws::SageMaker::Model::DescribeDeviceResult::WithModels
DescribeDeviceResult & WithModels(const Aws::Vector< EdgeModel > &value)
Definition: DescribeDeviceResult.h:295
Aws::SageMaker::Model::DescribeDeviceResult::WithAgentVersion
DescribeDeviceResult & WithAgentVersion(const Aws::String &value)
Definition: DescribeDeviceResult.h:395
Aws::SageMaker::Model::DescribeDeviceResult::WithDescription
DescribeDeviceResult & WithDescription(Aws::String &&value)
Definition: DescribeDeviceResult.h:138
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::DescribeDeviceResult::SetModels
void SetModels(Aws::Vector< EdgeModel > &&value)
Definition: DescribeDeviceResult.h:290
Aws::SageMaker::Model::DescribeDeviceResult::WithDeviceFleetName
DescribeDeviceResult & WithDeviceFleetName(Aws::String &&value)
Definition: DescribeDeviceResult.h:174
Aws::SageMaker::Model::DescribeDeviceResult::DescribeDeviceResult
DescribeDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::DescribeDeviceResult::GetDescription
const Aws::String & GetDescription() const
Definition: DescribeDeviceResult.h:113
EdgeModel.h
AWSVector.h
Aws::SageMaker::Model::DescribeDeviceResult::WithIotThingName
DescribeDeviceResult & WithIotThingName(const Aws::String &value)
Definition: DescribeDeviceResult.h:210
Aws::SageMaker::Model::DescribeDeviceResult::SetLatestHeartbeat
void SetLatestHeartbeat(const Aws::Utils::DateTime &value)
Definition: DescribeDeviceResult.h:259
Aws::SageMaker::Model::DescribeDeviceResult::WithDeviceFleetName
DescribeDeviceResult & WithDeviceFleetName(const char *value)
Definition: DescribeDeviceResult.h:179
Aws::SageMaker::Model::DescribeDeviceResult::WithRegistrationTime
DescribeDeviceResult & WithRegistrationTime(const Aws::Utils::DateTime &value)
Definition: DescribeDeviceResult.h:243
Aws::SageMaker::Model::DescribeDeviceResult::GetMaxModels
int GetMaxModels() const
Definition: DescribeDeviceResult.h:316
Aws::SageMaker::Model::DescribeDeviceResult::WithDeviceName
DescribeDeviceResult & WithDeviceName(const char *value)
Definition: DescribeDeviceResult.h:107
Aws::SageMaker::Model::DescribeDeviceResult
Definition: DescribeDeviceResult.h:31
Aws::SageMaker::Model::DescribeDeviceResult::SetDeviceFleetName
void SetDeviceFleetName(const Aws::String &value)
Definition: DescribeDeviceResult.h:154
Aws::SageMaker::Model::DescribeDeviceResult::SetDeviceFleetName
void SetDeviceFleetName(const char *value)
Definition: DescribeDeviceResult.h:164
Aws::SageMaker::Model::DescribeDeviceResult::WithNextToken
DescribeDeviceResult & WithNextToken(Aws::String &&value)
Definition: DescribeDeviceResult.h:363
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DescribeDeviceResult::SetRegistrationTime
void SetRegistrationTime(Aws::Utils::DateTime &&value)
Definition: DescribeDeviceResult.h:238
Aws::SageMaker::Model::DescribeDeviceResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeDeviceResult.h:339
Aws::SageMaker::Model::DescribeDeviceResult::SetDeviceName
void SetDeviceName(const char *value)
Definition: DescribeDeviceResult.h:92
Aws::SageMaker::Model::DescribeDeviceResult::GetLatestHeartbeat
const Aws::Utils::DateTime & GetLatestHeartbeat() const
Definition: DescribeDeviceResult.h:254
Aws::SageMaker::Model::DescribeDeviceResult::SetIotThingName
void SetIotThingName(Aws::String &&value)
Definition: DescribeDeviceResult.h:198
Aws::SageMaker::Model::DescribeDeviceResult::SetIotThingName
void SetIotThingName(const char *value)
Definition: DescribeDeviceResult.h:204
Aws::SageMaker::Model::DescribeDeviceResult::WithModels
DescribeDeviceResult & WithModels(Aws::Vector< EdgeModel > &&value)
Definition: DescribeDeviceResult.h:300
Aws::SageMaker::Model::DescribeDeviceResult::SetAgentVersion
void SetAgentVersion(const char *value)
Definition: DescribeDeviceResult.h:390
Aws::SageMaker::Model::DescribeDeviceResult::GetDeviceArn
const Aws::String & GetDeviceArn() const
Definition: DescribeDeviceResult.h:41
AWSString.h
Aws::SageMaker::Model::DescribeDeviceResult::WithDescription
DescribeDeviceResult & WithDescription(const Aws::String &value)
Definition: DescribeDeviceResult.h:133
Aws::SageMaker::Model::DescribeDeviceResult::GetRegistrationTime
const Aws::Utils::DateTime & GetRegistrationTime() const
Definition: DescribeDeviceResult.h:228
Aws::SageMaker::Model::DescribeDeviceResult::AddModels
DescribeDeviceResult & AddModels(EdgeModel &&value)
Definition: DescribeDeviceResult.h:310
Aws::SageMaker::Model::DescribeDeviceResult::WithDeviceName
DescribeDeviceResult & WithDeviceName(const Aws::String &value)
Definition: DescribeDeviceResult.h:97
Aws::SageMaker::Model::DescribeDeviceResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeDeviceResult.h:351
Aws::SageMaker::Model::DescribeDeviceResult::SetModels
void SetModels(const Aws::Vector< EdgeModel > &value)
Definition: DescribeDeviceResult.h:285
Aws::SageMaker::Model::DescribeDeviceResult::SetDeviceArn
void SetDeviceArn(const char *value)
Definition: DescribeDeviceResult.h:56
Aws::SageMaker::Model::DescribeDeviceResult::WithDeviceArn
DescribeDeviceResult & WithDeviceArn(const Aws::String &value)
Definition: DescribeDeviceResult.h:61
Aws::SageMaker::Model::DescribeDeviceResult::WithNextToken
DescribeDeviceResult & WithNextToken(const char *value)
Definition: DescribeDeviceResult.h:369
Aws::SageMaker::Model::DescribeDeviceResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeDeviceResult.h:333
Aws::SageMaker::Model::DescribeDeviceResult::DescribeDeviceResult
DescribeDeviceResult()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DescribeDeviceResult::SetMaxModels
void SetMaxModels(int value)
Definition: DescribeDeviceResult.h:321
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DescribeDeviceResult::WithAgentVersion
DescribeDeviceResult & WithAgentVersion(Aws::String &&value)
Definition: DescribeDeviceResult.h:400
Aws::SageMaker::Model::DescribeDeviceResult::WithRegistrationTime
DescribeDeviceResult & WithRegistrationTime(Aws::Utils::DateTime &&value)
Definition: DescribeDeviceResult.h:248
Aws::SageMaker::Model::DescribeDeviceResult::GetAgentVersion
const Aws::String & GetAgentVersion() const
Definition: DescribeDeviceResult.h:375
Aws::SageMaker::Model::DescribeDeviceResult::GetDeviceFleetName
const Aws::String & GetDeviceFleetName() const
Definition: DescribeDeviceResult.h:149
Aws::SageMaker::Model::DescribeDeviceResult::SetDeviceArn
void SetDeviceArn(Aws::String &&value)
Definition: DescribeDeviceResult.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DescribeDeviceResult::SetDeviceFleetName
void SetDeviceFleetName(Aws::String &&value)
Definition: DescribeDeviceResult.h:159
Aws::SageMaker::Model::DescribeDeviceResult::SetRegistrationTime
void SetRegistrationTime(const Aws::Utils::DateTime &value)
Definition: DescribeDeviceResult.h:233
Aws::SageMaker::Model::DescribeDeviceResult::GetModels
const Aws::Vector< EdgeModel > & GetModels() const
Definition: DescribeDeviceResult.h:280
Aws::SageMaker::Model::DescribeDeviceResult::GetIotThingName
const Aws::String & GetIotThingName() const
Definition: DescribeDeviceResult.h:186
Aws::SageMaker::Model::DescribeDeviceResult::WithDeviceArn
DescribeDeviceResult & WithDeviceArn(const char *value)
Definition: DescribeDeviceResult.h:71
Aws::SageMaker::Model::DescribeDeviceResult::AddModels
DescribeDeviceResult & AddModels(const EdgeModel &value)
Definition: DescribeDeviceResult.h:305
Aws::SageMaker::Model::DescribeDeviceResult::SetAgentVersion
void SetAgentVersion(Aws::String &&value)
Definition: DescribeDeviceResult.h:385
Aws::SageMaker::Model::DescribeDeviceResult::operator=
DescribeDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::DescribeDeviceResult::WithDeviceArn
DescribeDeviceResult & WithDeviceArn(Aws::String &&value)
Definition: DescribeDeviceResult.h:66
Aws::SageMaker::Model::DescribeDeviceResult::WithLatestHeartbeat
DescribeDeviceResult & WithLatestHeartbeat(const Aws::Utils::DateTime &value)
Definition: DescribeDeviceResult.h:269
Aws::SageMaker::Model::DescribeDeviceResult::SetDeviceName
void SetDeviceName(Aws::String &&value)
Definition: DescribeDeviceResult.h:87
Aws::SageMaker::Model::DescribeDeviceResult::WithAgentVersion
DescribeDeviceResult & WithAgentVersion(const char *value)
Definition: DescribeDeviceResult.h:405