AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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/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 UpdateBackendConfigResult() = 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& GetBackendManagerAppId() const { return m_backendManagerAppId; }
53 template <typename BackendManagerAppIdT = Aws::String>
54 void SetBackendManagerAppId(BackendManagerAppIdT&& value) {
55 m_backendManagerAppIdHasBeenSet = true;
56 m_backendManagerAppId = std::forward<BackendManagerAppIdT>(value);
57 }
58 template <typename BackendManagerAppIdT = Aws::String>
59 UpdateBackendConfigResult& WithBackendManagerAppId(BackendManagerAppIdT&& value) {
60 SetBackendManagerAppId(std::forward<BackendManagerAppIdT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetError() const { return m_error; }
70 template <typename ErrorT = Aws::String>
71 void SetError(ErrorT&& value) {
72 m_errorHasBeenSet = true;
73 m_error = std::forward<ErrorT>(value);
74 }
75 template <typename ErrorT = Aws::String>
77 SetError(std::forward<ErrorT>(value));
78 return *this;
79 }
81
83
87 inline const LoginAuthConfigReqObj& GetLoginAuthConfig() const { return m_loginAuthConfig; }
88 template <typename LoginAuthConfigT = LoginAuthConfigReqObj>
89 void SetLoginAuthConfig(LoginAuthConfigT&& value) {
90 m_loginAuthConfigHasBeenSet = true;
91 m_loginAuthConfig = std::forward<LoginAuthConfigT>(value);
92 }
93 template <typename LoginAuthConfigT = LoginAuthConfigReqObj>
95 SetLoginAuthConfig(std::forward<LoginAuthConfigT>(value));
96 return *this;
97 }
99
101
102 inline const Aws::String& GetRequestId() const { return m_requestId; }
103 template <typename RequestIdT = Aws::String>
104 void SetRequestId(RequestIdT&& value) {
105 m_requestIdHasBeenSet = true;
106 m_requestId = std::forward<RequestIdT>(value);
107 }
108 template <typename RequestIdT = Aws::String>
110 SetRequestId(std::forward<RequestIdT>(value));
111 return *this;
112 }
114 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
115
116 private:
117 Aws::String m_appId;
118
119 Aws::String m_backendManagerAppId;
120
121 Aws::String m_error;
122
123 LoginAuthConfigReqObj m_loginAuthConfig;
124
125 Aws::String m_requestId;
126 Aws::Http::HttpResponseCode m_HttpResponseCode;
127 bool m_appIdHasBeenSet = false;
128 bool m_backendManagerAppIdHasBeenSet = false;
129 bool m_errorHasBeenSet = false;
130 bool m_loginAuthConfigHasBeenSet = false;
131 bool m_requestIdHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace AmplifyBackend
136} // 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