7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
62 template<
typename ItemsT = Aws::Vector<Aws::String>>
63 void SetItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items = std::forward<ItemsT>(value); }
64 template<
typename ItemsT = Aws::Vector<Aws::String>>
66 template<
typename ItemsT = Aws::String>
67 KeyGroupConfig&
AddItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items.emplace_back(std::forward<ItemsT>(value));
return *
this; }
77 template<
typename CommentT = Aws::String>
78 void SetComment(CommentT&& value) { m_commentHasBeenSet =
true; m_comment = std::forward<CommentT>(value); }
79 template<
typename CommentT = Aws::String>
85 bool m_nameHasBeenSet =
false;
88 bool m_itemsHasBeenSet =
false;
91 bool m_commentHasBeenSet =
false;
void SetItems(ItemsT &&value)
KeyGroupConfig & WithItems(ItemsT &&value)
AWS_CLOUDFRONT_API KeyGroupConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool CommentHasBeenSet() const
void SetName(NameT &&value)
const Aws::Vector< Aws::String > & GetItems() const
KeyGroupConfig & WithComment(CommentT &&value)
KeyGroupConfig & AddItems(ItemsT &&value)
const Aws::String & GetName() const
AWS_CLOUDFRONT_API KeyGroupConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetComment(CommentT &&value)
KeyGroupConfig & WithName(NameT &&value)
const Aws::String & GetComment() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API KeyGroupConfig()=default
bool NameHasBeenSet() const
bool ItemsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector