AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
Authentication.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/elasticache/ElastiCache_EXPORTS.h>
9#include <aws/elasticache/model/AuthenticationType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace ElastiCache {
20namespace Model {
21
29 public:
30 AWS_ELASTICACHE_API Authentication() = default;
31 AWS_ELASTICACHE_API Authentication(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_ELASTICACHE_API Authentication& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
41 inline AuthenticationType GetType() const { return m_type; }
42 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
43 inline void SetType(AuthenticationType value) {
44 m_typeHasBeenSet = true;
45 m_type = value;
46 }
48 SetType(value);
49 return *this;
50 }
52
54
57 inline int GetPasswordCount() const { return m_passwordCount; }
58 inline bool PasswordCountHasBeenSet() const { return m_passwordCountHasBeenSet; }
59 inline void SetPasswordCount(int value) {
60 m_passwordCountHasBeenSet = true;
61 m_passwordCount = value;
62 }
63 inline Authentication& WithPasswordCount(int value) {
64 SetPasswordCount(value);
65 return *this;
66 }
68 private:
70
71 int m_passwordCount{0};
72 bool m_typeHasBeenSet = false;
73 bool m_passwordCountHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace ElastiCache
78} // namespace Aws
void SetType(AuthenticationType value)
Authentication & WithPasswordCount(int value)
AWS_ELASTICACHE_API Authentication & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API Authentication()=default
AuthenticationType GetType() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
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
Authentication & WithType(AuthenticationType value)
std::basic_ostream< char, std::char_traits< char > > OStream