AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
UpdateBackendJobResult.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace AmplifyBackend {
23namespace Model {
25 public:
26 AWS_AMPLIFYBACKEND_API UpdateBackendJobResult() = default;
29
31
34 inline const Aws::String& GetAppId() const { return m_appId; }
35 template <typename AppIdT = Aws::String>
36 void SetAppId(AppIdT&& value) {
37 m_appIdHasBeenSet = true;
38 m_appId = std::forward<AppIdT>(value);
39 }
40 template <typename AppIdT = Aws::String>
42 SetAppId(std::forward<AppIdT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetBackendEnvironmentName() const { return m_backendEnvironmentName; }
52 template <typename BackendEnvironmentNameT = Aws::String>
53 void SetBackendEnvironmentName(BackendEnvironmentNameT&& value) {
54 m_backendEnvironmentNameHasBeenSet = true;
55 m_backendEnvironmentName = std::forward<BackendEnvironmentNameT>(value);
56 }
57 template <typename BackendEnvironmentNameT = Aws::String>
58 UpdateBackendJobResult& WithBackendEnvironmentName(BackendEnvironmentNameT&& value) {
59 SetBackendEnvironmentName(std::forward<BackendEnvironmentNameT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetCreateTime() const { return m_createTime; }
69 template <typename CreateTimeT = Aws::String>
70 void SetCreateTime(CreateTimeT&& value) {
71 m_createTimeHasBeenSet = true;
72 m_createTime = std::forward<CreateTimeT>(value);
73 }
74 template <typename CreateTimeT = Aws::String>
75 UpdateBackendJobResult& WithCreateTime(CreateTimeT&& value) {
76 SetCreateTime(std::forward<CreateTimeT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetError() const { return m_error; }
86 template <typename ErrorT = Aws::String>
87 void SetError(ErrorT&& value) {
88 m_errorHasBeenSet = true;
89 m_error = std::forward<ErrorT>(value);
90 }
91 template <typename ErrorT = Aws::String>
93 SetError(std::forward<ErrorT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetJobId() const { return m_jobId; }
103 template <typename JobIdT = Aws::String>
104 void SetJobId(JobIdT&& value) {
105 m_jobIdHasBeenSet = true;
106 m_jobId = std::forward<JobIdT>(value);
107 }
108 template <typename JobIdT = Aws::String>
110 SetJobId(std::forward<JobIdT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::String& GetOperation() const { return m_operation; }
120 template <typename OperationT = Aws::String>
121 void SetOperation(OperationT&& value) {
122 m_operationHasBeenSet = true;
123 m_operation = std::forward<OperationT>(value);
124 }
125 template <typename OperationT = Aws::String>
127 SetOperation(std::forward<OperationT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::String& GetStatus() const { return m_status; }
137 template <typename StatusT = Aws::String>
138 void SetStatus(StatusT&& value) {
139 m_statusHasBeenSet = true;
140 m_status = std::forward<StatusT>(value);
141 }
142 template <typename StatusT = Aws::String>
144 SetStatus(std::forward<StatusT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::String& GetUpdateTime() const { return m_updateTime; }
154 template <typename UpdateTimeT = Aws::String>
155 void SetUpdateTime(UpdateTimeT&& value) {
156 m_updateTimeHasBeenSet = true;
157 m_updateTime = std::forward<UpdateTimeT>(value);
158 }
159 template <typename UpdateTimeT = Aws::String>
161 SetUpdateTime(std::forward<UpdateTimeT>(value));
162 return *this;
163 }
165
167
168 inline const Aws::String& GetRequestId() const { return m_requestId; }
169 template <typename RequestIdT = Aws::String>
170 void SetRequestId(RequestIdT&& value) {
171 m_requestIdHasBeenSet = true;
172 m_requestId = std::forward<RequestIdT>(value);
173 }
174 template <typename RequestIdT = Aws::String>
176 SetRequestId(std::forward<RequestIdT>(value));
177 return *this;
178 }
180 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
181
182 private:
183 Aws::String m_appId;
184
185 Aws::String m_backendEnvironmentName;
186
187 Aws::String m_createTime;
188
189 Aws::String m_error;
190
191 Aws::String m_jobId;
192
193 Aws::String m_operation;
194
195 Aws::String m_status;
196
197 Aws::String m_updateTime;
198
199 Aws::String m_requestId;
200 Aws::Http::HttpResponseCode m_HttpResponseCode;
201 bool m_appIdHasBeenSet = false;
202 bool m_backendEnvironmentNameHasBeenSet = false;
203 bool m_createTimeHasBeenSet = false;
204 bool m_errorHasBeenSet = false;
205 bool m_jobIdHasBeenSet = false;
206 bool m_operationHasBeenSet = false;
207 bool m_statusHasBeenSet = false;
208 bool m_updateTimeHasBeenSet = false;
209 bool m_requestIdHasBeenSet = false;
210};
211
212} // namespace Model
213} // namespace AmplifyBackend
214} // namespace Aws
UpdateBackendJobResult & WithAppId(AppIdT &&value)
void SetBackendEnvironmentName(BackendEnvironmentNameT &&value)
AWS_AMPLIFYBACKEND_API UpdateBackendJobResult()=default
UpdateBackendJobResult & WithRequestId(RequestIdT &&value)
UpdateBackendJobResult & WithStatus(StatusT &&value)
UpdateBackendJobResult & WithBackendEnvironmentName(BackendEnvironmentNameT &&value)
UpdateBackendJobResult & WithUpdateTime(UpdateTimeT &&value)
UpdateBackendJobResult & WithCreateTime(CreateTimeT &&value)
UpdateBackendJobResult & WithOperation(OperationT &&value)
AWS_AMPLIFYBACKEND_API UpdateBackendJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateBackendJobResult & WithError(ErrorT &&value)
AWS_AMPLIFYBACKEND_API UpdateBackendJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBackendJobResult & WithJobId(JobIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue