/** * 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 a virtual gateway's listener's Transport Layer * Security (TLS) Secret Discovery Service validation context trust. The proxy must * be configured with a local SDS provider via a Unix Domain Socket. See App Mesh * TLS * documentation for more info.

See Also:

AWS * API Reference

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

A reference to an object that represents the name of the secret for a virtual * gateway's Transport Layer Security (TLS) Secret Discovery Service validation * context trust.

*/ inline const Aws::String& GetSecretName() const{ return m_secretName; } /** *

A reference to an object that represents the name of the secret for a virtual * gateway's Transport Layer Security (TLS) Secret Discovery Service validation * context trust.

*/ inline bool SecretNameHasBeenSet() const { return m_secretNameHasBeenSet; } /** *

A reference to an object that represents the name of the secret for a virtual * gateway's Transport Layer Security (TLS) Secret Discovery Service validation * context trust.

*/ inline void SetSecretName(const Aws::String& value) { m_secretNameHasBeenSet = true; m_secretName = value; } /** *

A reference to an object that represents the name of the secret for a virtual * gateway's Transport Layer Security (TLS) Secret Discovery Service validation * context trust.

*/ inline void SetSecretName(Aws::String&& value) { m_secretNameHasBeenSet = true; m_secretName = std::move(value); } /** *

A reference to an object that represents the name of the secret for a virtual * gateway's Transport Layer Security (TLS) Secret Discovery Service validation * context trust.

*/ inline void SetSecretName(const char* value) { m_secretNameHasBeenSet = true; m_secretName.assign(value); } /** *

A reference to an object that represents the name of the secret for a virtual * gateway's Transport Layer Security (TLS) Secret Discovery Service validation * context trust.

*/ inline VirtualGatewayTlsValidationContextSdsTrust& WithSecretName(const Aws::String& value) { SetSecretName(value); return *this;} /** *

A reference to an object that represents the name of the secret for a virtual * gateway's Transport Layer Security (TLS) Secret Discovery Service validation * context trust.

*/ inline VirtualGatewayTlsValidationContextSdsTrust& WithSecretName(Aws::String&& value) { SetSecretName(std::move(value)); return *this;} /** *

A reference to an object that represents the name of the secret for a virtual * gateway's Transport Layer Security (TLS) Secret Discovery Service validation * context trust.

*/ inline VirtualGatewayTlsValidationContextSdsTrust& WithSecretName(const char* value) { SetSecretName(value); return *this;} private: Aws::String m_secretName; bool m_secretNameHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws