/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes whether an Amazon Lightsail content delivery network (CDN)
* distribution forwards cookies to the origin and, if so, which ones. For
* the cookies that you specify, your distribution caches separate versions of the
* specified content based on the cookie values in viewer requests.See
* Also:
AWS
* API Reference
Specifies which cookies to forward to the distribution's origin for a cache
* behavior: all
, none
, or allow-list
to
* forward only the cookies specified in the cookiesAllowList
* parameter.
Specifies which cookies to forward to the distribution's origin for a cache
* behavior: all
, none
, or allow-list
to
* forward only the cookies specified in the cookiesAllowList
* parameter.
Specifies which cookies to forward to the distribution's origin for a cache
* behavior: all
, none
, or allow-list
to
* forward only the cookies specified in the cookiesAllowList
* parameter.
Specifies which cookies to forward to the distribution's origin for a cache
* behavior: all
, none
, or allow-list
to
* forward only the cookies specified in the cookiesAllowList
* parameter.
Specifies which cookies to forward to the distribution's origin for a cache
* behavior: all
, none
, or allow-list
to
* forward only the cookies specified in the cookiesAllowList
* parameter.
Specifies which cookies to forward to the distribution's origin for a cache
* behavior: all
, none
, or allow-list
to
* forward only the cookies specified in the cookiesAllowList
* parameter.
The specific cookies to forward to your distribution's origin.
*/ inline const Aws::VectorThe specific cookies to forward to your distribution's origin.
*/ inline bool CookiesAllowListHasBeenSet() const { return m_cookiesAllowListHasBeenSet; } /** *The specific cookies to forward to your distribution's origin.
*/ inline void SetCookiesAllowList(const Aws::VectorThe specific cookies to forward to your distribution's origin.
*/ inline void SetCookiesAllowList(Aws::VectorThe specific cookies to forward to your distribution's origin.
*/ inline CookieObject& WithCookiesAllowList(const Aws::VectorThe specific cookies to forward to your distribution's origin.
*/ inline CookieObject& WithCookiesAllowList(Aws::VectorThe specific cookies to forward to your distribution's origin.
*/ inline CookieObject& AddCookiesAllowList(const Aws::String& value) { m_cookiesAllowListHasBeenSet = true; m_cookiesAllowList.push_back(value); return *this; } /** *The specific cookies to forward to your distribution's origin.
*/ inline CookieObject& AddCookiesAllowList(Aws::String&& value) { m_cookiesAllowListHasBeenSet = true; m_cookiesAllowList.push_back(std::move(value)); return *this; } /** *The specific cookies to forward to your distribution's origin.
*/ inline CookieObject& AddCookiesAllowList(const char* value) { m_cookiesAllowListHasBeenSet = true; m_cookiesAllowList.push_back(value); return *this; } private: ForwardValues m_option; bool m_optionHasBeenSet = false; Aws::Vector