AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
47 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
48 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
49 inline BackendJobRespObj& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
50 inline BackendJobRespObj& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
51 inline BackendJobRespObj& WithAppId(const char* value) { SetAppId(value); return *this;}
53
55
58 inline const Aws::String& GetBackendEnvironmentName() const{ return m_backendEnvironmentName; }
59 inline bool BackendEnvironmentNameHasBeenSet() const { return m_backendEnvironmentNameHasBeenSet; }
60 inline void SetBackendEnvironmentName(const Aws::String& value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName = value; }
61 inline void SetBackendEnvironmentName(Aws::String&& value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName = std::move(value); }
62 inline void SetBackendEnvironmentName(const char* value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName.assign(value); }
64 inline BackendJobRespObj& WithBackendEnvironmentName(Aws::String&& value) { SetBackendEnvironmentName(std::move(value)); return *this;}
65 inline BackendJobRespObj& WithBackendEnvironmentName(const char* value) { SetBackendEnvironmentName(value); return *this;}
67
69
72 inline const Aws::String& GetCreateTime() const{ return m_createTime; }
73 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
74 inline void SetCreateTime(const Aws::String& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
75 inline void SetCreateTime(Aws::String&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
76 inline void SetCreateTime(const char* value) { m_createTimeHasBeenSet = true; m_createTime.assign(value); }
77 inline BackendJobRespObj& WithCreateTime(const Aws::String& value) { SetCreateTime(value); return *this;}
78 inline BackendJobRespObj& WithCreateTime(Aws::String&& value) { SetCreateTime(std::move(value)); return *this;}
79 inline BackendJobRespObj& WithCreateTime(const char* value) { SetCreateTime(value); return *this;}
81
83
86 inline const Aws::String& GetError() const{ return m_error; }
87 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
88 inline void SetError(const Aws::String& value) { m_errorHasBeenSet = true; m_error = value; }
89 inline void SetError(Aws::String&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
90 inline void SetError(const char* value) { m_errorHasBeenSet = true; m_error.assign(value); }
91 inline BackendJobRespObj& WithError(const Aws::String& value) { SetError(value); return *this;}
92 inline BackendJobRespObj& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
93 inline BackendJobRespObj& WithError(const char* value) { SetError(value); return *this;}
95
97
100 inline const Aws::String& GetJobId() const{ return m_jobId; }
101 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
102 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
103 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
104 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
105 inline BackendJobRespObj& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
106 inline BackendJobRespObj& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
107 inline BackendJobRespObj& WithJobId(const char* value) { SetJobId(value); return *this;}
109
111
114 inline const Aws::String& GetOperation() const{ return m_operation; }
115 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
116 inline void SetOperation(const Aws::String& value) { m_operationHasBeenSet = true; m_operation = value; }
117 inline void SetOperation(Aws::String&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); }
118 inline void SetOperation(const char* value) { m_operationHasBeenSet = true; m_operation.assign(value); }
119 inline BackendJobRespObj& WithOperation(const Aws::String& value) { SetOperation(value); return *this;}
120 inline BackendJobRespObj& WithOperation(Aws::String&& value) { SetOperation(std::move(value)); return *this;}
121 inline BackendJobRespObj& WithOperation(const char* value) { SetOperation(value); return *this;}
123
125
128 inline const Aws::String& GetStatus() const{ return m_status; }
129 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
130 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
131 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
132 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
133 inline BackendJobRespObj& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
134 inline BackendJobRespObj& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
135 inline BackendJobRespObj& WithStatus(const char* value) { SetStatus(value); return *this;}
137
139
142 inline const Aws::String& GetUpdateTime() const{ return m_updateTime; }
143 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
144 inline void SetUpdateTime(const Aws::String& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
145 inline void SetUpdateTime(Aws::String&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
146 inline void SetUpdateTime(const char* value) { m_updateTimeHasBeenSet = true; m_updateTime.assign(value); }
147 inline BackendJobRespObj& WithUpdateTime(const Aws::String& value) { SetUpdateTime(value); return *this;}
148 inline BackendJobRespObj& WithUpdateTime(Aws::String&& value) { SetUpdateTime(std::move(value)); return *this;}
149 inline BackendJobRespObj& WithUpdateTime(const char* value) { SetUpdateTime(value); return *this;}
151 private:
152
153 Aws::String m_appId;
154 bool m_appIdHasBeenSet = false;
155
156 Aws::String m_backendEnvironmentName;
157 bool m_backendEnvironmentNameHasBeenSet = false;
158
159 Aws::String m_createTime;
160 bool m_createTimeHasBeenSet = false;
161
162 Aws::String m_error;
163 bool m_errorHasBeenSet = false;
164
165 Aws::String m_jobId;
166 bool m_jobIdHasBeenSet = false;
167
168 Aws::String m_operation;
169 bool m_operationHasBeenSet = false;
170
171 Aws::String m_status;
172 bool m_statusHasBeenSet = false;
173
174 Aws::String m_updateTime;
175 bool m_updateTimeHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace AmplifyBackend
180} // namespace Aws
AWS_AMPLIFYBACKEND_API BackendJobRespObj & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBackendEnvironmentName(const Aws::String &value)
void SetCreateTime(const Aws::String &value)
BackendJobRespObj & WithStatus(const Aws::String &value)
BackendJobRespObj & WithCreateTime(Aws::String &&value)
BackendJobRespObj & WithOperation(const char *value)
BackendJobRespObj & WithJobId(Aws::String &&value)
BackendJobRespObj & WithError(const Aws::String &value)
BackendJobRespObj & WithStatus(const char *value)
BackendJobRespObj & WithUpdateTime(Aws::String &&value)
BackendJobRespObj & WithCreateTime(const char *value)
BackendJobRespObj & WithStatus(Aws::String &&value)
BackendJobRespObj & WithError(Aws::String &&value)
BackendJobRespObj & WithBackendEnvironmentName(Aws::String &&value)
BackendJobRespObj & WithJobId(const Aws::String &value)
BackendJobRespObj & WithAppId(const char *value)
BackendJobRespObj & WithOperation(Aws::String &&value)
BackendJobRespObj & WithCreateTime(const Aws::String &value)
BackendJobRespObj & WithError(const char *value)
BackendJobRespObj & WithUpdateTime(const Aws::String &value)
BackendJobRespObj & WithBackendEnvironmentName(const Aws::String &value)
BackendJobRespObj & WithUpdateTime(const char *value)
BackendJobRespObj & WithJobId(const char *value)
const Aws::String & GetBackendEnvironmentName() const
AWS_AMPLIFYBACKEND_API BackendJobRespObj(Aws::Utils::Json::JsonView jsonValue)
BackendJobRespObj & WithAppId(const Aws::String &value)
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
BackendJobRespObj & WithOperation(const Aws::String &value)
BackendJobRespObj & WithBackendEnvironmentName(const char *value)
BackendJobRespObj & WithAppId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue