7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/networkmanager/NetworkManager_EXPORTS.h>
11#include <aws/networkmanager/model/AWSLocation.h>
12#include <aws/networkmanager/model/DeviceState.h>
13#include <aws/networkmanager/model/Location.h>
14#include <aws/networkmanager/model/Tag.h>
25namespace NetworkManager {
35 AWS_NETWORKMANAGER_API
Device() =
default;
46 template <
typename DeviceIdT = Aws::String>
48 m_deviceIdHasBeenSet =
true;
49 m_deviceId = std::forward<DeviceIdT>(value);
51 template <
typename DeviceIdT = Aws::String>
64 template <
typename DeviceArnT = Aws::String>
66 m_deviceArnHasBeenSet =
true;
67 m_deviceArn = std::forward<DeviceArnT>(value);
69 template <
typename DeviceArnT = Aws::String>
82 template <
typename GlobalNetworkIdT = Aws::String>
84 m_globalNetworkIdHasBeenSet =
true;
85 m_globalNetworkId = std::forward<GlobalNetworkIdT>(value);
87 template <
typename GlobalNetworkIdT = Aws::String>
100 template <
typename AWSLocationT = AWSLocation>
102 m_aWSLocationHasBeenSet =
true;
103 m_aWSLocation = std::forward<AWSLocationT>(value);
105 template <
typename AWSLocationT = AWSLocation>
118 template <
typename DescriptionT = Aws::String>
120 m_descriptionHasBeenSet =
true;
121 m_description = std::forward<DescriptionT>(value);
123 template <
typename DescriptionT = Aws::String>
136 template <
typename TypeT = Aws::String>
138 m_typeHasBeenSet =
true;
139 m_type = std::forward<TypeT>(value);
141 template <
typename TypeT = Aws::String>
143 SetType(std::forward<TypeT>(value));
154 template <
typename VendorT = Aws::String>
156 m_vendorHasBeenSet =
true;
157 m_vendor = std::forward<VendorT>(value);
159 template <
typename VendorT = Aws::String>
172 template <
typename ModelT = Aws::String>
174 m_modelHasBeenSet =
true;
175 m_model = std::forward<ModelT>(value);
177 template <
typename ModelT = Aws::String>
179 SetModel(std::forward<ModelT>(value));
190 template <
typename SerialNumberT = Aws::String>
192 m_serialNumberHasBeenSet =
true;
193 m_serialNumber = std::forward<SerialNumberT>(value);
195 template <
typename SerialNumberT = Aws::String>
208 template <
typename LocationT = Location>
210 m_locationHasBeenSet =
true;
211 m_location = std::forward<LocationT>(value);
213 template <
typename LocationT = Location>
226 template <
typename SiteIdT = Aws::String>
228 m_siteIdHasBeenSet =
true;
229 m_siteId = std::forward<SiteIdT>(value);
231 template <
typename SiteIdT = Aws::String>
244 template <
typename CreatedAtT = Aws::Utils::DateTime>
246 m_createdAtHasBeenSet =
true;
247 m_createdAt = std::forward<CreatedAtT>(value);
249 template <
typename CreatedAtT = Aws::Utils::DateTime>
263 m_stateHasBeenSet =
true;
278 template <
typename TagsT = Aws::Vector<Tag>>
280 m_tagsHasBeenSet =
true;
281 m_tags = std::forward<TagsT>(value);
283 template <
typename TagsT = Aws::Vector<Tag>>
285 SetTags(std::forward<TagsT>(value));
288 template <
typename TagsT = Tag>
290 m_tagsHasBeenSet =
true;
291 m_tags.emplace_back(std::forward<TagsT>(value));
323 bool m_deviceIdHasBeenSet =
false;
324 bool m_deviceArnHasBeenSet =
false;
325 bool m_globalNetworkIdHasBeenSet =
false;
326 bool m_aWSLocationHasBeenSet =
false;
327 bool m_descriptionHasBeenSet =
false;
328 bool m_typeHasBeenSet =
false;
329 bool m_vendorHasBeenSet =
false;
330 bool m_modelHasBeenSet =
false;
331 bool m_serialNumberHasBeenSet =
false;
332 bool m_locationHasBeenSet =
false;
333 bool m_siteIdHasBeenSet =
false;
334 bool m_createdAtHasBeenSet =
false;
335 bool m_stateHasBeenSet =
false;
336 bool m_tagsHasBeenSet =
false;
const Aws::String & GetVendor() const
bool VendorHasBeenSet() const
bool CreatedAtHasBeenSet() const
const Aws::String & GetModel() const
bool SerialNumberHasBeenSet() const
const Aws::String & GetType() const
AWS_NETWORKMANAGER_API Device & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GlobalNetworkIdHasBeenSet() const
void SetDeviceArn(DeviceArnT &&value)
void SetAWSLocation(AWSLocationT &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
Device & AddTags(TagsT &&value)
const Location & GetLocation() const
bool DeviceIdHasBeenSet() const
void SetVendor(VendorT &&value)
void SetTags(TagsT &&value)
bool DeviceArnHasBeenSet() const
bool ModelHasBeenSet() const
Device & WithCreatedAt(CreatedAtT &&value)
const Aws::Vector< Tag > & GetTags() const
bool TypeHasBeenSet() const
Device & WithVendor(VendorT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetSiteId() const
void SetSiteId(SiteIdT &&value)
void SetLocation(LocationT &&value)
Device & WithType(TypeT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
Device & WithTags(TagsT &&value)
Device & WithAWSLocation(AWSLocationT &&value)
const Aws::String & GetDescription() const
Device & WithModel(ModelT &&value)
void SetGlobalNetworkId(GlobalNetworkIdT &&value)
void SetSerialNumber(SerialNumberT &&value)
bool LocationHasBeenSet() const
void SetState(DeviceState value)
AWS_NETWORKMANAGER_API Device(Aws::Utils::Json::JsonView jsonValue)
Device & WithState(DeviceState value)
bool TagsHasBeenSet() const
AWS_NETWORKMANAGER_API Device()=default
void SetModel(ModelT &&value)
Device & WithDeviceId(DeviceIdT &&value)
Device & WithSerialNumber(SerialNumberT &&value)
bool StateHasBeenSet() const
const Aws::String & GetDeviceArn() const
bool AWSLocationHasBeenSet() const
const AWSLocation & GetAWSLocation() const
Device & WithDescription(DescriptionT &&value)
void SetType(TypeT &&value)
const Aws::String & GetDeviceId() const
const Aws::String & GetSerialNumber() const
Device & WithGlobalNetworkId(GlobalNetworkIdT &&value)
void SetDeviceId(DeviceIdT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetGlobalNetworkId() const
Device & WithDeviceArn(DeviceArnT &&value)
void SetDescription(DescriptionT &&value)
Device & WithSiteId(SiteIdT &&value)
bool SiteIdHasBeenSet() const
Device & WithLocation(LocationT &&value)
DeviceState GetState() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue