AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetBackendStorageResult.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/amplifybackend/model/GetBackendStorageResourceConfig.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace AmplifyBackend {
24namespace Model {
26 public:
27 AWS_AMPLIFYBACKEND_API GetBackendStorageResult() = default;
30
32
35 inline const Aws::String& GetAppId() const { return m_appId; }
36 template <typename AppIdT = Aws::String>
37 void SetAppId(AppIdT&& value) {
38 m_appIdHasBeenSet = true;
39 m_appId = std::forward<AppIdT>(value);
40 }
41 template <typename AppIdT = Aws::String>
43 SetAppId(std::forward<AppIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetBackendEnvironmentName() const { return m_backendEnvironmentName; }
53 template <typename BackendEnvironmentNameT = Aws::String>
54 void SetBackendEnvironmentName(BackendEnvironmentNameT&& value) {
55 m_backendEnvironmentNameHasBeenSet = true;
56 m_backendEnvironmentName = std::forward<BackendEnvironmentNameT>(value);
57 }
58 template <typename BackendEnvironmentNameT = Aws::String>
59 GetBackendStorageResult& WithBackendEnvironmentName(BackendEnvironmentNameT&& value) {
60 SetBackendEnvironmentName(std::forward<BackendEnvironmentNameT>(value));
61 return *this;
62 }
64
66
69 inline const GetBackendStorageResourceConfig& GetResourceConfig() const { return m_resourceConfig; }
70 template <typename ResourceConfigT = GetBackendStorageResourceConfig>
71 void SetResourceConfig(ResourceConfigT&& value) {
72 m_resourceConfigHasBeenSet = true;
73 m_resourceConfig = std::forward<ResourceConfigT>(value);
74 }
75 template <typename ResourceConfigT = GetBackendStorageResourceConfig>
76 GetBackendStorageResult& WithResourceConfig(ResourceConfigT&& value) {
77 SetResourceConfig(std::forward<ResourceConfigT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetResourceName() const { return m_resourceName; }
87 template <typename ResourceNameT = Aws::String>
88 void SetResourceName(ResourceNameT&& value) {
89 m_resourceNameHasBeenSet = true;
90 m_resourceName = std::forward<ResourceNameT>(value);
91 }
92 template <typename ResourceNameT = Aws::String>
93 GetBackendStorageResult& WithResourceName(ResourceNameT&& value) {
94 SetResourceName(std::forward<ResourceNameT>(value));
95 return *this;
96 }
98
100
101 inline const Aws::String& GetRequestId() const { return m_requestId; }
102 template <typename RequestIdT = Aws::String>
103 void SetRequestId(RequestIdT&& value) {
104 m_requestIdHasBeenSet = true;
105 m_requestId = std::forward<RequestIdT>(value);
106 }
107 template <typename RequestIdT = Aws::String>
109 SetRequestId(std::forward<RequestIdT>(value));
110 return *this;
111 }
113 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
114
115 private:
116 Aws::String m_appId;
117
118 Aws::String m_backendEnvironmentName;
119
120 GetBackendStorageResourceConfig m_resourceConfig;
121
122 Aws::String m_resourceName;
123
124 Aws::String m_requestId;
125 Aws::Http::HttpResponseCode m_HttpResponseCode;
126 bool m_appIdHasBeenSet = false;
127 bool m_backendEnvironmentNameHasBeenSet = false;
128 bool m_resourceConfigHasBeenSet = false;
129 bool m_resourceNameHasBeenSet = false;
130 bool m_requestIdHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace AmplifyBackend
135} // namespace Aws
AWS_AMPLIFYBACKEND_API GetBackendStorageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBackendEnvironmentName(BackendEnvironmentNameT &&value)
GetBackendStorageResult & WithResourceConfig(ResourceConfigT &&value)
AWS_AMPLIFYBACKEND_API GetBackendStorageResult()=default
GetBackendStorageResult & WithRequestId(RequestIdT &&value)
GetBackendStorageResult & WithResourceName(ResourceNameT &&value)
GetBackendStorageResult & WithBackendEnvironmentName(BackendEnvironmentNameT &&value)
AWS_AMPLIFYBACKEND_API GetBackendStorageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBackendStorageResult & WithAppId(AppIdT &&value)
const GetBackendStorageResourceConfig & GetResourceConfig() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue