/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A list of HTTP response header names and their values. CloudFront includes
* these headers in HTTP responses that it sends for requests that match a cache
* behavior that's associated with this response headers policy.See
* Also:
AWS
* API Reference
The number of HTTP response headers in the list.
*/ inline int GetQuantity() const{ return m_quantity; } /** *The number of HTTP response headers in the list.
*/ inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; } /** *The number of HTTP response headers in the list.
*/ inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; } /** *The number of HTTP response headers in the list.
*/ inline ResponseHeadersPolicyCustomHeadersConfig& WithQuantity(int value) { SetQuantity(value); return *this;} /** *The list of HTTP response headers and their values.
*/ inline const Aws::VectorThe list of HTTP response headers and their values.
*/ inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; } /** *The list of HTTP response headers and their values.
*/ inline void SetItems(const Aws::VectorThe list of HTTP response headers and their values.
*/ inline void SetItems(Aws::VectorThe list of HTTP response headers and their values.
*/ inline ResponseHeadersPolicyCustomHeadersConfig& WithItems(const Aws::VectorThe list of HTTP response headers and their values.
*/ inline ResponseHeadersPolicyCustomHeadersConfig& WithItems(Aws::VectorThe list of HTTP response headers and their values.
*/ inline ResponseHeadersPolicyCustomHeadersConfig& AddItems(const ResponseHeadersPolicyCustomHeader& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; } /** *The list of HTTP response headers and their values.
*/ inline ResponseHeadersPolicyCustomHeadersConfig& AddItems(ResponseHeadersPolicyCustomHeader&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; } private: int m_quantity; bool m_quantityHasBeenSet = false; Aws::Vector