/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A complex type that contains HeaderName
and
* HeaderValue
elements, if any, for this distribution.See
* Also:
AWS
* API Reference
The name of a header that you want CloudFront to send to your origin. For * more information, see Adding * Custom Headers to Origin Requests in the Amazon CloudFront Developer * Guide.
*/ inline const Aws::String& GetHeaderName() const{ return m_headerName; } /** *The name of a header that you want CloudFront to send to your origin. For * more information, see Adding * Custom Headers to Origin Requests in the Amazon CloudFront Developer * Guide.
*/ inline bool HeaderNameHasBeenSet() const { return m_headerNameHasBeenSet; } /** *The name of a header that you want CloudFront to send to your origin. For * more information, see Adding * Custom Headers to Origin Requests in the Amazon CloudFront Developer * Guide.
*/ inline void SetHeaderName(const Aws::String& value) { m_headerNameHasBeenSet = true; m_headerName = value; } /** *The name of a header that you want CloudFront to send to your origin. For * more information, see Adding * Custom Headers to Origin Requests in the Amazon CloudFront Developer * Guide.
*/ inline void SetHeaderName(Aws::String&& value) { m_headerNameHasBeenSet = true; m_headerName = std::move(value); } /** *The name of a header that you want CloudFront to send to your origin. For * more information, see Adding * Custom Headers to Origin Requests in the Amazon CloudFront Developer * Guide.
*/ inline void SetHeaderName(const char* value) { m_headerNameHasBeenSet = true; m_headerName.assign(value); } /** *The name of a header that you want CloudFront to send to your origin. For * more information, see Adding * Custom Headers to Origin Requests in the Amazon CloudFront Developer * Guide.
*/ inline OriginCustomHeader& WithHeaderName(const Aws::String& value) { SetHeaderName(value); return *this;} /** *The name of a header that you want CloudFront to send to your origin. For * more information, see Adding * Custom Headers to Origin Requests in the Amazon CloudFront Developer * Guide.
*/ inline OriginCustomHeader& WithHeaderName(Aws::String&& value) { SetHeaderName(std::move(value)); return *this;} /** *The name of a header that you want CloudFront to send to your origin. For * more information, see Adding * Custom Headers to Origin Requests in the Amazon CloudFront Developer * Guide.
*/ inline OriginCustomHeader& WithHeaderName(const char* value) { SetHeaderName(value); return *this;} /** *The value for the header that you specified in the HeaderName
* field.
The value for the header that you specified in the HeaderName
* field.
The value for the header that you specified in the HeaderName
* field.
The value for the header that you specified in the HeaderName
* field.
The value for the header that you specified in the HeaderName
* field.
The value for the header that you specified in the HeaderName
* field.
The value for the header that you specified in the HeaderName
* field.
The value for the header that you specified in the HeaderName
* field.