AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
36
37
39
42 inline const Aws::String& GetUserId() const { return m_userId; }
43 template<typename UserIdT = Aws::String>
44 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet = true; m_userId = std::forward<UserIdT>(value); }
45 template<typename UserIdT = Aws::String>
46 CreateUserResult& WithUserId(UserIdT&& value) { SetUserId(std::forward<UserIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetUserName() const { return m_userName; }
54 template<typename UserNameT = Aws::String>
55 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet = true; m_userName = std::forward<UserNameT>(value); }
56 template<typename UserNameT = Aws::String>
57 CreateUserResult& WithUserName(UserNameT&& value) { SetUserName(std::forward<UserNameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetStatus() const { return m_status; }
65 template<typename StatusT = Aws::String>
66 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
67 template<typename StatusT = Aws::String>
68 CreateUserResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
70
72
75 inline const Aws::String& GetEngine() const { return m_engine; }
76 template<typename EngineT = Aws::String>
77 void SetEngine(EngineT&& value) { m_engineHasBeenSet = true; m_engine = std::forward<EngineT>(value); }
78 template<typename EngineT = Aws::String>
79 CreateUserResult& WithEngine(EngineT&& value) { SetEngine(std::forward<EngineT>(value)); return *this;}
81
83
86 inline const Aws::String& GetMinimumEngineVersion() const { return m_minimumEngineVersion; }
87 template<typename MinimumEngineVersionT = Aws::String>
88 void SetMinimumEngineVersion(MinimumEngineVersionT&& value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion = std::forward<MinimumEngineVersionT>(value); }
89 template<typename MinimumEngineVersionT = Aws::String>
90 CreateUserResult& WithMinimumEngineVersion(MinimumEngineVersionT&& value) { SetMinimumEngineVersion(std::forward<MinimumEngineVersionT>(value)); return *this;}
92
94
97 inline const Aws::String& GetAccessString() const { return m_accessString; }
98 template<typename AccessStringT = Aws::String>
99 void SetAccessString(AccessStringT&& value) { m_accessStringHasBeenSet = true; m_accessString = std::forward<AccessStringT>(value); }
100 template<typename AccessStringT = Aws::String>
101 CreateUserResult& WithAccessString(AccessStringT&& value) { SetAccessString(std::forward<AccessStringT>(value)); return *this;}
103
105
108 inline const Aws::Vector<Aws::String>& GetUserGroupIds() const { return m_userGroupIds; }
109 template<typename UserGroupIdsT = Aws::Vector<Aws::String>>
110 void SetUserGroupIds(UserGroupIdsT&& value) { m_userGroupIdsHasBeenSet = true; m_userGroupIds = std::forward<UserGroupIdsT>(value); }
111 template<typename UserGroupIdsT = Aws::Vector<Aws::String>>
112 CreateUserResult& WithUserGroupIds(UserGroupIdsT&& value) { SetUserGroupIds(std::forward<UserGroupIdsT>(value)); return *this;}
113 template<typename UserGroupIdsT = Aws::String>
114 CreateUserResult& AddUserGroupIds(UserGroupIdsT&& value) { m_userGroupIdsHasBeenSet = true; m_userGroupIds.emplace_back(std::forward<UserGroupIdsT>(value)); return *this; }
116
118
121 inline const Authentication& GetAuthentication() const { return m_authentication; }
122 template<typename AuthenticationT = Authentication>
123 void SetAuthentication(AuthenticationT&& value) { m_authenticationHasBeenSet = true; m_authentication = std::forward<AuthenticationT>(value); }
124 template<typename AuthenticationT = Authentication>
125 CreateUserResult& WithAuthentication(AuthenticationT&& value) { SetAuthentication(std::forward<AuthenticationT>(value)); return *this;}
127
129
132 inline const Aws::String& GetARN() const { return m_aRN; }
133 template<typename ARNT = Aws::String>
134 void SetARN(ARNT&& value) { m_aRNHasBeenSet = true; m_aRN = std::forward<ARNT>(value); }
135 template<typename ARNT = Aws::String>
136 CreateUserResult& WithARN(ARNT&& value) { SetARN(std::forward<ARNT>(value)); return *this;}
138
140
141 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
142 template<typename ResponseMetadataT = ResponseMetadata>
143 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
144 template<typename ResponseMetadataT = ResponseMetadata>
145 CreateUserResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
147 private:
148
149 Aws::String m_userId;
150 bool m_userIdHasBeenSet = false;
151
152 Aws::String m_userName;
153 bool m_userNameHasBeenSet = false;
154
155 Aws::String m_status;
156 bool m_statusHasBeenSet = false;
157
158 Aws::String m_engine;
159 bool m_engineHasBeenSet = false;
160
161 Aws::String m_minimumEngineVersion;
162 bool m_minimumEngineVersionHasBeenSet = false;
163
164 Aws::String m_accessString;
165 bool m_accessStringHasBeenSet = false;
166
167 Aws::Vector<Aws::String> m_userGroupIds;
168 bool m_userGroupIdsHasBeenSet = false;
169
170 Authentication m_authentication;
171 bool m_authenticationHasBeenSet = false;
172
173 Aws::String m_aRN;
174 bool m_aRNHasBeenSet = false;
175
176 ResponseMetadata m_responseMetadata;
177 bool m_responseMetadataHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace ElastiCache
182} // namespace Aws
CreateUserResult & WithStatus(StatusT &&value)
const Aws::String & GetAccessString() const
const Aws::Vector< Aws::String > & GetUserGroupIds() const
CreateUserResult & WithEngine(EngineT &&value)
CreateUserResult & WithMinimumEngineVersion(MinimumEngineVersionT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_ELASTICACHE_API CreateUserResult()=default
void SetAccessString(AccessStringT &&value)
void SetMinimumEngineVersion(MinimumEngineVersionT &&value)
CreateUserResult & AddUserGroupIds(UserGroupIdsT &&value)
CreateUserResult & WithUserId(UserIdT &&value)
CreateUserResult & WithAuthentication(AuthenticationT &&value)
AWS_ELASTICACHE_API CreateUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateUserResult & WithAccessString(AccessStringT &&value)
AWS_ELASTICACHE_API CreateUserResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Authentication & GetAuthentication() const
const Aws::String & GetMinimumEngineVersion() const
void SetAuthentication(AuthenticationT &&value)
CreateUserResult & WithResponseMetadata(ResponseMetadataT &&value)
const ResponseMetadata & GetResponseMetadata() const
void SetUserGroupIds(UserGroupIdsT &&value)
CreateUserResult & WithUserGroupIds(UserGroupIdsT &&value)
CreateUserResult & WithARN(ARNT &&value)
CreateUserResult & WithUserName(UserNameT &&value)
const Aws::String & GetUserName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument