7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/networkmanager/model/AWSLocation.h>
10#include <aws/networkmanager/model/Location.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/networkmanager/model/DeviceState.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/networkmanager/model/Tag.h>
27namespace NetworkManager
40 AWS_NETWORKMANAGER_API
Device() =
default;
52 template<
typename DeviceIdT = Aws::String>
53 void SetDeviceId(DeviceIdT&& value) { m_deviceIdHasBeenSet =
true; m_deviceId = std::forward<DeviceIdT>(value); }
54 template<
typename DeviceIdT = Aws::String>
64 template<
typename DeviceArnT = Aws::String>
65 void SetDeviceArn(DeviceArnT&& value) { m_deviceArnHasBeenSet =
true; m_deviceArn = std::forward<DeviceArnT>(value); }
66 template<
typename DeviceArnT = Aws::String>
76 template<
typename GlobalNetworkIdT = Aws::String>
77 void SetGlobalNetworkId(GlobalNetworkIdT&& value) { m_globalNetworkIdHasBeenSet =
true; m_globalNetworkId = std::forward<GlobalNetworkIdT>(value); }
78 template<
typename GlobalNetworkIdT = Aws::String>
88 template<
typename AWSLocationT = AWSLocation>
89 void SetAWSLocation(AWSLocationT&& value) { m_aWSLocationHasBeenSet =
true; m_aWSLocation = std::forward<AWSLocationT>(value); }
90 template<
typename AWSLocationT = AWSLocation>
100 template<
typename DescriptionT = Aws::String>
101 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
102 template<
typename DescriptionT = Aws::String>
112 template<
typename TypeT = Aws::String>
113 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
114 template<
typename TypeT = Aws::String>
124 template<
typename VendorT = Aws::String>
125 void SetVendor(VendorT&& value) { m_vendorHasBeenSet =
true; m_vendor = std::forward<VendorT>(value); }
126 template<
typename VendorT = Aws::String>
136 template<
typename ModelT = Aws::String>
137 void SetModel(ModelT&& value) { m_modelHasBeenSet =
true; m_model = std::forward<ModelT>(value); }
138 template<
typename ModelT = Aws::String>
148 template<
typename SerialNumberT = Aws::String>
149 void SetSerialNumber(SerialNumberT&& value) { m_serialNumberHasBeenSet =
true; m_serialNumber = std::forward<SerialNumberT>(value); }
150 template<
typename SerialNumberT = Aws::String>
160 template<
typename LocationT = Location>
161 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
162 template<
typename LocationT = Location>
172 template<
typename SiteIdT = Aws::String>
173 void SetSiteId(SiteIdT&& value) { m_siteIdHasBeenSet =
true; m_siteId = std::forward<SiteIdT>(value); }
174 template<
typename SiteIdT = Aws::String>
184 template<
typename CreatedAtT = Aws::Utils::DateTime>
185 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
186 template<
typename CreatedAtT = Aws::Utils::DateTime>
206 template<
typename TagsT = Aws::Vector<Tag>>
207 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
208 template<
typename TagsT = Aws::Vector<Tag>>
210 template<
typename TagsT = Tag>
211 Device&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
216 bool m_deviceIdHasBeenSet =
false;
219 bool m_deviceArnHasBeenSet =
false;
222 bool m_globalNetworkIdHasBeenSet =
false;
225 bool m_aWSLocationHasBeenSet =
false;
228 bool m_descriptionHasBeenSet =
false;
231 bool m_typeHasBeenSet =
false;
234 bool m_vendorHasBeenSet =
false;
237 bool m_modelHasBeenSet =
false;
240 bool m_serialNumberHasBeenSet =
false;
243 bool m_locationHasBeenSet =
false;
246 bool m_siteIdHasBeenSet =
false;
249 bool m_createdAtHasBeenSet =
false;
252 bool m_stateHasBeenSet =
false;
255 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