133 lines
4.1 KiB
C
133 lines
4.1 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/appmesh/AppMesh_EXPORTS.h>
|
|||
|
|
#include <aws/appmesh/model/TlsValidationContextAcmTrust.h>
|
|||
|
|
#include <aws/appmesh/model/TlsValidationContextFileTrust.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace AppMesh
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An object that represents a Transport Layer Security (TLS) validation context
|
|||
|
|
* trust.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TlsValidationContextTrust">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_APPMESH_API TlsValidationContextTrust
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
TlsValidationContextTrust();
|
|||
|
|
TlsValidationContextTrust(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
TlsValidationContextTrust& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A reference to an object that represents a TLS validation context trust for
|
|||
|
|
* an AWS Certicate Manager (ACM)
|
|||
|
|
certificate.</p>
|
|||
|
|
*/
|
|||
|
|
inline const TlsValidationContextAcmTrust& GetAcm() const{ return m_acm; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A reference to an object that represents a TLS validation context trust for
|
|||
|
|
* an AWS Certicate Manager (ACM)
|
|||
|
|
certificate.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool AcmHasBeenSet() const { return m_acmHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A reference to an object that represents a TLS validation context trust for
|
|||
|
|
* an AWS Certicate Manager (ACM)
|
|||
|
|
certificate.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetAcm(const TlsValidationContextAcmTrust& value) { m_acmHasBeenSet = true; m_acm = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A reference to an object that represents a TLS validation context trust for
|
|||
|
|
* an AWS Certicate Manager (ACM)
|
|||
|
|
certificate.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetAcm(TlsValidationContextAcmTrust&& value) { m_acmHasBeenSet = true; m_acm = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A reference to an object that represents a TLS validation context trust for
|
|||
|
|
* an AWS Certicate Manager (ACM)
|
|||
|
|
certificate.</p>
|
|||
|
|
*/
|
|||
|
|
inline TlsValidationContextTrust& WithAcm(const TlsValidationContextAcmTrust& value) { SetAcm(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A reference to an object that represents a TLS validation context trust for
|
|||
|
|
* an AWS Certicate Manager (ACM)
|
|||
|
|
certificate.</p>
|
|||
|
|
*/
|
|||
|
|
inline TlsValidationContextTrust& WithAcm(TlsValidationContextAcmTrust&& value) { SetAcm(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An object that represents a TLS validation context trust for a local
|
|||
|
|
* file.</p>
|
|||
|
|
*/
|
|||
|
|
inline const TlsValidationContextFileTrust& GetFile() const{ return m_file; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An object that represents a TLS validation context trust for a local
|
|||
|
|
* file.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An object that represents a TLS validation context trust for a local
|
|||
|
|
* file.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetFile(const TlsValidationContextFileTrust& value) { m_fileHasBeenSet = true; m_file = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An object that represents a TLS validation context trust for a local
|
|||
|
|
* file.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetFile(TlsValidationContextFileTrust&& value) { m_fileHasBeenSet = true; m_file = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An object that represents a TLS validation context trust for a local
|
|||
|
|
* file.</p>
|
|||
|
|
*/
|
|||
|
|
inline TlsValidationContextTrust& WithFile(const TlsValidationContextFileTrust& value) { SetFile(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An object that represents a TLS validation context trust for a local
|
|||
|
|
* file.</p>
|
|||
|
|
*/
|
|||
|
|
inline TlsValidationContextTrust& WithFile(TlsValidationContextFileTrust&& value) { SetFile(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
TlsValidationContextAcmTrust m_acm;
|
|||
|
|
bool m_acmHasBeenSet;
|
|||
|
|
|
|||
|
|
TlsValidationContextFileTrust m_file;
|
|||
|
|
bool m_fileHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace AppMesh
|
|||
|
|
} // namespace Aws
|