7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/PrefixListState.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/Tag.h>
53 inline void SetPrefixListId(
const char* value) { m_prefixListIdHasBeenSet =
true; m_prefixListId.assign(value); }
67 inline void SetAddressFamily(
const char* value) { m_addressFamilyHasBeenSet =
true; m_addressFamily.assign(value); }
93 inline void SetStateMessage(
const char* value) { m_stateMessageHasBeenSet =
true; m_stateMessage.assign(value); }
107 inline void SetPrefixListArn(
const char* value) { m_prefixListArnHasBeenSet =
true; m_prefixListArn.assign(value); }
121 inline void SetPrefixListName(
const char* value) { m_prefixListNameHasBeenSet =
true; m_prefixListName.assign(value); }
133 inline void SetMaxEntries(
int value) { m_maxEntriesHasBeenSet =
true; m_maxEntries = value; }
143 inline void SetVersion(
long long value) { m_versionHasBeenSet =
true; m_version = value; }
169 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
177 bool m_prefixListIdHasBeenSet =
false;
180 bool m_addressFamilyHasBeenSet =
false;
183 bool m_stateHasBeenSet =
false;
186 bool m_stateMessageHasBeenSet =
false;
189 bool m_prefixListArnHasBeenSet =
false;
192 bool m_prefixListNameHasBeenSet =
false;
195 bool m_maxEntriesHasBeenSet =
false;
198 bool m_versionHasBeenSet =
false;
201 bool m_tagsHasBeenSet =
false;
204 bool m_ownerIdHasBeenSet =
false;
void SetStateMessage(const char *value)
bool StateHasBeenSet() const
long long GetVersion() const
ManagedPrefixList & WithTags(const Aws::Vector< Tag > &value)
ManagedPrefixList & WithOwnerId(Aws::String &&value)
ManagedPrefixList & WithAddressFamily(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
void SetAddressFamily(const Aws::String &value)
void SetStateMessage(Aws::String &&value)
ManagedPrefixList & WithStateMessage(Aws::String &&value)
void SetPrefixListName(Aws::String &&value)
bool OwnerIdHasBeenSet() const
void SetAddressFamily(const char *value)
ManagedPrefixList & WithOwnerId(const char *value)
AWS_EC2_API ManagedPrefixList(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPrefixListName(const char *value)
ManagedPrefixList & WithAddressFamily(const char *value)
const Aws::String & GetPrefixListId() const
ManagedPrefixList & WithStateMessage(const Aws::String &value)
ManagedPrefixList & AddTags(Tag &&value)
ManagedPrefixList & WithAddressFamily(const Aws::String &value)
ManagedPrefixList & WithPrefixListName(const char *value)
void SetPrefixListId(const char *value)
ManagedPrefixList & WithStateMessage(const char *value)
bool TagsHasBeenSet() const
void SetPrefixListName(const Aws::String &value)
void SetAddressFamily(Aws::String &&value)
void SetStateMessage(const Aws::String &value)
const Aws::String & GetAddressFamily() const
void SetPrefixListId(Aws::String &&value)
ManagedPrefixList & WithPrefixListName(Aws::String &&value)
ManagedPrefixList & WithOwnerId(const Aws::String &value)
void SetPrefixListArn(Aws::String &&value)
ManagedPrefixList & WithPrefixListArn(const char *value)
const Aws::String & GetPrefixListArn() const
ManagedPrefixList & WithState(const PrefixListState &value)
bool PrefixListIdHasBeenSet() const
ManagedPrefixList & WithPrefixListId(const Aws::String &value)
void SetPrefixListArn(const Aws::String &value)
ManagedPrefixList & WithState(PrefixListState &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetState(PrefixListState &&value)
ManagedPrefixList & WithMaxEntries(int value)
int GetMaxEntries() const
void SetOwnerId(const char *value)
void SetState(const PrefixListState &value)
void SetMaxEntries(int value)
AWS_EC2_API ManagedPrefixList()
ManagedPrefixList & WithPrefixListArn(const Aws::String &value)
bool PrefixListNameHasBeenSet() const
const Aws::String & GetOwnerId() const
ManagedPrefixList & WithPrefixListId(const char *value)
void SetVersion(long long value)
bool PrefixListArnHasBeenSet() const
bool AddressFamilyHasBeenSet() const
void SetOwnerId(const Aws::String &value)
void SetOwnerId(Aws::String &&value)
const Aws::String & GetStateMessage() const
ManagedPrefixList & WithPrefixListId(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
bool StateMessageHasBeenSet() const
ManagedPrefixList & WithVersion(long long value)
const Aws::String & GetPrefixListName() const
ManagedPrefixList & AddTags(const Tag &value)
AWS_EC2_API ManagedPrefixList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ManagedPrefixList & WithPrefixListArn(Aws::String &&value)
const PrefixListState & GetState() const
void SetPrefixListArn(const char *value)
void SetPrefixListId(const Aws::String &value)
ManagedPrefixList & WithPrefixListName(const Aws::String &value)
bool MaxEntriesHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ManagedPrefixList & WithTags(Aws::Vector< Tag > &&value)
bool VersionHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
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