7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/networkmanager/NetworkManager_EXPORTS.h>
10#include <aws/networkmanager/model/Attachment.h>
11#include <aws/networkmanager/model/VpcOptions.h>
22namespace NetworkManager {
43 template <
typename AttachmentT = Attachment>
45 m_attachmentHasBeenSet =
true;
46 m_attachment = std::forward<AttachmentT>(value);
48 template <
typename AttachmentT = Attachment>
61 template <
typename SubnetArnsT = Aws::Vector<Aws::String>>
63 m_subnetArnsHasBeenSet =
true;
64 m_subnetArns = std::forward<SubnetArnsT>(value);
66 template <
typename SubnetArnsT = Aws::Vector<Aws::String>>
71 template <
typename SubnetArnsT = Aws::String>
73 m_subnetArnsHasBeenSet =
true;
74 m_subnetArns.emplace_back(std::forward<SubnetArnsT>(value));
85 template <
typename OptionsT = VpcOptions>
87 m_optionsHasBeenSet =
true;
88 m_options = std::forward<OptionsT>(value);
90 template <
typename OptionsT = VpcOptions>
102 bool m_attachmentHasBeenSet =
false;
103 bool m_subnetArnsHasBeenSet =
false;
104 bool m_optionsHasBeenSet =
false;
void SetSubnetArns(SubnetArnsT &&value)
AWS_NETWORKMANAGER_API VpcAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
const Attachment & GetAttachment() const
AWS_NETWORKMANAGER_API VpcAttachment()=default
VpcAttachment & AddSubnetArns(SubnetArnsT &&value)
bool SubnetArnsHasBeenSet() const
const VpcOptions & GetOptions() const
void SetAttachment(AttachmentT &&value)
const Aws::Vector< Aws::String > & GetSubnetArns() const
VpcAttachment & WithAttachment(AttachmentT &&value)
VpcAttachment & WithSubnetArns(SubnetArnsT &&value)
bool AttachmentHasBeenSet() const
bool OptionsHasBeenSet() const
AWS_NETWORKMANAGER_API VpcAttachment(Aws::Utils::Json::JsonView jsonValue)
VpcAttachment & WithOptions(OptionsT &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOptions(OptionsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue