AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateBackendStorageResult.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace AmplifyBackend {
22namespace Model {
24 public:
25 AWS_AMPLIFYBACKEND_API CreateBackendStorageResult() = default;
28
30
33 inline const Aws::String& GetAppId() const { return m_appId; }
34 template <typename AppIdT = Aws::String>
35 void SetAppId(AppIdT&& value) {
36 m_appIdHasBeenSet = true;
37 m_appId = std::forward<AppIdT>(value);
38 }
39 template <typename AppIdT = Aws::String>
41 SetAppId(std::forward<AppIdT>(value));
42 return *this;
43 }
45
47
50 inline const Aws::String& GetBackendEnvironmentName() const { return m_backendEnvironmentName; }
51 template <typename BackendEnvironmentNameT = Aws::String>
52 void SetBackendEnvironmentName(BackendEnvironmentNameT&& value) {
53 m_backendEnvironmentNameHasBeenSet = true;
54 m_backendEnvironmentName = std::forward<BackendEnvironmentNameT>(value);
55 }
56 template <typename BackendEnvironmentNameT = Aws::String>
57 CreateBackendStorageResult& WithBackendEnvironmentName(BackendEnvironmentNameT&& value) {
58 SetBackendEnvironmentName(std::forward<BackendEnvironmentNameT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetJobId() const { return m_jobId; }
68 template <typename JobIdT = Aws::String>
69 void SetJobId(JobIdT&& value) {
70 m_jobIdHasBeenSet = true;
71 m_jobId = std::forward<JobIdT>(value);
72 }
73 template <typename JobIdT = Aws::String>
75 SetJobId(std::forward<JobIdT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetStatus() const { return m_status; }
85 template <typename StatusT = Aws::String>
86 void SetStatus(StatusT&& value) {
87 m_statusHasBeenSet = true;
88 m_status = std::forward<StatusT>(value);
89 }
90 template <typename StatusT = Aws::String>
92 SetStatus(std::forward<StatusT>(value));
93 return *this;
94 }
96
98
99 inline const Aws::String& GetRequestId() const { return m_requestId; }
100 template <typename RequestIdT = Aws::String>
101 void SetRequestId(RequestIdT&& value) {
102 m_requestIdHasBeenSet = true;
103 m_requestId = std::forward<RequestIdT>(value);
104 }
105 template <typename RequestIdT = Aws::String>
107 SetRequestId(std::forward<RequestIdT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_appId;
113
114 Aws::String m_backendEnvironmentName;
115
116 Aws::String m_jobId;
117
118 Aws::String m_status;
119
120 Aws::String m_requestId;
121 bool m_appIdHasBeenSet = false;
122 bool m_backendEnvironmentNameHasBeenSet = false;
123 bool m_jobIdHasBeenSet = false;
124 bool m_statusHasBeenSet = false;
125 bool m_requestIdHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace AmplifyBackend
130} // namespace Aws
CreateBackendStorageResult & WithBackendEnvironmentName(BackendEnvironmentNameT &&value)
AWS_AMPLIFYBACKEND_API CreateBackendStorageResult()=default
AWS_AMPLIFYBACKEND_API CreateBackendStorageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBackendStorageResult & WithAppId(AppIdT &&value)
CreateBackendStorageResult & WithStatus(StatusT &&value)
CreateBackendStorageResult & WithRequestId(RequestIdT &&value)
AWS_AMPLIFYBACKEND_API CreateBackendStorageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBackendStorageResult & WithJobId(JobIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue