7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/networkmanager/model/ConnectPeerState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/networkmanager/model/ConnectPeerConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/networkmanager/model/Tag.h>
14#include <aws/networkmanager/model/ConnectPeerError.h>
27namespace NetworkManager
54 inline void SetCoreNetworkId(
const char* value) { m_coreNetworkIdHasBeenSet =
true; m_coreNetworkId.assign(value); }
68 inline void SetConnectAttachmentId(
const char* value) { m_connectAttachmentIdHasBeenSet =
true; m_connectAttachmentId.assign(value); }
82 inline void SetConnectPeerId(
const char* value) { m_connectPeerIdHasBeenSet =
true; m_connectPeerId.assign(value); }
96 inline void SetEdgeLocation(
const char* value) { m_edgeLocationHasBeenSet =
true; m_edgeLocation.assign(value); }
149 inline ConnectPeer&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
161 inline void SetSubnetArn(
const char* value) { m_subnetArnHasBeenSet =
true; m_subnetArn.assign(value); }
183 bool m_coreNetworkIdHasBeenSet =
false;
186 bool m_connectAttachmentIdHasBeenSet =
false;
189 bool m_connectPeerIdHasBeenSet =
false;
192 bool m_edgeLocationHasBeenSet =
false;
195 bool m_stateHasBeenSet =
false;
198 bool m_createdAtHasBeenSet =
false;
201 bool m_configurationHasBeenSet =
false;
204 bool m_tagsHasBeenSet =
false;
207 bool m_subnetArnHasBeenSet =
false;
210 bool m_lastModificationErrorsHasBeenSet =
false;
bool ConnectPeerIdHasBeenSet() const
AWS_NETWORKMANAGER_API ConnectPeer()
const ConnectPeerConfiguration & GetConfiguration() const
const Aws::String & GetCoreNetworkId() const
ConnectPeer & WithCoreNetworkId(Aws::String &&value)
void SetCoreNetworkId(const char *value)
ConnectPeer & WithEdgeLocation(const char *value)
void SetConnectPeerId(Aws::String &&value)
bool LastModificationErrorsHasBeenSet() const
void SetConnectPeerId(const Aws::String &value)
void SetEdgeLocation(Aws::String &&value)
ConnectPeer & AddLastModificationErrors(ConnectPeerError &&value)
bool SubnetArnHasBeenSet() const
void SetConnectPeerId(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetConfiguration(const ConnectPeerConfiguration &value)
ConnectPeer & WithConnectPeerId(const char *value)
ConnectPeer & WithConfiguration(ConnectPeerConfiguration &&value)
ConnectPeer & WithSubnetArn(const Aws::String &value)
ConnectPeer & WithTags(const Aws::Vector< Tag > &value)
void SetState(const ConnectPeerState &value)
const Aws::String & GetEdgeLocation() const
ConnectPeer & WithConnectAttachmentId(const char *value)
ConnectPeer & WithState(const ConnectPeerState &value)
const Aws::String & GetConnectPeerId() const
void SetConnectAttachmentId(const Aws::String &value)
ConnectPeer & WithConnectAttachmentId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCoreNetworkId(Aws::String &&value)
bool CoreNetworkIdHasBeenSet() const
bool CreatedAtHasBeenSet() const
void SetSubnetArn(const Aws::String &value)
ConnectPeer & WithConnectPeerId(const Aws::String &value)
ConnectPeer & WithCoreNetworkId(const Aws::String &value)
void SetConnectAttachmentId(const char *value)
void SetState(ConnectPeerState &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::Vector< ConnectPeerError > & GetLastModificationErrors() const
ConnectPeer & WithConfiguration(const ConnectPeerConfiguration &value)
ConnectPeer & WithEdgeLocation(const Aws::String &value)
bool ConfigurationHasBeenSet() const
ConnectPeer & WithLastModificationErrors(Aws::Vector< ConnectPeerError > &&value)
ConnectPeer & WithCoreNetworkId(const char *value)
bool TagsHasBeenSet() const
AWS_NETWORKMANAGER_API ConnectPeer(Aws::Utils::Json::JsonView jsonValue)
void SetLastModificationErrors(const Aws::Vector< ConnectPeerError > &value)
bool StateHasBeenSet() const
bool EdgeLocationHasBeenSet() const
ConnectPeer & WithTags(Aws::Vector< Tag > &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectPeer & WithState(ConnectPeerState &&value)
AWS_NETWORKMANAGER_API ConnectPeer & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTags(const Aws::Vector< Tag > &value)
ConnectPeer & WithConnectAttachmentId(Aws::String &&value)
ConnectPeer & WithEdgeLocation(Aws::String &&value)
ConnectPeer & AddTags(const Tag &value)
void SetLastModificationErrors(Aws::Vector< ConnectPeerError > &&value)
ConnectPeer & AddLastModificationErrors(const ConnectPeerError &value)
const Aws::String & GetConnectAttachmentId() const
void SetTags(Aws::Vector< Tag > &&value)
ConnectPeer & WithCreatedAt(const Aws::Utils::DateTime &value)
ConnectPeer & WithConnectPeerId(Aws::String &&value)
ConnectPeer & WithLastModificationErrors(const Aws::Vector< ConnectPeerError > &value)
const ConnectPeerState & GetState() const
ConnectPeer & WithCreatedAt(Aws::Utils::DateTime &&value)
ConnectPeer & WithSubnetArn(Aws::String &&value)
void SetConfiguration(ConnectPeerConfiguration &&value)
void SetSubnetArn(const char *value)
void SetConnectAttachmentId(Aws::String &&value)
void SetSubnetArn(Aws::String &&value)
void SetEdgeLocation(const char *value)
bool ConnectAttachmentIdHasBeenSet() const
void SetEdgeLocation(const Aws::String &value)
const Aws::String & GetSubnetArn() const
ConnectPeer & WithSubnetArn(const char *value)
void SetCoreNetworkId(const Aws::String &value)
ConnectPeer & AddTags(Tag &&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