AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Authentication.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/elasticache/model/AuthenticationType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace ElastiCache
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ELASTICACHE_API Authentication();
36 AWS_ELASTICACHE_API Authentication(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICACHE_API Authentication& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const AuthenticationType& GetType() const{ return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(const AuthenticationType& value) { m_typeHasBeenSet = true; m_type = value; }
50 inline void SetType(AuthenticationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
51 inline Authentication& WithType(const AuthenticationType& value) { SetType(value); return *this;}
52 inline Authentication& WithType(AuthenticationType&& value) { SetType(std::move(value)); return *this;}
54
56
59 inline int GetPasswordCount() const{ return m_passwordCount; }
60 inline bool PasswordCountHasBeenSet() const { return m_passwordCountHasBeenSet; }
61 inline void SetPasswordCount(int value) { m_passwordCountHasBeenSet = true; m_passwordCount = value; }
62 inline Authentication& WithPasswordCount(int value) { SetPasswordCount(value); return *this;}
64 private:
65
66 AuthenticationType m_type;
67 bool m_typeHasBeenSet = false;
68
69 int m_passwordCount;
70 bool m_passwordCountHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace ElastiCache
75} // namespace Aws
Authentication & WithPasswordCount(int value)
AWS_ELASTICACHE_API Authentication & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const AuthenticationType & GetType() const
Authentication & WithType(const AuthenticationType &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetType(const AuthenticationType &value)
AWS_ELASTICACHE_API Authentication(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetType(AuthenticationType &&value)
Authentication & WithType(AuthenticationType &&value)
std::basic_ostream< char, std::char_traits< char > > OStream