7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/ClientTlsCertificate.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/appmesh/model/TlsValidationContext.h>
62 inline void SetEnforce(
bool value) { m_enforceHasBeenSet =
true; m_enforce = value; }
93 bool m_certificateHasBeenSet =
false;
96 bool m_enforceHasBeenSet =
false;
99 bool m_portsHasBeenSet =
false;
102 bool m_validationHasBeenSet =
false;
ClientPolicyTls & WithCertificate(ClientTlsCertificate &&value)
AWS_APPMESH_API ClientPolicyTls()
const ClientTlsCertificate & GetCertificate() const
ClientPolicyTls & WithEnforce(bool value)
ClientPolicyTls & WithValidation(TlsValidationContext &&value)
AWS_APPMESH_API ClientPolicyTls(Aws::Utils::Json::JsonView jsonValue)
void SetEnforce(bool value)
bool EnforceHasBeenSet() const
const TlsValidationContext & GetValidation() const
void SetCertificate(ClientTlsCertificate &&value)
bool PortsHasBeenSet() const
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMESH_API ClientPolicyTls & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPorts(const Aws::Vector< int > &value)
ClientPolicyTls & WithPorts(Aws::Vector< int > &&value)
bool CertificateHasBeenSet() const
const Aws::Vector< int > & GetPorts() const
void SetValidation(TlsValidationContext &&value)
ClientPolicyTls & WithValidation(const TlsValidationContext &value)
ClientPolicyTls & WithCertificate(const ClientTlsCertificate &value)
void SetValidation(const TlsValidationContext &value)
ClientPolicyTls & AddPorts(int value)
void SetPorts(Aws::Vector< int > &&value)
bool ValidationHasBeenSet() const
void SetCertificate(const ClientTlsCertificate &value)
ClientPolicyTls & WithPorts(const Aws::Vector< int > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue