7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/awstransfer/model/SecurityPolicyResourceType.h>
11#include <aws/awstransfer/model/SecurityPolicyProtocol.h>
54 inline bool GetFips()
const {
return m_fips; }
56 inline void SetFips(
bool value) { m_fipsHasBeenSet =
true; m_fips = value; }
66 template<
typename SecurityPolicyNameT = Aws::String>
67 void SetSecurityPolicyName(SecurityPolicyNameT&& value) { m_securityPolicyNameHasBeenSet =
true; m_securityPolicyName = std::forward<SecurityPolicyNameT>(value); }
68 template<
typename SecurityPolicyNameT = Aws::String>
80 template<
typename SshCiphersT = Aws::Vector<Aws::String>>
81 void SetSshCiphers(SshCiphersT&& value) { m_sshCiphersHasBeenSet =
true; m_sshCiphers = std::forward<SshCiphersT>(value); }
82 template<
typename SshCiphersT = Aws::Vector<Aws::String>>
84 template<
typename SshCiphersT = Aws::String>
96 template<
typename SshKexsT = Aws::Vector<Aws::String>>
97 void SetSshKexs(SshKexsT&& value) { m_sshKexsHasBeenSet =
true; m_sshKexs = std::forward<SshKexsT>(value); }
98 template<
typename SshKexsT = Aws::Vector<Aws::String>>
100 template<
typename SshKexsT = Aws::String>
112 template<
typename SshMacsT = Aws::Vector<Aws::String>>
113 void SetSshMacs(SshMacsT&& value) { m_sshMacsHasBeenSet =
true; m_sshMacs = std::forward<SshMacsT>(value); }
114 template<
typename SshMacsT = Aws::Vector<Aws::String>>
116 template<
typename SshMacsT = Aws::String>
128 template<
typename TlsCiphersT = Aws::Vector<Aws::String>>
129 void SetTlsCiphers(TlsCiphersT&& value) { m_tlsCiphersHasBeenSet =
true; m_tlsCiphers = std::forward<TlsCiphersT>(value); }
130 template<
typename TlsCiphersT = Aws::Vector<Aws::String>>
132 template<
typename TlsCiphersT = Aws::String>
143 template<
typename SshHostKeyAlgorithmsT = Aws::Vector<Aws::String>>
144 void SetSshHostKeyAlgorithms(SshHostKeyAlgorithmsT&& value) { m_sshHostKeyAlgorithmsHasBeenSet =
true; m_sshHostKeyAlgorithms = std::forward<SshHostKeyAlgorithmsT>(value); }
145 template<
typename SshHostKeyAlgorithmsT = Aws::Vector<Aws::String>>
147 template<
typename SshHostKeyAlgorithmsT = Aws::String>
168 template<
typename ProtocolsT = Aws::Vector<SecurityPolicyProtocol>>
169 void SetProtocols(ProtocolsT&& value) { m_protocolsHasBeenSet =
true; m_protocols = std::forward<ProtocolsT>(value); }
170 template<
typename ProtocolsT = Aws::Vector<SecurityPolicyProtocol>>
177 bool m_fipsHasBeenSet =
false;
180 bool m_securityPolicyNameHasBeenSet =
false;
183 bool m_sshCiphersHasBeenSet =
false;
186 bool m_sshKexsHasBeenSet =
false;
189 bool m_sshMacsHasBeenSet =
false;
192 bool m_tlsCiphersHasBeenSet =
false;
195 bool m_sshHostKeyAlgorithmsHasBeenSet =
false;
198 bool m_typeHasBeenSet =
false;
201 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