7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
12#include <aws/snow-device-management/model/Capacity.h>
13#include <aws/snow-device-management/model/PhysicalNetworkInterface.h>
14#include <aws/snow-device-management/model/SoftwareInformation.h>
15#include <aws/snow-device-management/model/UnlockState.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace SnowDeviceManagement {
41 template <
typename AssociatedWithJobT = Aws::String>
43 m_associatedWithJobHasBeenSet =
true;
44 m_associatedWithJob = std::forward<AssociatedWithJobT>(value);
46 template <
typename AssociatedWithJobT = Aws::String>
58 template <
typename DeviceCapacitiesT = Aws::Vector<Capacity>>
60 m_deviceCapacitiesHasBeenSet =
true;
61 m_deviceCapacities = std::forward<DeviceCapacitiesT>(value);
63 template <
typename DeviceCapacitiesT = Aws::Vector<Capacity>>
68 template <
typename DeviceCapacitiesT = Capacity>
70 m_deviceCapacitiesHasBeenSet =
true;
71 m_deviceCapacities.emplace_back(std::forward<DeviceCapacitiesT>(value));
82 m_deviceStateHasBeenSet =
true;
83 m_deviceState = value;
96 template <
typename DeviceTypeT = Aws::String>
98 m_deviceTypeHasBeenSet =
true;
99 m_deviceType = std::forward<DeviceTypeT>(value);
101 template <
typename DeviceTypeT = Aws::String>
114 template <
typename LastReachedOutAtT = Aws::Utils::DateTime>
116 m_lastReachedOutAtHasBeenSet =
true;
117 m_lastReachedOutAt = std::forward<LastReachedOutAtT>(value);
119 template <
typename LastReachedOutAtT = Aws::Utils::DateTime>
132 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
134 m_lastUpdatedAtHasBeenSet =
true;
135 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
137 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
149 template <
typename ManagedDeviceArnT = Aws::String>
151 m_managedDeviceArnHasBeenSet =
true;
152 m_managedDeviceArn = std::forward<ManagedDeviceArnT>(value);
154 template <
typename ManagedDeviceArnT = Aws::String>
166 template <
typename ManagedDeviceIdT = Aws::String>
168 m_managedDeviceIdHasBeenSet =
true;
169 m_managedDeviceId = std::forward<ManagedDeviceIdT>(value);
171 template <
typename ManagedDeviceIdT = Aws::String>
183 template <
typename PhysicalNetworkInterfacesT = Aws::Vector<PhysicalNetworkInterface>>
185 m_physicalNetworkInterfacesHasBeenSet =
true;
186 m_physicalNetworkInterfaces = std::forward<PhysicalNetworkInterfacesT>(value);
188 template <
typename PhysicalNetworkInterfacesT = Aws::Vector<PhysicalNetworkInterface>>
193 template <
typename PhysicalNetworkInterfacesT = PhysicalNetworkInterface>
195 m_physicalNetworkInterfacesHasBeenSet =
true;
196 m_physicalNetworkInterfaces.emplace_back(std::forward<PhysicalNetworkInterfacesT>(value));
206 template <
typename SoftwareT = SoftwareInformation>
208 m_softwareHasBeenSet =
true;
209 m_software = std::forward<SoftwareT>(value);
211 template <
typename SoftwareT = SoftwareInformation>
225 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
227 m_tagsHasBeenSet =
true;
228 m_tags = std::forward<TagsT>(value);
230 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
232 SetTags(std::forward<TagsT>(value));
235 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
237 m_tagsHasBeenSet =
true;
238 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
246 template <
typename RequestIdT = Aws::String>
248 m_requestIdHasBeenSet =
true;
249 m_requestId = std::forward<RequestIdT>(value);
251 template <
typename RequestIdT = Aws::String>
276 SoftwareInformation m_software;
281 bool m_associatedWithJobHasBeenSet =
false;
282 bool m_deviceCapacitiesHasBeenSet =
false;
283 bool m_deviceStateHasBeenSet =
false;
284 bool m_deviceTypeHasBeenSet =
false;
285 bool m_lastReachedOutAtHasBeenSet =
false;
286 bool m_lastUpdatedAtHasBeenSet =
false;
287 bool m_managedDeviceArnHasBeenSet =
false;
288 bool m_managedDeviceIdHasBeenSet =
false;
289 bool m_physicalNetworkInterfacesHasBeenSet =
false;
290 bool m_softwareHasBeenSet =
false;
291 bool m_tagsHasBeenSet =
false;
292 bool m_requestIdHasBeenSet =
false;
DescribeDeviceResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Vector< PhysicalNetworkInterface > & GetPhysicalNetworkInterfaces() const
void SetRequestId(RequestIdT &&value)
DescribeDeviceResult & WithAssociatedWithJob(AssociatedWithJobT &&value)
AWS_SNOWDEVICEMANAGEMENT_API DescribeDeviceResult()=default
void SetPhysicalNetworkInterfaces(PhysicalNetworkInterfacesT &&value)
DescribeDeviceResult & WithManagedDeviceId(ManagedDeviceIdT &&value)
DescribeDeviceResult & WithManagedDeviceArn(ManagedDeviceArnT &&value)
AWS_SNOWDEVICEMANAGEMENT_API DescribeDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetLastReachedOutAt() const
DescribeDeviceResult & AddDeviceCapacities(DeviceCapacitiesT &&value)
void SetLastReachedOutAt(LastReachedOutAtT &&value)
void SetDeviceType(DeviceTypeT &&value)
AWS_SNOWDEVICEMANAGEMENT_API DescribeDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDeviceResult & WithDeviceCapacities(DeviceCapacitiesT &&value)
void SetAssociatedWithJob(AssociatedWithJobT &&value)
const Aws::Vector< Capacity > & GetDeviceCapacities() const
DescribeDeviceResult & WithSoftware(SoftwareT &&value)
void SetDeviceState(UnlockState value)
UnlockState GetDeviceState() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
DescribeDeviceResult & WithTags(TagsT &&value)
void SetDeviceCapacities(DeviceCapacitiesT &&value)
DescribeDeviceResult & AddPhysicalNetworkInterfaces(PhysicalNetworkInterfacesT &&value)
const Aws::String & GetRequestId() const
DescribeDeviceResult & WithPhysicalNetworkInterfaces(PhysicalNetworkInterfacesT &&value)
DescribeDeviceResult & WithLastReachedOutAt(LastReachedOutAtT &&value)
void SetManagedDeviceId(ManagedDeviceIdT &&value)
const Aws::String & GetAssociatedWithJob() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
DescribeDeviceResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeDeviceResult & WithRequestId(RequestIdT &&value)
DescribeDeviceResult & WithDeviceType(DeviceTypeT &&value)
void SetSoftware(SoftwareT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetDeviceType() const
const SoftwareInformation & GetSoftware() const
void SetManagedDeviceArn(ManagedDeviceArnT &&value)
const Aws::String & GetManagedDeviceArn() const
DescribeDeviceResult & WithDeviceState(UnlockState value)
const Aws::String & GetManagedDeviceId() const
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