7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/networkmanager/model/Location.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/networkmanager/model/SiteState.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/networkmanager/model/Tag.h>
26namespace NetworkManager
39 AWS_NETWORKMANAGER_API
Site();
53 inline void SetSiteId(
const char* value) { m_siteIdHasBeenSet =
true; m_siteId.assign(value); }
67 inline void SetSiteArn(
const char* value) { m_siteArnHasBeenSet =
true; m_siteArn.assign(value); }
81 inline void SetGlobalNetworkId(
const char* value) { m_globalNetworkIdHasBeenSet =
true; m_globalNetworkId.assign(value); }
95 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
132 inline void SetState(
SiteState&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
147 inline Site&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
148 inline Site&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
153 bool m_siteIdHasBeenSet =
false;
156 bool m_siteArnHasBeenSet =
false;
159 bool m_globalNetworkIdHasBeenSet =
false;
162 bool m_descriptionHasBeenSet =
false;
165 bool m_locationHasBeenSet =
false;
168 bool m_createdAtHasBeenSet =
false;
171 bool m_stateHasBeenSet =
false;
174 bool m_tagsHasBeenSet =
false;
const Location & GetLocation() const
void SetGlobalNetworkId(const char *value)
Site & WithState(SiteState &&value)
Site & WithState(const SiteState &value)
void SetState(const SiteState &value)
void SetSiteArn(const char *value)
Site & WithSiteArn(const Aws::String &value)
Site & WithSiteArn(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
Site & WithTags(const Aws::Vector< Tag > &value)
bool TagsHasBeenSet() const
Site & WithLocation(Location &&value)
Site & AddTags(Tag &&value)
Site & WithTags(Aws::Vector< Tag > &&value)
Site & WithSiteArn(const char *value)
Site & WithSiteId(const Aws::String &value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(Aws::String &&value)
AWS_NETWORKMANAGER_API Site(Aws::Utils::Json::JsonView jsonValue)
Site & WithDescription(const Aws::String &value)
bool LocationHasBeenSet() const
const Aws::String & GetSiteArn() const
Site & WithGlobalNetworkId(Aws::String &&value)
Site & WithLocation(const Location &value)
void SetSiteId(const Aws::String &value)
Site & WithCreatedAt(Aws::Utils::DateTime &&value)
bool CreatedAtHasBeenSet() const
bool DescriptionHasBeenSet() const
AWS_NETWORKMANAGER_API Site & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSiteId() const
const Aws::String & GetDescription() const
void SetDescription(const Aws::String &value)
const Aws::String & GetGlobalNetworkId() const
void SetTags(const Aws::Vector< Tag > &value)
bool SiteArnHasBeenSet() const
bool SiteIdHasBeenSet() const
Site & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
Site & WithDescription(const char *value)
void SetLocation(Location &&value)
void SetTags(Aws::Vector< Tag > &&value)
Site & AddTags(const Tag &value)
const SiteState & GetState() const
void SetSiteId(const char *value)
void SetSiteArn(Aws::String &&value)
Site & WithGlobalNetworkId(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool StateHasBeenSet() const
Site & WithGlobalNetworkId(const Aws::String &value)
void SetGlobalNetworkId(const Aws::String &value)
void SetLocation(const Location &value)
AWS_NETWORKMANAGER_API Site()
void SetDescription(const char *value)
void SetSiteArn(const Aws::String &value)
bool GlobalNetworkIdHasBeenSet() const
Site & WithDescription(Aws::String &&value)
void SetState(SiteState &&value)
const Aws::Vector< Tag > & GetTags() const
Site & WithSiteId(Aws::String &&value)
Site & WithSiteId(const char *value)
void SetSiteId(Aws::String &&value)
void SetGlobalNetworkId(Aws::String &&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