/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents a Transport Layer Security (TLS) client
* policy.See Also:
AWS
* API Reference
Whether the policy is enforced. The default is True, if a value
* isn't
specified.
Whether the policy is enforced. The default is True, if a value
* isn't
specified.
Whether the policy is enforced. The default is True, if a value
* isn't
specified.
Whether the policy is enforced. The default is True, if a value
* isn't
specified.
One or more ports that the policy is enforced for.
*/ inline const Aws::VectorOne or more ports that the policy is enforced for.
*/ inline bool PortsHasBeenSet() const { return m_portsHasBeenSet; } /** *One or more ports that the policy is enforced for.
*/ inline void SetPorts(const Aws::VectorOne or more ports that the policy is enforced for.
*/ inline void SetPorts(Aws::VectorOne or more ports that the policy is enforced for.
*/ inline ClientPolicyTls& WithPorts(const Aws::VectorOne or more ports that the policy is enforced for.
*/ inline ClientPolicyTls& WithPorts(Aws::VectorOne or more ports that the policy is enforced for.
*/ inline ClientPolicyTls& AddPorts(int value) { m_portsHasBeenSet = true; m_ports.push_back(value); return *this; } /** *A reference to an object that represents a TLS validation context.
*/ inline const TlsValidationContext& GetValidation() const{ return m_validation; } /** *A reference to an object that represents a TLS validation context.
*/ inline bool ValidationHasBeenSet() const { return m_validationHasBeenSet; } /** *A reference to an object that represents a TLS validation context.
*/ inline void SetValidation(const TlsValidationContext& value) { m_validationHasBeenSet = true; m_validation = value; } /** *A reference to an object that represents a TLS validation context.
*/ inline void SetValidation(TlsValidationContext&& value) { m_validationHasBeenSet = true; m_validation = std::move(value); } /** *A reference to an object that represents a TLS validation context.
*/ inline ClientPolicyTls& WithValidation(const TlsValidationContext& value) { SetValidation(value); return *this;} /** *A reference to an object that represents a TLS validation context.
*/ inline ClientPolicyTls& WithValidation(TlsValidationContext&& value) { SetValidation(std::move(value)); return *this;} private: bool m_enforce; bool m_enforceHasBeenSet; Aws::Vector