/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an HTTP header condition. There is a set of standard
* HTTP header fields. You can also define custom HTTP header fields.See
* Also:
AWS
* API Reference
The name of the HTTP header field. The maximum size is 40 characters. The * header name is case insensitive. The allowed characters are specified by RFC * 7230. Wildcards are not supported.
You can't use an HTTP header condition * to specify the host header. Use HostHeaderConditionConfig to specify a * host header condition.
*/ inline const Aws::String& GetHttpHeaderName() const{ return m_httpHeaderName; } /** *The name of the HTTP header field. The maximum size is 40 characters. The * header name is case insensitive. The allowed characters are specified by RFC * 7230. Wildcards are not supported.
You can't use an HTTP header condition * to specify the host header. Use HostHeaderConditionConfig to specify a * host header condition.
*/ inline bool HttpHeaderNameHasBeenSet() const { return m_httpHeaderNameHasBeenSet; } /** *The name of the HTTP header field. The maximum size is 40 characters. The * header name is case insensitive. The allowed characters are specified by RFC * 7230. Wildcards are not supported.
You can't use an HTTP header condition * to specify the host header. Use HostHeaderConditionConfig to specify a * host header condition.
*/ inline void SetHttpHeaderName(const Aws::String& value) { m_httpHeaderNameHasBeenSet = true; m_httpHeaderName = value; } /** *The name of the HTTP header field. The maximum size is 40 characters. The * header name is case insensitive. The allowed characters are specified by RFC * 7230. Wildcards are not supported.
You can't use an HTTP header condition * to specify the host header. Use HostHeaderConditionConfig to specify a * host header condition.
*/ inline void SetHttpHeaderName(Aws::String&& value) { m_httpHeaderNameHasBeenSet = true; m_httpHeaderName = std::move(value); } /** *The name of the HTTP header field. The maximum size is 40 characters. The * header name is case insensitive. The allowed characters are specified by RFC * 7230. Wildcards are not supported.
You can't use an HTTP header condition * to specify the host header. Use HostHeaderConditionConfig to specify a * host header condition.
*/ inline void SetHttpHeaderName(const char* value) { m_httpHeaderNameHasBeenSet = true; m_httpHeaderName.assign(value); } /** *The name of the HTTP header field. The maximum size is 40 characters. The * header name is case insensitive. The allowed characters are specified by RFC * 7230. Wildcards are not supported.
You can't use an HTTP header condition * to specify the host header. Use HostHeaderConditionConfig to specify a * host header condition.
*/ inline HttpHeaderConditionConfig& WithHttpHeaderName(const Aws::String& value) { SetHttpHeaderName(value); return *this;} /** *The name of the HTTP header field. The maximum size is 40 characters. The * header name is case insensitive. The allowed characters are specified by RFC * 7230. Wildcards are not supported.
You can't use an HTTP header condition * to specify the host header. Use HostHeaderConditionConfig to specify a * host header condition.
*/ inline HttpHeaderConditionConfig& WithHttpHeaderName(Aws::String&& value) { SetHttpHeaderName(std::move(value)); return *this;} /** *The name of the HTTP header field. The maximum size is 40 characters. The * header name is case insensitive. The allowed characters are specified by RFC * 7230. Wildcards are not supported.
You can't use an HTTP header condition * to specify the host header. Use HostHeaderConditionConfig to specify a * host header condition.
*/ inline HttpHeaderConditionConfig& WithHttpHeaderName(const char* value) { SetHttpHeaderName(value); return *this;} /** *The strings to compare against the value of the HTTP header. The maximum size * of each string is 128 characters. The comparison strings are case insensitive. * The following wildcard characters are supported: * (matches 0 or more * characters) and ? (matches exactly 1 character).
If the same header * appears multiple times in the request, we search them in order until a match is * found.
If you specify multiple strings, the condition is satisfied if one * of the strings matches the value of the HTTP header. To require that all of the * strings are a match, create one condition per string.
*/ inline const Aws::VectorThe strings to compare against the value of the HTTP header. The maximum size * of each string is 128 characters. The comparison strings are case insensitive. * The following wildcard characters are supported: * (matches 0 or more * characters) and ? (matches exactly 1 character).
If the same header * appears multiple times in the request, we search them in order until a match is * found.
If you specify multiple strings, the condition is satisfied if one * of the strings matches the value of the HTTP header. To require that all of the * strings are a match, create one condition per string.
*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *The strings to compare against the value of the HTTP header. The maximum size * of each string is 128 characters. The comparison strings are case insensitive. * The following wildcard characters are supported: * (matches 0 or more * characters) and ? (matches exactly 1 character).
If the same header * appears multiple times in the request, we search them in order until a match is * found.
If you specify multiple strings, the condition is satisfied if one * of the strings matches the value of the HTTP header. To require that all of the * strings are a match, create one condition per string.
*/ inline void SetValues(const Aws::VectorThe strings to compare against the value of the HTTP header. The maximum size * of each string is 128 characters. The comparison strings are case insensitive. * The following wildcard characters are supported: * (matches 0 or more * characters) and ? (matches exactly 1 character).
If the same header * appears multiple times in the request, we search them in order until a match is * found.
If you specify multiple strings, the condition is satisfied if one * of the strings matches the value of the HTTP header. To require that all of the * strings are a match, create one condition per string.
*/ inline void SetValues(Aws::VectorThe strings to compare against the value of the HTTP header. The maximum size * of each string is 128 characters. The comparison strings are case insensitive. * The following wildcard characters are supported: * (matches 0 or more * characters) and ? (matches exactly 1 character).
If the same header * appears multiple times in the request, we search them in order until a match is * found.
If you specify multiple strings, the condition is satisfied if one * of the strings matches the value of the HTTP header. To require that all of the * strings are a match, create one condition per string.
*/ inline HttpHeaderConditionConfig& WithValues(const Aws::VectorThe strings to compare against the value of the HTTP header. The maximum size * of each string is 128 characters. The comparison strings are case insensitive. * The following wildcard characters are supported: * (matches 0 or more * characters) and ? (matches exactly 1 character).
If the same header * appears multiple times in the request, we search them in order until a match is * found.
If you specify multiple strings, the condition is satisfied if one * of the strings matches the value of the HTTP header. To require that all of the * strings are a match, create one condition per string.
*/ inline HttpHeaderConditionConfig& WithValues(Aws::VectorThe strings to compare against the value of the HTTP header. The maximum size * of each string is 128 characters. The comparison strings are case insensitive. * The following wildcard characters are supported: * (matches 0 or more * characters) and ? (matches exactly 1 character).
If the same header * appears multiple times in the request, we search them in order until a match is * found.
If you specify multiple strings, the condition is satisfied if one * of the strings matches the value of the HTTP header. To require that all of the * strings are a match, create one condition per string.
*/ inline HttpHeaderConditionConfig& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *The strings to compare against the value of the HTTP header. The maximum size * of each string is 128 characters. The comparison strings are case insensitive. * The following wildcard characters are supported: * (matches 0 or more * characters) and ? (matches exactly 1 character).
If the same header * appears multiple times in the request, we search them in order until a match is * found.
If you specify multiple strings, the condition is satisfied if one * of the strings matches the value of the HTTP header. To require that all of the * strings are a match, create one condition per string.
*/ inline HttpHeaderConditionConfig& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } /** *The strings to compare against the value of the HTTP header. The maximum size * of each string is 128 characters. The comparison strings are case insensitive. * The following wildcard characters are supported: * (matches 0 or more * characters) and ? (matches exactly 1 character).
If the same header * appears multiple times in the request, we search them in order until a match is * found.
If you specify multiple strings, the condition is satisfied if one * of the strings matches the value of the HTTP header. To require that all of the * strings are a match, create one condition per string.
*/ inline HttpHeaderConditionConfig& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } private: Aws::String m_httpHeaderName; bool m_httpHeaderNameHasBeenSet = false; Aws::Vector