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>
43 template <
typename C
idrsT = Aws::Vector<Aws::String>>
45 m_cidrsHasBeenSet =
true;
46 m_cidrs = std::forward<CidrsT>(value);
48 template <
typename C
idrsT = Aws::Vector<Aws::String>>
50 SetCidrs(std::forward<CidrsT>(value));
53 template <
typename C
idrsT = Aws::String>
55 m_cidrsHasBeenSet =
true;
56 m_cidrs.emplace_back(std::forward<CidrsT>(value));
67 template <
typename PrefixListIdT = Aws::String>
69 m_prefixListIdHasBeenSet =
true;
70 m_prefixListId = std::forward<PrefixListIdT>(value);
72 template <
typename PrefixListIdT = Aws::String>
85 template <
typename PrefixListNameT = Aws::String>
87 m_prefixListNameHasBeenSet =
true;
88 m_prefixListName = std::forward<PrefixListNameT>(value);
90 template <
typename PrefixListNameT = Aws::String>
102 bool m_cidrsHasBeenSet =
false;
103 bool m_prefixListIdHasBeenSet =
false;
104 bool m_prefixListNameHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetCidrs() const
void SetCidrs(CidrsT &&value)
AWS_EC2_API PrefixList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API PrefixList()=default
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API PrefixList(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPrefixListId(PrefixListIdT &&value)
void SetPrefixListName(PrefixListNameT &&value)
const Aws::String & GetPrefixListName() const
PrefixList & WithCidrs(CidrsT &&value)
bool PrefixListIdHasBeenSet() const
PrefixList & AddCidrs(CidrsT &&value)
PrefixList & WithPrefixListId(PrefixListIdT &&value)
const Aws::String & GetPrefixListId() const
PrefixList & WithPrefixListName(PrefixListNameT &&value)
bool PrefixListNameHasBeenSet() const
bool CidrsHasBeenSet() 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