7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/mailmanager/MailManager_EXPORTS.h>
10#include <aws/mailmanager/model/NoAuthentication.h>
20namespace MailManager {
36 AWS_MAILMANAGER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 template <
typename SecretArnT = Aws::String>
47 m_secretArnHasBeenSet =
true;
48 m_secretArn = std::forward<SecretArnT>(value);
50 template <
typename SecretArnT = Aws::String>
64 template <
typename NoAuthenticationT = NoAuthentication>
66 m_noAuthenticationHasBeenSet =
true;
67 m_noAuthentication = std::forward<NoAuthenticationT>(value);
69 template <
typename NoAuthenticationT = NoAuthentication>
79 bool m_secretArnHasBeenSet =
false;
80 bool m_noAuthenticationHasBeenSet =
false;
void SetNoAuthentication(NoAuthenticationT &&value)
AWS_MAILMANAGER_API RelayAuthentication()=default
bool SecretArnHasBeenSet() const
AWS_MAILMANAGER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const NoAuthentication & GetNoAuthentication() const
RelayAuthentication & WithNoAuthentication(NoAuthenticationT &&value)
AWS_MAILMANAGER_API RelayAuthentication & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
RelayAuthentication & WithSecretArn(SecretArnT &&value)
void SetSecretArn(SecretArnT &&value)
AWS_MAILMANAGER_API RelayAuthentication(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetSecretArn() const
bool NoAuthenticationHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String