AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetBackendAuthResult.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/CreateBackendAuthResourceConfig.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 GetBackendAuthResult() = 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 GetBackendAuthResult& 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 GetBackendAuthResult& WithBackendEnvironmentName(BackendEnvironmentNameT&& value) { SetBackendEnvironmentName(std::forward<BackendEnvironmentNameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetError() const { return m_error; }
63 template<typename ErrorT = Aws::String>
64 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
65 template<typename ErrorT = Aws::String>
66 GetBackendAuthResult& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
68
70
74 inline const CreateBackendAuthResourceConfig& GetResourceConfig() const { return m_resourceConfig; }
75 template<typename ResourceConfigT = CreateBackendAuthResourceConfig>
76 void SetResourceConfig(ResourceConfigT&& value) { m_resourceConfigHasBeenSet = true; m_resourceConfig = std::forward<ResourceConfigT>(value); }
77 template<typename ResourceConfigT = CreateBackendAuthResourceConfig>
78 GetBackendAuthResult& WithResourceConfig(ResourceConfigT&& value) { SetResourceConfig(std::forward<ResourceConfigT>(value)); return *this;}
80
82
85 inline const Aws::String& GetResourceName() const { return m_resourceName; }
86 template<typename ResourceNameT = Aws::String>
87 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::forward<ResourceNameT>(value); }
88 template<typename ResourceNameT = Aws::String>
89 GetBackendAuthResult& WithResourceName(ResourceNameT&& value) { SetResourceName(std::forward<ResourceNameT>(value)); return *this;}
91
93
94 inline const Aws::String& GetRequestId() const { return m_requestId; }
95 template<typename RequestIdT = Aws::String>
96 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
97 template<typename RequestIdT = Aws::String>
98 GetBackendAuthResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
100 private:
101
102 Aws::String m_appId;
103 bool m_appIdHasBeenSet = false;
104
105 Aws::String m_backendEnvironmentName;
106 bool m_backendEnvironmentNameHasBeenSet = false;
107
108 Aws::String m_error;
109 bool m_errorHasBeenSet = false;
110
111 CreateBackendAuthResourceConfig m_resourceConfig;
112 bool m_resourceConfigHasBeenSet = false;
113
114 Aws::String m_resourceName;
115 bool m_resourceNameHasBeenSet = false;
116
117 Aws::String m_requestId;
118 bool m_requestIdHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace AmplifyBackend
123} // namespace Aws
AWS_AMPLIFYBACKEND_API GetBackendAuthResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_AMPLIFYBACKEND_API GetBackendAuthResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBackendAuthResult & WithRequestId(RequestIdT &&value)
AWS_AMPLIFYBACKEND_API GetBackendAuthResult()=default
GetBackendAuthResult & WithAppId(AppIdT &&value)
GetBackendAuthResult & WithBackendEnvironmentName(BackendEnvironmentNameT &&value)
const CreateBackendAuthResourceConfig & GetResourceConfig() const
GetBackendAuthResult & WithResourceConfig(ResourceConfigT &&value)
GetBackendAuthResult & WithResourceName(ResourceNameT &&value)
void SetBackendEnvironmentName(BackendEnvironmentNameT &&value)
GetBackendAuthResult & WithError(ErrorT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue