AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
RemoveAllBackendsResult.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace AmplifyBackend {
23namespace Model {
25 public:
26 AWS_AMPLIFYBACKEND_API RemoveAllBackendsResult() = default;
29
31
34 inline const Aws::String& GetAppId() const { return m_appId; }
35 template <typename AppIdT = Aws::String>
36 void SetAppId(AppIdT&& value) {
37 m_appIdHasBeenSet = true;
38 m_appId = std::forward<AppIdT>(value);
39 }
40 template <typename AppIdT = Aws::String>
42 SetAppId(std::forward<AppIdT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetError() const { return m_error; }
52 template <typename ErrorT = Aws::String>
53 void SetError(ErrorT&& value) {
54 m_errorHasBeenSet = true;
55 m_error = std::forward<ErrorT>(value);
56 }
57 template <typename ErrorT = Aws::String>
59 SetError(std::forward<ErrorT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetJobId() const { return m_jobId; }
69 template <typename JobIdT = Aws::String>
70 void SetJobId(JobIdT&& value) {
71 m_jobIdHasBeenSet = true;
72 m_jobId = std::forward<JobIdT>(value);
73 }
74 template <typename JobIdT = Aws::String>
76 SetJobId(std::forward<JobIdT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetOperation() const { return m_operation; }
86 template <typename OperationT = Aws::String>
87 void SetOperation(OperationT&& value) {
88 m_operationHasBeenSet = true;
89 m_operation = std::forward<OperationT>(value);
90 }
91 template <typename OperationT = Aws::String>
93 SetOperation(std::forward<OperationT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetStatus() const { return m_status; }
103 template <typename StatusT = Aws::String>
104 void SetStatus(StatusT&& value) {
105 m_statusHasBeenSet = true;
106 m_status = std::forward<StatusT>(value);
107 }
108 template <typename StatusT = Aws::String>
110 SetStatus(std::forward<StatusT>(value));
111 return *this;
112 }
114
116
117 inline const Aws::String& GetRequestId() const { return m_requestId; }
118 template <typename RequestIdT = Aws::String>
119 void SetRequestId(RequestIdT&& value) {
120 m_requestIdHasBeenSet = true;
121 m_requestId = std::forward<RequestIdT>(value);
122 }
123 template <typename RequestIdT = Aws::String>
125 SetRequestId(std::forward<RequestIdT>(value));
126 return *this;
127 }
129 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
130
131 private:
132 Aws::String m_appId;
133
134 Aws::String m_error;
135
136 Aws::String m_jobId;
137
138 Aws::String m_operation;
139
140 Aws::String m_status;
141
142 Aws::String m_requestId;
143 Aws::Http::HttpResponseCode m_HttpResponseCode;
144 bool m_appIdHasBeenSet = false;
145 bool m_errorHasBeenSet = false;
146 bool m_jobIdHasBeenSet = false;
147 bool m_operationHasBeenSet = false;
148 bool m_statusHasBeenSet = false;
149 bool m_requestIdHasBeenSet = false;
150};
151
152} // namespace Model
153} // namespace AmplifyBackend
154} // namespace Aws
RemoveAllBackendsResult & WithStatus(StatusT &&value)
AWS_AMPLIFYBACKEND_API RemoveAllBackendsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RemoveAllBackendsResult & WithJobId(JobIdT &&value)
RemoveAllBackendsResult & WithError(ErrorT &&value)
RemoveAllBackendsResult & WithRequestId(RequestIdT &&value)
RemoveAllBackendsResult & WithAppId(AppIdT &&value)
AWS_AMPLIFYBACKEND_API RemoveAllBackendsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_AMPLIFYBACKEND_API RemoveAllBackendsResult()=default
RemoveAllBackendsResult & WithOperation(OperationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue