7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/model/SecurityPolicyProtocol.h>
9#include <aws/awstransfer/model/SecurityPolicyResourceType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
48 inline bool GetFips()
const {
return m_fips; }
51 m_fipsHasBeenSet =
true;
66 template <
typename SecurityPolicyNameT = Aws::String>
68 m_securityPolicyNameHasBeenSet =
true;
69 m_securityPolicyName = std::forward<SecurityPolicyNameT>(value);
71 template <
typename SecurityPolicyNameT = Aws::String>
86 template <
typename SshCiphersT = Aws::Vector<Aws::String>>
88 m_sshCiphersHasBeenSet =
true;
89 m_sshCiphers = std::forward<SshCiphersT>(value);
91 template <
typename SshCiphersT = Aws::Vector<Aws::String>>
96 template <
typename SshCiphersT = Aws::String>
98 m_sshCiphersHasBeenSet =
true;
99 m_sshCiphers.emplace_back(std::forward<SshCiphersT>(value));
112 template <
typename SshKexsT = Aws::Vector<Aws::String>>
114 m_sshKexsHasBeenSet =
true;
115 m_sshKexs = std::forward<SshKexsT>(value);
117 template <
typename SshKexsT = Aws::Vector<Aws::String>>
122 template <
typename SshKexsT = Aws::String>
124 m_sshKexsHasBeenSet =
true;
125 m_sshKexs.emplace_back(std::forward<SshKexsT>(value));
138 template <
typename SshMacsT = Aws::Vector<Aws::String>>
140 m_sshMacsHasBeenSet =
true;
141 m_sshMacs = std::forward<SshMacsT>(value);
143 template <
typename SshMacsT = Aws::Vector<Aws::String>>
148 template <
typename SshMacsT = Aws::String>
150 m_sshMacsHasBeenSet =
true;
151 m_sshMacs.emplace_back(std::forward<SshMacsT>(value));
164 template <
typename TlsCiphersT = Aws::Vector<Aws::String>>
166 m_tlsCiphersHasBeenSet =
true;
167 m_tlsCiphers = std::forward<TlsCiphersT>(value);
169 template <
typename TlsCiphersT = Aws::Vector<Aws::String>>
174 template <
typename TlsCiphersT = Aws::String>
176 m_tlsCiphersHasBeenSet =
true;
177 m_tlsCiphers.emplace_back(std::forward<TlsCiphersT>(value));
189 template <
typename SshHostKeyAlgorithmsT = Aws::Vector<Aws::String>>
191 m_sshHostKeyAlgorithmsHasBeenSet =
true;
192 m_sshHostKeyAlgorithms = std::forward<SshHostKeyAlgorithmsT>(value);
194 template <
typename SshHostKeyAlgorithmsT = Aws::Vector<Aws::String>>
199 template <
typename SshHostKeyAlgorithmsT = Aws::String>
201 m_sshHostKeyAlgorithmsHasBeenSet =
true;
202 m_sshHostKeyAlgorithms.emplace_back(std::forward<SshHostKeyAlgorithmsT>(value));
215 m_typeHasBeenSet =
true;
230 template <
typename ProtocolsT = Aws::Vector<SecurityPolicyProtocol>>
232 m_protocolsHasBeenSet =
true;
233 m_protocols = std::forward<ProtocolsT>(value);
235 template <
typename ProtocolsT = Aws::Vector<SecurityPolicyProtocol>>
241 m_protocolsHasBeenSet =
true;
242 m_protocols.push_back(value);
264 bool m_fipsHasBeenSet =
false;
265 bool m_securityPolicyNameHasBeenSet =
false;
266 bool m_sshCiphersHasBeenSet =
false;
267 bool m_sshKexsHasBeenSet =
false;
268 bool m_sshMacsHasBeenSet =
false;
269 bool m_tlsCiphersHasBeenSet =
false;
270 bool m_sshHostKeyAlgorithmsHasBeenSet =
false;
271 bool m_typeHasBeenSet =
false;
272 bool m_protocolsHasBeenSet =
false;
void SetSshKexs(SshKexsT &&value)
bool TypeHasBeenSet() const
DescribedSecurityPolicy & AddSshKexs(SshKexsT &&value)
bool SshKexsHasBeenSet() const
bool SshCiphersHasBeenSet() const
const Aws::Vector< Aws::String > & GetSshKexs() const
DescribedSecurityPolicy & WithSshMacs(SshMacsT &&value)
DescribedSecurityPolicy & WithTlsCiphers(TlsCiphersT &&value)
bool ProtocolsHasBeenSet() const
DescribedSecurityPolicy & WithFips(bool value)
const Aws::Vector< Aws::String > & GetSshHostKeyAlgorithms() const
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTlsCiphers(TlsCiphersT &&value)
DescribedSecurityPolicy & WithType(SecurityPolicyResourceType value)
bool FipsHasBeenSet() const
bool SecurityPolicyNameHasBeenSet() const
const Aws::Vector< Aws::String > & GetSshMacs() const
DescribedSecurityPolicy & WithSshKexs(SshKexsT &&value)
DescribedSecurityPolicy & AddTlsCiphers(TlsCiphersT &&value)
DescribedSecurityPolicy & AddSshCiphers(SshCiphersT &&value)
const Aws::String & GetSecurityPolicyName() const
DescribedSecurityPolicy & WithSshHostKeyAlgorithms(SshHostKeyAlgorithmsT &&value)
void SetSshHostKeyAlgorithms(SshHostKeyAlgorithmsT &&value)
const Aws::Vector< Aws::String > & GetTlsCiphers() const
AWS_TRANSFER_API DescribedSecurityPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(SecurityPolicyResourceType value)
void SetSshCiphers(SshCiphersT &&value)
const Aws::Vector< Aws::String > & GetSshCiphers() const
void SetProtocols(ProtocolsT &&value)
void SetSecurityPolicyName(SecurityPolicyNameT &&value)
DescribedSecurityPolicy & WithSshCiphers(SshCiphersT &&value)
DescribedSecurityPolicy & AddProtocols(SecurityPolicyProtocol value)
SecurityPolicyResourceType GetType() const
bool SshHostKeyAlgorithmsHasBeenSet() const
AWS_TRANSFER_API DescribedSecurityPolicy()=default
bool SshMacsHasBeenSet() const
AWS_TRANSFER_API DescribedSecurityPolicy(Aws::Utils::Json::JsonView jsonValue)
DescribedSecurityPolicy & AddSshMacs(SshMacsT &&value)
bool TlsCiphersHasBeenSet() const
void SetSshMacs(SshMacsT &&value)
const Aws::Vector< SecurityPolicyProtocol > & GetProtocols() const
DescribedSecurityPolicy & AddSshHostKeyAlgorithms(SshHostKeyAlgorithmsT &&value)
DescribedSecurityPolicy & WithSecurityPolicyName(SecurityPolicyNameT &&value)
DescribedSecurityPolicy & WithProtocols(ProtocolsT &&value)
SecurityPolicyResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue