7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
11#include <aws/elasticloadbalancingv2/model/Cipher.h>
21namespace ElasticLoadBalancingv2 {
32 AWS_ELASTICLOADBALANCINGV2_API
SslPolicy() =
default;
37 const char* locationValue)
const;
46 template <
typename SslProtocolsT = Aws::Vector<Aws::String>>
48 m_sslProtocolsHasBeenSet =
true;
49 m_sslProtocols = std::forward<SslProtocolsT>(value);
51 template <
typename SslProtocolsT = Aws::Vector<Aws::String>>
56 template <
typename SslProtocolsT = Aws::String>
58 m_sslProtocolsHasBeenSet =
true;
59 m_sslProtocols.emplace_back(std::forward<SslProtocolsT>(value));
70 template <
typename CiphersT = Aws::Vector<Cipher>>
72 m_ciphersHasBeenSet =
true;
73 m_ciphers = std::forward<CiphersT>(value);
75 template <
typename CiphersT = Aws::Vector<Cipher>>
80 template <
typename CiphersT = Cipher>
82 m_ciphersHasBeenSet =
true;
83 m_ciphers.emplace_back(std::forward<CiphersT>(value));
94 template <
typename NameT = Aws::String>
96 m_nameHasBeenSet =
true;
97 m_name = std::forward<NameT>(value);
99 template <
typename NameT = Aws::String>
101 SetName(std::forward<NameT>(value));
112 template <
typename SupportedLoadBalancerTypesT = Aws::Vector<Aws::String>>
114 m_supportedLoadBalancerTypesHasBeenSet =
true;
115 m_supportedLoadBalancerTypes = std::forward<SupportedLoadBalancerTypesT>(value);
117 template <
typename SupportedLoadBalancerTypesT = Aws::Vector<Aws::String>>
122 template <
typename SupportedLoadBalancerTypesT = Aws::String>
124 m_supportedLoadBalancerTypesHasBeenSet =
true;
125 m_supportedLoadBalancerTypes.emplace_back(std::forward<SupportedLoadBalancerTypesT>(value));
137 bool m_sslProtocolsHasBeenSet =
false;
138 bool m_ciphersHasBeenSet =
false;
139 bool m_nameHasBeenSet =
false;
140 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