AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
42 inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; }
43 inline void SetDeviceArn(const Aws::String& value) { m_deviceArn = value; }
44 inline void SetDeviceArn(Aws::String&& value) { m_deviceArn = std::move(value); }
45 inline void SetDeviceArn(const char* value) { m_deviceArn.assign(value); }
46 inline DescribeDeviceResult& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;}
47 inline DescribeDeviceResult& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;}
48 inline DescribeDeviceResult& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;}
50
52
55 inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
56 inline void SetDeviceName(const Aws::String& value) { m_deviceName = value; }
57 inline void SetDeviceName(Aws::String&& value) { m_deviceName = std::move(value); }
58 inline void SetDeviceName(const char* value) { m_deviceName.assign(value); }
59 inline DescribeDeviceResult& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
60 inline DescribeDeviceResult& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
61 inline DescribeDeviceResult& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
63
65
68 inline const Aws::String& GetDescription() const{ return m_description; }
69 inline void SetDescription(const Aws::String& value) { m_description = value; }
70 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
71 inline void SetDescription(const char* value) { m_description.assign(value); }
72 inline DescribeDeviceResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
73 inline DescribeDeviceResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
74 inline DescribeDeviceResult& WithDescription(const char* value) { SetDescription(value); return *this;}
76
78
81 inline const Aws::String& GetDeviceFleetName() const{ return m_deviceFleetName; }
82 inline void SetDeviceFleetName(const Aws::String& value) { m_deviceFleetName = value; }
83 inline void SetDeviceFleetName(Aws::String&& value) { m_deviceFleetName = std::move(value); }
84 inline void SetDeviceFleetName(const char* value) { m_deviceFleetName.assign(value); }
85 inline DescribeDeviceResult& WithDeviceFleetName(const Aws::String& value) { SetDeviceFleetName(value); return *this;}
86 inline DescribeDeviceResult& WithDeviceFleetName(Aws::String&& value) { SetDeviceFleetName(std::move(value)); return *this;}
87 inline DescribeDeviceResult& WithDeviceFleetName(const char* value) { SetDeviceFleetName(value); return *this;}
89
91
95 inline const Aws::String& GetIotThingName() const{ return m_iotThingName; }
96 inline void SetIotThingName(const Aws::String& value) { m_iotThingName = value; }
97 inline void SetIotThingName(Aws::String&& value) { m_iotThingName = std::move(value); }
98 inline void SetIotThingName(const char* value) { m_iotThingName.assign(value); }
99 inline DescribeDeviceResult& WithIotThingName(const Aws::String& value) { SetIotThingName(value); return *this;}
100 inline DescribeDeviceResult& WithIotThingName(Aws::String&& value) { SetIotThingName(std::move(value)); return *this;}
101 inline DescribeDeviceResult& WithIotThingName(const char* value) { SetIotThingName(value); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetRegistrationTime() const{ return m_registrationTime; }
109 inline void SetRegistrationTime(const Aws::Utils::DateTime& value) { m_registrationTime = value; }
110 inline void SetRegistrationTime(Aws::Utils::DateTime&& value) { m_registrationTime = std::move(value); }
112 inline DescribeDeviceResult& WithRegistrationTime(Aws::Utils::DateTime&& value) { SetRegistrationTime(std::move(value)); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetLatestHeartbeat() const{ return m_latestHeartbeat; }
120 inline void SetLatestHeartbeat(const Aws::Utils::DateTime& value) { m_latestHeartbeat = value; }
121 inline void SetLatestHeartbeat(Aws::Utils::DateTime&& value) { m_latestHeartbeat = std::move(value); }
123 inline DescribeDeviceResult& WithLatestHeartbeat(Aws::Utils::DateTime&& value) { SetLatestHeartbeat(std::move(value)); return *this;}
125
127
130 inline const Aws::Vector<EdgeModel>& GetModels() const{ return m_models; }
131 inline void SetModels(const Aws::Vector<EdgeModel>& value) { m_models = value; }
132 inline void SetModels(Aws::Vector<EdgeModel>&& value) { m_models = std::move(value); }
133 inline DescribeDeviceResult& WithModels(const Aws::Vector<EdgeModel>& value) { SetModels(value); return *this;}
134 inline DescribeDeviceResult& WithModels(Aws::Vector<EdgeModel>&& value) { SetModels(std::move(value)); return *this;}
135 inline DescribeDeviceResult& AddModels(const EdgeModel& value) { m_models.push_back(value); return *this; }
136 inline DescribeDeviceResult& AddModels(EdgeModel&& value) { m_models.push_back(std::move(value)); return *this; }
138
140
143 inline int GetMaxModels() const{ return m_maxModels; }
144 inline void SetMaxModels(int value) { m_maxModels = value; }
145 inline DescribeDeviceResult& WithMaxModels(int value) { SetMaxModels(value); return *this;}
147
149
153 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
154 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
155 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
156 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
157 inline DescribeDeviceResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
158 inline DescribeDeviceResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
159 inline DescribeDeviceResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
161
163
166 inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
167 inline void SetAgentVersion(const Aws::String& value) { m_agentVersion = value; }
168 inline void SetAgentVersion(Aws::String&& value) { m_agentVersion = std::move(value); }
169 inline void SetAgentVersion(const char* value) { m_agentVersion.assign(value); }
170 inline DescribeDeviceResult& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
171 inline DescribeDeviceResult& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
172 inline DescribeDeviceResult& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
174
176
177 inline const Aws::String& GetRequestId() const{ return m_requestId; }
178 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
179 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
180 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
181 inline DescribeDeviceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
182 inline DescribeDeviceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
183 inline DescribeDeviceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
185 private:
186
187 Aws::String m_deviceArn;
188
189 Aws::String m_deviceName;
190
191 Aws::String m_description;
192
193 Aws::String m_deviceFleetName;
194
195 Aws::String m_iotThingName;
196
197 Aws::Utils::DateTime m_registrationTime;
198
199 Aws::Utils::DateTime m_latestHeartbeat;
200
201 Aws::Vector<EdgeModel> m_models;
202
203 int m_maxModels;
204
205 Aws::String m_nextToken;
206
207 Aws::String m_agentVersion;
208
209 Aws::String m_requestId;
210 };
211
212} // namespace Model
213} // namespace SageMaker
214} // namespace Aws
DescribeDeviceResult & WithAgentVersion(const char *value)
DescribeDeviceResult & WithRequestId(Aws::String &&value)
DescribeDeviceResult & WithNextToken(Aws::String &&value)
void SetRegistrationTime(const Aws::Utils::DateTime &value)
DescribeDeviceResult & WithDeviceName(const Aws::String &value)
DescribeDeviceResult & WithLatestHeartbeat(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetRegistrationTime() const
DescribeDeviceResult & WithDeviceArn(Aws::String &&value)
DescribeDeviceResult & WithIotThingName(const char *value)
DescribeDeviceResult & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
DescribeDeviceResult & WithDeviceName(Aws::String &&value)
DescribeDeviceResult & WithRegistrationTime(Aws::Utils::DateTime &&value)
DescribeDeviceResult & WithDeviceName(const char *value)
DescribeDeviceResult & WithDeviceFleetName(const char *value)
DescribeDeviceResult & WithLatestHeartbeat(Aws::Utils::DateTime &&value)
void SetLatestHeartbeat(Aws::Utils::DateTime &&value)
const Aws::Vector< EdgeModel > & GetModels() const
DescribeDeviceResult & WithDescription(const Aws::String &value)
AWS_SAGEMAKER_API DescribeDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDeviceResult & WithModels(const Aws::Vector< EdgeModel > &value)
DescribeDeviceResult & WithRegistrationTime(const Aws::Utils::DateTime &value)
DescribeDeviceResult & WithModels(Aws::Vector< EdgeModel > &&value)
const Aws::Utils::DateTime & GetLatestHeartbeat() const
void SetModels(Aws::Vector< EdgeModel > &&value)
DescribeDeviceResult & WithAgentVersion(const Aws::String &value)
DescribeDeviceResult & WithNextToken(const Aws::String &value)
void SetLatestHeartbeat(const Aws::Utils::DateTime &value)
void SetModels(const Aws::Vector< EdgeModel > &value)
void SetRegistrationTime(Aws::Utils::DateTime &&value)
DescribeDeviceResult & WithMaxModels(int value)
DescribeDeviceResult & WithNextToken(const char *value)
void SetDeviceFleetName(const Aws::String &value)
DescribeDeviceResult & WithRequestId(const Aws::String &value)
DescribeDeviceResult & WithAgentVersion(Aws::String &&value)
DescribeDeviceResult & WithDeviceFleetName(const Aws::String &value)
DescribeDeviceResult & WithDeviceArn(const Aws::String &value)
DescribeDeviceResult & WithIotThingName(const Aws::String &value)
AWS_SAGEMAKER_API DescribeDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDeviceResult & WithDeviceFleetName(Aws::String &&value)
DescribeDeviceResult & WithIotThingName(Aws::String &&value)
DescribeDeviceResult & AddModels(EdgeModel &&value)
DescribeDeviceResult & WithRequestId(const char *value)
DescribeDeviceResult & WithDescription(const char *value)
DescribeDeviceResult & AddModels(const EdgeModel &value)
void SetIotThingName(const Aws::String &value)
DescribeDeviceResult & WithDeviceArn(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