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
52 template<
typename CoreNetworkIdT = Aws::String>
53 void SetCoreNetworkId(CoreNetworkIdT&& value) { m_coreNetworkIdHasBeenSet =
true; m_coreNetworkId = std::forward<CoreNetworkIdT>(value); }
54 template<
typename CoreNetworkIdT = Aws::String>
64 template<
typename ConnectAttachmentIdT = Aws::String>
65 void SetConnectAttachmentId(ConnectAttachmentIdT&& value) { m_connectAttachmentIdHasBeenSet =
true; m_connectAttachmentId = std::forward<ConnectAttachmentIdT>(value); }
66 template<
typename ConnectAttachmentIdT = Aws::String>
76 template<
typename ConnectPeerIdT = Aws::String>
77 void SetConnectPeerId(ConnectPeerIdT&& value) { m_connectPeerIdHasBeenSet =
true; m_connectPeerId = std::forward<ConnectPeerIdT>(value); }
78 template<
typename ConnectPeerIdT = Aws::String>
88 template<
typename EdgeLocationT = Aws::String>
89 void SetEdgeLocation(EdgeLocationT&& value) { m_edgeLocationHasBeenSet =
true; m_edgeLocation = std::forward<EdgeLocationT>(value); }
90 template<
typename EdgeLocationT = Aws::String>
110 template<
typename CreatedAtT = Aws::Utils::DateTime>
111 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
112 template<
typename CreatedAtT = Aws::Utils::DateTime>
122 template<
typename ConfigurationT = ConnectPeerConfiguration>
123 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
124 template<
typename ConfigurationT = ConnectPeerConfiguration>
134 template<
typename TagsT = Aws::Vector<Tag>>
135 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
136 template<
typename TagsT = Aws::Vector<Tag>>
138 template<
typename TagsT = Tag>
139 ConnectPeer&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
149 template<
typename SubnetArnT = Aws::String>
150 void SetSubnetArn(SubnetArnT&& value) { m_subnetArnHasBeenSet =
true; m_subnetArn = std::forward<SubnetArnT>(value); }
151 template<
typename SubnetArnT = Aws::String>
161 template<
typename LastModificationErrorsT = Aws::Vector<ConnectPeerError>>
162 void SetLastModificationErrors(LastModificationErrorsT&& value) { m_lastModificationErrorsHasBeenSet =
true; m_lastModificationErrors = std::forward<LastModificationErrorsT>(value); }
163 template<
typename LastModificationErrorsT = Aws::Vector<ConnectPeerError>>
165 template<
typename LastModificationErrorsT = ConnectPeerError>
166 ConnectPeer&
AddLastModificationErrors(LastModificationErrorsT&& value) { m_lastModificationErrorsHasBeenSet =
true; m_lastModificationErrors.emplace_back(std::forward<LastModificationErrorsT>(value));
return *
this; }
171 bool m_coreNetworkIdHasBeenSet =
false;
174 bool m_connectAttachmentIdHasBeenSet =
false;
177 bool m_connectPeerIdHasBeenSet =
false;
180 bool m_edgeLocationHasBeenSet =
false;
183 bool m_stateHasBeenSet =
false;
186 bool m_createdAtHasBeenSet =
false;
188 ConnectPeerConfiguration m_configuration;
189 bool m_configurationHasBeenSet =
false;
192 bool m_tagsHasBeenSet =
false;
195 bool m_subnetArnHasBeenSet =
false;
198 bool m_lastModificationErrorsHasBeenSet =
false;
ConnectPeer & WithTags(TagsT &&value)
void SetCreatedAt(CreatedAtT &&value)
bool ConnectPeerIdHasBeenSet() const
const ConnectPeerConfiguration & GetConfiguration() const
const Aws::String & GetCoreNetworkId() const
void SetConnectAttachmentId(ConnectAttachmentIdT &&value)
bool LastModificationErrorsHasBeenSet() const
ConnectPeer & AddTags(TagsT &&value)
ConnectPeer & WithState(ConnectPeerState value)
bool SubnetArnHasBeenSet() const
ConnectPeer & WithSubnetArn(SubnetArnT &&value)
const Aws::String & GetEdgeLocation() const
void SetEdgeLocation(EdgeLocationT &&value)
const Aws::String & GetConnectPeerId() const
ConnectPeer & WithConnectAttachmentId(ConnectAttachmentIdT &&value)
ConnectPeer & WithEdgeLocation(EdgeLocationT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetConfiguration(ConfigurationT &&value)
void SetCoreNetworkId(CoreNetworkIdT &&value)
bool CoreNetworkIdHasBeenSet() const
bool CreatedAtHasBeenSet() const
void SetTags(TagsT &&value)
void SetState(ConnectPeerState value)
AWS_NETWORKMANAGER_API ConnectPeer()=default
const Aws::Vector< Tag > & GetTags() const
void SetSubnetArn(SubnetArnT &&value)
const Aws::Vector< ConnectPeerError > & GetLastModificationErrors() const
ConnectPeer & WithConfiguration(ConfigurationT &&value)
bool ConfigurationHasBeenSet() const
ConnectPeer & AddLastModificationErrors(LastModificationErrorsT &&value)
bool TagsHasBeenSet() const
AWS_NETWORKMANAGER_API ConnectPeer(Aws::Utils::Json::JsonView jsonValue)
bool StateHasBeenSet() const
bool EdgeLocationHasBeenSet() const
ConnectPeer & WithConnectPeerId(ConnectPeerIdT &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NETWORKMANAGER_API ConnectPeer & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConnectPeerId(ConnectPeerIdT &&value)
const Aws::String & GetConnectAttachmentId() const
ConnectPeer & WithCreatedAt(CreatedAtT &&value)
ConnectPeerState GetState() const
ConnectPeer & WithCoreNetworkId(CoreNetworkIdT &&value)
bool ConnectAttachmentIdHasBeenSet() const
void SetLastModificationErrors(LastModificationErrorsT &&value)
ConnectPeer & WithLastModificationErrors(LastModificationErrorsT &&value)
const Aws::String & GetSubnetArn() 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