AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateBackendStorageResult.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 UpdateBackendStorageResult() = 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& GetBackendEnvironmentName() const { return m_backendEnvironmentName; }
52 template <typename BackendEnvironmentNameT = Aws::String>
53 void SetBackendEnvironmentName(BackendEnvironmentNameT&& value) {
54 m_backendEnvironmentNameHasBeenSet = true;
55 m_backendEnvironmentName = std::forward<BackendEnvironmentNameT>(value);
56 }
57 template <typename BackendEnvironmentNameT = Aws::String>
58 UpdateBackendStorageResult& WithBackendEnvironmentName(BackendEnvironmentNameT&& value) {
59 SetBackendEnvironmentName(std::forward<BackendEnvironmentNameT>(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& GetStatus() const { return m_status; }
86 template <typename StatusT = Aws::String>
87 void SetStatus(StatusT&& value) {
88 m_statusHasBeenSet = true;
89 m_status = std::forward<StatusT>(value);
90 }
91 template <typename StatusT = Aws::String>
93 SetStatus(std::forward<StatusT>(value));
94 return *this;
95 }
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template <typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) {
103 m_requestIdHasBeenSet = true;
104 m_requestId = std::forward<RequestIdT>(value);
105 }
106 template <typename RequestIdT = Aws::String>
108 SetRequestId(std::forward<RequestIdT>(value));
109 return *this;
110 }
112 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
113
114 private:
115 Aws::String m_appId;
116
117 Aws::String m_backendEnvironmentName;
118
119 Aws::String m_jobId;
120
121 Aws::String m_status;
122
123 Aws::String m_requestId;
124 Aws::Http::HttpResponseCode m_HttpResponseCode;
125 bool m_appIdHasBeenSet = false;
126 bool m_backendEnvironmentNameHasBeenSet = false;
127 bool m_jobIdHasBeenSet = false;
128 bool m_statusHasBeenSet = false;
129 bool m_requestIdHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace AmplifyBackend
134} // namespace Aws
UpdateBackendStorageResult & WithStatus(StatusT &&value)
AWS_AMPLIFYBACKEND_API UpdateBackendStorageResult()=default
UpdateBackendStorageResult & WithJobId(JobIdT &&value)
UpdateBackendStorageResult & WithRequestId(RequestIdT &&value)
AWS_AMPLIFYBACKEND_API UpdateBackendStorageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBackendStorageResult & WithAppId(AppIdT &&value)
UpdateBackendStorageResult & WithBackendEnvironmentName(BackendEnvironmentNameT &&value)
AWS_AMPLIFYBACKEND_API UpdateBackendStorageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue