AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetBackendStorageResult.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/amplifybackend/model/GetBackendStorageResourceConfig.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace AmplifyBackend
25{
26namespace Model
27{
29 {
30 public:
31 AWS_AMPLIFYBACKEND_API GetBackendStorageResult() = default;
34
35
37
40 inline const Aws::String& GetAppId() const { return m_appId; }
41 template<typename AppIdT = Aws::String>
42 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet = true; m_appId = std::forward<AppIdT>(value); }
43 template<typename AppIdT = Aws::String>
44 GetBackendStorageResult& WithAppId(AppIdT&& value) { SetAppId(std::forward<AppIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetBackendEnvironmentName() const { return m_backendEnvironmentName; }
52 template<typename BackendEnvironmentNameT = Aws::String>
53 void SetBackendEnvironmentName(BackendEnvironmentNameT&& value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName = std::forward<BackendEnvironmentNameT>(value); }
54 template<typename BackendEnvironmentNameT = Aws::String>
55 GetBackendStorageResult& WithBackendEnvironmentName(BackendEnvironmentNameT&& value) { SetBackendEnvironmentName(std::forward<BackendEnvironmentNameT>(value)); return *this;}
57
59
62 inline const GetBackendStorageResourceConfig& GetResourceConfig() const { return m_resourceConfig; }
63 template<typename ResourceConfigT = GetBackendStorageResourceConfig>
64 void SetResourceConfig(ResourceConfigT&& value) { m_resourceConfigHasBeenSet = true; m_resourceConfig = std::forward<ResourceConfigT>(value); }
65 template<typename ResourceConfigT = GetBackendStorageResourceConfig>
66 GetBackendStorageResult& WithResourceConfig(ResourceConfigT&& value) { SetResourceConfig(std::forward<ResourceConfigT>(value)); return *this;}
68
70
73 inline const Aws::String& GetResourceName() const { return m_resourceName; }
74 template<typename ResourceNameT = Aws::String>
75 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::forward<ResourceNameT>(value); }
76 template<typename ResourceNameT = Aws::String>
77 GetBackendStorageResult& WithResourceName(ResourceNameT&& value) { SetResourceName(std::forward<ResourceNameT>(value)); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template<typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
85 template<typename RequestIdT = Aws::String>
86 GetBackendStorageResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_appId;
91 bool m_appIdHasBeenSet = false;
92
93 Aws::String m_backendEnvironmentName;
94 bool m_backendEnvironmentNameHasBeenSet = false;
95
96 GetBackendStorageResourceConfig m_resourceConfig;
97 bool m_resourceConfigHasBeenSet = false;
98
99 Aws::String m_resourceName;
100 bool m_resourceNameHasBeenSet = false;
101
102 Aws::String m_requestId;
103 bool m_requestIdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace AmplifyBackend
108} // 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