7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/ItemSelection.h>
9#include <aws/cloudfront/model/CookieNames.h>
102 template<
typename WhitelistedNamesT = CookieNames>
103 void SetWhitelistedNames(WhitelistedNamesT&& value) { m_whitelistedNamesHasBeenSet =
true; m_whitelistedNames = std::forward<WhitelistedNamesT>(value); }
104 template<
typename WhitelistedNamesT = CookieNames>
110 bool m_forwardHasBeenSet =
false;
112 CookieNames m_whitelistedNames;
113 bool m_whitelistedNamesHasBeenSet =
false;
AWS_CLOUDFRONT_API CookiePreference()=default
AWS_CLOUDFRONT_API CookiePreference(const Aws::Utils::Xml::XmlNode &xmlNode)
CookiePreference & WithWhitelistedNames(WhitelistedNamesT &&value)
ItemSelection GetForward() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetWhitelistedNames(WhitelistedNamesT &&value)
CookiePreference & WithForward(ItemSelection value)
bool ForwardHasBeenSet() const
AWS_CLOUDFRONT_API CookiePreference & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetForward(ItemSelection value)
const CookieNames & GetWhitelistedNames() const
bool WhitelistedNamesHasBeenSet() const