7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/elasticloadbalancingv2/model/Cipher.h>
23namespace ElasticLoadBalancingv2
37 AWS_ELASTICLOADBALANCINGV2_API
SslPolicy() =
default;
41 AWS_ELASTICLOADBALANCINGV2_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
51 template<
typename SslProtocolsT = Aws::Vector<Aws::String>>
52 void SetSslProtocols(SslProtocolsT&& value) { m_sslProtocolsHasBeenSet =
true; m_sslProtocols = std::forward<SslProtocolsT>(value); }
53 template<
typename SslProtocolsT = Aws::Vector<Aws::String>>
55 template<
typename SslProtocolsT = Aws::String>
56 SslPolicy&
AddSslProtocols(SslProtocolsT&& value) { m_sslProtocolsHasBeenSet =
true; m_sslProtocols.emplace_back(std::forward<SslProtocolsT>(value));
return *
this; }
65 template<
typename CiphersT = Aws::Vector<Cipher>>
66 void SetCiphers(CiphersT&& value) { m_ciphersHasBeenSet =
true; m_ciphers = std::forward<CiphersT>(value); }
67 template<
typename CiphersT = Aws::Vector<Cipher>>
69 template<
typename CiphersT = Cipher>
70 SslPolicy&
AddCiphers(CiphersT&& value) { m_ciphersHasBeenSet =
true; m_ciphers.emplace_back(std::forward<CiphersT>(value));
return *
this; }
79 template<
typename NameT = Aws::String>
80 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
81 template<
typename NameT = Aws::String>
91 template<
typename SupportedLoadBalancerTypesT = Aws::Vector<Aws::String>>
92 void SetSupportedLoadBalancerTypes(SupportedLoadBalancerTypesT&& value) { m_supportedLoadBalancerTypesHasBeenSet =
true; m_supportedLoadBalancerTypes = std::forward<SupportedLoadBalancerTypesT>(value); }
93 template<
typename SupportedLoadBalancerTypesT = Aws::Vector<Aws::String>>
95 template<
typename SupportedLoadBalancerTypesT = Aws::String>
96 SslPolicy&
AddSupportedLoadBalancerTypes(SupportedLoadBalancerTypesT&& value) { m_supportedLoadBalancerTypesHasBeenSet =
true; m_supportedLoadBalancerTypes.emplace_back(std::forward<SupportedLoadBalancerTypesT>(value));
return *
this; }
101 bool m_sslProtocolsHasBeenSet =
false;
104 bool m_ciphersHasBeenSet =
false;
107 bool m_nameHasBeenSet =
false;
110 bool m_supportedLoadBalancerTypesHasBeenSet =
false;
SslPolicy & WithSupportedLoadBalancerTypes(SupportedLoadBalancerTypesT &&value)
void SetSslProtocols(SslProtocolsT &&value)
const Aws::Vector< Cipher > & GetCiphers() const
void SetName(NameT &&value)
bool NameHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API SslPolicy & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SslPolicy & WithSslProtocols(SslProtocolsT &&value)
const Aws::Vector< Aws::String > & GetSslProtocols() const
SslPolicy & AddCiphers(CiphersT &&value)
bool SslProtocolsHasBeenSet() const
SslPolicy & WithName(NameT &&value)
const Aws::Vector< Aws::String > & GetSupportedLoadBalancerTypes() const
SslPolicy & AddSslProtocols(SslProtocolsT &&value)
AWS_ELASTICLOADBALANCINGV2_API SslPolicy(const Aws::Utils::Xml::XmlNode &xmlNode)
SslPolicy & WithCiphers(CiphersT &&value)
bool SupportedLoadBalancerTypesHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SslPolicy & AddSupportedLoadBalancerTypes(SupportedLoadBalancerTypesT &&value)
bool CiphersHasBeenSet() const
void SetSupportedLoadBalancerTypes(SupportedLoadBalancerTypesT &&value)
void SetCiphers(CiphersT &&value)
const Aws::String & GetName() const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICLOADBALANCINGV2_API SslPolicy()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream