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/Location.h>
12#include <aws/networkmanager/model/SiteState.h>
13#include <aws/networkmanager/model/Tag.h>
24namespace NetworkManager {
34 AWS_NETWORKMANAGER_API
Site() =
default;
45 template <
typename SiteIdT = Aws::String>
47 m_siteIdHasBeenSet =
true;
48 m_siteId = std::forward<SiteIdT>(value);
50 template <
typename SiteIdT = Aws::String>
63 template <
typename SiteArnT = Aws::String>
65 m_siteArnHasBeenSet =
true;
66 m_siteArn = std::forward<SiteArnT>(value);
68 template <
typename SiteArnT = Aws::String>
81 template <
typename GlobalNetworkIdT = Aws::String>
83 m_globalNetworkIdHasBeenSet =
true;
84 m_globalNetworkId = std::forward<GlobalNetworkIdT>(value);
86 template <
typename GlobalNetworkIdT = Aws::String>
99 template <
typename DescriptionT = Aws::String>
101 m_descriptionHasBeenSet =
true;
102 m_description = std::forward<DescriptionT>(value);
104 template <
typename DescriptionT = Aws::String>
117 template <
typename LocationT = Location>
119 m_locationHasBeenSet =
true;
120 m_location = std::forward<LocationT>(value);
122 template <
typename LocationT = Location>
135 template <
typename CreatedAtT = Aws::Utils::DateTime>
137 m_createdAtHasBeenSet =
true;
138 m_createdAt = std::forward<CreatedAtT>(value);
140 template <
typename CreatedAtT = Aws::Utils::DateTime>
154 m_stateHasBeenSet =
true;
169 template <
typename TagsT = Aws::Vector<Tag>>
171 m_tagsHasBeenSet =
true;
172 m_tags = std::forward<TagsT>(value);
174 template <
typename TagsT = Aws::Vector<Tag>>
176 SetTags(std::forward<TagsT>(value));
179 template <
typename TagsT = Tag>
181 m_tagsHasBeenSet =
true;
182 m_tags.emplace_back(std::forward<TagsT>(value));
202 bool m_siteIdHasBeenSet =
false;
203 bool m_siteArnHasBeenSet =
false;
204 bool m_globalNetworkIdHasBeenSet =
false;
205 bool m_descriptionHasBeenSet =
false;
206 bool m_locationHasBeenSet =
false;
207 bool m_createdAtHasBeenSet =
false;
208 bool m_stateHasBeenSet =
false;
209 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