7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/networkmanager/NetworkManager_EXPORTS.h>
9#include <aws/networkmanager/model/Attachment.h>
10#include <aws/networkmanager/model/ConnectAttachmentOptions.h>
21namespace NetworkManager {
42 template <
typename AttachmentT = Attachment>
44 m_attachmentHasBeenSet =
true;
45 m_attachment = std::forward<AttachmentT>(value);
47 template <
typename AttachmentT = Attachment>
60 template <
typename TransportAttachmentIdT = Aws::String>
62 m_transportAttachmentIdHasBeenSet =
true;
63 m_transportAttachmentId = std::forward<TransportAttachmentIdT>(value);
65 template <
typename TransportAttachmentIdT = Aws::String>
78 template <
typename OptionsT = ConnectAttachmentOptions>
80 m_optionsHasBeenSet =
true;
81 m_options = std::forward<OptionsT>(value);
83 template <
typename OptionsT = ConnectAttachmentOptions>
95 bool m_attachmentHasBeenSet =
false;
96 bool m_transportAttachmentIdHasBeenSet =
false;
97 bool m_optionsHasBeenSet =
false;
void SetOptions(OptionsT &&value)
ConnectAttachment & WithOptions(OptionsT &&value)
bool AttachmentHasBeenSet() const
bool TransportAttachmentIdHasBeenSet() const
const Attachment & GetAttachment() const
ConnectAttachment & WithTransportAttachmentId(TransportAttachmentIdT &&value)
AWS_NETWORKMANAGER_API ConnectAttachment(Aws::Utils::Json::JsonView jsonValue)
ConnectAttachment & WithAttachment(AttachmentT &&value)
void SetTransportAttachmentId(TransportAttachmentIdT &&value)
const Aws::String & GetTransportAttachmentId() const
AWS_NETWORKMANAGER_API ConnectAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttachment(AttachmentT &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool OptionsHasBeenSet() const
AWS_NETWORKMANAGER_API ConnectAttachment()=default
const ConnectAttachmentOptions & GetOptions() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue