AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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/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 GetBackendStorageResult() = 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 GetBackendStorageResult& WithBackendEnvironmentName(BackendEnvironmentNameT&& value) {
59 SetBackendEnvironmentName(std::forward<BackendEnvironmentNameT>(value));
60 return *this;
61 }
63
65
68 inline const GetBackendStorageResourceConfig& GetResourceConfig() const { return m_resourceConfig; }
69 template <typename ResourceConfigT = GetBackendStorageResourceConfig>
70 void SetResourceConfig(ResourceConfigT&& value) {
71 m_resourceConfigHasBeenSet = true;
72 m_resourceConfig = std::forward<ResourceConfigT>(value);
73 }
74 template <typename ResourceConfigT = GetBackendStorageResourceConfig>
75 GetBackendStorageResult& WithResourceConfig(ResourceConfigT&& value) {
76 SetResourceConfig(std::forward<ResourceConfigT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetResourceName() const { return m_resourceName; }
86 template <typename ResourceNameT = Aws::String>
87 void SetResourceName(ResourceNameT&& value) {
88 m_resourceNameHasBeenSet = true;
89 m_resourceName = std::forward<ResourceNameT>(value);
90 }
91 template <typename ResourceNameT = Aws::String>
92 GetBackendStorageResult& WithResourceName(ResourceNameT&& value) {
93 SetResourceName(std::forward<ResourceNameT>(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 private:
113 Aws::String m_appId;
114
115 Aws::String m_backendEnvironmentName;
116
117 GetBackendStorageResourceConfig m_resourceConfig;
118
119 Aws::String m_resourceName;
120
121 Aws::String m_requestId;
122 bool m_appIdHasBeenSet = false;
123 bool m_backendEnvironmentNameHasBeenSet = false;
124 bool m_resourceConfigHasBeenSet = false;
125 bool m_resourceNameHasBeenSet = false;
126 bool m_requestIdHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace AmplifyBackend
131} // 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