/**
* 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 headers to inspect in a web
* request. You must specify exactly one setting: either Example
* JSON: All
,
* IncludedHeaders
, or ExcludedHeaders
."MatchPattern": { "ExcludedHeaders": [ "KeyToExclude1",
* "KeyToExclude2" ] }
See Also:
AWS
* API Reference
Inspect all headers.
*/ inline const All& GetAll() const{ return m_all; } /** *Inspect all headers.
*/ inline bool AllHasBeenSet() const { return m_allHasBeenSet; } /** *Inspect all headers.
*/ inline void SetAll(const All& value) { m_allHasBeenSet = true; m_all = value; } /** *Inspect all headers.
*/ inline void SetAll(All&& value) { m_allHasBeenSet = true; m_all = std::move(value); } /** *Inspect all headers.
*/ inline HeaderMatchPattern& WithAll(const All& value) { SetAll(value); return *this;} /** *Inspect all headers.
*/ inline HeaderMatchPattern& WithAll(All&& value) { SetAll(std::move(value)); return *this;} /** *Inspect only the headers that have a key that matches one of the strings * specified here.
*/ inline const Aws::VectorInspect only the headers that have a key that matches one of the strings * specified here.
*/ inline bool IncludedHeadersHasBeenSet() const { return m_includedHeadersHasBeenSet; } /** *Inspect only the headers that have a key that matches one of the strings * specified here.
*/ inline void SetIncludedHeaders(const Aws::VectorInspect only the headers that have a key that matches one of the strings * specified here.
*/ inline void SetIncludedHeaders(Aws::VectorInspect only the headers that have a key that matches one of the strings * specified here.
*/ inline HeaderMatchPattern& WithIncludedHeaders(const Aws::VectorInspect only the headers that have a key that matches one of the strings * specified here.
*/ inline HeaderMatchPattern& WithIncludedHeaders(Aws::VectorInspect only the headers that have a key that matches one of the strings * specified here.
*/ inline HeaderMatchPattern& AddIncludedHeaders(const Aws::String& value) { m_includedHeadersHasBeenSet = true; m_includedHeaders.push_back(value); return *this; } /** *Inspect only the headers that have a key that matches one of the strings * specified here.
*/ inline HeaderMatchPattern& AddIncludedHeaders(Aws::String&& value) { m_includedHeadersHasBeenSet = true; m_includedHeaders.push_back(std::move(value)); return *this; } /** *Inspect only the headers that have a key that matches one of the strings * specified here.
*/ inline HeaderMatchPattern& AddIncludedHeaders(const char* value) { m_includedHeadersHasBeenSet = true; m_includedHeaders.push_back(value); return *this; } /** *Inspect only the headers whose keys don't match any of the strings specified * here.
*/ inline const Aws::VectorInspect only the headers whose keys don't match any of the strings specified * here.
*/ inline bool ExcludedHeadersHasBeenSet() const { return m_excludedHeadersHasBeenSet; } /** *Inspect only the headers whose keys don't match any of the strings specified * here.
*/ inline void SetExcludedHeaders(const Aws::VectorInspect only the headers whose keys don't match any of the strings specified * here.
*/ inline void SetExcludedHeaders(Aws::VectorInspect only the headers whose keys don't match any of the strings specified * here.
*/ inline HeaderMatchPattern& WithExcludedHeaders(const Aws::VectorInspect only the headers whose keys don't match any of the strings specified * here.
*/ inline HeaderMatchPattern& WithExcludedHeaders(Aws::VectorInspect only the headers whose keys don't match any of the strings specified * here.
*/ inline HeaderMatchPattern& AddExcludedHeaders(const Aws::String& value) { m_excludedHeadersHasBeenSet = true; m_excludedHeaders.push_back(value); return *this; } /** *Inspect only the headers whose keys don't match any of the strings specified * here.
*/ inline HeaderMatchPattern& AddExcludedHeaders(Aws::String&& value) { m_excludedHeadersHasBeenSet = true; m_excludedHeaders.push_back(std::move(value)); return *this; } /** *Inspect only the headers whose keys don't match any of the strings specified * here.
*/ inline HeaderMatchPattern& AddExcludedHeaders(const char* value) { m_excludedHeadersHasBeenSet = true; m_excludedHeaders.push_back(value); return *this; } private: All m_all; bool m_allHasBeenSet = false; Aws::Vector