/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents the HTTP header in the gateway route.See
* Also:
AWS
* API Reference
Specify True
to match anything except the match criteria. The
* default value is False
.
Specify True
to match anything except the match criteria. The
* default value is False
.
Specify True
to match anything except the match criteria. The
* default value is False
.
Specify True
to match anything except the match criteria. The
* default value is False
.
An object that represents the method and value to match with the header value * sent in a request. Specify one match method.
*/ inline const HeaderMatchMethod& GetMatch() const{ return m_match; } /** *An object that represents the method and value to match with the header value * sent in a request. Specify one match method.
*/ inline bool MatchHasBeenSet() const { return m_matchHasBeenSet; } /** *An object that represents the method and value to match with the header value * sent in a request. Specify one match method.
*/ inline void SetMatch(const HeaderMatchMethod& value) { m_matchHasBeenSet = true; m_match = value; } /** *An object that represents the method and value to match with the header value * sent in a request. Specify one match method.
*/ inline void SetMatch(HeaderMatchMethod&& value) { m_matchHasBeenSet = true; m_match = std::move(value); } /** *An object that represents the method and value to match with the header value * sent in a request. Specify one match method.
*/ inline HttpGatewayRouteHeader& WithMatch(const HeaderMatchMethod& value) { SetMatch(value); return *this;} /** *An object that represents the method and value to match with the header value * sent in a request. Specify one match method.
*/ inline HttpGatewayRouteHeader& WithMatch(HeaderMatchMethod&& value) { SetMatch(std::move(value)); return *this;} /** *A name for the HTTP header in the gateway route that will be matched on.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *A name for the HTTP header in the gateway route that will be matched on.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *A name for the HTTP header in the gateway route that will be matched on.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *A name for the HTTP header in the gateway route that will be matched on.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *A name for the HTTP header in the gateway route that will be matched on.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *A name for the HTTP header in the gateway route that will be matched on.
*/ inline HttpGatewayRouteHeader& WithName(const Aws::String& value) { SetName(value); return *this;} /** *A name for the HTTP header in the gateway route that will be matched on.
*/ inline HttpGatewayRouteHeader& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *A name for the HTTP header in the gateway route that will be matched on.
*/ inline HttpGatewayRouteHeader& WithName(const char* value) { SetName(value); return *this;} private: bool m_invert; bool m_invertHasBeenSet = false; HeaderMatchMethod m_match; bool m_matchHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws