7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/model/Attachment.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace NetworkManager
45 template<
typename AttachmentT = Attachment>
46 void SetAttachment(AttachmentT&& value) { m_attachmentHasBeenSet =
true; m_attachment = std::forward<AttachmentT>(value); }
47 template<
typename AttachmentT = Attachment>
57 template<
typename DirectConnectGatewayArnT = Aws::String>
58 void SetDirectConnectGatewayArn(DirectConnectGatewayArnT&& value) { m_directConnectGatewayArnHasBeenSet =
true; m_directConnectGatewayArn = std::forward<DirectConnectGatewayArnT>(value); }
59 template<
typename DirectConnectGatewayArnT = Aws::String>
65 bool m_attachmentHasBeenSet =
false;
68 bool m_directConnectGatewayArnHasBeenSet =
false;
void SetDirectConnectGatewayArn(DirectConnectGatewayArnT &&value)
AWS_NETWORKMANAGER_API DirectConnectGatewayAttachment()=default
void SetAttachment(AttachmentT &&value)
bool AttachmentHasBeenSet() const
DirectConnectGatewayAttachment & WithDirectConnectGatewayArn(DirectConnectGatewayArnT &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NETWORKMANAGER_API DirectConnectGatewayAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
DirectConnectGatewayAttachment & WithAttachment(AttachmentT &&value)
AWS_NETWORKMANAGER_API DirectConnectGatewayAttachment(Aws::Utils::Json::JsonView jsonValue)
bool DirectConnectGatewayArnHasBeenSet() const
const Aws::String & GetDirectConnectGatewayArn() const
const Attachment & GetAttachment() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue