AWS SDK for C++  1.9.132
AWS SDK for C++
RemoveAllBackendsResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace AmplifyBackend
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetAppId() const{ return m_appId; }
39 
43  inline void SetAppId(const Aws::String& value) { m_appId = value; }
44 
48  inline void SetAppId(Aws::String&& value) { m_appId = std::move(value); }
49 
53  inline void SetAppId(const char* value) { m_appId.assign(value); }
54 
58  inline RemoveAllBackendsResult& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
59 
63  inline RemoveAllBackendsResult& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
64 
68  inline RemoveAllBackendsResult& WithAppId(const char* value) { SetAppId(value); return *this;}
69 
70 
74  inline const Aws::String& GetError() const{ return m_error; }
75 
79  inline void SetError(const Aws::String& value) { m_error = value; }
80 
84  inline void SetError(Aws::String&& value) { m_error = std::move(value); }
85 
89  inline void SetError(const char* value) { m_error.assign(value); }
90 
94  inline RemoveAllBackendsResult& WithError(const Aws::String& value) { SetError(value); return *this;}
95 
99  inline RemoveAllBackendsResult& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
100 
104  inline RemoveAllBackendsResult& WithError(const char* value) { SetError(value); return *this;}
105 
106 
110  inline const Aws::String& GetJobId() const{ return m_jobId; }
111 
115  inline void SetJobId(const Aws::String& value) { m_jobId = value; }
116 
120  inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
121 
125  inline void SetJobId(const char* value) { m_jobId.assign(value); }
126 
130  inline RemoveAllBackendsResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
131 
135  inline RemoveAllBackendsResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
136 
140  inline RemoveAllBackendsResult& WithJobId(const char* value) { SetJobId(value); return *this;}
141 
142 
146  inline const Aws::String& GetOperation() const{ return m_operation; }
147 
151  inline void SetOperation(const Aws::String& value) { m_operation = value; }
152 
156  inline void SetOperation(Aws::String&& value) { m_operation = std::move(value); }
157 
161  inline void SetOperation(const char* value) { m_operation.assign(value); }
162 
166  inline RemoveAllBackendsResult& WithOperation(const Aws::String& value) { SetOperation(value); return *this;}
167 
171  inline RemoveAllBackendsResult& WithOperation(Aws::String&& value) { SetOperation(std::move(value)); return *this;}
172 
176  inline RemoveAllBackendsResult& WithOperation(const char* value) { SetOperation(value); return *this;}
177 
178 
182  inline const Aws::String& GetStatus() const{ return m_status; }
183 
187  inline void SetStatus(const Aws::String& value) { m_status = value; }
188 
192  inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
193 
197  inline void SetStatus(const char* value) { m_status.assign(value); }
198 
202  inline RemoveAllBackendsResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
203 
207  inline RemoveAllBackendsResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
208 
212  inline RemoveAllBackendsResult& WithStatus(const char* value) { SetStatus(value); return *this;}
213 
214  private:
215 
216  Aws::String m_appId;
217 
218  Aws::String m_error;
219 
220  Aws::String m_jobId;
221 
222  Aws::String m_operation;
223 
224  Aws::String m_status;
225  };
226 
227 } // namespace Model
228 } // namespace AmplifyBackend
229 } // namespace Aws
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::SetAppId
void SetAppId(Aws::String &&value)
Definition: RemoveAllBackendsResult.h:48
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::SetJobId
void SetJobId(const char *value)
Definition: RemoveAllBackendsResult.h:125
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::WithOperation
RemoveAllBackendsResult & WithOperation(const char *value)
Definition: RemoveAllBackendsResult.h:176
AWS_AMPLIFYBACKEND_API
#define AWS_AMPLIFYBACKEND_API
Definition: AmplifyBackend_EXPORTS.h:28
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::RemoveAllBackendsResult
RemoveAllBackendsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::WithOperation
RemoveAllBackendsResult & WithOperation(const Aws::String &value)
Definition: RemoveAllBackendsResult.h:166
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::SetStatus
void SetStatus(Aws::String &&value)
Definition: RemoveAllBackendsResult.h:192
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::GetAppId
const Aws::String & GetAppId() const
Definition: RemoveAllBackendsResult.h:38
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::WithOperation
RemoveAllBackendsResult & WithOperation(Aws::String &&value)
Definition: RemoveAllBackendsResult.h:171
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::operator=
RemoveAllBackendsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::SetStatus
void SetStatus(const char *value)
Definition: RemoveAllBackendsResult.h:197
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::SetError
void SetError(Aws::String &&value)
Definition: RemoveAllBackendsResult.h:84
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::WithStatus
RemoveAllBackendsResult & WithStatus(const char *value)
Definition: RemoveAllBackendsResult.h:212
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::SetOperation
void SetOperation(const char *value)
Definition: RemoveAllBackendsResult.h:161
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::SetJobId
void SetJobId(Aws::String &&value)
Definition: RemoveAllBackendsResult.h:120
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::WithError
RemoveAllBackendsResult & WithError(Aws::String &&value)
Definition: RemoveAllBackendsResult.h:99
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::SetAppId
void SetAppId(const char *value)
Definition: RemoveAllBackendsResult.h:53
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::GetOperation
const Aws::String & GetOperation() const
Definition: RemoveAllBackendsResult.h:146
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::WithJobId
RemoveAllBackendsResult & WithJobId(const Aws::String &value)
Definition: RemoveAllBackendsResult.h:130
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::SetOperation
void SetOperation(Aws::String &&value)
Definition: RemoveAllBackendsResult.h:156
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::SetStatus
void SetStatus(const Aws::String &value)
Definition: RemoveAllBackendsResult.h:187
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::GetStatus
const Aws::String & GetStatus() const
Definition: RemoveAllBackendsResult.h:182
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::GetJobId
const Aws::String & GetJobId() const
Definition: RemoveAllBackendsResult.h:110
AWSString.h
AmplifyBackend_EXPORTS.h
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::SetOperation
void SetOperation(const Aws::String &value)
Definition: RemoveAllBackendsResult.h:151
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::SetJobId
void SetJobId(const Aws::String &value)
Definition: RemoveAllBackendsResult.h:115
Aws::AmplifyBackend::Model::RemoveAllBackendsResult
Definition: RemoveAllBackendsResult.h:28
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::SetAppId
void SetAppId(const Aws::String &value)
Definition: RemoveAllBackendsResult.h:43
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::WithStatus
RemoveAllBackendsResult & WithStatus(Aws::String &&value)
Definition: RemoveAllBackendsResult.h:207
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::WithError
RemoveAllBackendsResult & WithError(const Aws::String &value)
Definition: RemoveAllBackendsResult.h:94
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::RemoveAllBackendsResult
RemoveAllBackendsResult()
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::WithJobId
RemoveAllBackendsResult & WithJobId(Aws::String &&value)
Definition: RemoveAllBackendsResult.h:135
Aws
Definition: AccessManagementClient.h:15
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::WithJobId
RemoveAllBackendsResult & WithJobId(const char *value)
Definition: RemoveAllBackendsResult.h:140
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::WithError
RemoveAllBackendsResult & WithError(const char *value)
Definition: RemoveAllBackendsResult.h:104
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::WithAppId
RemoveAllBackendsResult & WithAppId(const char *value)
Definition: RemoveAllBackendsResult.h:68
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::WithAppId
RemoveAllBackendsResult & WithAppId(Aws::String &&value)
Definition: RemoveAllBackendsResult.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::SetError
void SetError(const Aws::String &value)
Definition: RemoveAllBackendsResult.h:79
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::WithAppId
RemoveAllBackendsResult & WithAppId(const Aws::String &value)
Definition: RemoveAllBackendsResult.h:58
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::WithStatus
RemoveAllBackendsResult & WithStatus(const Aws::String &value)
Definition: RemoveAllBackendsResult.h:202
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::SetError
void SetError(const char *value)
Definition: RemoveAllBackendsResult.h:89
Aws::AmplifyBackend::Model::RemoveAllBackendsResult::GetError
const Aws::String & GetError() const
Definition: RemoveAllBackendsResult.h:74