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

An object that represents the methods by which a subject alternative name on * a peer Transport Layer Security (TLS) certificate can be matched.

See * Also:

AWS * API Reference

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

The values sent must match the specified values exactly.

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

The values sent must match the specified values exactly.

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

The values sent must match the specified values exactly.

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

The values sent must match the specified values exactly.

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

The values sent must match the specified values exactly.

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

The values sent must match the specified values exactly.

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

The values sent must match the specified values exactly.

*/ inline SubjectAlternativeNameMatchers& AddExact(const Aws::String& value) { m_exactHasBeenSet = true; m_exact.push_back(value); return *this; } /** *

The values sent must match the specified values exactly.

*/ inline SubjectAlternativeNameMatchers& AddExact(Aws::String&& value) { m_exactHasBeenSet = true; m_exact.push_back(std::move(value)); return *this; } /** *

The values sent must match the specified values exactly.

*/ inline SubjectAlternativeNameMatchers& AddExact(const char* value) { m_exactHasBeenSet = true; m_exact.push_back(value); return *this; } private: Aws::Vector m_exact; bool m_exactHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws