/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AppMesh { namespace Model { /** *

An object representing the query parameter to match.

See Also:

* AWS * API Reference

*/ class QueryParameterMatch { public: AWS_APPMESH_API QueryParameterMatch(); AWS_APPMESH_API QueryParameterMatch(Aws::Utils::Json::JsonView jsonValue); AWS_APPMESH_API QueryParameterMatch& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The exact query parameter to match on.

*/ inline const Aws::String& GetExact() const{ return m_exact; } /** *

The exact query parameter to match on.

*/ inline bool ExactHasBeenSet() const { return m_exactHasBeenSet; } /** *

The exact query parameter to match on.

*/ inline void SetExact(const Aws::String& value) { m_exactHasBeenSet = true; m_exact = value; } /** *

The exact query parameter to match on.

*/ inline void SetExact(Aws::String&& value) { m_exactHasBeenSet = true; m_exact = std::move(value); } /** *

The exact query parameter to match on.

*/ inline void SetExact(const char* value) { m_exactHasBeenSet = true; m_exact.assign(value); } /** *

The exact query parameter to match on.

*/ inline QueryParameterMatch& WithExact(const Aws::String& value) { SetExact(value); return *this;} /** *

The exact query parameter to match on.

*/ inline QueryParameterMatch& WithExact(Aws::String&& value) { SetExact(std::move(value)); return *this;} /** *

The exact query parameter to match on.

*/ inline QueryParameterMatch& WithExact(const char* value) { SetExact(value); return *this;} private: Aws::String m_exact; bool m_exactHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws