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() =
default;
51 template<
typename SiteIdT = Aws::String>
52 void SetSiteId(SiteIdT&& value) { m_siteIdHasBeenSet =
true; m_siteId = std::forward<SiteIdT>(value); }
53 template<
typename SiteIdT = Aws::String>
63 template<
typename SiteArnT = Aws::String>
64 void SetSiteArn(SiteArnT&& value) { m_siteArnHasBeenSet =
true; m_siteArn = std::forward<SiteArnT>(value); }
65 template<
typename SiteArnT = Aws::String>
75 template<
typename GlobalNetworkIdT = Aws::String>
76 void SetGlobalNetworkId(GlobalNetworkIdT&& value) { m_globalNetworkIdHasBeenSet =
true; m_globalNetworkId = std::forward<GlobalNetworkIdT>(value); }
77 template<
typename GlobalNetworkIdT = 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>
99 template<
typename LocationT = Location>
100 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
101 template<
typename LocationT = Location>
111 template<
typename CreatedAtT = Aws::Utils::DateTime>
112 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
113 template<
typename CreatedAtT = Aws::Utils::DateTime>
133 template<
typename TagsT = Aws::Vector<Tag>>
134 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
135 template<
typename TagsT = Aws::Vector<Tag>>
137 template<
typename TagsT = Tag>
138 Site&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
143 bool m_siteIdHasBeenSet =
false;
146 bool m_siteArnHasBeenSet =
false;
149 bool m_globalNetworkIdHasBeenSet =
false;
152 bool m_descriptionHasBeenSet =
false;
155 bool m_locationHasBeenSet =
false;
158 bool m_createdAtHasBeenSet =
false;
161 bool m_stateHasBeenSet =
false;
164 bool m_tagsHasBeenSet =
false;
const Location & GetLocation() const
Site & AddTags(TagsT &&value)
bool TagsHasBeenSet() const
void SetState(SiteState value)
Site & WithLocation(LocationT &&value)
Site & WithCreatedAt(CreatedAtT &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NETWORKMANAGER_API Site(Aws::Utils::Json::JsonView jsonValue)
void SetLocation(LocationT &&value)
bool LocationHasBeenSet() const
const Aws::String & GetSiteArn() const
Site & WithSiteId(SiteIdT &&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
AWS_NETWORKMANAGER_API Site()=default
const Aws::String & GetGlobalNetworkId() const
bool SiteArnHasBeenSet() const
void SetGlobalNetworkId(GlobalNetworkIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
bool SiteIdHasBeenSet() const
Site & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
Site & WithTags(TagsT &&value)
Site & WithState(SiteState value)
void SetSiteId(SiteIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool StateHasBeenSet() const
SiteState GetState() const
bool GlobalNetworkIdHasBeenSet() const
Site & WithSiteArn(SiteArnT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetSiteArn(SiteArnT &&value)
void SetTags(TagsT &&value)
Site & WithGlobalNetworkId(GlobalNetworkIdT &&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