7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/model/Attachment.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/networkmanager/model/ConnectAttachmentOptions.h>
23namespace NetworkManager
48 template<
typename AttachmentT = Attachment>
49 void SetAttachment(AttachmentT&& value) { m_attachmentHasBeenSet =
true; m_attachment = std::forward<AttachmentT>(value); }
50 template<
typename AttachmentT = Attachment>
60 template<
typename TransportAttachmentIdT = Aws::String>
61 void SetTransportAttachmentId(TransportAttachmentIdT&& value) { m_transportAttachmentIdHasBeenSet =
true; m_transportAttachmentId = std::forward<TransportAttachmentIdT>(value); }
62 template<
typename TransportAttachmentIdT = Aws::String>
72 template<
typename OptionsT = ConnectAttachmentOptions>
73 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet =
true; m_options = std::forward<OptionsT>(value); }
74 template<
typename OptionsT = ConnectAttachmentOptions>
80 bool m_attachmentHasBeenSet =
false;
83 bool m_transportAttachmentIdHasBeenSet =
false;
86 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