AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteUserGroupResult.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/UserGroupPendingChanges.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 DeleteUserGroupResult();
36
37
39
42 inline const Aws::String& GetUserGroupId() const{ return m_userGroupId; }
43 inline void SetUserGroupId(const Aws::String& value) { m_userGroupId = value; }
44 inline void SetUserGroupId(Aws::String&& value) { m_userGroupId = std::move(value); }
45 inline void SetUserGroupId(const char* value) { m_userGroupId.assign(value); }
46 inline DeleteUserGroupResult& WithUserGroupId(const Aws::String& value) { SetUserGroupId(value); return *this;}
47 inline DeleteUserGroupResult& WithUserGroupId(Aws::String&& value) { SetUserGroupId(std::move(value)); return *this;}
48 inline DeleteUserGroupResult& WithUserGroupId(const char* value) { SetUserGroupId(value); return *this;}
50
52
56 inline const Aws::String& GetStatus() const{ return m_status; }
57 inline void SetStatus(const Aws::String& value) { m_status = value; }
58 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
59 inline void SetStatus(const char* value) { m_status.assign(value); }
60 inline DeleteUserGroupResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
61 inline DeleteUserGroupResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
62 inline DeleteUserGroupResult& WithStatus(const char* value) { SetStatus(value); return *this;}
64
66
69 inline const Aws::String& GetEngine() const{ return m_engine; }
70 inline void SetEngine(const Aws::String& value) { m_engine = value; }
71 inline void SetEngine(Aws::String&& value) { m_engine = std::move(value); }
72 inline void SetEngine(const char* value) { m_engine.assign(value); }
73 inline DeleteUserGroupResult& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
74 inline DeleteUserGroupResult& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
75 inline DeleteUserGroupResult& WithEngine(const char* value) { SetEngine(value); return *this;}
77
79
82 inline const Aws::Vector<Aws::String>& GetUserIds() const{ return m_userIds; }
83 inline void SetUserIds(const Aws::Vector<Aws::String>& value) { m_userIds = value; }
84 inline void SetUserIds(Aws::Vector<Aws::String>&& value) { m_userIds = std::move(value); }
85 inline DeleteUserGroupResult& WithUserIds(const Aws::Vector<Aws::String>& value) { SetUserIds(value); return *this;}
86 inline DeleteUserGroupResult& WithUserIds(Aws::Vector<Aws::String>&& value) { SetUserIds(std::move(value)); return *this;}
87 inline DeleteUserGroupResult& AddUserIds(const Aws::String& value) { m_userIds.push_back(value); return *this; }
88 inline DeleteUserGroupResult& AddUserIds(Aws::String&& value) { m_userIds.push_back(std::move(value)); return *this; }
89 inline DeleteUserGroupResult& AddUserIds(const char* value) { m_userIds.push_back(value); return *this; }
91
93
96 inline const Aws::String& GetMinimumEngineVersion() const{ return m_minimumEngineVersion; }
97 inline void SetMinimumEngineVersion(const Aws::String& value) { m_minimumEngineVersion = value; }
98 inline void SetMinimumEngineVersion(Aws::String&& value) { m_minimumEngineVersion = std::move(value); }
99 inline void SetMinimumEngineVersion(const char* value) { m_minimumEngineVersion.assign(value); }
101 inline DeleteUserGroupResult& WithMinimumEngineVersion(Aws::String&& value) { SetMinimumEngineVersion(std::move(value)); return *this;}
102 inline DeleteUserGroupResult& WithMinimumEngineVersion(const char* value) { SetMinimumEngineVersion(value); return *this;}
104
106
109 inline const UserGroupPendingChanges& GetPendingChanges() const{ return m_pendingChanges; }
110 inline void SetPendingChanges(const UserGroupPendingChanges& value) { m_pendingChanges = value; }
111 inline void SetPendingChanges(UserGroupPendingChanges&& value) { m_pendingChanges = std::move(value); }
113 inline DeleteUserGroupResult& WithPendingChanges(UserGroupPendingChanges&& value) { SetPendingChanges(std::move(value)); return *this;}
115
117
120 inline const Aws::Vector<Aws::String>& GetReplicationGroups() const{ return m_replicationGroups; }
121 inline void SetReplicationGroups(const Aws::Vector<Aws::String>& value) { m_replicationGroups = value; }
122 inline void SetReplicationGroups(Aws::Vector<Aws::String>&& value) { m_replicationGroups = std::move(value); }
125 inline DeleteUserGroupResult& AddReplicationGroups(const Aws::String& value) { m_replicationGroups.push_back(value); return *this; }
126 inline DeleteUserGroupResult& AddReplicationGroups(Aws::String&& value) { m_replicationGroups.push_back(std::move(value)); return *this; }
127 inline DeleteUserGroupResult& AddReplicationGroups(const char* value) { m_replicationGroups.push_back(value); return *this; }
129
131
135 inline const Aws::Vector<Aws::String>& GetServerlessCaches() const{ return m_serverlessCaches; }
136 inline void SetServerlessCaches(const Aws::Vector<Aws::String>& value) { m_serverlessCaches = value; }
137 inline void SetServerlessCaches(Aws::Vector<Aws::String>&& value) { m_serverlessCaches = std::move(value); }
140 inline DeleteUserGroupResult& AddServerlessCaches(const Aws::String& value) { m_serverlessCaches.push_back(value); return *this; }
141 inline DeleteUserGroupResult& AddServerlessCaches(Aws::String&& value) { m_serverlessCaches.push_back(std::move(value)); return *this; }
142 inline DeleteUserGroupResult& AddServerlessCaches(const char* value) { m_serverlessCaches.push_back(value); return *this; }
144
146
149 inline const Aws::String& GetARN() const{ return m_aRN; }
150 inline void SetARN(const Aws::String& value) { m_aRN = value; }
151 inline void SetARN(Aws::String&& value) { m_aRN = std::move(value); }
152 inline void SetARN(const char* value) { m_aRN.assign(value); }
153 inline DeleteUserGroupResult& WithARN(const Aws::String& value) { SetARN(value); return *this;}
154 inline DeleteUserGroupResult& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
155 inline DeleteUserGroupResult& WithARN(const char* value) { SetARN(value); return *this;}
157
159
160 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
161 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
162 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
164 inline DeleteUserGroupResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
166 private:
167
168 Aws::String m_userGroupId;
169
170 Aws::String m_status;
171
172 Aws::String m_engine;
173
174 Aws::Vector<Aws::String> m_userIds;
175
176 Aws::String m_minimumEngineVersion;
177
178 UserGroupPendingChanges m_pendingChanges;
179
180 Aws::Vector<Aws::String> m_replicationGroups;
181
182 Aws::Vector<Aws::String> m_serverlessCaches;
183
184 Aws::String m_aRN;
185
186 ResponseMetadata m_responseMetadata;
187 };
188
189} // namespace Model
190} // namespace ElastiCache
191} // namespace Aws
DeleteUserGroupResult & AddUserIds(Aws::String &&value)
DeleteUserGroupResult & WithResponseMetadata(ResponseMetadata &&value)
DeleteUserGroupResult & WithARN(const char *value)
const Aws::Vector< Aws::String > & GetReplicationGroups() const
void SetServerlessCaches(Aws::Vector< Aws::String > &&value)
DeleteUserGroupResult & WithARN(Aws::String &&value)
AWS_ELASTICACHE_API DeleteUserGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DeleteUserGroupResult & WithPendingChanges(const UserGroupPendingChanges &value)
DeleteUserGroupResult & WithUserGroupId(const char *value)
void SetPendingChanges(UserGroupPendingChanges &&value)
DeleteUserGroupResult & WithUserGroupId(const Aws::String &value)
void SetUserIds(const Aws::Vector< Aws::String > &value)
DeleteUserGroupResult & WithServerlessCaches(const Aws::Vector< Aws::String > &value)
DeleteUserGroupResult & AddServerlessCaches(Aws::String &&value)
void SetUserIds(Aws::Vector< Aws::String > &&value)
DeleteUserGroupResult & WithMinimumEngineVersion(const char *value)
DeleteUserGroupResult & WithEngine(Aws::String &&value)
const Aws::Vector< Aws::String > & GetUserIds() const
DeleteUserGroupResult & WithStatus(const char *value)
DeleteUserGroupResult & WithUserGroupId(Aws::String &&value)
DeleteUserGroupResult & AddUserIds(const char *value)
DeleteUserGroupResult & WithUserIds(Aws::Vector< Aws::String > &&value)
DeleteUserGroupResult & WithARN(const Aws::String &value)
DeleteUserGroupResult & WithServerlessCaches(Aws::Vector< Aws::String > &&value)
DeleteUserGroupResult & WithEngine(const Aws::String &value)
DeleteUserGroupResult & WithMinimumEngineVersion(Aws::String &&value)
DeleteUserGroupResult & AddReplicationGroups(Aws::String &&value)
const ResponseMetadata & GetResponseMetadata() const
DeleteUserGroupResult & AddReplicationGroups(const char *value)
AWS_ELASTICACHE_API DeleteUserGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DeleteUserGroupResult & WithUserIds(const Aws::Vector< Aws::String > &value)
DeleteUserGroupResult & AddReplicationGroups(const Aws::String &value)
DeleteUserGroupResult & AddServerlessCaches(const char *value)
void SetMinimumEngineVersion(const Aws::String &value)
DeleteUserGroupResult & WithMinimumEngineVersion(const Aws::String &value)
void SetResponseMetadata(const ResponseMetadata &value)
DeleteUserGroupResult & AddUserIds(const Aws::String &value)
void SetServerlessCaches(const Aws::Vector< Aws::String > &value)
DeleteUserGroupResult & WithResponseMetadata(const ResponseMetadata &value)
const Aws::Vector< Aws::String > & GetServerlessCaches() const
DeleteUserGroupResult & WithEngine(const char *value)
void SetReplicationGroups(Aws::Vector< Aws::String > &&value)
void SetPendingChanges(const UserGroupPendingChanges &value)
DeleteUserGroupResult & WithStatus(const Aws::String &value)
DeleteUserGroupResult & WithStatus(Aws::String &&value)
void SetReplicationGroups(const Aws::Vector< Aws::String > &value)
DeleteUserGroupResult & AddServerlessCaches(const Aws::String &value)
const UserGroupPendingChanges & GetPendingChanges() const
DeleteUserGroupResult & WithPendingChanges(UserGroupPendingChanges &&value)
DeleteUserGroupResult & WithReplicationGroups(Aws::Vector< Aws::String > &&value)
DeleteUserGroupResult & WithReplicationGroups(const Aws::Vector< 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