7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/networkmanager/model/Bandwidth.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/networkmanager/model/LinkState.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/networkmanager/model/Tag.h>
26namespace NetworkManager
39 AWS_NETWORKMANAGER_API
Link();
53 inline void SetLinkId(
const char* value) { m_linkIdHasBeenSet =
true; m_linkId.assign(value); }
67 inline void SetLinkArn(
const char* value) { m_linkArnHasBeenSet =
true; m_linkArn.assign(value); }
81 inline void SetGlobalNetworkId(
const char* value) { m_globalNetworkIdHasBeenSet =
true; m_globalNetworkId.assign(value); }
95 inline void SetSiteId(
const char* value) { m_siteIdHasBeenSet =
true; m_siteId.assign(value); }
109 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
123 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
149 inline void SetProvider(
const char* value) { m_providerHasBeenSet =
true; m_provider.assign(value); }
174 inline void SetState(
LinkState&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
189 inline Link&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
190 inline Link&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
195 bool m_linkIdHasBeenSet =
false;
198 bool m_linkArnHasBeenSet =
false;
201 bool m_globalNetworkIdHasBeenSet =
false;
204 bool m_siteIdHasBeenSet =
false;
207 bool m_descriptionHasBeenSet =
false;
210 bool m_typeHasBeenSet =
false;
213 bool m_bandwidthHasBeenSet =
false;
216 bool m_providerHasBeenSet =
false;
219 bool m_createdAtHasBeenSet =
false;
222 bool m_stateHasBeenSet =
false;
225 bool m_tagsHasBeenSet =
false;
Link & WithLinkArn(Aws::String &&value)
bool TagsHasBeenSet() const
const Aws::String & GetProvider() const
void SetType(const Aws::String &value)
void SetType(Aws::String &&value)
const LinkState & GetState() const
void SetSiteId(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
Link & WithLinkArn(const char *value)
void SetProvider(const Aws::String &value)
void SetLinkArn(Aws::String &&value)
const Aws::String & GetLinkArn() const
Link & WithTags(const Aws::Vector< Tag > &value)
Link & WithBandwidth(const Bandwidth &value)
Link & WithDescription(const char *value)
bool GlobalNetworkIdHasBeenSet() const
void SetLinkId(const Aws::String &value)
Link & WithProvider(const Aws::String &value)
void SetSiteId(const Aws::String &value)
void SetBandwidth(const Bandwidth &value)
Link & WithDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetDescription(const char *value)
Link & WithType(const Aws::String &value)
bool DescriptionHasBeenSet() const
Link & WithSiteId(const Aws::String &value)
Link & WithType(const char *value)
void SetLinkId(Aws::String &&value)
void SetDescription(const Aws::String &value)
Link & WithSiteId(Aws::String &&value)
Link & WithProvider(const char *value)
void SetProvider(const char *value)
AWS_NETWORKMANAGER_API Link()
const Aws::String & GetGlobalNetworkId() const
void SetTags(const Aws::Vector< Tag > &value)
Link & WithGlobalNetworkId(const Aws::String &value)
Link & WithGlobalNetworkId(const char *value)
AWS_NETWORKMANAGER_API Link(Aws::Utils::Json::JsonView jsonValue)
Link & WithDescription(Aws::String &&value)
void SetDescription(Aws::String &&value)
Link & WithCreatedAt(const Aws::Utils::DateTime &value)
bool LinkIdHasBeenSet() const
Link & WithTags(Aws::Vector< Tag > &&value)
Link & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetLinkId() const
Link & AddTags(const Tag &value)
const Aws::String & GetSiteId() const
void SetGlobalNetworkId(const char *value)
Link & WithGlobalNetworkId(Aws::String &&value)
AWS_NETWORKMANAGER_API Link & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLinkArn(const char *value)
const Aws::String & GetDescription() const
bool StateHasBeenSet() const
void SetState(const LinkState &value)
bool BandwidthHasBeenSet() const
void SetLinkArn(const Aws::String &value)
Link & WithLinkId(const char *value)
bool CreatedAtHasBeenSet() const
bool ProviderHasBeenSet() const
Link & WithLinkArn(const Aws::String &value)
Link & WithProvider(Aws::String &&value)
Link & WithState(LinkState &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetLinkId(const char *value)
Link & WithLinkId(Aws::String &&value)
const Bandwidth & GetBandwidth() const
void SetGlobalNetworkId(const Aws::String &value)
Link & WithType(Aws::String &&value)
bool LinkArnHasBeenSet() const
Link & AddTags(Tag &&value)
Link & WithState(const LinkState &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetType(const char *value)
bool SiteIdHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetType() const
void SetSiteId(const char *value)
void SetProvider(Aws::String &&value)
Link & WithLinkId(const Aws::String &value)
Link & WithBandwidth(Bandwidth &&value)
void SetGlobalNetworkId(Aws::String &&value)
void SetState(LinkState &&value)
bool TypeHasBeenSet() const
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBandwidth(Bandwidth &&value)
Link & WithSiteId(const char *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