7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/networkmanager/model/CustomerGatewayAssociationState.h>
22namespace NetworkManager
48 template<
typename CustomerGatewayArnT = Aws::String>
49 void SetCustomerGatewayArn(CustomerGatewayArnT&& value) { m_customerGatewayArnHasBeenSet =
true; m_customerGatewayArn = std::forward<CustomerGatewayArnT>(value); }
50 template<
typename CustomerGatewayArnT = 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_customerGatewayArnHasBeenSet =
false;
105 bool m_globalNetworkIdHasBeenSet =
false;
108 bool m_deviceIdHasBeenSet =
false;
111 bool m_linkIdHasBeenSet =
false;
114 bool m_stateHasBeenSet =
false;
CustomerGatewayAssociationState GetState() const
AWS_NETWORKMANAGER_API CustomerGatewayAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKMANAGER_API CustomerGatewayAssociation()=default
AWS_NETWORKMANAGER_API CustomerGatewayAssociation(Aws::Utils::Json::JsonView jsonValue)
bool CustomerGatewayArnHasBeenSet() const
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetState(CustomerGatewayAssociationState value)
bool DeviceIdHasBeenSet() const
void SetCustomerGatewayArn(CustomerGatewayArnT &&value)
bool GlobalNetworkIdHasBeenSet() const
CustomerGatewayAssociation & WithLinkId(LinkIdT &&value)
const Aws::String & GetLinkId() const
bool LinkIdHasBeenSet() const
CustomerGatewayAssociation & WithCustomerGatewayArn(CustomerGatewayArnT &&value)
void SetGlobalNetworkId(GlobalNetworkIdT &&value)
CustomerGatewayAssociation & WithGlobalNetworkId(GlobalNetworkIdT &&value)
bool StateHasBeenSet() const
CustomerGatewayAssociation & WithDeviceId(DeviceIdT &&value)
const Aws::String & GetGlobalNetworkId() const
const Aws::String & GetCustomerGatewayArn() const
void SetDeviceId(DeviceIdT &&value)
CustomerGatewayAssociation & WithState(CustomerGatewayAssociationState value)
void SetLinkId(LinkIdT &&value)
const Aws::String & GetDeviceId() const
CustomerGatewayAssociationState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue