/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object representing the gateway route host name to match.See
* Also:
AWS
* API Reference
The exact host name to match on.
*/ inline const Aws::String& GetExact() const{ return m_exact; } /** *The exact host name to match on.
*/ inline bool ExactHasBeenSet() const { return m_exactHasBeenSet; } /** *The exact host name to match on.
*/ inline void SetExact(const Aws::String& value) { m_exactHasBeenSet = true; m_exact = value; } /** *The exact host name to match on.
*/ inline void SetExact(Aws::String&& value) { m_exactHasBeenSet = true; m_exact = std::move(value); } /** *The exact host name to match on.
*/ inline void SetExact(const char* value) { m_exactHasBeenSet = true; m_exact.assign(value); } /** *The exact host name to match on.
*/ inline GatewayRouteHostnameMatch& WithExact(const Aws::String& value) { SetExact(value); return *this;} /** *The exact host name to match on.
*/ inline GatewayRouteHostnameMatch& WithExact(Aws::String&& value) { SetExact(std::move(value)); return *this;} /** *The exact host name to match on.
*/ inline GatewayRouteHostnameMatch& WithExact(const char* value) { SetExact(value); return *this;} /** *The specified ending characters of the host name to match on.
*/ inline const Aws::String& GetSuffix() const{ return m_suffix; } /** *The specified ending characters of the host name to match on.
*/ inline bool SuffixHasBeenSet() const { return m_suffixHasBeenSet; } /** *The specified ending characters of the host name to match on.
*/ inline void SetSuffix(const Aws::String& value) { m_suffixHasBeenSet = true; m_suffix = value; } /** *The specified ending characters of the host name to match on.
*/ inline void SetSuffix(Aws::String&& value) { m_suffixHasBeenSet = true; m_suffix = std::move(value); } /** *The specified ending characters of the host name to match on.
*/ inline void SetSuffix(const char* value) { m_suffixHasBeenSet = true; m_suffix.assign(value); } /** *The specified ending characters of the host name to match on.
*/ inline GatewayRouteHostnameMatch& WithSuffix(const Aws::String& value) { SetSuffix(value); return *this;} /** *The specified ending characters of the host name to match on.
*/ inline GatewayRouteHostnameMatch& WithSuffix(Aws::String&& value) { SetSuffix(std::move(value)); return *this;} /** *The specified ending characters of the host name to match on.
*/ inline GatewayRouteHostnameMatch& WithSuffix(const char* value) { SetSuffix(value); return *this;} private: Aws::String m_exact; bool m_exactHasBeenSet = false; Aws::String m_suffix; bool m_suffixHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws