AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeviceSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/EdgeModelSummary.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_SAGEMAKER_API DeviceSummary();
38 AWS_SAGEMAKER_API DeviceSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API DeviceSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
48 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
49 inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
50 inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
51 inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
52 inline DeviceSummary& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
53 inline DeviceSummary& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
54 inline DeviceSummary& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
56
58
61 inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; }
62 inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; }
63 inline void SetDeviceArn(const Aws::String& value) { m_deviceArnHasBeenSet = true; m_deviceArn = value; }
64 inline void SetDeviceArn(Aws::String&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::move(value); }
65 inline void SetDeviceArn(const char* value) { m_deviceArnHasBeenSet = true; m_deviceArn.assign(value); }
66 inline DeviceSummary& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;}
67 inline DeviceSummary& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;}
68 inline DeviceSummary& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline DeviceSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline DeviceSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline DeviceSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
89 inline const Aws::String& GetDeviceFleetName() const{ return m_deviceFleetName; }
90 inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
91 inline void SetDeviceFleetName(const Aws::String& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = value; }
92 inline void SetDeviceFleetName(Aws::String&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::move(value); }
93 inline void SetDeviceFleetName(const char* value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName.assign(value); }
94 inline DeviceSummary& WithDeviceFleetName(const Aws::String& value) { SetDeviceFleetName(value); return *this;}
95 inline DeviceSummary& WithDeviceFleetName(Aws::String&& value) { SetDeviceFleetName(std::move(value)); return *this;}
96 inline DeviceSummary& WithDeviceFleetName(const char* value) { SetDeviceFleetName(value); return *this;}
98
100
104 inline const Aws::String& GetIotThingName() const{ return m_iotThingName; }
105 inline bool IotThingNameHasBeenSet() const { return m_iotThingNameHasBeenSet; }
106 inline void SetIotThingName(const Aws::String& value) { m_iotThingNameHasBeenSet = true; m_iotThingName = value; }
107 inline void SetIotThingName(Aws::String&& value) { m_iotThingNameHasBeenSet = true; m_iotThingName = std::move(value); }
108 inline void SetIotThingName(const char* value) { m_iotThingNameHasBeenSet = true; m_iotThingName.assign(value); }
109 inline DeviceSummary& WithIotThingName(const Aws::String& value) { SetIotThingName(value); return *this;}
110 inline DeviceSummary& WithIotThingName(Aws::String&& value) { SetIotThingName(std::move(value)); return *this;}
111 inline DeviceSummary& WithIotThingName(const char* value) { SetIotThingName(value); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetRegistrationTime() const{ return m_registrationTime; }
119 inline bool RegistrationTimeHasBeenSet() const { return m_registrationTimeHasBeenSet; }
120 inline void SetRegistrationTime(const Aws::Utils::DateTime& value) { m_registrationTimeHasBeenSet = true; m_registrationTime = value; }
121 inline void SetRegistrationTime(Aws::Utils::DateTime&& value) { m_registrationTimeHasBeenSet = true; m_registrationTime = std::move(value); }
122 inline DeviceSummary& WithRegistrationTime(const Aws::Utils::DateTime& value) { SetRegistrationTime(value); return *this;}
123 inline DeviceSummary& WithRegistrationTime(Aws::Utils::DateTime&& value) { SetRegistrationTime(std::move(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetLatestHeartbeat() const{ return m_latestHeartbeat; }
131 inline bool LatestHeartbeatHasBeenSet() const { return m_latestHeartbeatHasBeenSet; }
132 inline void SetLatestHeartbeat(const Aws::Utils::DateTime& value) { m_latestHeartbeatHasBeenSet = true; m_latestHeartbeat = value; }
133 inline void SetLatestHeartbeat(Aws::Utils::DateTime&& value) { m_latestHeartbeatHasBeenSet = true; m_latestHeartbeat = std::move(value); }
134 inline DeviceSummary& WithLatestHeartbeat(const Aws::Utils::DateTime& value) { SetLatestHeartbeat(value); return *this;}
135 inline DeviceSummary& WithLatestHeartbeat(Aws::Utils::DateTime&& value) { SetLatestHeartbeat(std::move(value)); return *this;}
137
139
142 inline const Aws::Vector<EdgeModelSummary>& GetModels() const{ return m_models; }
143 inline bool ModelsHasBeenSet() const { return m_modelsHasBeenSet; }
144 inline void SetModels(const Aws::Vector<EdgeModelSummary>& value) { m_modelsHasBeenSet = true; m_models = value; }
145 inline void SetModels(Aws::Vector<EdgeModelSummary>&& value) { m_modelsHasBeenSet = true; m_models = std::move(value); }
146 inline DeviceSummary& WithModels(const Aws::Vector<EdgeModelSummary>& value) { SetModels(value); return *this;}
147 inline DeviceSummary& WithModels(Aws::Vector<EdgeModelSummary>&& value) { SetModels(std::move(value)); return *this;}
148 inline DeviceSummary& AddModels(const EdgeModelSummary& value) { m_modelsHasBeenSet = true; m_models.push_back(value); return *this; }
149 inline DeviceSummary& AddModels(EdgeModelSummary&& value) { m_modelsHasBeenSet = true; m_models.push_back(std::move(value)); return *this; }
151
153
156 inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
157 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
158 inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; }
159 inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); }
160 inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); }
161 inline DeviceSummary& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
162 inline DeviceSummary& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
163 inline DeviceSummary& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
165 private:
166
167 Aws::String m_deviceName;
168 bool m_deviceNameHasBeenSet = false;
169
170 Aws::String m_deviceArn;
171 bool m_deviceArnHasBeenSet = false;
172
173 Aws::String m_description;
174 bool m_descriptionHasBeenSet = false;
175
176 Aws::String m_deviceFleetName;
177 bool m_deviceFleetNameHasBeenSet = false;
178
179 Aws::String m_iotThingName;
180 bool m_iotThingNameHasBeenSet = false;
181
182 Aws::Utils::DateTime m_registrationTime;
183 bool m_registrationTimeHasBeenSet = false;
184
185 Aws::Utils::DateTime m_latestHeartbeat;
186 bool m_latestHeartbeatHasBeenSet = false;
187
189 bool m_modelsHasBeenSet = false;
190
191 Aws::String m_agentVersion;
192 bool m_agentVersionHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace SageMaker
197} // namespace Aws
void SetIotThingName(const Aws::String &value)
const Aws::String & GetDeviceName() const
void SetAgentVersion(const char *value)
void SetRegistrationTime(const Aws::Utils::DateTime &value)
DeviceSummary & WithDeviceArn(const char *value)
void SetIotThingName(const char *value)
void SetDeviceArn(const char *value)
const Aws::Utils::DateTime & GetLatestHeartbeat() const
void SetAgentVersion(const Aws::String &value)
void SetDeviceFleetName(const Aws::String &value)
const Aws::String & GetIotThingName() const
DeviceSummary & WithLatestHeartbeat(const Aws::Utils::DateTime &value)
DeviceSummary & WithIotThingName(const char *value)
void SetDeviceArn(Aws::String &&value)
void SetIotThingName(Aws::String &&value)
const Aws::String & GetAgentVersion() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
DeviceSummary & WithAgentVersion(Aws::String &&value)
void SetRegistrationTime(Aws::Utils::DateTime &&value)
void SetDescription(Aws::String &&value)
const Aws::String & GetDeviceFleetName() const
const Aws::String & GetDeviceArn() const
DeviceSummary & WithDeviceFleetName(const char *value)
DeviceSummary & WithRegistrationTime(Aws::Utils::DateTime &&value)
void SetDeviceArn(const Aws::String &value)
DeviceSummary & AddModels(const EdgeModelSummary &value)
const Aws::Utils::DateTime & GetRegistrationTime() const
DeviceSummary & WithDescription(const Aws::String &value)
void SetDeviceName(const Aws::String &value)
const Aws::Vector< EdgeModelSummary > & GetModels() const
DeviceSummary & WithIotThingName(const Aws::String &value)
DeviceSummary & WithDeviceFleetName(const Aws::String &value)
void SetModels(Aws::Vector< EdgeModelSummary > &&value)
void SetModels(const Aws::Vector< EdgeModelSummary > &value)
DeviceSummary & WithAgentVersion(const char *value)
DeviceSummary & WithDeviceFleetName(Aws::String &&value)
DeviceSummary & WithDeviceName(Aws::String &&value)
void SetDeviceFleetName(Aws::String &&value)
DeviceSummary & WithModels(Aws::Vector< EdgeModelSummary > &&value)
void SetDeviceName(Aws::String &&value)
const Aws::String & GetDescription() const
void SetLatestHeartbeat(const Aws::Utils::DateTime &value)
DeviceSummary & WithDescription(const char *value)
AWS_SAGEMAKER_API DeviceSummary(Aws::Utils::Json::JsonView jsonValue)
void SetDeviceFleetName(const char *value)
void SetDeviceName(const char *value)
DeviceSummary & WithDeviceName(const char *value)
void SetDescription(const Aws::String &value)
void SetAgentVersion(Aws::String &&value)
AWS_SAGEMAKER_API DeviceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DeviceSummary & AddModels(EdgeModelSummary &&value)
DeviceSummary & WithIotThingName(Aws::String &&value)
DeviceSummary & WithLatestHeartbeat(Aws::Utils::DateTime &&value)
DeviceSummary & WithRegistrationTime(const Aws::Utils::DateTime &value)
DeviceSummary & WithAgentVersion(const Aws::String &value)
DeviceSummary & WithDeviceArn(const Aws::String &value)
DeviceSummary & WithDeviceName(const Aws::String &value)
void SetLatestHeartbeat(Aws::Utils::DateTime &&value)
DeviceSummary & WithDescription(Aws::String &&value)
DeviceSummary & WithModels(const Aws::Vector< EdgeModelSummary > &value)
DeviceSummary & WithDeviceArn(Aws::String &&value)
void SetDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue