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/snow-device-management/SnowDeviceManagement_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/snow-device-management/model/UnlockState.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/snow-device-management/model/SoftwareInformation.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/snow-device-management/model/Capacity.h>
15#include <aws/snow-device-management/model/PhysicalNetworkInterface.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace SnowDeviceManagement
31{
32namespace Model
33{
35 {
36 public:
37 AWS_SNOWDEVICEMANAGEMENT_API DescribeDeviceResult();
40
41
43
46 inline const Aws::String& GetAssociatedWithJob() const{ return m_associatedWithJob; }
47 inline void SetAssociatedWithJob(const Aws::String& value) { m_associatedWithJob = value; }
48 inline void SetAssociatedWithJob(Aws::String&& value) { m_associatedWithJob = std::move(value); }
49 inline void SetAssociatedWithJob(const char* value) { m_associatedWithJob.assign(value); }
50 inline DescribeDeviceResult& WithAssociatedWithJob(const Aws::String& value) { SetAssociatedWithJob(value); return *this;}
51 inline DescribeDeviceResult& WithAssociatedWithJob(Aws::String&& value) { SetAssociatedWithJob(std::move(value)); return *this;}
52 inline DescribeDeviceResult& WithAssociatedWithJob(const char* value) { SetAssociatedWithJob(value); return *this;}
54
56
59 inline const Aws::Vector<Capacity>& GetDeviceCapacities() const{ return m_deviceCapacities; }
60 inline void SetDeviceCapacities(const Aws::Vector<Capacity>& value) { m_deviceCapacities = value; }
61 inline void SetDeviceCapacities(Aws::Vector<Capacity>&& value) { m_deviceCapacities = std::move(value); }
63 inline DescribeDeviceResult& WithDeviceCapacities(Aws::Vector<Capacity>&& value) { SetDeviceCapacities(std::move(value)); return *this;}
64 inline DescribeDeviceResult& AddDeviceCapacities(const Capacity& value) { m_deviceCapacities.push_back(value); return *this; }
65 inline DescribeDeviceResult& AddDeviceCapacities(Capacity&& value) { m_deviceCapacities.push_back(std::move(value)); return *this; }
67
69
72 inline const UnlockState& GetDeviceState() const{ return m_deviceState; }
73 inline void SetDeviceState(const UnlockState& value) { m_deviceState = value; }
74 inline void SetDeviceState(UnlockState&& value) { m_deviceState = std::move(value); }
75 inline DescribeDeviceResult& WithDeviceState(const UnlockState& value) { SetDeviceState(value); return *this;}
76 inline DescribeDeviceResult& WithDeviceState(UnlockState&& value) { SetDeviceState(std::move(value)); return *this;}
78
80
83 inline const Aws::String& GetDeviceType() const{ return m_deviceType; }
84 inline void SetDeviceType(const Aws::String& value) { m_deviceType = value; }
85 inline void SetDeviceType(Aws::String&& value) { m_deviceType = std::move(value); }
86 inline void SetDeviceType(const char* value) { m_deviceType.assign(value); }
87 inline DescribeDeviceResult& WithDeviceType(const Aws::String& value) { SetDeviceType(value); return *this;}
88 inline DescribeDeviceResult& WithDeviceType(Aws::String&& value) { SetDeviceType(std::move(value)); return *this;}
89 inline DescribeDeviceResult& WithDeviceType(const char* value) { SetDeviceType(value); return *this;}
91
93
97 inline const Aws::Utils::DateTime& GetLastReachedOutAt() const{ return m_lastReachedOutAt; }
98 inline void SetLastReachedOutAt(const Aws::Utils::DateTime& value) { m_lastReachedOutAt = value; }
99 inline void SetLastReachedOutAt(Aws::Utils::DateTime&& value) { m_lastReachedOutAt = std::move(value); }
101 inline DescribeDeviceResult& WithLastReachedOutAt(Aws::Utils::DateTime&& value) { SetLastReachedOutAt(std::move(value)); return *this;}
103
105
109 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
110 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
111 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
113 inline DescribeDeviceResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
115
117
120 inline const Aws::String& GetManagedDeviceArn() const{ return m_managedDeviceArn; }
121 inline void SetManagedDeviceArn(const Aws::String& value) { m_managedDeviceArn = value; }
122 inline void SetManagedDeviceArn(Aws::String&& value) { m_managedDeviceArn = std::move(value); }
123 inline void SetManagedDeviceArn(const char* value) { m_managedDeviceArn.assign(value); }
124 inline DescribeDeviceResult& WithManagedDeviceArn(const Aws::String& value) { SetManagedDeviceArn(value); return *this;}
125 inline DescribeDeviceResult& WithManagedDeviceArn(Aws::String&& value) { SetManagedDeviceArn(std::move(value)); return *this;}
126 inline DescribeDeviceResult& WithManagedDeviceArn(const char* value) { SetManagedDeviceArn(value); return *this;}
128
130
133 inline const Aws::String& GetManagedDeviceId() const{ return m_managedDeviceId; }
134 inline void SetManagedDeviceId(const Aws::String& value) { m_managedDeviceId = value; }
135 inline void SetManagedDeviceId(Aws::String&& value) { m_managedDeviceId = std::move(value); }
136 inline void SetManagedDeviceId(const char* value) { m_managedDeviceId.assign(value); }
137 inline DescribeDeviceResult& WithManagedDeviceId(const Aws::String& value) { SetManagedDeviceId(value); return *this;}
138 inline DescribeDeviceResult& WithManagedDeviceId(Aws::String&& value) { SetManagedDeviceId(std::move(value)); return *this;}
139 inline DescribeDeviceResult& WithManagedDeviceId(const char* value) { SetManagedDeviceId(value); return *this;}
141
143
146 inline const Aws::Vector<PhysicalNetworkInterface>& GetPhysicalNetworkInterfaces() const{ return m_physicalNetworkInterfaces; }
147 inline void SetPhysicalNetworkInterfaces(const Aws::Vector<PhysicalNetworkInterface>& value) { m_physicalNetworkInterfaces = value; }
148 inline void SetPhysicalNetworkInterfaces(Aws::Vector<PhysicalNetworkInterface>&& value) { m_physicalNetworkInterfaces = std::move(value); }
151 inline DescribeDeviceResult& AddPhysicalNetworkInterfaces(const PhysicalNetworkInterface& value) { m_physicalNetworkInterfaces.push_back(value); return *this; }
152 inline DescribeDeviceResult& AddPhysicalNetworkInterfaces(PhysicalNetworkInterface&& value) { m_physicalNetworkInterfaces.push_back(std::move(value)); return *this; }
154
156
159 inline const SoftwareInformation& GetSoftware() const{ return m_software; }
160 inline void SetSoftware(const SoftwareInformation& value) { m_software = value; }
161 inline void SetSoftware(SoftwareInformation&& value) { m_software = std::move(value); }
162 inline DescribeDeviceResult& WithSoftware(const SoftwareInformation& value) { SetSoftware(value); return *this;}
163 inline DescribeDeviceResult& WithSoftware(SoftwareInformation&& value) { SetSoftware(std::move(value)); return *this;}
165
167
172 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
173 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
174 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
175 inline DescribeDeviceResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
176 inline DescribeDeviceResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
177 inline DescribeDeviceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
178 inline DescribeDeviceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
179 inline DescribeDeviceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
180 inline DescribeDeviceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
181 inline DescribeDeviceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
182 inline DescribeDeviceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
183 inline DescribeDeviceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
185
187
188 inline const Aws::String& GetRequestId() const{ return m_requestId; }
189 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
190 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
191 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
192 inline DescribeDeviceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
193 inline DescribeDeviceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
194 inline DescribeDeviceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
196 private:
197
198 Aws::String m_associatedWithJob;
199
200 Aws::Vector<Capacity> m_deviceCapacities;
201
202 UnlockState m_deviceState;
203
204 Aws::String m_deviceType;
205
206 Aws::Utils::DateTime m_lastReachedOutAt;
207
208 Aws::Utils::DateTime m_lastUpdatedAt;
209
210 Aws::String m_managedDeviceArn;
211
212 Aws::String m_managedDeviceId;
213
214 Aws::Vector<PhysicalNetworkInterface> m_physicalNetworkInterfaces;
215
216 SoftwareInformation m_software;
217
219
220 Aws::String m_requestId;
221 };
222
223} // namespace Model
224} // namespace SnowDeviceManagement
225} // namespace Aws
DescribeDeviceResult & WithAssociatedWithJob(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeDeviceResult & AddTags(const char *key, Aws::String &&value)
const Aws::Vector< PhysicalNetworkInterface > & GetPhysicalNetworkInterfaces() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeDeviceResult & WithDeviceCapacities(Aws::Vector< Capacity > &&value)
DescribeDeviceResult & WithDeviceState(UnlockState &&value)
DescribeDeviceResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeDeviceResult & WithManagedDeviceId(Aws::String &&value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
DescribeDeviceResult & WithManagedDeviceArn(Aws::String &&value)
AWS_SNOWDEVICEMANAGEMENT_API DescribeDeviceResult()
DescribeDeviceResult & WithLastReachedOutAt(Aws::Utils::DateTime &&value)
DescribeDeviceResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeDeviceResult & WithSoftware(const SoftwareInformation &value)
DescribeDeviceResult & AddTags(Aws::String &&key, const char *value)
AWS_SNOWDEVICEMANAGEMENT_API DescribeDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDeviceResult & WithManagedDeviceArn(const char *value)
DescribeDeviceResult & WithRequestId(const char *value)
const Aws::Utils::DateTime & GetLastReachedOutAt() const
DescribeDeviceResult & AddTags(const char *key, const char *value)
DescribeDeviceResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeDeviceResult & AddDeviceCapacities(const Capacity &value)
DescribeDeviceResult & WithRequestId(Aws::String &&value)
DescribeDeviceResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeDeviceResult & WithDeviceCapacities(const Aws::Vector< Capacity > &value)
AWS_SNOWDEVICEMANAGEMENT_API DescribeDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPhysicalNetworkInterfaces(const Aws::Vector< PhysicalNetworkInterface > &value)
DescribeDeviceResult & WithLastReachedOutAt(const Aws::Utils::DateTime &value)
const Aws::Vector< Capacity > & GetDeviceCapacities() const
DescribeDeviceResult & WithPhysicalNetworkInterfaces(Aws::Vector< PhysicalNetworkInterface > &&value)
DescribeDeviceResult & WithDeviceState(const UnlockState &value)
DescribeDeviceResult & WithAssociatedWithJob(Aws::String &&value)
DescribeDeviceResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
DescribeDeviceResult & WithManagedDeviceId(const Aws::String &value)
DescribeDeviceResult & WithAssociatedWithJob(const char *value)
DescribeDeviceResult & AddTags(Aws::String &&key, Aws::String &&value)
DescribeDeviceResult & WithRequestId(const Aws::String &value)
DescribeDeviceResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeDeviceResult & WithDeviceType(Aws::String &&value)
void SetDeviceCapacities(Aws::Vector< Capacity > &&value)
DescribeDeviceResult & WithDeviceType(const char *value)
void SetDeviceCapacities(const Aws::Vector< Capacity > &value)
DescribeDeviceResult & WithSoftware(SoftwareInformation &&value)
void SetPhysicalNetworkInterfaces(Aws::Vector< PhysicalNetworkInterface > &&value)
DescribeDeviceResult & WithDeviceType(const Aws::String &value)
DescribeDeviceResult & WithPhysicalNetworkInterfaces(const Aws::Vector< PhysicalNetworkInterface > &value)
DescribeDeviceResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeDeviceResult & WithManagedDeviceArn(const Aws::String &value)
void SetLastReachedOutAt(const Aws::Utils::DateTime &value)
DescribeDeviceResult & AddPhysicalNetworkInterfaces(PhysicalNetworkInterface &&value)
DescribeDeviceResult & AddDeviceCapacities(Capacity &&value)
DescribeDeviceResult & WithManagedDeviceId(const char *value)
DescribeDeviceResult & AddPhysicalNetworkInterfaces(const PhysicalNetworkInterface &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue