/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a policy used for SSL negotiation.See Also:
* AWS
* API Reference
The protocols.
*/ inline const Aws::VectorThe protocols.
*/ inline bool SslProtocolsHasBeenSet() const { return m_sslProtocolsHasBeenSet; } /** *The protocols.
*/ inline void SetSslProtocols(const Aws::VectorThe protocols.
*/ inline void SetSslProtocols(Aws::VectorThe protocols.
*/ inline SslPolicy& WithSslProtocols(const Aws::VectorThe protocols.
*/ inline SslPolicy& WithSslProtocols(Aws::VectorThe protocols.
*/ inline SslPolicy& AddSslProtocols(const Aws::String& value) { m_sslProtocolsHasBeenSet = true; m_sslProtocols.push_back(value); return *this; } /** *The protocols.
*/ inline SslPolicy& AddSslProtocols(Aws::String&& value) { m_sslProtocolsHasBeenSet = true; m_sslProtocols.push_back(std::move(value)); return *this; } /** *The protocols.
*/ inline SslPolicy& AddSslProtocols(const char* value) { m_sslProtocolsHasBeenSet = true; m_sslProtocols.push_back(value); return *this; } /** *The ciphers.
*/ inline const Aws::VectorThe ciphers.
*/ inline bool CiphersHasBeenSet() const { return m_ciphersHasBeenSet; } /** *The ciphers.
*/ inline void SetCiphers(const Aws::VectorThe ciphers.
*/ inline void SetCiphers(Aws::VectorThe ciphers.
*/ inline SslPolicy& WithCiphers(const Aws::VectorThe ciphers.
*/ inline SslPolicy& WithCiphers(Aws::VectorThe ciphers.
*/ inline SslPolicy& AddCiphers(const Cipher& value) { m_ciphersHasBeenSet = true; m_ciphers.push_back(value); return *this; } /** *The ciphers.
*/ inline SslPolicy& AddCiphers(Cipher&& value) { m_ciphersHasBeenSet = true; m_ciphers.push_back(std::move(value)); return *this; } /** *The name of the policy.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the policy.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the policy.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the policy.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the policy.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the policy.
*/ inline SslPolicy& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the policy.
*/ inline SslPolicy& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the policy.
*/ inline SslPolicy& WithName(const char* value) { SetName(value); return *this;} /** *The supported load balancers.
*/ inline const Aws::VectorThe supported load balancers.
*/ inline bool SupportedLoadBalancerTypesHasBeenSet() const { return m_supportedLoadBalancerTypesHasBeenSet; } /** *The supported load balancers.
*/ inline void SetSupportedLoadBalancerTypes(const Aws::VectorThe supported load balancers.
*/ inline void SetSupportedLoadBalancerTypes(Aws::VectorThe supported load balancers.
*/ inline SslPolicy& WithSupportedLoadBalancerTypes(const Aws::VectorThe supported load balancers.
*/ inline SslPolicy& WithSupportedLoadBalancerTypes(Aws::VectorThe supported load balancers.
*/ inline SslPolicy& AddSupportedLoadBalancerTypes(const Aws::String& value) { m_supportedLoadBalancerTypesHasBeenSet = true; m_supportedLoadBalancerTypes.push_back(value); return *this; } /** *The supported load balancers.
*/ inline SslPolicy& AddSupportedLoadBalancerTypes(Aws::String&& value) { m_supportedLoadBalancerTypesHasBeenSet = true; m_supportedLoadBalancerTypes.push_back(std::move(value)); return *this; } /** *The supported load balancers.
*/ inline SslPolicy& AddSupportedLoadBalancerTypes(const char* value) { m_supportedLoadBalancerTypesHasBeenSet = true; m_supportedLoadBalancerTypes.push_back(value); return *this; } private: Aws::Vector