AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeDeviceResult.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/EdgeModel.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker
27{
28namespace Model
29{
31 {
32 public:
33 AWS_SAGEMAKER_API DescribeDeviceResult() = default;
36
37
39
42 inline const Aws::String& GetDeviceArn() const { return m_deviceArn; }
43 template<typename DeviceArnT = Aws::String>
44 void SetDeviceArn(DeviceArnT&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::forward<DeviceArnT>(value); }
45 template<typename DeviceArnT = Aws::String>
46 DescribeDeviceResult& WithDeviceArn(DeviceArnT&& value) { SetDeviceArn(std::forward<DeviceArnT>(value)); return *this;}
48
50
53 inline const Aws::String& GetDeviceName() const { return m_deviceName; }
54 template<typename DeviceNameT = Aws::String>
55 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::forward<DeviceNameT>(value); }
56 template<typename DeviceNameT = Aws::String>
57 DescribeDeviceResult& WithDeviceName(DeviceNameT&& value) { SetDeviceName(std::forward<DeviceNameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetDescription() const { return m_description; }
65 template<typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
67 template<typename DescriptionT = Aws::String>
68 DescribeDeviceResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
70
72
75 inline const Aws::String& GetDeviceFleetName() const { return m_deviceFleetName; }
76 template<typename DeviceFleetNameT = Aws::String>
77 void SetDeviceFleetName(DeviceFleetNameT&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::forward<DeviceFleetNameT>(value); }
78 template<typename DeviceFleetNameT = Aws::String>
79 DescribeDeviceResult& WithDeviceFleetName(DeviceFleetNameT&& value) { SetDeviceFleetName(std::forward<DeviceFleetNameT>(value)); return *this;}
81
83
87 inline const Aws::String& GetIotThingName() const { return m_iotThingName; }
88 template<typename IotThingNameT = Aws::String>
89 void SetIotThingName(IotThingNameT&& value) { m_iotThingNameHasBeenSet = true; m_iotThingName = std::forward<IotThingNameT>(value); }
90 template<typename IotThingNameT = Aws::String>
91 DescribeDeviceResult& WithIotThingName(IotThingNameT&& value) { SetIotThingName(std::forward<IotThingNameT>(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetRegistrationTime() const { return m_registrationTime; }
99 template<typename RegistrationTimeT = Aws::Utils::DateTime>
100 void SetRegistrationTime(RegistrationTimeT&& value) { m_registrationTimeHasBeenSet = true; m_registrationTime = std::forward<RegistrationTimeT>(value); }
101 template<typename RegistrationTimeT = Aws::Utils::DateTime>
102 DescribeDeviceResult& WithRegistrationTime(RegistrationTimeT&& value) { SetRegistrationTime(std::forward<RegistrationTimeT>(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetLatestHeartbeat() const { return m_latestHeartbeat; }
110 template<typename LatestHeartbeatT = Aws::Utils::DateTime>
111 void SetLatestHeartbeat(LatestHeartbeatT&& value) { m_latestHeartbeatHasBeenSet = true; m_latestHeartbeat = std::forward<LatestHeartbeatT>(value); }
112 template<typename LatestHeartbeatT = Aws::Utils::DateTime>
113 DescribeDeviceResult& WithLatestHeartbeat(LatestHeartbeatT&& value) { SetLatestHeartbeat(std::forward<LatestHeartbeatT>(value)); return *this;}
115
117
120 inline const Aws::Vector<EdgeModel>& GetModels() const { return m_models; }
121 template<typename ModelsT = Aws::Vector<EdgeModel>>
122 void SetModels(ModelsT&& value) { m_modelsHasBeenSet = true; m_models = std::forward<ModelsT>(value); }
123 template<typename ModelsT = Aws::Vector<EdgeModel>>
124 DescribeDeviceResult& WithModels(ModelsT&& value) { SetModels(std::forward<ModelsT>(value)); return *this;}
125 template<typename ModelsT = EdgeModel>
126 DescribeDeviceResult& AddModels(ModelsT&& value) { m_modelsHasBeenSet = true; m_models.emplace_back(std::forward<ModelsT>(value)); return *this; }
128
130
133 inline int GetMaxModels() const { return m_maxModels; }
134 inline void SetMaxModels(int value) { m_maxModelsHasBeenSet = true; m_maxModels = value; }
135 inline DescribeDeviceResult& WithMaxModels(int value) { SetMaxModels(value); return *this;}
137
139
143 inline const Aws::String& GetNextToken() const { return m_nextToken; }
144 template<typename NextTokenT = Aws::String>
145 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
146 template<typename NextTokenT = Aws::String>
147 DescribeDeviceResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
149
151
154 inline const Aws::String& GetAgentVersion() const { return m_agentVersion; }
155 template<typename AgentVersionT = Aws::String>
156 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::forward<AgentVersionT>(value); }
157 template<typename AgentVersionT = Aws::String>
158 DescribeDeviceResult& WithAgentVersion(AgentVersionT&& value) { SetAgentVersion(std::forward<AgentVersionT>(value)); return *this;}
160
162
163 inline const Aws::String& GetRequestId() const { return m_requestId; }
164 template<typename RequestIdT = Aws::String>
165 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
166 template<typename RequestIdT = Aws::String>
167 DescribeDeviceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
169 private:
170
171 Aws::String m_deviceArn;
172 bool m_deviceArnHasBeenSet = false;
173
174 Aws::String m_deviceName;
175 bool m_deviceNameHasBeenSet = false;
176
177 Aws::String m_description;
178 bool m_descriptionHasBeenSet = false;
179
180 Aws::String m_deviceFleetName;
181 bool m_deviceFleetNameHasBeenSet = false;
182
183 Aws::String m_iotThingName;
184 bool m_iotThingNameHasBeenSet = false;
185
186 Aws::Utils::DateTime m_registrationTime{};
187 bool m_registrationTimeHasBeenSet = false;
188
189 Aws::Utils::DateTime m_latestHeartbeat{};
190 bool m_latestHeartbeatHasBeenSet = false;
191
192 Aws::Vector<EdgeModel> m_models;
193 bool m_modelsHasBeenSet = false;
194
195 int m_maxModels{0};
196 bool m_maxModelsHasBeenSet = false;
197
198 Aws::String m_nextToken;
199 bool m_nextTokenHasBeenSet = false;
200
201 Aws::String m_agentVersion;
202 bool m_agentVersionHasBeenSet = false;
203
204 Aws::String m_requestId;
205 bool m_requestIdHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace SageMaker
210} // namespace Aws
void SetLatestHeartbeat(LatestHeartbeatT &&value)
DescribeDeviceResult & WithDeviceArn(DeviceArnT &&value)
DescribeDeviceResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetRegistrationTime() const
DescribeDeviceResult & WithRegistrationTime(RegistrationTimeT &&value)
AWS_SAGEMAKER_API DescribeDeviceResult()=default
DescribeDeviceResult & WithModels(ModelsT &&value)
const Aws::Vector< EdgeModel > & GetModels() const
AWS_SAGEMAKER_API DescribeDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetLatestHeartbeat() const
DescribeDeviceResult & WithNextToken(NextTokenT &&value)
DescribeDeviceResult & WithAgentVersion(AgentVersionT &&value)
DescribeDeviceResult & WithIotThingName(IotThingNameT &&value)
DescribeDeviceResult & WithLatestHeartbeat(LatestHeartbeatT &&value)
DescribeDeviceResult & WithMaxModels(int value)
DescribeDeviceResult & WithDeviceName(DeviceNameT &&value)
void SetRegistrationTime(RegistrationTimeT &&value)
DescribeDeviceResult & AddModels(ModelsT &&value)
DescribeDeviceResult & WithDeviceFleetName(DeviceFleetNameT &&value)
AWS_SAGEMAKER_API DescribeDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDeviceFleetName(DeviceFleetNameT &&value)
DescribeDeviceResult & WithDescription(DescriptionT &&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