7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/model/Attachment.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/networkmanager/model/VpcOptions.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
24namespace NetworkManager
49 template<
typename AttachmentT = Attachment>
50 void SetAttachment(AttachmentT&& value) { m_attachmentHasBeenSet =
true; m_attachment = std::forward<AttachmentT>(value); }
51 template<
typename AttachmentT = Attachment>
61 template<
typename SubnetArnsT = Aws::Vector<Aws::String>>
62 void SetSubnetArns(SubnetArnsT&& value) { m_subnetArnsHasBeenSet =
true; m_subnetArns = std::forward<SubnetArnsT>(value); }
63 template<
typename SubnetArnsT = Aws::Vector<Aws::String>>
65 template<
typename SubnetArnsT = Aws::String>
66 VpcAttachment&
AddSubnetArns(SubnetArnsT&& value) { m_subnetArnsHasBeenSet =
true; m_subnetArns.emplace_back(std::forward<SubnetArnsT>(value));
return *
this; }
75 template<
typename OptionsT = VpcOptions>
76 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet =
true; m_options = std::forward<OptionsT>(value); }
77 template<
typename OptionsT = VpcOptions>
83 bool m_attachmentHasBeenSet =
false;
86 bool m_subnetArnsHasBeenSet =
false;
89 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