/** * 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 that represents the subject alternative names secured by the * certificate.

See Also:

AWS * API Reference

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

An object that represents the criteria for determining a SANs match.

*/ inline const SubjectAlternativeNameMatchers& GetMatch() const{ return m_match; } /** *

An object that represents the criteria for determining a SANs match.

*/ inline bool MatchHasBeenSet() const { return m_matchHasBeenSet; } /** *

An object that represents the criteria for determining a SANs match.

*/ inline void SetMatch(const SubjectAlternativeNameMatchers& value) { m_matchHasBeenSet = true; m_match = value; } /** *

An object that represents the criteria for determining a SANs match.

*/ inline void SetMatch(SubjectAlternativeNameMatchers&& value) { m_matchHasBeenSet = true; m_match = std::move(value); } /** *

An object that represents the criteria for determining a SANs match.

*/ inline SubjectAlternativeNames& WithMatch(const SubjectAlternativeNameMatchers& value) { SetMatch(value); return *this;} /** *

An object that represents the criteria for determining a SANs match.

*/ inline SubjectAlternativeNames& WithMatch(SubjectAlternativeNameMatchers&& value) { SetMatch(std::move(value)); return *this;} private: SubjectAlternativeNameMatchers m_match; bool m_matchHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws