/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The filter to use to identify the subset of cookies to inspect in a web
* request. You must specify exactly one setting: either Example
* JSON: All
,
* IncludedCookies
, or ExcludedCookies
."MatchPattern": { "IncludedCookies": [ "session-id-time",
* "session-id" ] }
See Also:
AWS
* API Reference
Inspect all cookies.
*/ inline const All& GetAll() const{ return m_all; } /** *Inspect all cookies.
*/ inline bool AllHasBeenSet() const { return m_allHasBeenSet; } /** *Inspect all cookies.
*/ inline void SetAll(const All& value) { m_allHasBeenSet = true; m_all = value; } /** *Inspect all cookies.
*/ inline void SetAll(All&& value) { m_allHasBeenSet = true; m_all = std::move(value); } /** *Inspect all cookies.
*/ inline CookieMatchPattern& WithAll(const All& value) { SetAll(value); return *this;} /** *Inspect all cookies.
*/ inline CookieMatchPattern& WithAll(All&& value) { SetAll(std::move(value)); return *this;} /** *Inspect only the cookies that have a key that matches one of the strings * specified here.
*/ inline const Aws::VectorInspect only the cookies that have a key that matches one of the strings * specified here.
*/ inline bool IncludedCookiesHasBeenSet() const { return m_includedCookiesHasBeenSet; } /** *Inspect only the cookies that have a key that matches one of the strings * specified here.
*/ inline void SetIncludedCookies(const Aws::VectorInspect only the cookies that have a key that matches one of the strings * specified here.
*/ inline void SetIncludedCookies(Aws::VectorInspect only the cookies that have a key that matches one of the strings * specified here.
*/ inline CookieMatchPattern& WithIncludedCookies(const Aws::VectorInspect only the cookies that have a key that matches one of the strings * specified here.
*/ inline CookieMatchPattern& WithIncludedCookies(Aws::VectorInspect only the cookies that have a key that matches one of the strings * specified here.
*/ inline CookieMatchPattern& AddIncludedCookies(const Aws::String& value) { m_includedCookiesHasBeenSet = true; m_includedCookies.push_back(value); return *this; } /** *Inspect only the cookies that have a key that matches one of the strings * specified here.
*/ inline CookieMatchPattern& AddIncludedCookies(Aws::String&& value) { m_includedCookiesHasBeenSet = true; m_includedCookies.push_back(std::move(value)); return *this; } /** *Inspect only the cookies that have a key that matches one of the strings * specified here.
*/ inline CookieMatchPattern& AddIncludedCookies(const char* value) { m_includedCookiesHasBeenSet = true; m_includedCookies.push_back(value); return *this; } /** *Inspect only the cookies whose keys don't match any of the strings specified * here.
*/ inline const Aws::VectorInspect only the cookies whose keys don't match any of the strings specified * here.
*/ inline bool ExcludedCookiesHasBeenSet() const { return m_excludedCookiesHasBeenSet; } /** *Inspect only the cookies whose keys don't match any of the strings specified * here.
*/ inline void SetExcludedCookies(const Aws::VectorInspect only the cookies whose keys don't match any of the strings specified * here.
*/ inline void SetExcludedCookies(Aws::VectorInspect only the cookies whose keys don't match any of the strings specified * here.
*/ inline CookieMatchPattern& WithExcludedCookies(const Aws::VectorInspect only the cookies whose keys don't match any of the strings specified * here.
*/ inline CookieMatchPattern& WithExcludedCookies(Aws::VectorInspect only the cookies whose keys don't match any of the strings specified * here.
*/ inline CookieMatchPattern& AddExcludedCookies(const Aws::String& value) { m_excludedCookiesHasBeenSet = true; m_excludedCookies.push_back(value); return *this; } /** *Inspect only the cookies whose keys don't match any of the strings specified * here.
*/ inline CookieMatchPattern& AddExcludedCookies(Aws::String&& value) { m_excludedCookiesHasBeenSet = true; m_excludedCookies.push_back(std::move(value)); return *this; } /** *Inspect only the cookies whose keys don't match any of the strings specified * here.
*/ inline CookieMatchPattern& AddExcludedCookies(const char* value) { m_excludedCookiesHasBeenSet = true; m_excludedCookies.push_back(value); return *this; } private: All m_all; bool m_allHasBeenSet = false; Aws::Vector