/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents the match metadata for the 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 data to match from the request.
*/ inline const GrpcRouteMetadataMatchMethod& GetMatch() const{ return m_match; } /** *An object that represents the data to match from the request.
*/ inline bool MatchHasBeenSet() const { return m_matchHasBeenSet; } /** *An object that represents the data to match from the request.
*/ inline void SetMatch(const GrpcRouteMetadataMatchMethod& value) { m_matchHasBeenSet = true; m_match = value; } /** *An object that represents the data to match from the request.
*/ inline void SetMatch(GrpcRouteMetadataMatchMethod&& value) { m_matchHasBeenSet = true; m_match = std::move(value); } /** *An object that represents the data to match from the request.
*/ inline GrpcRouteMetadata& WithMatch(const GrpcRouteMetadataMatchMethod& value) { SetMatch(value); return *this;} /** *An object that represents the data to match from the request.
*/ inline GrpcRouteMetadata& WithMatch(GrpcRouteMetadataMatchMethod&& value) { SetMatch(std::move(value)); return *this;} /** *The name of the route.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the route.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the route.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the route.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the route.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the route.
*/ inline GrpcRouteMetadata& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the route.
*/ inline GrpcRouteMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the route.
*/ inline GrpcRouteMetadata& WithName(const char* value) { SetName(value); return *this;} private: bool m_invert; bool m_invertHasBeenSet = false; GrpcRouteMetadataMatchMethod m_match; bool m_matchHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws