AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyUserResult.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 ModifyUserResult();
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 ModifyUserResult& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
47 inline ModifyUserResult& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
48 inline ModifyUserResult& 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 ModifyUserResult& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
60 inline ModifyUserResult& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
61 inline ModifyUserResult& 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 ModifyUserResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
73 inline ModifyUserResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
74 inline ModifyUserResult& 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 ModifyUserResult& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
86 inline ModifyUserResult& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
87 inline ModifyUserResult& 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 ModifyUserResult& WithMinimumEngineVersion(Aws::String&& value) { SetMinimumEngineVersion(std::move(value)); return *this;}
100 inline ModifyUserResult& 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 ModifyUserResult& WithAccessString(const Aws::String& value) { SetAccessString(value); return *this;}
112 inline ModifyUserResult& WithAccessString(Aws::String&& value) { SetAccessString(std::move(value)); return *this;}
113 inline ModifyUserResult& 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 ModifyUserResult& WithUserGroupIds(const Aws::Vector<Aws::String>& value) { SetUserGroupIds(value); return *this;}
124 inline ModifyUserResult& WithUserGroupIds(Aws::Vector<Aws::String>&& value) { SetUserGroupIds(std::move(value)); return *this;}
125 inline ModifyUserResult& AddUserGroupIds(const Aws::String& value) { m_userGroupIds.push_back(value); return *this; }
126 inline ModifyUserResult& AddUserGroupIds(Aws::String&& value) { m_userGroupIds.push_back(std::move(value)); return *this; }
127 inline ModifyUserResult& 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 ModifyUserResult& WithAuthentication(const Authentication& value) { SetAuthentication(value); return *this;}
138 inline ModifyUserResult& 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 ModifyUserResult& WithARN(const Aws::String& value) { SetARN(value); return *this;}
150 inline ModifyUserResult& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
151 inline ModifyUserResult& 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 ModifyUserResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
160 inline ModifyUserResult& 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
ModifyUserResult & WithUserGroupIds(const Aws::Vector< Aws::String > &value)
ModifyUserResult & WithAccessString(const Aws::String &value)
ModifyUserResult & WithStatus(const char *value)
ModifyUserResult & WithAccessString(const char *value)
const Aws::Vector< Aws::String > & GetUserGroupIds() const
ModifyUserResult & AddUserGroupIds(Aws::String &&value)
void SetStatus(const Aws::String &value)
const Aws::String & GetUserName() const
void SetARN(const Aws::String &value)
ModifyUserResult & WithResponseMetadata(ResponseMetadata &&value)
ModifyUserResult & WithAuthentication(const Authentication &value)
const Authentication & GetAuthentication() const
ModifyUserResult & WithUserId(Aws::String &&value)
ModifyUserResult & WithUserId(const Aws::String &value)
ModifyUserResult & AddUserGroupIds(const char *value)
ModifyUserResult & WithAccessString(Aws::String &&value)
void SetMinimumEngineVersion(const char *value)
void SetUserGroupIds(Aws::Vector< Aws::String > &&value)
void SetMinimumEngineVersion(const Aws::String &value)
ModifyUserResult & WithARN(Aws::String &&value)
void SetResponseMetadata(const ResponseMetadata &value)
ModifyUserResult & WithMinimumEngineVersion(const Aws::String &value)
void SetUserGroupIds(const Aws::Vector< Aws::String > &value)
void SetAccessString(const Aws::String &value)
void SetUserName(const Aws::String &value)
const ResponseMetadata & GetResponseMetadata() const
void SetAuthentication(Authentication &&value)
void SetAuthentication(const Authentication &value)
ModifyUserResult & WithMinimumEngineVersion(Aws::String &&value)
ModifyUserResult & WithEngine(Aws::String &&value)
ModifyUserResult & WithStatus(const Aws::String &value)
const Aws::String & GetMinimumEngineVersion() const
void SetResponseMetadata(ResponseMetadata &&value)
ModifyUserResult & AddUserGroupIds(const Aws::String &value)
void SetMinimumEngineVersion(Aws::String &&value)
ModifyUserResult & WithUserName(const char *value)
ModifyUserResult & WithAuthentication(Authentication &&value)
ModifyUserResult & WithARN(const char *value)
ModifyUserResult & WithEngine(const char *value)
ModifyUserResult & WithARN(const Aws::String &value)
ModifyUserResult & WithResponseMetadata(const ResponseMetadata &value)
ModifyUserResult & WithMinimumEngineVersion(const char *value)
ModifyUserResult & WithUserGroupIds(Aws::Vector< Aws::String > &&value)
AWS_ELASTICACHE_API ModifyUserResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetAccessString() const
ModifyUserResult & WithUserName(const Aws::String &value)
ModifyUserResult & WithEngine(const Aws::String &value)
void SetUserId(const Aws::String &value)
void SetEngine(const Aws::String &value)
ModifyUserResult & WithStatus(Aws::String &&value)
ModifyUserResult & WithUserName(Aws::String &&value)
ModifyUserResult & WithUserId(const char *value)
AWS_ELASTICACHE_API ModifyUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument