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/ConnectPeerConfiguration.h>
12#include <aws/networkmanager/model/ConnectPeerError.h>
13#include <aws/networkmanager/model/ConnectPeerState.h>
14#include <aws/networkmanager/model/Tag.h>
25namespace NetworkManager {
46 template <
typename CoreNetworkIdT = Aws::String>
48 m_coreNetworkIdHasBeenSet =
true;
49 m_coreNetworkId = std::forward<CoreNetworkIdT>(value);
51 template <
typename CoreNetworkIdT = Aws::String>
64 template <
typename ConnectAttachmentIdT = Aws::String>
66 m_connectAttachmentIdHasBeenSet =
true;
67 m_connectAttachmentId = std::forward<ConnectAttachmentIdT>(value);
69 template <
typename ConnectAttachmentIdT = Aws::String>
82 template <
typename ConnectPeerIdT = Aws::String>
84 m_connectPeerIdHasBeenSet =
true;
85 m_connectPeerId = std::forward<ConnectPeerIdT>(value);
87 template <
typename ConnectPeerIdT = Aws::String>
100 template <
typename EdgeLocationT = Aws::String>
102 m_edgeLocationHasBeenSet =
true;
103 m_edgeLocation = std::forward<EdgeLocationT>(value);
105 template <
typename EdgeLocationT = Aws::String>
119 m_stateHasBeenSet =
true;
134 template <
typename CreatedAtT = Aws::Utils::DateTime>
136 m_createdAtHasBeenSet =
true;
137 m_createdAt = std::forward<CreatedAtT>(value);
139 template <
typename CreatedAtT = Aws::Utils::DateTime>
152 template <
typename ConfigurationT = ConnectPeerConfiguration>
154 m_configurationHasBeenSet =
true;
155 m_configuration = std::forward<ConfigurationT>(value);
157 template <
typename ConfigurationT = ConnectPeerConfiguration>
170 template <
typename TagsT = Aws::Vector<Tag>>
172 m_tagsHasBeenSet =
true;
173 m_tags = std::forward<TagsT>(value);
175 template <
typename TagsT = Aws::Vector<Tag>>
177 SetTags(std::forward<TagsT>(value));
180 template <
typename TagsT = Tag>
182 m_tagsHasBeenSet =
true;
183 m_tags.emplace_back(std::forward<TagsT>(value));
195 template <
typename SubnetArnT = Aws::String>
197 m_subnetArnHasBeenSet =
true;
198 m_subnetArn = std::forward<SubnetArnT>(value);
200 template <
typename SubnetArnT = Aws::String>
213 template <
typename LastModificationErrorsT = Aws::Vector<ConnectPeerError>>
215 m_lastModificationErrorsHasBeenSet =
true;
216 m_lastModificationErrors = std::forward<LastModificationErrorsT>(value);
218 template <
typename LastModificationErrorsT = Aws::Vector<ConnectPeerError>>
223 template <
typename LastModificationErrorsT = ConnectPeerError>
225 m_lastModificationErrorsHasBeenSet =
true;
226 m_lastModificationErrors.emplace_back(std::forward<LastModificationErrorsT>(value));
243 ConnectPeerConfiguration m_configuration;
250 bool m_coreNetworkIdHasBeenSet =
false;
251 bool m_connectAttachmentIdHasBeenSet =
false;
252 bool m_connectPeerIdHasBeenSet =
false;
253 bool m_edgeLocationHasBeenSet =
false;
254 bool m_stateHasBeenSet =
false;
255 bool m_createdAtHasBeenSet =
false;
256 bool m_configurationHasBeenSet =
false;
257 bool m_tagsHasBeenSet =
false;
258 bool m_subnetArnHasBeenSet =
false;
259 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