AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AmplifyBackend
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_AMPLIFYBACKEND_API BackendJobRespObj() = default;
35 AWS_AMPLIFYBACKEND_API BackendJobRespObj(Aws::Utils::Json::JsonView jsonValue);
36 AWS_AMPLIFYBACKEND_API BackendJobRespObj& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetAppId() const { return m_appId; }
45 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
46 template<typename AppIdT = Aws::String>
47 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet = true; m_appId = std::forward<AppIdT>(value); }
48 template<typename AppIdT = Aws::String>
49 BackendJobRespObj& WithAppId(AppIdT&& value) { SetAppId(std::forward<AppIdT>(value)); return *this;}
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) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName = std::forward<BackendEnvironmentNameT>(value); }
60 template<typename BackendEnvironmentNameT = Aws::String>
61 BackendJobRespObj& WithBackendEnvironmentName(BackendEnvironmentNameT&& value) { SetBackendEnvironmentName(std::forward<BackendEnvironmentNameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetCreateTime() const { return m_createTime; }
69 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
70 template<typename CreateTimeT = Aws::String>
71 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
72 template<typename CreateTimeT = Aws::String>
73 BackendJobRespObj& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
75
77
80 inline const Aws::String& GetError() const { return m_error; }
81 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
82 template<typename ErrorT = Aws::String>
83 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
84 template<typename ErrorT = Aws::String>
85 BackendJobRespObj& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
87
89
92 inline const Aws::String& GetJobId() const { return m_jobId; }
93 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
94 template<typename JobIdT = Aws::String>
95 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
96 template<typename JobIdT = Aws::String>
97 BackendJobRespObj& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
99
101
104 inline const Aws::String& GetOperation() const { return m_operation; }
105 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
106 template<typename OperationT = Aws::String>
107 void SetOperation(OperationT&& value) { m_operationHasBeenSet = true; m_operation = std::forward<OperationT>(value); }
108 template<typename OperationT = Aws::String>
109 BackendJobRespObj& WithOperation(OperationT&& value) { SetOperation(std::forward<OperationT>(value)); return *this;}
111
113
116 inline const Aws::String& GetStatus() const { return m_status; }
117 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
118 template<typename StatusT = Aws::String>
119 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
120 template<typename StatusT = Aws::String>
121 BackendJobRespObj& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
123
125
128 inline const Aws::String& GetUpdateTime() const { return m_updateTime; }
129 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
130 template<typename UpdateTimeT = Aws::String>
131 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
132 template<typename UpdateTimeT = Aws::String>
133 BackendJobRespObj& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
135 private:
136
137 Aws::String m_appId;
138 bool m_appIdHasBeenSet = false;
139
140 Aws::String m_backendEnvironmentName;
141 bool m_backendEnvironmentNameHasBeenSet = false;
142
143 Aws::String m_createTime;
144 bool m_createTimeHasBeenSet = false;
145
146 Aws::String m_error;
147 bool m_errorHasBeenSet = false;
148
149 Aws::String m_jobId;
150 bool m_jobIdHasBeenSet = false;
151
152 Aws::String m_operation;
153 bool m_operationHasBeenSet = false;
154
155 Aws::String m_status;
156 bool m_statusHasBeenSet = false;
157
158 Aws::String m_updateTime;
159 bool m_updateTimeHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace AmplifyBackend
164} // 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