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
54 inline void SetDeviceId(
const char* value) { m_deviceIdHasBeenSet =
true; m_deviceId.assign(value); }
68 inline void SetDeviceArn(
const char* value) { m_deviceArnHasBeenSet =
true; m_deviceArn.assign(value); }
82 inline void SetGlobalNetworkId(
const char* value) { m_globalNetworkIdHasBeenSet =
true; m_globalNetworkId.assign(value); }
108 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
122 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
136 inline void SetVendor(
const char* value) { m_vendorHasBeenSet =
true; m_vendor.assign(value); }
150 inline void SetModel(
const char* value) { m_modelHasBeenSet =
true; m_model.assign(value); }
164 inline void SetSerialNumber(
const char* value) { m_serialNumberHasBeenSet =
true; m_serialNumber.assign(value); }
190 inline void SetSiteId(
const char* value) { m_siteIdHasBeenSet =
true; m_siteId.assign(value); }
230 inline Device&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
231 inline Device&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
236 bool m_deviceIdHasBeenSet =
false;
239 bool m_deviceArnHasBeenSet =
false;
242 bool m_globalNetworkIdHasBeenSet =
false;
245 bool m_aWSLocationHasBeenSet =
false;
248 bool m_descriptionHasBeenSet =
false;
251 bool m_typeHasBeenSet =
false;
254 bool m_vendorHasBeenSet =
false;
257 bool m_modelHasBeenSet =
false;
260 bool m_serialNumberHasBeenSet =
false;
263 bool m_locationHasBeenSet =
false;
266 bool m_siteIdHasBeenSet =
false;
269 bool m_createdAtHasBeenSet =
false;
272 bool m_stateHasBeenSet =
false;
275 bool m_tagsHasBeenSet =
false;
Device & AddTags(Tag &&value)
Device & WithGlobalNetworkId(const char *value)
AWS_NETWORKMANAGER_API Device()
Device & WithDeviceArn(const Aws::String &value)
const Aws::String & GetVendor() const
bool VendorHasBeenSet() const
bool CreatedAtHasBeenSet() const
void SetDeviceArn(const char *value)
const Aws::String & GetModel() const
void SetGlobalNetworkId(Aws::String &&value)
Device & WithTags(Aws::Vector< Tag > &&value)
Device & WithAWSLocation(AWSLocation &&value)
Device & WithType(const char *value)
void SetSerialNumber(const char *value)
Device & WithDeviceId(const Aws::String &value)
bool SerialNumberHasBeenSet() const
const Aws::String & GetType() const
void SetVendor(const char *value)
void SetModel(const Aws::String &value)
void SetDescription(Aws::String &&value)
AWS_NETWORKMANAGER_API Device & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GlobalNetworkIdHasBeenSet() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
Device & WithLocation(const Location &value)
Device & WithDescription(const Aws::String &value)
Device & WithDeviceId(Aws::String &&value)
const Location & GetLocation() const
Device & WithState(const DeviceState &value)
void SetTags(const Aws::Vector< Tag > &value)
bool DeviceIdHasBeenSet() const
bool DeviceArnHasBeenSet() const
bool ModelHasBeenSet() const
const DeviceState & GetState() const
Device & WithDescription(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
Device & WithType(Aws::String &&value)
void SetDescription(const char *value)
void SetState(DeviceState &&value)
bool TypeHasBeenSet() const
void SetGlobalNetworkId(const char *value)
const Aws::String & GetSiteId() const
void SetDeviceId(const char *value)
void SetDeviceId(const Aws::String &value)
Device & WithLocation(Location &&value)
void SetAWSLocation(AWSLocation &&value)
void SetVendor(Aws::String &&value)
Device & WithVendor(const char *value)
Device & WithSerialNumber(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
Device & WithGlobalNetworkId(const Aws::String &value)
const Aws::String & GetDescription() const
Device & WithType(const Aws::String &value)
Device & WithSiteId(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
Device & WithDeviceArn(const char *value)
Device & WithModel(const Aws::String &value)
Device & WithGlobalNetworkId(Aws::String &&value)
void SetDeviceArn(Aws::String &&value)
void SetSiteId(const Aws::String &value)
Device & WithDescription(const char *value)
void SetDescription(const Aws::String &value)
void SetState(const DeviceState &value)
void SetGlobalNetworkId(const Aws::String &value)
void SetVendor(const Aws::String &value)
bool LocationHasBeenSet() const
Device & WithAWSLocation(const AWSLocation &value)
AWS_NETWORKMANAGER_API Device(Aws::Utils::Json::JsonView jsonValue)
bool TagsHasBeenSet() const
void SetAWSLocation(const AWSLocation &value)
Device & WithSiteId(const Aws::String &value)
Device & WithState(DeviceState &&value)
void SetSiteId(const char *value)
Device & WithSerialNumber(Aws::String &&value)
void SetSiteId(Aws::String &&value)
bool StateHasBeenSet() const
const Aws::String & GetDeviceArn() const
bool AWSLocationHasBeenSet() const
Device & WithCreatedAt(const Aws::Utils::DateTime &value)
const AWSLocation & GetAWSLocation() const
void SetLocation(Location &&value)
Device & AddTags(const Tag &value)
void SetType(const Aws::String &value)
const Aws::String & GetDeviceId() const
const Aws::String & GetSerialNumber() const
void SetSerialNumber(const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetDeviceArn(const Aws::String &value)
void SetDeviceId(Aws::String &&value)
const Aws::String & GetGlobalNetworkId() const
Device & WithModel(Aws::String &&value)
void SetSerialNumber(Aws::String &&value)
Device & WithDeviceId(const char *value)
Device & WithSiteId(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
void SetType(const char *value)
void SetModel(const char *value)
bool SiteIdHasBeenSet() const
void SetType(Aws::String &&value)
Device & WithVendor(const Aws::String &value)
Device & WithDeviceArn(Aws::String &&value)
Device & WithSerialNumber(const Aws::String &value)
Device & WithCreatedAt(Aws::Utils::DateTime &&value)
Device & WithModel(const char *value)
Device & WithVendor(Aws::String &&value)
Device & WithTags(const Aws::Vector< Tag > &value)
void SetModel(Aws::String &&value)
void SetLocation(const Location &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue