7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/NetworkAclAssociation.h>
12#include <aws/ec2/model/NetworkAclEntry.h>
13#include <aws/ec2/model/Tag.h>
80 inline void SetIsDefault(
bool value) { m_isDefaultHasBeenSet =
true; m_isDefault = value; }
92 inline void SetNetworkAclId(
const char* value) { m_networkAclIdHasBeenSet =
true; m_networkAclId.assign(value); }
108 inline NetworkAcl&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
109 inline NetworkAcl&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
120 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
134 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
142 bool m_associationsHasBeenSet =
false;
145 bool m_entriesHasBeenSet =
false;
148 bool m_isDefaultHasBeenSet =
false;
151 bool m_networkAclIdHasBeenSet =
false;
154 bool m_tagsHasBeenSet =
false;
157 bool m_vpcIdHasBeenSet =
false;
160 bool m_ownerIdHasBeenSet =
false;
NetworkAcl & WithEntries(const Aws::Vector< NetworkAclEntry > &value)
bool AssociationsHasBeenSet() const
NetworkAcl & WithNetworkAclId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
NetworkAcl & WithAssociations(const Aws::Vector< NetworkAclAssociation > &value)
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
NetworkAcl & WithOwnerId(const char *value)
void SetEntries(const Aws::Vector< NetworkAclEntry > &value)
NetworkAcl & AddAssociations(NetworkAclAssociation &&value)
const Aws::Vector< NetworkAclAssociation > & GetAssociations() const
NetworkAcl & WithVpcId(const Aws::String &value)
NetworkAcl & AddAssociations(const NetworkAclAssociation &value)
const Aws::Vector< Tag > & GetTags() const
void SetAssociations(Aws::Vector< NetworkAclAssociation > &&value)
NetworkAcl & WithVpcId(Aws::String &&value)
void SetNetworkAclId(Aws::String &&value)
void SetNetworkAclId(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
NetworkAcl & WithVpcId(const char *value)
void SetIsDefault(bool value)
bool TagsHasBeenSet() const
NetworkAcl & WithTags(Aws::Vector< Tag > &&value)
void SetVpcId(const char *value)
NetworkAcl & WithNetworkAclId(const Aws::String &value)
NetworkAcl & WithAssociations(Aws::Vector< NetworkAclAssociation > &&value)
void SetEntries(Aws::Vector< NetworkAclEntry > &&value)
NetworkAcl & AddEntries(const NetworkAclEntry &value)
bool GetIsDefault() const
const Aws::String & GetOwnerId() const
bool OwnerIdHasBeenSet() const
NetworkAcl & WithOwnerId(Aws::String &&value)
NetworkAcl & WithNetworkAclId(Aws::String &&value)
const Aws::String & GetVpcId() const
AWS_EC2_API NetworkAcl(const Aws::Utils::Xml::XmlNode &xmlNode)
NetworkAcl & AddTags(Tag &&value)
NetworkAcl & AddTags(const Tag &value)
bool NetworkAclIdHasBeenSet() const
const Aws::String & GetNetworkAclId() const
void SetOwnerId(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
AWS_EC2_API NetworkAcl & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetVpcId(Aws::String &&value)
bool EntriesHasBeenSet() const
NetworkAcl & WithTags(const Aws::Vector< Tag > &value)
void SetNetworkAclId(const Aws::String &value)
NetworkAcl & WithOwnerId(const Aws::String &value)
void SetAssociations(const Aws::Vector< NetworkAclAssociation > &value)
void SetOwnerId(const char *value)
void SetVpcId(const Aws::String &value)
NetworkAcl & WithEntries(Aws::Vector< NetworkAclEntry > &&value)
bool IsDefaultHasBeenSet() const
void SetOwnerId(Aws::String &&value)
NetworkAcl & AddEntries(NetworkAclEntry &&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