AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
UpdateBackendJobResult.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace AmplifyBackend {
22namespace Model {
24 public:
25 AWS_AMPLIFYBACKEND_API UpdateBackendJobResult() = default;
28
30
33 inline const Aws::String& GetAppId() const { return m_appId; }
34 template <typename AppIdT = Aws::String>
35 void SetAppId(AppIdT&& value) {
36 m_appIdHasBeenSet = true;
37 m_appId = std::forward<AppIdT>(value);
38 }
39 template <typename AppIdT = Aws::String>
41 SetAppId(std::forward<AppIdT>(value));
42 return *this;
43 }
45
47
50 inline const Aws::String& GetBackendEnvironmentName() const { return m_backendEnvironmentName; }
51 template <typename BackendEnvironmentNameT = Aws::String>
52 void SetBackendEnvironmentName(BackendEnvironmentNameT&& value) {
53 m_backendEnvironmentNameHasBeenSet = true;
54 m_backendEnvironmentName = std::forward<BackendEnvironmentNameT>(value);
55 }
56 template <typename BackendEnvironmentNameT = Aws::String>
57 UpdateBackendJobResult& WithBackendEnvironmentName(BackendEnvironmentNameT&& value) {
58 SetBackendEnvironmentName(std::forward<BackendEnvironmentNameT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetCreateTime() const { return m_createTime; }
68 template <typename CreateTimeT = Aws::String>
69 void SetCreateTime(CreateTimeT&& value) {
70 m_createTimeHasBeenSet = true;
71 m_createTime = std::forward<CreateTimeT>(value);
72 }
73 template <typename CreateTimeT = Aws::String>
74 UpdateBackendJobResult& WithCreateTime(CreateTimeT&& value) {
75 SetCreateTime(std::forward<CreateTimeT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetError() const { return m_error; }
85 template <typename ErrorT = Aws::String>
86 void SetError(ErrorT&& value) {
87 m_errorHasBeenSet = true;
88 m_error = std::forward<ErrorT>(value);
89 }
90 template <typename ErrorT = Aws::String>
92 SetError(std::forward<ErrorT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetJobId() const { return m_jobId; }
102 template <typename JobIdT = Aws::String>
103 void SetJobId(JobIdT&& value) {
104 m_jobIdHasBeenSet = true;
105 m_jobId = std::forward<JobIdT>(value);
106 }
107 template <typename JobIdT = Aws::String>
109 SetJobId(std::forward<JobIdT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::String& GetOperation() const { return m_operation; }
119 template <typename OperationT = Aws::String>
120 void SetOperation(OperationT&& value) {
121 m_operationHasBeenSet = true;
122 m_operation = std::forward<OperationT>(value);
123 }
124 template <typename OperationT = Aws::String>
126 SetOperation(std::forward<OperationT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetStatus() const { return m_status; }
136 template <typename StatusT = Aws::String>
137 void SetStatus(StatusT&& value) {
138 m_statusHasBeenSet = true;
139 m_status = std::forward<StatusT>(value);
140 }
141 template <typename StatusT = Aws::String>
143 SetStatus(std::forward<StatusT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::String& GetUpdateTime() const { return m_updateTime; }
153 template <typename UpdateTimeT = Aws::String>
154 void SetUpdateTime(UpdateTimeT&& value) {
155 m_updateTimeHasBeenSet = true;
156 m_updateTime = std::forward<UpdateTimeT>(value);
157 }
158 template <typename UpdateTimeT = Aws::String>
160 SetUpdateTime(std::forward<UpdateTimeT>(value));
161 return *this;
162 }
164
166
167 inline const Aws::String& GetRequestId() const { return m_requestId; }
168 template <typename RequestIdT = Aws::String>
169 void SetRequestId(RequestIdT&& value) {
170 m_requestIdHasBeenSet = true;
171 m_requestId = std::forward<RequestIdT>(value);
172 }
173 template <typename RequestIdT = Aws::String>
175 SetRequestId(std::forward<RequestIdT>(value));
176 return *this;
177 }
179 private:
180 Aws::String m_appId;
181
182 Aws::String m_backendEnvironmentName;
183
184 Aws::String m_createTime;
185
186 Aws::String m_error;
187
188 Aws::String m_jobId;
189
190 Aws::String m_operation;
191
192 Aws::String m_status;
193
194 Aws::String m_updateTime;
195
196 Aws::String m_requestId;
197 bool m_appIdHasBeenSet = false;
198 bool m_backendEnvironmentNameHasBeenSet = false;
199 bool m_createTimeHasBeenSet = false;
200 bool m_errorHasBeenSet = false;
201 bool m_jobIdHasBeenSet = false;
202 bool m_operationHasBeenSet = false;
203 bool m_statusHasBeenSet = false;
204 bool m_updateTimeHasBeenSet = false;
205 bool m_requestIdHasBeenSet = false;
206};
207
208} // namespace Model
209} // namespace AmplifyBackend
210} // 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)
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