AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateBackendConfigResult.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/amplifybackend/model/LoginAuthConfigReqObj.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 UpdateBackendConfigResult() = 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& GetBackendManagerAppId() const { return m_backendManagerAppId; }
52 template <typename BackendManagerAppIdT = Aws::String>
53 void SetBackendManagerAppId(BackendManagerAppIdT&& value) {
54 m_backendManagerAppIdHasBeenSet = true;
55 m_backendManagerAppId = std::forward<BackendManagerAppIdT>(value);
56 }
57 template <typename BackendManagerAppIdT = Aws::String>
58 UpdateBackendConfigResult& WithBackendManagerAppId(BackendManagerAppIdT&& value) {
59 SetBackendManagerAppId(std::forward<BackendManagerAppIdT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetError() const { return m_error; }
69 template <typename ErrorT = Aws::String>
70 void SetError(ErrorT&& value) {
71 m_errorHasBeenSet = true;
72 m_error = std::forward<ErrorT>(value);
73 }
74 template <typename ErrorT = Aws::String>
76 SetError(std::forward<ErrorT>(value));
77 return *this;
78 }
80
82
86 inline const LoginAuthConfigReqObj& GetLoginAuthConfig() const { return m_loginAuthConfig; }
87 template <typename LoginAuthConfigT = LoginAuthConfigReqObj>
88 void SetLoginAuthConfig(LoginAuthConfigT&& value) {
89 m_loginAuthConfigHasBeenSet = true;
90 m_loginAuthConfig = std::forward<LoginAuthConfigT>(value);
91 }
92 template <typename LoginAuthConfigT = LoginAuthConfigReqObj>
94 SetLoginAuthConfig(std::forward<LoginAuthConfigT>(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 private:
114 Aws::String m_appId;
115
116 Aws::String m_backendManagerAppId;
117
118 Aws::String m_error;
119
120 LoginAuthConfigReqObj m_loginAuthConfig;
121
122 Aws::String m_requestId;
123 bool m_appIdHasBeenSet = false;
124 bool m_backendManagerAppIdHasBeenSet = false;
125 bool m_errorHasBeenSet = false;
126 bool m_loginAuthConfigHasBeenSet = false;
127 bool m_requestIdHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace AmplifyBackend
132} // namespace Aws
UpdateBackendConfigResult & WithBackendManagerAppId(BackendManagerAppIdT &&value)
AWS_AMPLIFYBACKEND_API UpdateBackendConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_AMPLIFYBACKEND_API UpdateBackendConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_AMPLIFYBACKEND_API UpdateBackendConfigResult()=default
UpdateBackendConfigResult & WithRequestId(RequestIdT &&value)
UpdateBackendConfigResult & WithAppId(AppIdT &&value)
UpdateBackendConfigResult & WithError(ErrorT &&value)
UpdateBackendConfigResult & WithLoginAuthConfig(LoginAuthConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue