7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
60 inline void SetQuantity(
int value) { m_quantityHasBeenSet =
true; m_quantity = value; }
70 template<
typename ItemsT = Aws::Vector<Aws::String>>
71 void SetItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items = std::forward<ItemsT>(value); }
72 template<
typename ItemsT = Aws::Vector<Aws::String>>
74 template<
typename ItemsT = Aws::String>
75 TrustedKeyGroups&
AddItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items.emplace_back(std::forward<ItemsT>(value));
return *
this; }
79 bool m_enabled{
false};
80 bool m_enabledHasBeenSet =
false;
83 bool m_quantityHasBeenSet =
false;
86 bool m_itemsHasBeenSet =
false;
bool ItemsHasBeenSet() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool QuantityHasBeenSet() const
void SetItems(ItemsT &&value)
const Aws::Vector< Aws::String > & GetItems() const
AWS_CLOUDFRONT_API TrustedKeyGroups(const Aws::Utils::Xml::XmlNode &xmlNode)
TrustedKeyGroups & AddItems(ItemsT &&value)
bool EnabledHasBeenSet() const
void SetQuantity(int value)
void SetEnabled(bool value)
TrustedKeyGroups & WithItems(ItemsT &&value)
AWS_CLOUDFRONT_API TrustedKeyGroups()=default
TrustedKeyGroups & WithQuantity(int value)
AWS_CLOUDFRONT_API TrustedKeyGroups & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TrustedKeyGroups & WithEnabled(bool value)
std::vector< T, Aws::Allocator< T > > Vector