7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/NetworkAclAssociation.h>
12#include <aws/ec2/model/NetworkAclEntry.h>
13#include <aws/ec2/model/Tag.h>
46 template <
typename AssociationsT = Aws::Vector<NetworkAclAssociation>>
48 m_associationsHasBeenSet =
true;
49 m_associations = std::forward<AssociationsT>(value);
51 template <
typename AssociationsT = Aws::Vector<NetworkAclAssociation>>
56 template <
typename AssociationsT = NetworkAclAssociation>
58 m_associationsHasBeenSet =
true;
59 m_associations.emplace_back(std::forward<AssociationsT>(value));
70 template <
typename EntriesT = Aws::Vector<NetworkAclEntry>>
72 m_entriesHasBeenSet =
true;
73 m_entries = std::forward<EntriesT>(value);
75 template <
typename EntriesT = Aws::Vector<NetworkAclEntry>>
80 template <
typename EntriesT = NetworkAclEntry>
82 m_entriesHasBeenSet =
true;
83 m_entries.emplace_back(std::forward<EntriesT>(value));
95 m_isDefaultHasBeenSet =
true;
110 template <
typename NetworkAclIdT = Aws::String>
112 m_networkAclIdHasBeenSet =
true;
113 m_networkAclId = std::forward<NetworkAclIdT>(value);
115 template <
typename NetworkAclIdT = Aws::String>
128 template <
typename TagsT = Aws::Vector<Tag>>
130 m_tagsHasBeenSet =
true;
131 m_tags = std::forward<TagsT>(value);
133 template <
typename TagsT = Aws::Vector<Tag>>
135 SetTags(std::forward<TagsT>(value));
138 template <
typename TagsT = Tag>
140 m_tagsHasBeenSet =
true;
141 m_tags.emplace_back(std::forward<TagsT>(value));
152 template <
typename VpcIdT = Aws::String>
154 m_vpcIdHasBeenSet =
true;
155 m_vpcId = std::forward<VpcIdT>(value);
157 template <
typename VpcIdT = Aws::String>
159 SetVpcId(std::forward<VpcIdT>(value));
170 template <
typename OwnerIdT = Aws::String>
172 m_ownerIdHasBeenSet =
true;
173 m_ownerId = std::forward<OwnerIdT>(value);
175 template <
typename OwnerIdT = Aws::String>
186 bool m_isDefault{
false};
195 bool m_associationsHasBeenSet =
false;
196 bool m_entriesHasBeenSet =
false;
197 bool m_isDefaultHasBeenSet =
false;
198 bool m_networkAclIdHasBeenSet =
false;
199 bool m_tagsHasBeenSet =
false;
200 bool m_vpcIdHasBeenSet =
false;
201 bool m_ownerIdHasBeenSet =
false;
bool AssociationsHasBeenSet() const
void SetNetworkAclId(NetworkAclIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API NetworkAcl()=default
NetworkAcl & WithIsDefault(bool value)
bool VpcIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Vector< NetworkAclEntry > & GetEntries() const
const Aws::Vector< NetworkAclAssociation > & GetAssociations() const
const Aws::Vector< Tag > & GetTags() const
NetworkAcl & AddEntries(EntriesT &&value)
NetworkAcl & AddAssociations(AssociationsT &&value)
NetworkAcl & WithEntries(EntriesT &&value)
void SetIsDefault(bool value)
bool TagsHasBeenSet() const
NetworkAcl & WithVpcId(VpcIdT &&value)
void SetAssociations(AssociationsT &&value)
bool GetIsDefault() const
const Aws::String & GetOwnerId() const
NetworkAcl & WithOwnerId(OwnerIdT &&value)
void SetTags(TagsT &&value)
bool OwnerIdHasBeenSet() const
NetworkAcl & AddTags(TagsT &&value)
const Aws::String & GetVpcId() const
AWS_EC2_API NetworkAcl(const Aws::Utils::Xml::XmlNode &xmlNode)
NetworkAcl & WithNetworkAclId(NetworkAclIdT &&value)
bool NetworkAclIdHasBeenSet() const
NetworkAcl & WithTags(TagsT &&value)
const Aws::String & GetNetworkAclId() const
NetworkAcl & WithAssociations(AssociationsT &&value)
AWS_EC2_API NetworkAcl & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool EntriesHasBeenSet() const
void SetVpcId(VpcIdT &&value)
void SetOwnerId(OwnerIdT &&value)
bool IsDefaultHasBeenSet() const
void SetEntries(EntriesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream