7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lightsail/Lightsail_EXPORTS.h>
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
66 m_isDefaultHasBeenSet =
true;
81 template <
typename DescriptionT = Aws::String>
83 m_descriptionHasBeenSet =
true;
84 m_description = std::forward<DescriptionT>(value);
86 template <
typename DescriptionT = Aws::String>
99 template <
typename ProtocolsT = Aws::Vector<Aws::String>>
101 m_protocolsHasBeenSet =
true;
102 m_protocols = std::forward<ProtocolsT>(value);
104 template <
typename ProtocolsT = Aws::Vector<Aws::String>>
109 template <
typename ProtocolsT = Aws::String>
111 m_protocolsHasBeenSet =
true;
112 m_protocols.emplace_back(std::forward<ProtocolsT>(value));
124 template <
typename CiphersT = Aws::Vector<Aws::String>>
126 m_ciphersHasBeenSet =
true;
127 m_ciphers = std::forward<CiphersT>(value);
129 template <
typename CiphersT = Aws::Vector<Aws::String>>
134 template <
typename CiphersT = Aws::String>
136 m_ciphersHasBeenSet =
true;
137 m_ciphers.emplace_back(std::forward<CiphersT>(value));
144 bool m_isDefault{
false};
151 bool m_nameHasBeenSet =
false;
152 bool m_isDefaultHasBeenSet =
false;
153 bool m_descriptionHasBeenSet =
false;
154 bool m_protocolsHasBeenSet =
false;
155 bool m_ciphersHasBeenSet =
false;
AWS_LIGHTSAIL_API LoadBalancerTlsPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
bool DescriptionHasBeenSet() const
LoadBalancerTlsPolicy & WithCiphers(CiphersT &&value)
bool GetIsDefault() const
void SetIsDefault(bool value)
AWS_LIGHTSAIL_API LoadBalancerTlsPolicy()=default
const Aws::String & GetName() const
void SetCiphers(CiphersT &&value)
const Aws::Vector< Aws::String > & GetProtocols() const
bool CiphersHasBeenSet() const
bool IsDefaultHasBeenSet() const
void SetName(NameT &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetCiphers() const
LoadBalancerTlsPolicy & AddProtocols(ProtocolsT &&value)
bool ProtocolsHasBeenSet() const
void SetProtocols(ProtocolsT &&value)
LoadBalancerTlsPolicy & WithDescription(DescriptionT &&value)
LoadBalancerTlsPolicy & AddCiphers(CiphersT &&value)
LoadBalancerTlsPolicy & WithProtocols(ProtocolsT &&value)
void SetDescription(DescriptionT &&value)
LoadBalancerTlsPolicy & WithName(NameT &&value)
AWS_LIGHTSAIL_API LoadBalancerTlsPolicy(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
LoadBalancerTlsPolicy & WithIsDefault(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue