/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This configuration determines which HTTP requests are sent to the staging
* distribution. If the HTTP request contains a header and value that matches what
* you specify here, the request is sent to the staging distribution. Otherwise the
* request is sent to the primary distribution.See Also:
AWS
* API Reference
The request header name that you want CloudFront to send to your staging
* distribution. The header must contain the prefix aws-cf-cd-
.
The request header name that you want CloudFront to send to your staging
* distribution. The header must contain the prefix aws-cf-cd-
.
The request header name that you want CloudFront to send to your staging
* distribution. The header must contain the prefix aws-cf-cd-
.
The request header name that you want CloudFront to send to your staging
* distribution. The header must contain the prefix aws-cf-cd-
.
The request header name that you want CloudFront to send to your staging
* distribution. The header must contain the prefix aws-cf-cd-
.
The request header name that you want CloudFront to send to your staging
* distribution. The header must contain the prefix aws-cf-cd-
.
The request header name that you want CloudFront to send to your staging
* distribution. The header must contain the prefix aws-cf-cd-
.
The request header name that you want CloudFront to send to your staging
* distribution. The header must contain the prefix aws-cf-cd-
.
The request header value.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *The request header value.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The request header value.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *The request header value.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The request header value.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *The request header value.
*/ inline ContinuousDeploymentSingleHeaderConfig& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *The request header value.
*/ inline ContinuousDeploymentSingleHeaderConfig& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *The request header value.
*/ inline ContinuousDeploymentSingleHeaderConfig& WithValue(const char* value) { SetValue(value); return *this;} private: Aws::String m_header; bool m_headerHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace CloudFront } // namespace Aws