7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
13#include <aws/snow-device-management/model/Capacity.h>
14#include <aws/snow-device-management/model/PhysicalNetworkInterface.h>
15#include <aws/snow-device-management/model/SoftwareInformation.h>
16#include <aws/snow-device-management/model/UnlockState.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
29namespace SnowDeviceManagement {
42 template <
typename AssociatedWithJobT = Aws::String>
44 m_associatedWithJobHasBeenSet =
true;
45 m_associatedWithJob = std::forward<AssociatedWithJobT>(value);
47 template <
typename AssociatedWithJobT = Aws::String>
59 template <
typename DeviceCapacitiesT = Aws::Vector<Capacity>>
61 m_deviceCapacitiesHasBeenSet =
true;
62 m_deviceCapacities = std::forward<DeviceCapacitiesT>(value);
64 template <
typename DeviceCapacitiesT = Aws::Vector<Capacity>>
69 template <
typename DeviceCapacitiesT = Capacity>
71 m_deviceCapacitiesHasBeenSet =
true;
72 m_deviceCapacities.emplace_back(std::forward<DeviceCapacitiesT>(value));
83 m_deviceStateHasBeenSet =
true;
84 m_deviceState = value;
97 template <
typename DeviceTypeT = Aws::String>
99 m_deviceTypeHasBeenSet =
true;
100 m_deviceType = std::forward<DeviceTypeT>(value);
102 template <
typename DeviceTypeT = Aws::String>
115 template <
typename LastReachedOutAtT = Aws::Utils::DateTime>
117 m_lastReachedOutAtHasBeenSet =
true;
118 m_lastReachedOutAt = std::forward<LastReachedOutAtT>(value);
120 template <
typename LastReachedOutAtT = Aws::Utils::DateTime>
133 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
135 m_lastUpdatedAtHasBeenSet =
true;
136 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
138 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
150 template <
typename ManagedDeviceArnT = Aws::String>
152 m_managedDeviceArnHasBeenSet =
true;
153 m_managedDeviceArn = std::forward<ManagedDeviceArnT>(value);
155 template <
typename ManagedDeviceArnT = Aws::String>
167 template <
typename ManagedDeviceIdT = Aws::String>
169 m_managedDeviceIdHasBeenSet =
true;
170 m_managedDeviceId = std::forward<ManagedDeviceIdT>(value);
172 template <
typename ManagedDeviceIdT = Aws::String>
184 template <
typename PhysicalNetworkInterfacesT = Aws::Vector<PhysicalNetworkInterface>>
186 m_physicalNetworkInterfacesHasBeenSet =
true;
187 m_physicalNetworkInterfaces = std::forward<PhysicalNetworkInterfacesT>(value);
189 template <
typename PhysicalNetworkInterfacesT = Aws::Vector<PhysicalNetworkInterface>>
194 template <
typename PhysicalNetworkInterfacesT = PhysicalNetworkInterface>
196 m_physicalNetworkInterfacesHasBeenSet =
true;
197 m_physicalNetworkInterfaces.emplace_back(std::forward<PhysicalNetworkInterfacesT>(value));
207 template <
typename SoftwareT = SoftwareInformation>
209 m_softwareHasBeenSet =
true;
210 m_software = std::forward<SoftwareT>(value);
212 template <
typename SoftwareT = SoftwareInformation>
226 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
228 m_tagsHasBeenSet =
true;
229 m_tags = std::forward<TagsT>(value);
231 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
233 SetTags(std::forward<TagsT>(value));
236 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
238 m_tagsHasBeenSet =
true;
239 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
247 template <
typename RequestIdT = Aws::String>
249 m_requestIdHasBeenSet =
true;
250 m_requestId = std::forward<RequestIdT>(value);
252 template <
typename RequestIdT = Aws::String>
279 SoftwareInformation m_software;
285 bool m_associatedWithJobHasBeenSet =
false;
286 bool m_deviceCapacitiesHasBeenSet =
false;
287 bool m_deviceStateHasBeenSet =
false;
288 bool m_deviceTypeHasBeenSet =
false;
289 bool m_lastReachedOutAtHasBeenSet =
false;
290 bool m_lastUpdatedAtHasBeenSet =
false;
291 bool m_managedDeviceArnHasBeenSet =
false;
292 bool m_managedDeviceIdHasBeenSet =
false;
293 bool m_physicalNetworkInterfacesHasBeenSet =
false;
294 bool m_softwareHasBeenSet =
false;
295 bool m_tagsHasBeenSet =
false;
296 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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