7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/networkmanager/model/PeeringType.h>
10#include <aws/networkmanager/model/PeeringState.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/networkmanager/model/Tag.h>
14#include <aws/networkmanager/model/PeeringError.h>
27namespace NetworkManager
54 inline void SetCoreNetworkId(
const char* value) { m_coreNetworkIdHasBeenSet =
true; m_coreNetworkId.assign(value); }
68 inline void SetCoreNetworkArn(
const char* value) { m_coreNetworkArnHasBeenSet =
true; m_coreNetworkArn.assign(value); }
82 inline void SetPeeringId(
const char* value) { m_peeringIdHasBeenSet =
true; m_peeringId.assign(value); }
96 inline void SetOwnerAccountId(
const char* value) { m_ownerAccountIdHasBeenSet =
true; m_ownerAccountId.assign(value); }
134 inline void SetEdgeLocation(
const char* value) { m_edgeLocationHasBeenSet =
true; m_edgeLocation.assign(value); }
148 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
164 inline Peering&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
165 inline Peering&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
196 bool m_coreNetworkIdHasBeenSet =
false;
199 bool m_coreNetworkArnHasBeenSet =
false;
202 bool m_peeringIdHasBeenSet =
false;
205 bool m_ownerAccountIdHasBeenSet =
false;
208 bool m_peeringTypeHasBeenSet =
false;
211 bool m_stateHasBeenSet =
false;
214 bool m_edgeLocationHasBeenSet =
false;
217 bool m_resourceArnHasBeenSet =
false;
220 bool m_tagsHasBeenSet =
false;
223 bool m_createdAtHasBeenSet =
false;
226 bool m_lastModificationErrorsHasBeenSet =
false;
void SetEdgeLocation(Aws::String &&value)
bool CoreNetworkArnHasBeenSet() const
void SetCoreNetworkId(Aws::String &&value)
void SetCoreNetworkArn(const Aws::String &value)
Peering & WithPeeringId(Aws::String &&value)
Peering & WithCoreNetworkId(Aws::String &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
Peering & WithPeeringType(const PeeringType &value)
void SetCoreNetworkArn(const char *value)
Peering & WithEdgeLocation(Aws::String &&value)
const Aws::String & GetCoreNetworkArn() const
Peering & WithCoreNetworkId(const char *value)
const Aws::Vector< PeeringError > & GetLastModificationErrors() const
bool LastModificationErrorsHasBeenSet() const
void SetCoreNetworkId(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
Peering & WithPeeringId(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetOwnerAccountId(const char *value)
AWS_NETWORKMANAGER_API Peering()
bool CoreNetworkIdHasBeenSet() const
Peering & WithOwnerAccountId(Aws::String &&value)
void SetPeeringId(Aws::String &&value)
void SetEdgeLocation(const Aws::String &value)
const Aws::String & GetResourceArn() const
bool PeeringIdHasBeenSet() const
const Aws::String & GetEdgeLocation() const
Peering & AddLastModificationErrors(PeeringError &&value)
void SetPeeringId(const Aws::String &value)
void SetPeeringType(PeeringType &&value)
const Aws::Vector< Tag > & GetTags() const
bool StateHasBeenSet() const
const PeeringType & GetPeeringType() const
void SetResourceArn(const Aws::String &value)
Peering & AddTags(Tag &&value)
Peering & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetCoreNetworkArn(Aws::String &&value)
bool EdgeLocationHasBeenSet() const
const PeeringState & GetState() const
Peering & WithTags(const Aws::Vector< Tag > &value)
void SetCoreNetworkId(const Aws::String &value)
Peering & WithEdgeLocation(const Aws::String &value)
void SetPeeringType(const PeeringType &value)
void SetLastModificationErrors(Aws::Vector< PeeringError > &&value)
Peering & WithLastModificationErrors(const Aws::Vector< PeeringError > &value)
Peering & WithCoreNetworkArn(const Aws::String &value)
Peering & WithCoreNetworkId(const Aws::String &value)
void SetOwnerAccountId(const Aws::String &value)
void SetState(const PeeringState &value)
Peering & WithEdgeLocation(const char *value)
Peering & WithPeeringType(PeeringType &&value)
Peering & WithResourceArn(Aws::String &&value)
Peering & WithState(const PeeringState &value)
void SetEdgeLocation(const char *value)
const Aws::String & GetPeeringId() const
void SetOwnerAccountId(Aws::String &&value)
Peering & WithCoreNetworkArn(Aws::String &&value)
Peering & WithTags(Aws::Vector< Tag > &&value)
void SetResourceArn(const char *value)
void SetResourceArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetPeeringId(const char *value)
Peering & WithLastModificationErrors(Aws::Vector< PeeringError > &&value)
Peering & WithResourceArn(const Aws::String &value)
Peering & WithState(PeeringState &&value)
Peering & WithCreatedAt(Aws::Utils::DateTime &&value)
Peering & AddLastModificationErrors(const PeeringError &value)
bool ResourceArnHasBeenSet() const
Peering & AddTags(const Tag &value)
void SetState(PeeringState &&value)
AWS_NETWORKMANAGER_API Peering(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetOwnerAccountId() const
Peering & WithOwnerAccountId(const char *value)
Peering & WithCoreNetworkArn(const char *value)
bool CreatedAtHasBeenSet() const
Peering & WithPeeringId(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
void SetLastModificationErrors(const Aws::Vector< PeeringError > &value)
bool OwnerAccountIdHasBeenSet() const
Peering & WithOwnerAccountId(const Aws::String &value)
AWS_NETWORKMANAGER_API Peering & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PeeringTypeHasBeenSet() const
Peering & WithResourceArn(const char *value)
bool TagsHasBeenSet() const
const Aws::String & GetCoreNetworkId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue