7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/elasticache/model/InputAuthenticationType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
62 template<
typename PasswordsT = Aws::Vector<Aws::String>>
63 void SetPasswords(PasswordsT&& value) { m_passwordsHasBeenSet =
true; m_passwords = std::forward<PasswordsT>(value); }
64 template<
typename PasswordsT = Aws::Vector<Aws::String>>
66 template<
typename PasswordsT = Aws::String>
67 AuthenticationMode&
AddPasswords(PasswordsT&& value) { m_passwordsHasBeenSet =
true; m_passwords.emplace_back(std::forward<PasswordsT>(value));
return *
this; }
72 bool m_typeHasBeenSet =
false;
75 bool m_passwordsHasBeenSet =
false;
void SetType(InputAuthenticationType value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
InputAuthenticationType GetType() const
AuthenticationMode & AddPasswords(PasswordsT &&value)
AWS_ELASTICACHE_API AuthenticationMode()=default
bool PasswordsHasBeenSet() const
void SetPasswords(PasswordsT &&value)
AWS_ELASTICACHE_API AuthenticationMode & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AuthenticationMode & WithPasswords(PasswordsT &&value)
const Aws::Vector< Aws::String > & GetPasswords() const
AWS_ELASTICACHE_API AuthenticationMode(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TypeHasBeenSet() const
AuthenticationMode & WithType(InputAuthenticationType value)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream