/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include 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
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