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/Bandwidth.h>
12#include <aws/networkmanager/model/LinkState.h>
13#include <aws/networkmanager/model/Tag.h>
24namespace NetworkManager {
34 AWS_NETWORKMANAGER_API
Link() =
default;
45 template <
typename LinkIdT = Aws::String>
47 m_linkIdHasBeenSet =
true;
48 m_linkId = std::forward<LinkIdT>(value);
50 template <
typename LinkIdT = Aws::String>
63 template <
typename LinkArnT = Aws::String>
65 m_linkArnHasBeenSet =
true;
66 m_linkArn = std::forward<LinkArnT>(value);
68 template <
typename LinkArnT = 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 SiteIdT = Aws::String>
101 m_siteIdHasBeenSet =
true;
102 m_siteId = std::forward<SiteIdT>(value);
104 template <
typename SiteIdT = Aws::String>
117 template <
typename DescriptionT = Aws::String>
119 m_descriptionHasBeenSet =
true;
120 m_description = std::forward<DescriptionT>(value);
122 template <
typename DescriptionT = Aws::String>
135 template <
typename TypeT = Aws::String>
137 m_typeHasBeenSet =
true;
138 m_type = std::forward<TypeT>(value);
140 template <
typename TypeT = Aws::String>
142 SetType(std::forward<TypeT>(value));
153 template <
typename Bandw
idthT = Bandw
idth>
155 m_bandwidthHasBeenSet =
true;
156 m_bandwidth = std::forward<BandwidthT>(value);
158 template <
typename Bandw
idthT = Bandw
idth>
171 template <
typename Prov
iderT = Aws::String>
173 m_providerHasBeenSet =
true;
174 m_provider = std::forward<ProviderT>(value);
176 template <
typename Prov
iderT = Aws::String>
189 template <
typename CreatedAtT = Aws::Utils::DateTime>
191 m_createdAtHasBeenSet =
true;
192 m_createdAt = std::forward<CreatedAtT>(value);
194 template <
typename CreatedAtT = Aws::Utils::DateTime>
208 m_stateHasBeenSet =
true;
223 template <
typename TagsT = Aws::Vector<Tag>>
225 m_tagsHasBeenSet =
true;
226 m_tags = std::forward<TagsT>(value);
228 template <
typename TagsT = Aws::Vector<Tag>>
230 SetTags(std::forward<TagsT>(value));
233 template <
typename TagsT = Tag>
235 m_tagsHasBeenSet =
true;
236 m_tags.emplace_back(std::forward<TagsT>(value));
262 bool m_linkIdHasBeenSet =
false;
263 bool m_linkArnHasBeenSet =
false;
264 bool m_globalNetworkIdHasBeenSet =
false;
265 bool m_siteIdHasBeenSet =
false;
266 bool m_descriptionHasBeenSet =
false;
267 bool m_typeHasBeenSet =
false;
268 bool m_bandwidthHasBeenSet =
false;
269 bool m_providerHasBeenSet =
false;
270 bool m_createdAtHasBeenSet =
false;
271 bool m_stateHasBeenSet =
false;
272 bool m_tagsHasBeenSet =
false;
void SetTags(TagsT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetProvider() const
Link & WithDescription(DescriptionT &&value)
void SetLinkArn(LinkArnT &&value)
const Aws::String & GetLinkArn() const
void SetState(LinkState value)
void SetBandwidth(BandwidthT &&value)
bool GlobalNetworkIdHasBeenSet() const
Link & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedAt(CreatedAtT &&value)
bool DescriptionHasBeenSet() const
void SetLinkId(LinkIdT &&value)
Link & WithBandwidth(BandwidthT &&value)
Link & WithSiteId(SiteIdT &&value)
Link & WithType(TypeT &&value)
const Aws::String & GetGlobalNetworkId() const
AWS_NETWORKMANAGER_API Link(Aws::Utils::Json::JsonView jsonValue)
Link & WithLinkId(LinkIdT &&value)
void SetGlobalNetworkId(GlobalNetworkIdT &&value)
bool LinkIdHasBeenSet() const
const Aws::String & GetLinkId() const
void SetProvider(ProviderT &&value)
const Aws::String & GetSiteId() const
AWS_NETWORKMANAGER_API Link & operator=(Aws::Utils::Json::JsonView jsonValue)
Link & WithProvider(ProviderT &&value)
const Aws::String & GetDescription() const
bool StateHasBeenSet() const
bool BandwidthHasBeenSet() const
bool CreatedAtHasBeenSet() const
bool ProviderHasBeenSet() const
Link & AddTags(TagsT &&value)
LinkState GetState() const
const Bandwidth & GetBandwidth() const
Link & WithLinkArn(LinkArnT &&value)
bool LinkArnHasBeenSet() const
Link & WithGlobalNetworkId(GlobalNetworkIdT &&value)
void SetType(TypeT &&value)
Link & WithState(LinkState value)
bool SiteIdHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetType() const
void SetDescription(DescriptionT &&value)
AWS_NETWORKMANAGER_API Link()=default
Link & WithTags(TagsT &&value)
bool TypeHasBeenSet() const
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSiteId(SiteIdT &&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