7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/networkmanager/NetworkManager_EXPORTS.h>
9#include <aws/networkmanager/model/Attachment.h>
20namespace NetworkManager {
39 template <
typename AttachmentT = Attachment>
41 m_attachmentHasBeenSet =
true;
42 m_attachment = std::forward<AttachmentT>(value);
44 template <
typename AttachmentT = Attachment>
57 template <
typename DirectConnectGatewayArnT = Aws::String>
59 m_directConnectGatewayArnHasBeenSet =
true;
60 m_directConnectGatewayArn = std::forward<DirectConnectGatewayArnT>(value);
62 template <
typename DirectConnectGatewayArnT = Aws::String>
72 bool m_attachmentHasBeenSet =
false;
73 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