7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/networkmanager/NetworkManagerRequest.h>
10#include <aws/networkmanager/NetworkManager_EXPORTS.h>
11#include <aws/networkmanager/model/VpcOptions.h>
16namespace NetworkManager {
39 template <
typename AttachmentIdT = Aws::String>
41 m_attachmentIdHasBeenSet =
true;
42 m_attachmentId = std::forward<AttachmentIdT>(value);
44 template <
typename AttachmentIdT = Aws::String>
57 template <
typename AddSubnetArnsT = Aws::Vector<Aws::String>>
59 m_addSubnetArnsHasBeenSet =
true;
60 m_addSubnetArns = std::forward<AddSubnetArnsT>(value);
62 template <
typename AddSubnetArnsT = Aws::Vector<Aws::String>>
67 template <
typename AddSubnetArnsT = Aws::String>
69 m_addSubnetArnsHasBeenSet =
true;
70 m_addSubnetArns.emplace_back(std::forward<AddSubnetArnsT>(value));
81 template <
typename RemoveSubnetArnsT = Aws::Vector<Aws::String>>
83 m_removeSubnetArnsHasBeenSet =
true;
84 m_removeSubnetArns = std::forward<RemoveSubnetArnsT>(value);
86 template <
typename RemoveSubnetArnsT = Aws::Vector<Aws::String>>
91 template <
typename RemoveSubnetArnsT = Aws::String>
93 m_removeSubnetArnsHasBeenSet =
true;
94 m_removeSubnetArns.emplace_back(std::forward<RemoveSubnetArnsT>(value));
105 template <
typename OptionsT = VpcOptions>
107 m_optionsHasBeenSet =
true;
108 m_options = std::forward<OptionsT>(value);
110 template <
typename OptionsT = VpcOptions>
124 bool m_attachmentIdHasBeenSet =
false;
125 bool m_addSubnetArnsHasBeenSet =
false;
126 bool m_removeSubnetArnsHasBeenSet =
false;
127 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