AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateUserResult.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticache/model/Authentication.h>
11#include <aws/elasticache/model/ResponseMetadata.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace ElastiCache
27{
28namespace Model
29{
31 {
32 public:
33 AWS_ELASTICACHE_API CreateUserResult();
36
37
39
42 inline const Aws::String& GetUserId() const{ return m_userId; }
43 inline void SetUserId(const Aws::String& value) { m_userId = value; }
44 inline void SetUserId(Aws::String&& value) { m_userId = std::move(value); }
45 inline void SetUserId(const char* value) { m_userId.assign(value); }
46 inline CreateUserResult& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
47 inline CreateUserResult& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
48 inline CreateUserResult& WithUserId(const char* value) { SetUserId(value); return *this;}
50
52
55 inline const Aws::String& GetUserName() const{ return m_userName; }
56 inline void SetUserName(const Aws::String& value) { m_userName = value; }
57 inline void SetUserName(Aws::String&& value) { m_userName = std::move(value); }
58 inline void SetUserName(const char* value) { m_userName.assign(value); }
59 inline CreateUserResult& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
60 inline CreateUserResult& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
61 inline CreateUserResult& WithUserName(const char* value) { SetUserName(value); return *this;}
63
65
68 inline const Aws::String& GetStatus() const{ return m_status; }
69 inline void SetStatus(const Aws::String& value) { m_status = value; }
70 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
71 inline void SetStatus(const char* value) { m_status.assign(value); }
72 inline CreateUserResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
73 inline CreateUserResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
74 inline CreateUserResult& WithStatus(const char* value) { SetStatus(value); return *this;}
76
78
81 inline const Aws::String& GetEngine() const{ return m_engine; }
82 inline void SetEngine(const Aws::String& value) { m_engine = value; }
83 inline void SetEngine(Aws::String&& value) { m_engine = std::move(value); }
84 inline void SetEngine(const char* value) { m_engine.assign(value); }
85 inline CreateUserResult& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
86 inline CreateUserResult& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
87 inline CreateUserResult& WithEngine(const char* value) { SetEngine(value); return *this;}
89
91
94 inline const Aws::String& GetMinimumEngineVersion() const{ return m_minimumEngineVersion; }
95 inline void SetMinimumEngineVersion(const Aws::String& value) { m_minimumEngineVersion = value; }
96 inline void SetMinimumEngineVersion(Aws::String&& value) { m_minimumEngineVersion = std::move(value); }
97 inline void SetMinimumEngineVersion(const char* value) { m_minimumEngineVersion.assign(value); }
99 inline CreateUserResult& WithMinimumEngineVersion(Aws::String&& value) { SetMinimumEngineVersion(std::move(value)); return *this;}
100 inline CreateUserResult& WithMinimumEngineVersion(const char* value) { SetMinimumEngineVersion(value); return *this;}
102
104
107 inline const Aws::String& GetAccessString() const{ return m_accessString; }
108 inline void SetAccessString(const Aws::String& value) { m_accessString = value; }
109 inline void SetAccessString(Aws::String&& value) { m_accessString = std::move(value); }
110 inline void SetAccessString(const char* value) { m_accessString.assign(value); }
111 inline CreateUserResult& WithAccessString(const Aws::String& value) { SetAccessString(value); return *this;}
112 inline CreateUserResult& WithAccessString(Aws::String&& value) { SetAccessString(std::move(value)); return *this;}
113 inline CreateUserResult& WithAccessString(const char* value) { SetAccessString(value); return *this;}
115
117
120 inline const Aws::Vector<Aws::String>& GetUserGroupIds() const{ return m_userGroupIds; }
121 inline void SetUserGroupIds(const Aws::Vector<Aws::String>& value) { m_userGroupIds = value; }
122 inline void SetUserGroupIds(Aws::Vector<Aws::String>&& value) { m_userGroupIds = std::move(value); }
123 inline CreateUserResult& WithUserGroupIds(const Aws::Vector<Aws::String>& value) { SetUserGroupIds(value); return *this;}
124 inline CreateUserResult& WithUserGroupIds(Aws::Vector<Aws::String>&& value) { SetUserGroupIds(std::move(value)); return *this;}
125 inline CreateUserResult& AddUserGroupIds(const Aws::String& value) { m_userGroupIds.push_back(value); return *this; }
126 inline CreateUserResult& AddUserGroupIds(Aws::String&& value) { m_userGroupIds.push_back(std::move(value)); return *this; }
127 inline CreateUserResult& AddUserGroupIds(const char* value) { m_userGroupIds.push_back(value); return *this; }
129
131
134 inline const Authentication& GetAuthentication() const{ return m_authentication; }
135 inline void SetAuthentication(const Authentication& value) { m_authentication = value; }
136 inline void SetAuthentication(Authentication&& value) { m_authentication = std::move(value); }
137 inline CreateUserResult& WithAuthentication(const Authentication& value) { SetAuthentication(value); return *this;}
138 inline CreateUserResult& WithAuthentication(Authentication&& value) { SetAuthentication(std::move(value)); return *this;}
140
142
145 inline const Aws::String& GetARN() const{ return m_aRN; }
146 inline void SetARN(const Aws::String& value) { m_aRN = value; }
147 inline void SetARN(Aws::String&& value) { m_aRN = std::move(value); }
148 inline void SetARN(const char* value) { m_aRN.assign(value); }
149 inline CreateUserResult& WithARN(const Aws::String& value) { SetARN(value); return *this;}
150 inline CreateUserResult& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
151 inline CreateUserResult& WithARN(const char* value) { SetARN(value); return *this;}
153
155
156 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
157 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
158 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
159 inline CreateUserResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
160 inline CreateUserResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
162 private:
163
164 Aws::String m_userId;
165
166 Aws::String m_userName;
167
168 Aws::String m_status;
169
170 Aws::String m_engine;
171
172 Aws::String m_minimumEngineVersion;
173
174 Aws::String m_accessString;
175
176 Aws::Vector<Aws::String> m_userGroupIds;
177
178 Authentication m_authentication;
179
180 Aws::String m_aRN;
181
182 ResponseMetadata m_responseMetadata;
183 };
184
185} // namespace Model
186} // namespace ElastiCache
187} // namespace Aws
CreateUserResult & WithStatus(const Aws::String &value)
CreateUserResult & WithStatus(const char *value)
const Aws::String & GetAccessString() const
CreateUserResult & WithEngine(const Aws::String &value)
CreateUserResult & WithEngine(const char *value)
void SetARN(const Aws::String &value)
CreateUserResult & WithResponseMetadata(const ResponseMetadata &value)
const Aws::Vector< Aws::String > & GetUserGroupIds() const
CreateUserResult & WithStatus(Aws::String &&value)
CreateUserResult & WithAccessString(const char *value)
CreateUserResult & WithUserId(Aws::String &&value)
CreateUserResult & WithAccessString(Aws::String &&value)
CreateUserResult & WithUserName(const Aws::String &value)
void SetStatus(const Aws::String &value)
CreateUserResult & WithMinimumEngineVersion(Aws::String &&value)
void SetUserGroupIds(Aws::Vector< Aws::String > &&value)
CreateUserResult & WithEngine(Aws::String &&value)
CreateUserResult & WithAccessString(const Aws::String &value)
CreateUserResult & WithARN(const Aws::String &value)
CreateUserResult & WithMinimumEngineVersion(const Aws::String &value)
AWS_ELASTICACHE_API CreateUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateUserResult & WithUserName(Aws::String &&value)
CreateUserResult & WithMinimumEngineVersion(const char *value)
AWS_ELASTICACHE_API CreateUserResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Authentication & GetAuthentication() const
void SetEngine(const Aws::String &value)
CreateUserResult & AddUserGroupIds(Aws::String &&value)
CreateUserResult & WithUserId(const char *value)
void SetMinimumEngineVersion(const Aws::String &value)
CreateUserResult & WithResponseMetadata(ResponseMetadata &&value)
void SetMinimumEngineVersion(const char *value)
void SetAccessString(const Aws::String &value)
CreateUserResult & AddUserGroupIds(const Aws::String &value)
CreateUserResult & WithUserId(const Aws::String &value)
CreateUserResult & WithUserName(const char *value)
const Aws::String & GetMinimumEngineVersion() const
CreateUserResult & WithARN(Aws::String &&value)
CreateUserResult & WithARN(const char *value)
void SetMinimumEngineVersion(Aws::String &&value)
CreateUserResult & WithAuthentication(Authentication &&value)
const ResponseMetadata & GetResponseMetadata() const
CreateUserResult & WithUserGroupIds(const Aws::Vector< Aws::String > &value)
void SetResponseMetadata(ResponseMetadata &&value)
void SetUserGroupIds(const Aws::Vector< Aws::String > &value)
CreateUserResult & WithAuthentication(const Authentication &value)
void SetAuthentication(const Authentication &value)
void SetAuthentication(Authentication &&value)
CreateUserResult & AddUserGroupIds(const char *value)
const Aws::String & GetUserName() const
void SetResponseMetadata(const ResponseMetadata &value)
CreateUserResult & WithUserGroupIds(Aws::Vector< Aws::String > &&value)
void SetUserName(const Aws::String &value)
void SetUserId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument