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>
20template<
typename RESULT_TYPE>
21class AmazonWebServiceResult;
30namespace SnowDeviceManagement
47 template<
typename AssociatedWithJobT = Aws::String>
48 void SetAssociatedWithJob(AssociatedWithJobT&& value) { m_associatedWithJobHasBeenSet =
true; m_associatedWithJob = std::forward<AssociatedWithJobT>(value); }
49 template<
typename AssociatedWithJobT = Aws::String>
58 template<
typename DeviceCapacitiesT = Aws::Vector<Capacity>>
59 void SetDeviceCapacities(DeviceCapacitiesT&& value) { m_deviceCapacitiesHasBeenSet =
true; m_deviceCapacities = std::forward<DeviceCapacitiesT>(value); }
60 template<
typename DeviceCapacitiesT = Aws::Vector<Capacity>>
62 template<
typename DeviceCapacitiesT = Capacity>
80 template<
typename DeviceTypeT = Aws::String>
81 void SetDeviceType(DeviceTypeT&& value) { m_deviceTypeHasBeenSet =
true; m_deviceType = std::forward<DeviceTypeT>(value); }
82 template<
typename DeviceTypeT = Aws::String>
92 template<
typename LastReachedOutAtT = Aws::Utils::DateTime>
93 void SetLastReachedOutAt(LastReachedOutAtT&& value) { m_lastReachedOutAtHasBeenSet =
true; m_lastReachedOutAt = std::forward<LastReachedOutAtT>(value); }
94 template<
typename LastReachedOutAtT = Aws::Utils::DateTime>
104 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
105 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
106 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
115 template<
typename ManagedDeviceArnT = Aws::String>
116 void SetManagedDeviceArn(ManagedDeviceArnT&& value) { m_managedDeviceArnHasBeenSet =
true; m_managedDeviceArn = std::forward<ManagedDeviceArnT>(value); }
117 template<
typename ManagedDeviceArnT = Aws::String>
126 template<
typename ManagedDeviceIdT = Aws::String>
127 void SetManagedDeviceId(ManagedDeviceIdT&& value) { m_managedDeviceIdHasBeenSet =
true; m_managedDeviceId = std::forward<ManagedDeviceIdT>(value); }
128 template<
typename ManagedDeviceIdT = Aws::String>
137 template<
typename PhysicalNetworkInterfacesT = Aws::Vector<PhysicalNetworkInterface>>
138 void SetPhysicalNetworkInterfaces(PhysicalNetworkInterfacesT&& value) { m_physicalNetworkInterfacesHasBeenSet =
true; m_physicalNetworkInterfaces = std::forward<PhysicalNetworkInterfacesT>(value); }
139 template<
typename PhysicalNetworkInterfacesT = Aws::Vector<PhysicalNetworkInterface>>
141 template<
typename PhysicalNetworkInterfacesT = PhysicalNetworkInterface>
150 template<
typename SoftwareT = SoftwareInformation>
151 void SetSoftware(SoftwareT&& value) { m_softwareHasBeenSet =
true; m_software = std::forward<SoftwareT>(value); }
152 template<
typename SoftwareT = SoftwareInformation>
163 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
164 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
165 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
167 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
169 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
176 template<
typename RequestIdT = Aws::String>
177 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
178 template<
typename RequestIdT = Aws::String>
184 bool m_associatedWithJobHasBeenSet =
false;
187 bool m_deviceCapacitiesHasBeenSet =
false;
190 bool m_deviceStateHasBeenSet =
false;
193 bool m_deviceTypeHasBeenSet =
false;
196 bool m_lastReachedOutAtHasBeenSet =
false;
199 bool m_lastUpdatedAtHasBeenSet =
false;
202 bool m_managedDeviceArnHasBeenSet =
false;
205 bool m_managedDeviceIdHasBeenSet =
false;
208 bool m_physicalNetworkInterfacesHasBeenSet =
false;
210 SoftwareInformation m_software;
211 bool m_softwareHasBeenSet =
false;
214 bool m_tagsHasBeenSet =
false;
217 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