AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetBackendJobResult.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace AmplifyBackend
24{
25namespace Model
26{
28 {
29 public:
30 AWS_AMPLIFYBACKEND_API GetBackendJobResult() = default;
33
34
36
39 inline const Aws::String& GetAppId() const { return m_appId; }
40 template<typename AppIdT = Aws::String>
41 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet = true; m_appId = std::forward<AppIdT>(value); }
42 template<typename AppIdT = Aws::String>
43 GetBackendJobResult& WithAppId(AppIdT&& value) { SetAppId(std::forward<AppIdT>(value)); return *this;}
45
47
50 inline const Aws::String& GetBackendEnvironmentName() const { return m_backendEnvironmentName; }
51 template<typename BackendEnvironmentNameT = Aws::String>
52 void SetBackendEnvironmentName(BackendEnvironmentNameT&& value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName = std::forward<BackendEnvironmentNameT>(value); }
53 template<typename BackendEnvironmentNameT = Aws::String>
54 GetBackendJobResult& WithBackendEnvironmentName(BackendEnvironmentNameT&& value) { SetBackendEnvironmentName(std::forward<BackendEnvironmentNameT>(value)); return *this;}
56
58
61 inline const Aws::String& GetCreateTime() const { return m_createTime; }
62 template<typename CreateTimeT = Aws::String>
63 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
64 template<typename CreateTimeT = Aws::String>
65 GetBackendJobResult& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
67
69
72 inline const Aws::String& GetError() const { return m_error; }
73 template<typename ErrorT = Aws::String>
74 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
75 template<typename ErrorT = Aws::String>
76 GetBackendJobResult& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
78
80
83 inline const Aws::String& GetJobId() const { return m_jobId; }
84 template<typename JobIdT = Aws::String>
85 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
86 template<typename JobIdT = Aws::String>
87 GetBackendJobResult& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
89
91
94 inline const Aws::String& GetOperation() const { return m_operation; }
95 template<typename OperationT = Aws::String>
96 void SetOperation(OperationT&& value) { m_operationHasBeenSet = true; m_operation = std::forward<OperationT>(value); }
97 template<typename OperationT = Aws::String>
98 GetBackendJobResult& WithOperation(OperationT&& value) { SetOperation(std::forward<OperationT>(value)); return *this;}
100
102
105 inline const Aws::String& GetStatus() const { return m_status; }
106 template<typename StatusT = Aws::String>
107 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
108 template<typename StatusT = Aws::String>
109 GetBackendJobResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
111
113
116 inline const Aws::String& GetUpdateTime() const { return m_updateTime; }
117 template<typename UpdateTimeT = Aws::String>
118 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
119 template<typename UpdateTimeT = Aws::String>
120 GetBackendJobResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
122
124
125 inline const Aws::String& GetRequestId() const { return m_requestId; }
126 template<typename RequestIdT = Aws::String>
127 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
128 template<typename RequestIdT = Aws::String>
129 GetBackendJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
131 private:
132
133 Aws::String m_appId;
134 bool m_appIdHasBeenSet = false;
135
136 Aws::String m_backendEnvironmentName;
137 bool m_backendEnvironmentNameHasBeenSet = false;
138
139 Aws::String m_createTime;
140 bool m_createTimeHasBeenSet = false;
141
142 Aws::String m_error;
143 bool m_errorHasBeenSet = false;
144
145 Aws::String m_jobId;
146 bool m_jobIdHasBeenSet = false;
147
148 Aws::String m_operation;
149 bool m_operationHasBeenSet = false;
150
151 Aws::String m_status;
152 bool m_statusHasBeenSet = false;
153
154 Aws::String m_updateTime;
155 bool m_updateTimeHasBeenSet = false;
156
157 Aws::String m_requestId;
158 bool m_requestIdHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace AmplifyBackend
163} // namespace Aws
AWS_AMPLIFYBACKEND_API GetBackendJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_AMPLIFYBACKEND_API GetBackendJobResult()=default
GetBackendJobResult & WithRequestId(RequestIdT &&value)
GetBackendJobResult & WithBackendEnvironmentName(BackendEnvironmentNameT &&value)
GetBackendJobResult & WithStatus(StatusT &&value)
GetBackendJobResult & WithUpdateTime(UpdateTimeT &&value)
GetBackendJobResult & WithCreateTime(CreateTimeT &&value)
AWS_AMPLIFYBACKEND_API GetBackendJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBackendJobResult & WithJobId(JobIdT &&value)
GetBackendJobResult & WithOperation(OperationT &&value)
void SetBackendEnvironmentName(BackendEnvironmentNameT &&value)
GetBackendJobResult & WithError(ErrorT &&value)
GetBackendJobResult & WithAppId(AppIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue