AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserAuthConfigInfo.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rds/model/AuthScheme.h>
11#include <aws/rds/model/IAMAuthMode.h>
12#include <aws/rds/model/ClientPasswordAuthType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace RDS
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_RDS_API UserAuthConfigInfo();
39 AWS_RDS_API UserAuthConfigInfo(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
51 inline const Aws::String& GetDescription() const{ return m_description; }
52 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
53 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
54 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
55 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
56 inline UserAuthConfigInfo& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
57 inline UserAuthConfigInfo& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
58 inline UserAuthConfigInfo& WithDescription(const char* value) { SetDescription(value); return *this;}
60
62
65 inline const Aws::String& GetUserName() const{ return m_userName; }
66 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
67 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
68 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
69 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
70 inline UserAuthConfigInfo& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
71 inline UserAuthConfigInfo& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
72 inline UserAuthConfigInfo& WithUserName(const char* value) { SetUserName(value); return *this;}
74
76
80 inline const AuthScheme& GetAuthScheme() const{ return m_authScheme; }
81 inline bool AuthSchemeHasBeenSet() const { return m_authSchemeHasBeenSet; }
82 inline void SetAuthScheme(const AuthScheme& value) { m_authSchemeHasBeenSet = true; m_authScheme = value; }
83 inline void SetAuthScheme(AuthScheme&& value) { m_authSchemeHasBeenSet = true; m_authScheme = std::move(value); }
84 inline UserAuthConfigInfo& WithAuthScheme(const AuthScheme& value) { SetAuthScheme(value); return *this;}
85 inline UserAuthConfigInfo& WithAuthScheme(AuthScheme&& value) { SetAuthScheme(std::move(value)); return *this;}
87
89
94 inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
95 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
96 inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
97 inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
98 inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
99 inline UserAuthConfigInfo& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
100 inline UserAuthConfigInfo& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
101 inline UserAuthConfigInfo& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
103
105
111 inline const IAMAuthMode& GetIAMAuth() const{ return m_iAMAuth; }
112 inline bool IAMAuthHasBeenSet() const { return m_iAMAuthHasBeenSet; }
113 inline void SetIAMAuth(const IAMAuthMode& value) { m_iAMAuthHasBeenSet = true; m_iAMAuth = value; }
114 inline void SetIAMAuth(IAMAuthMode&& value) { m_iAMAuthHasBeenSet = true; m_iAMAuth = std::move(value); }
115 inline UserAuthConfigInfo& WithIAMAuth(const IAMAuthMode& value) { SetIAMAuth(value); return *this;}
116 inline UserAuthConfigInfo& WithIAMAuth(IAMAuthMode&& value) { SetIAMAuth(std::move(value)); return *this;}
118
120
123 inline const ClientPasswordAuthType& GetClientPasswordAuthType() const{ return m_clientPasswordAuthType; }
124 inline bool ClientPasswordAuthTypeHasBeenSet() const { return m_clientPasswordAuthTypeHasBeenSet; }
125 inline void SetClientPasswordAuthType(const ClientPasswordAuthType& value) { m_clientPasswordAuthTypeHasBeenSet = true; m_clientPasswordAuthType = value; }
126 inline void SetClientPasswordAuthType(ClientPasswordAuthType&& value) { m_clientPasswordAuthTypeHasBeenSet = true; m_clientPasswordAuthType = std::move(value); }
130 private:
131
132 Aws::String m_description;
133 bool m_descriptionHasBeenSet = false;
134
135 Aws::String m_userName;
136 bool m_userNameHasBeenSet = false;
137
138 AuthScheme m_authScheme;
139 bool m_authSchemeHasBeenSet = false;
140
141 Aws::String m_secretArn;
142 bool m_secretArnHasBeenSet = false;
143
144 IAMAuthMode m_iAMAuth;
145 bool m_iAMAuthHasBeenSet = false;
146
147 ClientPasswordAuthType m_clientPasswordAuthType;
148 bool m_clientPasswordAuthTypeHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace RDS
153} // namespace Aws
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
UserAuthConfigInfo & WithUserName(const Aws::String &value)
UserAuthConfigInfo & WithClientPasswordAuthType(const ClientPasswordAuthType &value)
UserAuthConfigInfo & WithAuthScheme(const AuthScheme &value)
AWS_RDS_API UserAuthConfigInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetClientPasswordAuthType(ClientPasswordAuthType &&value)
const Aws::String & GetSecretArn() const
AWS_RDS_API UserAuthConfigInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDescription(const Aws::String &value)
UserAuthConfigInfo & WithSecretArn(const Aws::String &value)
UserAuthConfigInfo & WithSecretArn(Aws::String &&value)
UserAuthConfigInfo & WithIAMAuth(const IAMAuthMode &value)
UserAuthConfigInfo & WithClientPasswordAuthType(ClientPasswordAuthType &&value)
void SetAuthScheme(AuthScheme &&value)
const AuthScheme & GetAuthScheme() const
UserAuthConfigInfo & WithDescription(Aws::String &&value)
UserAuthConfigInfo & WithUserName(const char *value)
void SetSecretArn(const Aws::String &value)
void SetDescription(Aws::String &&value)
const Aws::String & GetUserName() const
UserAuthConfigInfo & WithUserName(Aws::String &&value)
void SetClientPasswordAuthType(const ClientPasswordAuthType &value)
UserAuthConfigInfo & WithDescription(const Aws::String &value)
void SetUserName(Aws::String &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
UserAuthConfigInfo & WithIAMAuth(IAMAuthMode &&value)
void SetAuthScheme(const AuthScheme &value)
void SetSecretArn(Aws::String &&value)
UserAuthConfigInfo & WithDescription(const char *value)
UserAuthConfigInfo & WithSecretArn(const char *value)
const Aws::String & GetDescription() const
void SetUserName(const Aws::String &value)
const ClientPasswordAuthType & GetClientPasswordAuthType() const
const IAMAuthMode & GetIAMAuth() const
UserAuthConfigInfo & WithAuthScheme(AuthScheme &&value)
void SetIAMAuth(const IAMAuthMode &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream