7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/panorama/model/DeviceBrand.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/panorama/model/DeviceAggregatedStatus.h>
12#include <aws/panorama/model/LatestDeviceJob.h>
13#include <aws/panorama/model/DeviceStatus.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/panorama/model/DeviceType.h>
63 template<
typename CreatedTimeT = Aws::Utils::DateTime>
64 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
65 template<
typename CreatedTimeT = Aws::Utils::DateTime>
75 template<
typename CurrentSoftwareT = Aws::String>
76 void SetCurrentSoftware(CurrentSoftwareT&& value) { m_currentSoftwareHasBeenSet =
true; m_currentSoftware = std::forward<CurrentSoftwareT>(value); }
77 template<
typename CurrentSoftwareT = Aws::String>
87 template<
typename DescriptionT = Aws::String>
88 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
89 template<
typename DescriptionT = Aws::String>
110 template<
typename DeviceIdT = Aws::String>
111 void SetDeviceId(DeviceIdT&& value) { m_deviceIdHasBeenSet =
true; m_deviceId = std::forward<DeviceIdT>(value); }
112 template<
typename DeviceIdT = Aws::String>
122 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
123 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
124 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
135 template<
typename LatestDeviceJobT = LatestDeviceJob>
136 void SetLatestDeviceJob(LatestDeviceJobT&& value) { m_latestDeviceJobHasBeenSet =
true; m_latestDeviceJob = std::forward<LatestDeviceJobT>(value); }
137 template<
typename LatestDeviceJobT = LatestDeviceJob>
147 template<
typename LeaseExpirationTimeT = Aws::Utils::DateTime>
148 void SetLeaseExpirationTime(LeaseExpirationTimeT&& value) { m_leaseExpirationTimeHasBeenSet =
true; m_leaseExpirationTime = std::forward<LeaseExpirationTimeT>(value); }
149 template<
typename LeaseExpirationTimeT = Aws::Utils::DateTime>
159 template<
typename NameT = Aws::String>
160 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
161 template<
typename NameT = Aws::String>
181 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
182 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
183 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
185 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
187 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
203 bool m_brandHasBeenSet =
false;
206 bool m_createdTimeHasBeenSet =
false;
209 bool m_currentSoftwareHasBeenSet =
false;
212 bool m_descriptionHasBeenSet =
false;
215 bool m_deviceAggregatedStatusHasBeenSet =
false;
218 bool m_deviceIdHasBeenSet =
false;
221 bool m_lastUpdatedTimeHasBeenSet =
false;
223 LatestDeviceJob m_latestDeviceJob;
224 bool m_latestDeviceJobHasBeenSet =
false;
227 bool m_leaseExpirationTimeHasBeenSet =
false;
230 bool m_nameHasBeenSet =
false;
233 bool m_provisioningStatusHasBeenSet =
false;
236 bool m_tagsHasBeenSet =
false;
239 bool m_typeHasBeenSet =
false;
void SetCreatedTime(CreatedTimeT &&value)
bool DeviceIdHasBeenSet() const
Device & WithCurrentSoftware(CurrentSoftwareT &&value)
void SetBrand(DeviceBrand value)
bool LastUpdatedTimeHasBeenSet() const
void SetLeaseExpirationTime(LeaseExpirationTimeT &&value)
bool LatestDeviceJobHasBeenSet() const
Device & WithLatestDeviceJob(LatestDeviceJobT &&value)
DeviceBrand GetBrand() const
bool ProvisioningStatusHasBeenSet() const
Device & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetProvisioningStatus(DeviceStatus value)
void SetDeviceId(DeviceIdT &&value)
void SetCurrentSoftware(CurrentSoftwareT &&value)
DeviceType GetType() const
void SetLatestDeviceJob(LatestDeviceJobT &&value)
bool TypeHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(TagsT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
DeviceStatus GetProvisioningStatus() const
bool DeviceAggregatedStatusHasBeenSet() const
bool DescriptionHasBeenSet() const
bool LeaseExpirationTimeHasBeenSet() const
bool CreatedTimeHasBeenSet() const
void SetName(NameT &&value)
void SetDeviceAggregatedStatus(DeviceAggregatedStatus value)
bool TagsHasBeenSet() const
const Aws::String & GetName() const
AWS_PANORAMA_API Device(Aws::Utils::Json::JsonView jsonValue)
Device & WithCreatedTime(CreatedTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
bool NameHasBeenSet() const
bool CurrentSoftwareHasBeenSet() const
Device & WithBrand(DeviceBrand value)
Device & WithLeaseExpirationTime(LeaseExpirationTimeT &&value)
Device & WithDeviceId(DeviceIdT &&value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
const LatestDeviceJob & GetLatestDeviceJob() const
bool BrandHasBeenSet() const
const Aws::String & GetDescription() const
Device & WithName(NameT &&value)
Device & WithDeviceAggregatedStatus(DeviceAggregatedStatus value)
void SetDescription(DescriptionT &&value)
AWS_PANORAMA_API Device()=default
Device & WithProvisioningStatus(DeviceStatus value)
const Aws::Utils::DateTime & GetCreatedTime() const
DeviceAggregatedStatus GetDeviceAggregatedStatus() const
Device & WithType(DeviceType value)
AWS_PANORAMA_API Device & operator=(Aws::Utils::Json::JsonView jsonValue)
Device & WithTags(TagsT &&value)
void SetType(DeviceType value)
Device & WithDescription(DescriptionT &&value)
const Aws::String & GetDeviceId() const
Device & WithLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::Utils::DateTime & GetLeaseExpirationTime() const
const Aws::String & GetCurrentSoftware() 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
Aws::Utils::Json::JsonValue JsonValue