/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object representing the method header to be matched.See
* Also:
AWS
* API Reference
The exact method header to be matched on.
*/ inline const Aws::String& GetExact() const{ return m_exact; } /** *The exact method header to be matched on.
*/ inline bool ExactHasBeenSet() const { return m_exactHasBeenSet; } /** *The exact method header to be matched on.
*/ inline void SetExact(const Aws::String& value) { m_exactHasBeenSet = true; m_exact = value; } /** *The exact method header to be matched on.
*/ inline void SetExact(Aws::String&& value) { m_exactHasBeenSet = true; m_exact = std::move(value); } /** *The exact method header to be matched on.
*/ inline void SetExact(const char* value) { m_exactHasBeenSet = true; m_exact.assign(value); } /** *The exact method header to be matched on.
*/ inline GrpcMetadataMatchMethod& WithExact(const Aws::String& value) { SetExact(value); return *this;} /** *The exact method header to be matched on.
*/ inline GrpcMetadataMatchMethod& WithExact(Aws::String&& value) { SetExact(std::move(value)); return *this;} /** *The exact method header to be matched on.
*/ inline GrpcMetadataMatchMethod& WithExact(const char* value) { SetExact(value); return *this;} /** *The specified beginning characters of the method header to be matched on.
*/ inline const Aws::String& GetPrefix() const{ return m_prefix; } /** *The specified beginning characters of the method header to be matched on.
*/ inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } /** *The specified beginning characters of the method header to be matched on.
*/ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** *The specified beginning characters of the method header to be matched on.
*/ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** *The specified beginning characters of the method header to be matched on.
*/ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } /** *The specified beginning characters of the method header to be matched on.
*/ inline GrpcMetadataMatchMethod& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} /** *The specified beginning characters of the method header to be matched on.
*/ inline GrpcMetadataMatchMethod& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} /** *The specified beginning characters of the method header to be matched on.
*/ inline GrpcMetadataMatchMethod& WithPrefix(const char* value) { SetPrefix(value); return *this;} inline const MatchRange& GetRange() const{ return m_range; } inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; } inline void SetRange(const MatchRange& value) { m_rangeHasBeenSet = true; m_range = value; } inline void SetRange(MatchRange&& value) { m_rangeHasBeenSet = true; m_range = std::move(value); } inline GrpcMetadataMatchMethod& WithRange(const MatchRange& value) { SetRange(value); return *this;} inline GrpcMetadataMatchMethod& WithRange(MatchRange&& value) { SetRange(std::move(value)); return *this;} /** *The regex used to match the method header.
*/ inline const Aws::String& GetRegex() const{ return m_regex; } /** *The regex used to match the method header.
*/ inline bool RegexHasBeenSet() const { return m_regexHasBeenSet; } /** *The regex used to match the method header.
*/ inline void SetRegex(const Aws::String& value) { m_regexHasBeenSet = true; m_regex = value; } /** *The regex used to match the method header.
*/ inline void SetRegex(Aws::String&& value) { m_regexHasBeenSet = true; m_regex = std::move(value); } /** *The regex used to match the method header.
*/ inline void SetRegex(const char* value) { m_regexHasBeenSet = true; m_regex.assign(value); } /** *The regex used to match the method header.
*/ inline GrpcMetadataMatchMethod& WithRegex(const Aws::String& value) { SetRegex(value); return *this;} /** *The regex used to match the method header.
*/ inline GrpcMetadataMatchMethod& WithRegex(Aws::String&& value) { SetRegex(std::move(value)); return *this;} /** *The regex used to match the method header.
*/ inline GrpcMetadataMatchMethod& WithRegex(const char* value) { SetRegex(value); return *this;} /** *The specified ending characters of the method header to match on.
*/ inline const Aws::String& GetSuffix() const{ return m_suffix; } /** *The specified ending characters of the method header to match on.
*/ inline bool SuffixHasBeenSet() const { return m_suffixHasBeenSet; } /** *The specified ending characters of the method header to match on.
*/ inline void SetSuffix(const Aws::String& value) { m_suffixHasBeenSet = true; m_suffix = value; } /** *The specified ending characters of the method header to match on.
*/ inline void SetSuffix(Aws::String&& value) { m_suffixHasBeenSet = true; m_suffix = std::move(value); } /** *The specified ending characters of the method header to match on.
*/ inline void SetSuffix(const char* value) { m_suffixHasBeenSet = true; m_suffix.assign(value); } /** *The specified ending characters of the method header to match on.
*/ inline GrpcMetadataMatchMethod& WithSuffix(const Aws::String& value) { SetSuffix(value); return *this;} /** *The specified ending characters of the method header to match on.
*/ inline GrpcMetadataMatchMethod& WithSuffix(Aws::String&& value) { SetSuffix(std::move(value)); return *this;} /** *The specified ending characters of the method header to match on.
*/ inline GrpcMetadataMatchMethod& WithSuffix(const char* value) { SetSuffix(value); return *this;} private: Aws::String m_exact; bool m_exactHasBeenSet = false; Aws::String m_prefix; bool m_prefixHasBeenSet = false; MatchRange m_range; bool m_rangeHasBeenSet = false; Aws::String m_regex; bool m_regexHasBeenSet = false; Aws::String m_suffix; bool m_suffixHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws