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/PrefixListState.h>
12#include <aws/ec2/model/Tag.h>
45 template <
typename PrefixListIdT = Aws::String>
47 m_prefixListIdHasBeenSet =
true;
48 m_prefixListId = std::forward<PrefixListIdT>(value);
50 template <
typename PrefixListIdT = Aws::String>
63 template <
typename AddressFamilyT = Aws::String>
65 m_addressFamilyHasBeenSet =
true;
66 m_addressFamily = std::forward<AddressFamilyT>(value);
68 template <
typename AddressFamilyT = Aws::String>
82 m_stateHasBeenSet =
true;
97 template <
typename StateMessageT = Aws::String>
99 m_stateMessageHasBeenSet =
true;
100 m_stateMessage = std::forward<StateMessageT>(value);
102 template <
typename StateMessageT = Aws::String>
115 template <
typename PrefixListArnT = Aws::String>
117 m_prefixListArnHasBeenSet =
true;
118 m_prefixListArn = std::forward<PrefixListArnT>(value);
120 template <
typename PrefixListArnT = Aws::String>
133 template <
typename PrefixListNameT = Aws::String>
135 m_prefixListNameHasBeenSet =
true;
136 m_prefixListName = std::forward<PrefixListNameT>(value);
138 template <
typename PrefixListNameT = Aws::String>
152 m_maxEntriesHasBeenSet =
true;
153 m_maxEntries = value;
168 m_versionHasBeenSet =
true;
183 template <
typename TagsT = Aws::Vector<Tag>>
185 m_tagsHasBeenSet =
true;
186 m_tags = std::forward<TagsT>(value);
188 template <
typename TagsT = Aws::Vector<Tag>>
190 SetTags(std::forward<TagsT>(value));
193 template <
typename TagsT = Tag>
195 m_tagsHasBeenSet =
true;
196 m_tags.emplace_back(std::forward<TagsT>(value));
207 template <
typename OwnerIdT = Aws::String>
209 m_ownerIdHasBeenSet =
true;
210 m_ownerId = std::forward<OwnerIdT>(value);
212 template <
typename OwnerIdT = Aws::String>
231 template <
typename IpamPrefixListResolverTargetIdT = Aws::String>
233 m_ipamPrefixListResolverTargetIdHasBeenSet =
true;
234 m_ipamPrefixListResolverTargetId = std::forward<IpamPrefixListResolverTargetIdT>(value);
236 template <
typename IpamPrefixListResolverTargetIdT = Aws::String>
252 m_ipamPrefixListResolverSyncEnabledHasBeenSet =
true;
253 m_ipamPrefixListResolverSyncEnabled = value;
275 long long m_version{0};
283 bool m_ipamPrefixListResolverSyncEnabled{
false};
284 bool m_prefixListIdHasBeenSet =
false;
285 bool m_addressFamilyHasBeenSet =
false;
286 bool m_stateHasBeenSet =
false;
287 bool m_stateMessageHasBeenSet =
false;
288 bool m_prefixListArnHasBeenSet =
false;
289 bool m_prefixListNameHasBeenSet =
false;
290 bool m_maxEntriesHasBeenSet =
false;
291 bool m_versionHasBeenSet =
false;
292 bool m_tagsHasBeenSet =
false;
293 bool m_ownerIdHasBeenSet =
false;
294 bool m_ipamPrefixListResolverTargetIdHasBeenSet =
false;
295 bool m_ipamPrefixListResolverSyncEnabledHasBeenSet =
false;
bool StateHasBeenSet() const
long long GetVersion() const
const Aws::Vector< Tag > & GetTags() const
bool OwnerIdHasBeenSet() const
ManagedPrefixList & WithPrefixListArn(PrefixListArnT &&value)
void SetPrefixListId(PrefixListIdT &&value)
AWS_EC2_API ManagedPrefixList(const Aws::Utils::Xml::XmlNode &xmlNode)
ManagedPrefixList & WithOwnerId(OwnerIdT &&value)
void SetState(PrefixListState value)
const Aws::String & GetPrefixListId() const
void SetStateMessage(StateMessageT &&value)
void SetIpamPrefixListResolverTargetId(IpamPrefixListResolverTargetIdT &&value)
PrefixListState GetState() const
AWS_EC2_API ManagedPrefixList()=default
ManagedPrefixList & WithStateMessage(StateMessageT &&value)
ManagedPrefixList & WithState(PrefixListState value)
bool TagsHasBeenSet() const
const Aws::String & GetAddressFamily() const
ManagedPrefixList & WithIpamPrefixListResolverSyncEnabled(bool value)
const Aws::String & GetPrefixListArn() const
bool PrefixListIdHasBeenSet() const
ManagedPrefixList & WithPrefixListName(PrefixListNameT &&value)
void SetAddressFamily(AddressFamilyT &&value)
bool GetIpamPrefixListResolverSyncEnabled() const
void SetPrefixListArn(PrefixListArnT &&value)
ManagedPrefixList & WithMaxEntries(int value)
int GetMaxEntries() const
void SetMaxEntries(int value)
bool PrefixListNameHasBeenSet() const
const Aws::String & GetOwnerId() const
ManagedPrefixList & WithTags(TagsT &&value)
void SetVersion(long long value)
bool PrefixListArnHasBeenSet() const
bool AddressFamilyHasBeenSet() const
void SetPrefixListName(PrefixListNameT &&value)
bool IpamPrefixListResolverSyncEnabledHasBeenSet() const
const Aws::String & GetStateMessage() const
void SetIpamPrefixListResolverSyncEnabled(bool value)
const Aws::String & GetIpamPrefixListResolverTargetId() const
ManagedPrefixList & WithAddressFamily(AddressFamilyT &&value)
bool StateMessageHasBeenSet() const
ManagedPrefixList & WithVersion(long long value)
const Aws::String & GetPrefixListName() const
ManagedPrefixList & WithIpamPrefixListResolverTargetId(IpamPrefixListResolverTargetIdT &&value)
AWS_EC2_API ManagedPrefixList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ManagedPrefixList & WithPrefixListId(PrefixListIdT &&value)
void SetTags(TagsT &&value)
void SetOwnerId(OwnerIdT &&value)
bool MaxEntriesHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ManagedPrefixList & AddTags(TagsT &&value)
bool IpamPrefixListResolverTargetIdHasBeenSet() const
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