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>
49 template<
typename C
idrsT = Aws::Vector<Aws::String>>
50 void SetCidrs(CidrsT&& value) { m_cidrsHasBeenSet =
true; m_cidrs = std::forward<CidrsT>(value); }
51 template<
typename C
idrsT = Aws::Vector<Aws::String>>
53 template<
typename C
idrsT = Aws::String>
54 PrefixList&
AddCidrs(CidrsT&& value) { m_cidrsHasBeenSet =
true; m_cidrs.emplace_back(std::forward<CidrsT>(value));
return *
this; }
63 template<
typename PrefixListIdT = Aws::String>
64 void SetPrefixListId(PrefixListIdT&& value) { m_prefixListIdHasBeenSet =
true; m_prefixListId = std::forward<PrefixListIdT>(value); }
65 template<
typename PrefixListIdT = Aws::String>
75 template<
typename PrefixListNameT = Aws::String>
76 void SetPrefixListName(PrefixListNameT&& value) { m_prefixListNameHasBeenSet =
true; m_prefixListName = std::forward<PrefixListNameT>(value); }
77 template<
typename PrefixListNameT = Aws::String>
83 bool m_cidrsHasBeenSet =
false;
86 bool m_prefixListIdHasBeenSet =
false;
89 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