AWS SDK for C++  1.9.159
AWS SDK for C++
DeviceSummary.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace SageMaker
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
47 
51  inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
52 
56  inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
57 
61  inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
62 
66  inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
67 
71  inline DeviceSummary& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
72 
76  inline DeviceSummary& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
77 
81  inline DeviceSummary& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
82 
83 
87  inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; }
88 
92  inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; }
93 
97  inline void SetDeviceArn(const Aws::String& value) { m_deviceArnHasBeenSet = true; m_deviceArn = value; }
98 
102  inline void SetDeviceArn(Aws::String&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::move(value); }
103 
107  inline void SetDeviceArn(const char* value) { m_deviceArnHasBeenSet = true; m_deviceArn.assign(value); }
108 
112  inline DeviceSummary& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;}
113 
117  inline DeviceSummary& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;}
118 
122  inline DeviceSummary& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;}
123 
124 
128  inline const Aws::String& GetDescription() const{ return m_description; }
129 
133  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
134 
138  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
139 
143  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
144 
148  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
149 
153  inline DeviceSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
154 
158  inline DeviceSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
159 
163  inline DeviceSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
164 
165 
169  inline const Aws::String& GetDeviceFleetName() const{ return m_deviceFleetName; }
170 
174  inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
175 
179  inline void SetDeviceFleetName(const Aws::String& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = value; }
180 
184  inline void SetDeviceFleetName(Aws::String&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::move(value); }
185 
189  inline void SetDeviceFleetName(const char* value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName.assign(value); }
190 
194  inline DeviceSummary& WithDeviceFleetName(const Aws::String& value) { SetDeviceFleetName(value); return *this;}
195 
199  inline DeviceSummary& WithDeviceFleetName(Aws::String&& value) { SetDeviceFleetName(std::move(value)); return *this;}
200 
204  inline DeviceSummary& WithDeviceFleetName(const char* value) { SetDeviceFleetName(value); return *this;}
205 
206 
211  inline const Aws::String& GetIotThingName() const{ return m_iotThingName; }
212 
217  inline bool IotThingNameHasBeenSet() const { return m_iotThingNameHasBeenSet; }
218 
223  inline void SetIotThingName(const Aws::String& value) { m_iotThingNameHasBeenSet = true; m_iotThingName = value; }
224 
229  inline void SetIotThingName(Aws::String&& value) { m_iotThingNameHasBeenSet = true; m_iotThingName = std::move(value); }
230 
235  inline void SetIotThingName(const char* value) { m_iotThingNameHasBeenSet = true; m_iotThingName.assign(value); }
236 
241  inline DeviceSummary& WithIotThingName(const Aws::String& value) { SetIotThingName(value); return *this;}
242 
247  inline DeviceSummary& WithIotThingName(Aws::String&& value) { SetIotThingName(std::move(value)); return *this;}
248 
253  inline DeviceSummary& WithIotThingName(const char* value) { SetIotThingName(value); return *this;}
254 
255 
259  inline const Aws::Utils::DateTime& GetRegistrationTime() const{ return m_registrationTime; }
260 
264  inline bool RegistrationTimeHasBeenSet() const { return m_registrationTimeHasBeenSet; }
265 
269  inline void SetRegistrationTime(const Aws::Utils::DateTime& value) { m_registrationTimeHasBeenSet = true; m_registrationTime = value; }
270 
274  inline void SetRegistrationTime(Aws::Utils::DateTime&& value) { m_registrationTimeHasBeenSet = true; m_registrationTime = std::move(value); }
275 
279  inline DeviceSummary& WithRegistrationTime(const Aws::Utils::DateTime& value) { SetRegistrationTime(value); return *this;}
280 
284  inline DeviceSummary& WithRegistrationTime(Aws::Utils::DateTime&& value) { SetRegistrationTime(std::move(value)); return *this;}
285 
286 
290  inline const Aws::Utils::DateTime& GetLatestHeartbeat() const{ return m_latestHeartbeat; }
291 
295  inline bool LatestHeartbeatHasBeenSet() const { return m_latestHeartbeatHasBeenSet; }
296 
300  inline void SetLatestHeartbeat(const Aws::Utils::DateTime& value) { m_latestHeartbeatHasBeenSet = true; m_latestHeartbeat = value; }
301 
305  inline void SetLatestHeartbeat(Aws::Utils::DateTime&& value) { m_latestHeartbeatHasBeenSet = true; m_latestHeartbeat = std::move(value); }
306 
310  inline DeviceSummary& WithLatestHeartbeat(const Aws::Utils::DateTime& value) { SetLatestHeartbeat(value); return *this;}
311 
315  inline DeviceSummary& WithLatestHeartbeat(Aws::Utils::DateTime&& value) { SetLatestHeartbeat(std::move(value)); return *this;}
316 
317 
321  inline const Aws::Vector<EdgeModelSummary>& GetModels() const{ return m_models; }
322 
326  inline bool ModelsHasBeenSet() const { return m_modelsHasBeenSet; }
327 
331  inline void SetModels(const Aws::Vector<EdgeModelSummary>& value) { m_modelsHasBeenSet = true; m_models = value; }
332 
336  inline void SetModels(Aws::Vector<EdgeModelSummary>&& value) { m_modelsHasBeenSet = true; m_models = std::move(value); }
337 
341  inline DeviceSummary& WithModels(const Aws::Vector<EdgeModelSummary>& value) { SetModels(value); return *this;}
342 
346  inline DeviceSummary& WithModels(Aws::Vector<EdgeModelSummary>&& value) { SetModels(std::move(value)); return *this;}
347 
351  inline DeviceSummary& AddModels(const EdgeModelSummary& value) { m_modelsHasBeenSet = true; m_models.push_back(value); return *this; }
352 
356  inline DeviceSummary& AddModels(EdgeModelSummary&& value) { m_modelsHasBeenSet = true; m_models.push_back(std::move(value)); return *this; }
357 
358 
362  inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
363 
367  inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
368 
372  inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; }
373 
377  inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); }
378 
382  inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); }
383 
387  inline DeviceSummary& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
388 
392  inline DeviceSummary& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
393 
397  inline DeviceSummary& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
398 
399  private:
400 
401  Aws::String m_deviceName;
402  bool m_deviceNameHasBeenSet;
403 
404  Aws::String m_deviceArn;
405  bool m_deviceArnHasBeenSet;
406 
407  Aws::String m_description;
408  bool m_descriptionHasBeenSet;
409 
410  Aws::String m_deviceFleetName;
411  bool m_deviceFleetNameHasBeenSet;
412 
413  Aws::String m_iotThingName;
414  bool m_iotThingNameHasBeenSet;
415 
416  Aws::Utils::DateTime m_registrationTime;
417  bool m_registrationTimeHasBeenSet;
418 
419  Aws::Utils::DateTime m_latestHeartbeat;
420  bool m_latestHeartbeatHasBeenSet;
421 
423  bool m_modelsHasBeenSet;
424 
425  Aws::String m_agentVersion;
426  bool m_agentVersionHasBeenSet;
427  };
428 
429 } // namespace Model
430 } // namespace SageMaker
431 } // namespace Aws
Aws::SageMaker::Model::DeviceSummary::DeviceArnHasBeenSet
bool DeviceArnHasBeenSet() const
Definition: DeviceSummary.h:92
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::DeviceSummary::operator=
DeviceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::DeviceSummary::RegistrationTimeHasBeenSet
bool RegistrationTimeHasBeenSet() const
Definition: DeviceSummary.h:264
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DeviceSummary::SetDeviceName
void SetDeviceName(Aws::String &&value)
Definition: DeviceSummary.h:61
Aws::SageMaker::Model::DeviceSummary::WithAgentVersion
DeviceSummary & WithAgentVersion(const char *value)
Definition: DeviceSummary.h:397
Aws::SageMaker::Model::DeviceSummary::SetDeviceArn
void SetDeviceArn(const Aws::String &value)
Definition: DeviceSummary.h:97
Aws::SageMaker::Model::DeviceSummary::GetDescription
const Aws::String & GetDescription() const
Definition: DeviceSummary.h:128
Aws::SageMaker::Model::DeviceSummary::WithModels
DeviceSummary & WithModels(Aws::Vector< EdgeModelSummary > &&value)
Definition: DeviceSummary.h:346
Aws::SageMaker::Model::DeviceSummary::SetDeviceFleetName
void SetDeviceFleetName(Aws::String &&value)
Definition: DeviceSummary.h:184
DateTime.h
Aws::SageMaker::Model::DeviceSummary::SetDescription
void SetDescription(const Aws::String &value)
Definition: DeviceSummary.h:138
Aws::SageMaker::Model::DeviceSummary::DeviceNameHasBeenSet
bool DeviceNameHasBeenSet() const
Definition: DeviceSummary.h:51
Aws::SageMaker::Model::DeviceSummary::DeviceSummary
DeviceSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::DeviceSummary::SetDeviceFleetName
void SetDeviceFleetName(const Aws::String &value)
Definition: DeviceSummary.h:179
Aws::SageMaker::Model::EdgeModelSummary
Definition: EdgeModelSummary.h:32
Aws::SageMaker::Model::DeviceSummary::SetAgentVersion
void SetAgentVersion(const Aws::String &value)
Definition: DeviceSummary.h:372
Aws::SageMaker::Model::DeviceSummary::WithIotThingName
DeviceSummary & WithIotThingName(const char *value)
Definition: DeviceSummary.h:253
Aws::SageMaker::Model::DeviceSummary::WithDescription
DeviceSummary & WithDescription(Aws::String &&value)
Definition: DeviceSummary.h:158
Aws::SageMaker::Model::DeviceSummary::GetRegistrationTime
const Aws::Utils::DateTime & GetRegistrationTime() const
Definition: DeviceSummary.h:259
Aws::SageMaker::Model::DeviceSummary::SetRegistrationTime
void SetRegistrationTime(Aws::Utils::DateTime &&value)
Definition: DeviceSummary.h:274
Aws::SageMaker::Model::DeviceSummary::SetAgentVersion
void SetAgentVersion(Aws::String &&value)
Definition: DeviceSummary.h:377
Aws::SageMaker::Model::DeviceSummary::SetDeviceName
void SetDeviceName(const Aws::String &value)
Definition: DeviceSummary.h:56
Aws::SageMaker::Model::DeviceSummary::WithDeviceFleetName
DeviceSummary & WithDeviceFleetName(const char *value)
Definition: DeviceSummary.h:204
Aws::SageMaker::Model::DeviceSummary::SetDeviceFleetName
void SetDeviceFleetName(const char *value)
Definition: DeviceSummary.h:189
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::DeviceSummary::WithDeviceArn
DeviceSummary & WithDeviceArn(const Aws::String &value)
Definition: DeviceSummary.h:112
Aws::SageMaker::Model::DeviceSummary::SetDeviceArn
void SetDeviceArn(Aws::String &&value)
Definition: DeviceSummary.h:102
Aws::SageMaker::Model::DeviceSummary::WithRegistrationTime
DeviceSummary & WithRegistrationTime(const Aws::Utils::DateTime &value)
Definition: DeviceSummary.h:279
Aws::SageMaker::Model::DeviceSummary::AddModels
DeviceSummary & AddModels(const EdgeModelSummary &value)
Definition: DeviceSummary.h:351
Aws::SageMaker::Model::DeviceSummary::WithIotThingName
DeviceSummary & WithIotThingName(const Aws::String &value)
Definition: DeviceSummary.h:241
AWSVector.h
Aws::SageMaker::Model::DeviceSummary::GetDeviceFleetName
const Aws::String & GetDeviceFleetName() const
Definition: DeviceSummary.h:169
Aws::SageMaker::Model::DeviceSummary::WithDescription
DeviceSummary & WithDescription(const char *value)
Definition: DeviceSummary.h:163
Aws::SageMaker::Model::DeviceSummary::SetIotThingName
void SetIotThingName(const Aws::String &value)
Definition: DeviceSummary.h:223
Aws::SageMaker::Model::DeviceSummary::DeviceSummary
DeviceSummary()
Aws::SageMaker::Model::DeviceSummary::WithDeviceArn
DeviceSummary & WithDeviceArn(Aws::String &&value)
Definition: DeviceSummary.h:117
Aws::SageMaker::Model::DeviceSummary::WithDeviceArn
DeviceSummary & WithDeviceArn(const char *value)
Definition: DeviceSummary.h:122
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DeviceSummary::SetIotThingName
void SetIotThingName(const char *value)
Definition: DeviceSummary.h:235
Aws::SageMaker::Model::DeviceSummary::LatestHeartbeatHasBeenSet
bool LatestHeartbeatHasBeenSet() const
Definition: DeviceSummary.h:295
Aws::SageMaker::Model::DeviceSummary::AddModels
DeviceSummary & AddModels(EdgeModelSummary &&value)
Definition: DeviceSummary.h:356
Aws::SageMaker::Model::DeviceSummary::ModelsHasBeenSet
bool ModelsHasBeenSet() const
Definition: DeviceSummary.h:326
Aws::SageMaker::Model::DeviceSummary::SetDescription
void SetDescription(const char *value)
Definition: DeviceSummary.h:148
Aws::SageMaker::Model::DeviceSummary::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: DeviceSummary.h:133
Aws::SageMaker::Model::DeviceSummary::GetIotThingName
const Aws::String & GetIotThingName() const
Definition: DeviceSummary.h:211
Aws::SageMaker::Model::DeviceSummary::AgentVersionHasBeenSet
bool AgentVersionHasBeenSet() const
Definition: DeviceSummary.h:367
Aws::SageMaker::Model::DeviceSummary::SetModels
void SetModels(Aws::Vector< EdgeModelSummary > &&value)
Definition: DeviceSummary.h:336
Aws::SageMaker::Model::DeviceSummary::WithAgentVersion
DeviceSummary & WithAgentVersion(const Aws::String &value)
Definition: DeviceSummary.h:387
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::DeviceSummary::WithDeviceName
DeviceSummary & WithDeviceName(Aws::String &&value)
Definition: DeviceSummary.h:76
AWSString.h
Aws::SageMaker::Model::DeviceSummary::SetDeviceArn
void SetDeviceArn(const char *value)
Definition: DeviceSummary.h:107
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::DeviceSummary::WithLatestHeartbeat
DeviceSummary & WithLatestHeartbeat(const Aws::Utils::DateTime &value)
Definition: DeviceSummary.h:310
Aws::SageMaker::Model::DeviceSummary::SetDescription
void SetDescription(Aws::String &&value)
Definition: DeviceSummary.h:143
Aws::SageMaker::Model::DeviceSummary::WithDescription
DeviceSummary & WithDescription(const Aws::String &value)
Definition: DeviceSummary.h:153
Aws::SageMaker::Model::DeviceSummary::WithDeviceFleetName
DeviceSummary & WithDeviceFleetName(const Aws::String &value)
Definition: DeviceSummary.h:194
Aws::SageMaker::Model::DeviceSummary::GetLatestHeartbeat
const Aws::Utils::DateTime & GetLatestHeartbeat() const
Definition: DeviceSummary.h:290
Aws::SageMaker::Model::DeviceSummary::WithAgentVersion
DeviceSummary & WithAgentVersion(Aws::String &&value)
Definition: DeviceSummary.h:392
Aws::SageMaker::Model::DeviceSummary::SetAgentVersion
void SetAgentVersion(const char *value)
Definition: DeviceSummary.h:382
Aws::SageMaker::Model::DeviceSummary::SetIotThingName
void SetIotThingName(Aws::String &&value)
Definition: DeviceSummary.h:229
Aws::SageMaker::Model::DeviceSummary::DeviceFleetNameHasBeenSet
bool DeviceFleetNameHasBeenSet() const
Definition: DeviceSummary.h:174
Aws::SageMaker::Model::DeviceSummary::SetLatestHeartbeat
void SetLatestHeartbeat(const Aws::Utils::DateTime &value)
Definition: DeviceSummary.h:300
Aws::SageMaker::Model::DeviceSummary::SetLatestHeartbeat
void SetLatestHeartbeat(Aws::Utils::DateTime &&value)
Definition: DeviceSummary.h:305
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DeviceSummary::IotThingNameHasBeenSet
bool IotThingNameHasBeenSet() const
Definition: DeviceSummary.h:217
Aws::SageMaker::Model::DeviceSummary::WithIotThingName
DeviceSummary & WithIotThingName(Aws::String &&value)
Definition: DeviceSummary.h:247
Aws::SageMaker::Model::DeviceSummary::SetRegistrationTime
void SetRegistrationTime(const Aws::Utils::DateTime &value)
Definition: DeviceSummary.h:269
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DeviceSummary::WithRegistrationTime
DeviceSummary & WithRegistrationTime(Aws::Utils::DateTime &&value)
Definition: DeviceSummary.h:284
Aws::SageMaker::Model::DeviceSummary::WithDeviceName
DeviceSummary & WithDeviceName(const Aws::String &value)
Definition: DeviceSummary.h:71
Aws::SageMaker::Model::DeviceSummary::GetDeviceName
const Aws::String & GetDeviceName() const
Definition: DeviceSummary.h:46
Aws::SageMaker::Model::DeviceSummary::SetModels
void SetModels(const Aws::Vector< EdgeModelSummary > &value)
Definition: DeviceSummary.h:331
Aws::SageMaker::Model::DeviceSummary::WithModels
DeviceSummary & WithModels(const Aws::Vector< EdgeModelSummary > &value)
Definition: DeviceSummary.h:341
Aws::SageMaker::Model::DeviceSummary
Definition: DeviceSummary.h:35
Aws::SageMaker::Model::DeviceSummary::WithDeviceFleetName
DeviceSummary & WithDeviceFleetName(Aws::String &&value)
Definition: DeviceSummary.h:199
Aws::SageMaker::Model::DeviceSummary::SetDeviceName
void SetDeviceName(const char *value)
Definition: DeviceSummary.h:66
Aws::SageMaker::Model::DeviceSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::DeviceSummary::WithLatestHeartbeat
DeviceSummary & WithLatestHeartbeat(Aws::Utils::DateTime &&value)
Definition: DeviceSummary.h:315
EdgeModelSummary.h
Aws::SageMaker::Model::DeviceSummary::GetModels
const Aws::Vector< EdgeModelSummary > & GetModels() const
Definition: DeviceSummary.h:321
Aws::SageMaker::Model::DeviceSummary::GetDeviceArn
const Aws::String & GetDeviceArn() const
Definition: DeviceSummary.h:87
Aws::SageMaker::Model::DeviceSummary::WithDeviceName
DeviceSummary & WithDeviceName(const char *value)
Definition: DeviceSummary.h:81
Aws::SageMaker::Model::DeviceSummary::GetAgentVersion
const Aws::String & GetAgentVersion() const
Definition: DeviceSummary.h:362