7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/networkmanager/model/ConnectPeerAssociationState.h>
22namespace NetworkManager
48 template<
typename ConnectPeerIdT = Aws::String>
49 void SetConnectPeerId(ConnectPeerIdT&& value) { m_connectPeerIdHasBeenSet =
true; m_connectPeerId = std::forward<ConnectPeerIdT>(value); }
50 template<
typename ConnectPeerIdT = Aws::String>
60 template<
typename GlobalNetworkIdT = Aws::String>
61 void SetGlobalNetworkId(GlobalNetworkIdT&& value) { m_globalNetworkIdHasBeenSet =
true; m_globalNetworkId = std::forward<GlobalNetworkIdT>(value); }
62 template<
typename GlobalNetworkIdT = Aws::String>
72 template<
typename DeviceIdT = Aws::String>
73 void SetDeviceId(DeviceIdT&& value) { m_deviceIdHasBeenSet =
true; m_deviceId = std::forward<DeviceIdT>(value); }
74 template<
typename DeviceIdT = Aws::String>
84 template<
typename LinkIdT = Aws::String>
85 void SetLinkId(LinkIdT&& value) { m_linkIdHasBeenSet =
true; m_linkId = std::forward<LinkIdT>(value); }
86 template<
typename LinkIdT = Aws::String>
102 bool m_connectPeerIdHasBeenSet =
false;
105 bool m_globalNetworkIdHasBeenSet =
false;
108 bool m_deviceIdHasBeenSet =
false;
111 bool m_linkIdHasBeenSet =
false;
114 bool m_stateHasBeenSet =
false;
void SetGlobalNetworkId(GlobalNetworkIdT &&value)
bool ConnectPeerIdHasBeenSet() const
const Aws::String & GetLinkId() const
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetState(ConnectPeerAssociationState value)
void SetLinkId(LinkIdT &&value)
bool StateHasBeenSet() const
AWS_NETWORKMANAGER_API ConnectPeerAssociation()=default
bool GlobalNetworkIdHasBeenSet() const
ConnectPeerAssociation & WithLinkId(LinkIdT &&value)
ConnectPeerAssociationState GetState() const
void SetDeviceId(DeviceIdT &&value)
AWS_NETWORKMANAGER_API ConnectPeerAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConnectPeerId() const
ConnectPeerAssociation & WithConnectPeerId(ConnectPeerIdT &&value)
AWS_NETWORKMANAGER_API ConnectPeerAssociation(Aws::Utils::Json::JsonView jsonValue)
ConnectPeerAssociation & WithState(ConnectPeerAssociationState value)
ConnectPeerAssociation & WithGlobalNetworkId(GlobalNetworkIdT &&value)
bool LinkIdHasBeenSet() const
const Aws::String & GetDeviceId() const
ConnectPeerAssociation & WithDeviceId(DeviceIdT &&value)
const Aws::String & GetGlobalNetworkId() const
bool DeviceIdHasBeenSet() const
void SetConnectPeerId(ConnectPeerIdT &&value)
ConnectPeerAssociationState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue