7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/NetworkManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/networkmanager/model/VpcOptions.h>
16namespace NetworkManager
43 template<
typename AttachmentIdT = Aws::String>
44 void SetAttachmentId(AttachmentIdT&& value) { m_attachmentIdHasBeenSet =
true; m_attachmentId = std::forward<AttachmentIdT>(value); }
45 template<
typename AttachmentIdT = Aws::String>
55 template<
typename AddSubnetArnsT = Aws::Vector<Aws::String>>
56 void SetAddSubnetArns(AddSubnetArnsT&& value) { m_addSubnetArnsHasBeenSet =
true; m_addSubnetArns = std::forward<AddSubnetArnsT>(value); }
57 template<
typename AddSubnetArnsT = Aws::Vector<Aws::String>>
59 template<
typename AddSubnetArnsT = Aws::String>
69 template<
typename RemoveSubnetArnsT = Aws::Vector<Aws::String>>
70 void SetRemoveSubnetArns(RemoveSubnetArnsT&& value) { m_removeSubnetArnsHasBeenSet =
true; m_removeSubnetArns = std::forward<RemoveSubnetArnsT>(value); }
71 template<
typename RemoveSubnetArnsT = Aws::Vector<Aws::String>>
73 template<
typename RemoveSubnetArnsT = Aws::String>
83 template<
typename OptionsT = VpcOptions>
84 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet =
true; m_options = std::forward<OptionsT>(value); }
85 template<
typename OptionsT = VpcOptions>
91 bool m_attachmentIdHasBeenSet =
false;
94 bool m_addSubnetArnsHasBeenSet =
false;
97 bool m_removeSubnetArnsHasBeenSet =
false;
100 bool m_optionsHasBeenSet =
false;
AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override
const Aws::String & GetAttachmentId() const
UpdateVpcAttachmentRequest & WithAttachmentId(AttachmentIdT &&value)
UpdateVpcAttachmentRequest & WithOptions(OptionsT &&value)
const Aws::Vector< Aws::String > & GetRemoveSubnetArns() const
bool RemoveSubnetArnsHasBeenSet() const
UpdateVpcAttachmentRequest & AddAddSubnetArns(AddSubnetArnsT &&value)
virtual const char * GetServiceRequestName() const override
bool OptionsHasBeenSet() const
bool AddSubnetArnsHasBeenSet() const
UpdateVpcAttachmentRequest & AddRemoveSubnetArns(RemoveSubnetArnsT &&value)
UpdateVpcAttachmentRequest & WithRemoveSubnetArns(RemoveSubnetArnsT &&value)
void SetRemoveSubnetArns(RemoveSubnetArnsT &&value)
const Aws::Vector< Aws::String > & GetAddSubnetArns() const
AWS_NETWORKMANAGER_API UpdateVpcAttachmentRequest()=default
const VpcOptions & GetOptions() const
void SetAddSubnetArns(AddSubnetArnsT &&value)
void SetAttachmentId(AttachmentIdT &&value)
bool AttachmentIdHasBeenSet() const
UpdateVpcAttachmentRequest & WithAddSubnetArns(AddSubnetArnsT &&value)
void SetOptions(OptionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector