AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
BackendJobRespObj.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 {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AmplifyBackend {
20namespace Model {
21
28 public:
29 AWS_AMPLIFYBACKEND_API BackendJobRespObj() = default;
30 AWS_AMPLIFYBACKEND_API BackendJobRespObj(Aws::Utils::Json::JsonView jsonValue);
31 AWS_AMPLIFYBACKEND_API BackendJobRespObj& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetAppId() const { return m_appId; }
39 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
40 template <typename AppIdT = Aws::String>
41 void SetAppId(AppIdT&& value) {
42 m_appIdHasBeenSet = true;
43 m_appId = std::forward<AppIdT>(value);
44 }
45 template <typename AppIdT = Aws::String>
46 BackendJobRespObj& WithAppId(AppIdT&& value) {
47 SetAppId(std::forward<AppIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetBackendEnvironmentName() const { return m_backendEnvironmentName; }
57 inline bool BackendEnvironmentNameHasBeenSet() const { return m_backendEnvironmentNameHasBeenSet; }
58 template <typename BackendEnvironmentNameT = Aws::String>
59 void SetBackendEnvironmentName(BackendEnvironmentNameT&& value) {
60 m_backendEnvironmentNameHasBeenSet = true;
61 m_backendEnvironmentName = std::forward<BackendEnvironmentNameT>(value);
62 }
63 template <typename BackendEnvironmentNameT = Aws::String>
64 BackendJobRespObj& WithBackendEnvironmentName(BackendEnvironmentNameT&& value) {
65 SetBackendEnvironmentName(std::forward<BackendEnvironmentNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetCreateTime() const { return m_createTime; }
75 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
76 template <typename CreateTimeT = Aws::String>
77 void SetCreateTime(CreateTimeT&& value) {
78 m_createTimeHasBeenSet = true;
79 m_createTime = std::forward<CreateTimeT>(value);
80 }
81 template <typename CreateTimeT = Aws::String>
82 BackendJobRespObj& WithCreateTime(CreateTimeT&& value) {
83 SetCreateTime(std::forward<CreateTimeT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetError() const { return m_error; }
93 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
94 template <typename ErrorT = Aws::String>
95 void SetError(ErrorT&& value) {
96 m_errorHasBeenSet = true;
97 m_error = std::forward<ErrorT>(value);
98 }
99 template <typename ErrorT = Aws::String>
100 BackendJobRespObj& WithError(ErrorT&& value) {
101 SetError(std::forward<ErrorT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetJobId() const { return m_jobId; }
111 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
112 template <typename JobIdT = Aws::String>
113 void SetJobId(JobIdT&& value) {
114 m_jobIdHasBeenSet = true;
115 m_jobId = std::forward<JobIdT>(value);
116 }
117 template <typename JobIdT = Aws::String>
118 BackendJobRespObj& WithJobId(JobIdT&& value) {
119 SetJobId(std::forward<JobIdT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetOperation() const { return m_operation; }
129 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
130 template <typename OperationT = Aws::String>
131 void SetOperation(OperationT&& value) {
132 m_operationHasBeenSet = true;
133 m_operation = std::forward<OperationT>(value);
134 }
135 template <typename OperationT = Aws::String>
136 BackendJobRespObj& WithOperation(OperationT&& value) {
137 SetOperation(std::forward<OperationT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetStatus() const { return m_status; }
147 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
148 template <typename StatusT = Aws::String>
149 void SetStatus(StatusT&& value) {
150 m_statusHasBeenSet = true;
151 m_status = std::forward<StatusT>(value);
152 }
153 template <typename StatusT = Aws::String>
154 BackendJobRespObj& WithStatus(StatusT&& value) {
155 SetStatus(std::forward<StatusT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::String& GetUpdateTime() const { return m_updateTime; }
165 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
166 template <typename UpdateTimeT = Aws::String>
167 void SetUpdateTime(UpdateTimeT&& value) {
168 m_updateTimeHasBeenSet = true;
169 m_updateTime = std::forward<UpdateTimeT>(value);
170 }
171 template <typename UpdateTimeT = Aws::String>
172 BackendJobRespObj& WithUpdateTime(UpdateTimeT&& value) {
173 SetUpdateTime(std::forward<UpdateTimeT>(value));
174 return *this;
175 }
177 private:
178 Aws::String m_appId;
179
180 Aws::String m_backendEnvironmentName;
181
182 Aws::String m_createTime;
183
184 Aws::String m_error;
185
186 Aws::String m_jobId;
187
188 Aws::String m_operation;
189
190 Aws::String m_status;
191
192 Aws::String m_updateTime;
193 bool m_appIdHasBeenSet = false;
194 bool m_backendEnvironmentNameHasBeenSet = false;
195 bool m_createTimeHasBeenSet = false;
196 bool m_errorHasBeenSet = false;
197 bool m_jobIdHasBeenSet = false;
198 bool m_operationHasBeenSet = false;
199 bool m_statusHasBeenSet = false;
200 bool m_updateTimeHasBeenSet = false;
201};
202
203} // namespace Model
204} // namespace AmplifyBackend
205} // namespace Aws
AWS_AMPLIFYBACKEND_API BackendJobRespObj & operator=(Aws::Utils::Json::JsonView jsonValue)
BackendJobRespObj & WithJobId(JobIdT &&value)
BackendJobRespObj & WithCreateTime(CreateTimeT &&value)
void SetBackendEnvironmentName(BackendEnvironmentNameT &&value)
AWS_AMPLIFYBACKEND_API BackendJobRespObj()=default
BackendJobRespObj & WithAppId(AppIdT &&value)
BackendJobRespObj & WithStatus(StatusT &&value)
BackendJobRespObj & WithOperation(OperationT &&value)
const Aws::String & GetBackendEnvironmentName() const
BackendJobRespObj & WithBackendEnvironmentName(BackendEnvironmentNameT &&value)
AWS_AMPLIFYBACKEND_API BackendJobRespObj(Aws::Utils::Json::JsonView jsonValue)
BackendJobRespObj & WithUpdateTime(UpdateTimeT &&value)
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
BackendJobRespObj & WithError(ErrorT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue