AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
ImportBackendAuthRequest.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackendRequest.h>
8#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace AmplifyBackend {
15namespace Model {
16
23 public:
24 AWS_AMPLIFYBACKEND_API ImportBackendAuthRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ImportBackendAuth"; }
31
32 AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetAppId() const { return m_appId; }
39 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
40 template <typename AppIdT = Aws::String>
41 void SetAppId(AppIdT&& value) {
42 m_appIdHasBeenSet = true;
43 m_appId = std::forward<AppIdT>(value);
44 }
45 template <typename AppIdT = Aws::String>
47 SetAppId(std::forward<AppIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetBackendEnvironmentName() const { return m_backendEnvironmentName; }
57 inline bool BackendEnvironmentNameHasBeenSet() const { return m_backendEnvironmentNameHasBeenSet; }
58 template <typename BackendEnvironmentNameT = Aws::String>
59 void SetBackendEnvironmentName(BackendEnvironmentNameT&& value) {
60 m_backendEnvironmentNameHasBeenSet = true;
61 m_backendEnvironmentName = std::forward<BackendEnvironmentNameT>(value);
62 }
63 template <typename BackendEnvironmentNameT = Aws::String>
64 ImportBackendAuthRequest& WithBackendEnvironmentName(BackendEnvironmentNameT&& value) {
65 SetBackendEnvironmentName(std::forward<BackendEnvironmentNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetIdentityPoolId() const { return m_identityPoolId; }
75 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
76 template <typename IdentityPoolIdT = Aws::String>
77 void SetIdentityPoolId(IdentityPoolIdT&& value) {
78 m_identityPoolIdHasBeenSet = true;
79 m_identityPoolId = std::forward<IdentityPoolIdT>(value);
80 }
81 template <typename IdentityPoolIdT = Aws::String>
82 ImportBackendAuthRequest& WithIdentityPoolId(IdentityPoolIdT&& value) {
83 SetIdentityPoolId(std::forward<IdentityPoolIdT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetNativeClientId() const { return m_nativeClientId; }
93 inline bool NativeClientIdHasBeenSet() const { return m_nativeClientIdHasBeenSet; }
94 template <typename NativeClientIdT = Aws::String>
95 void SetNativeClientId(NativeClientIdT&& value) {
96 m_nativeClientIdHasBeenSet = true;
97 m_nativeClientId = std::forward<NativeClientIdT>(value);
98 }
99 template <typename NativeClientIdT = Aws::String>
101 SetNativeClientId(std::forward<NativeClientIdT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
111 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
112 template <typename UserPoolIdT = Aws::String>
113 void SetUserPoolId(UserPoolIdT&& value) {
114 m_userPoolIdHasBeenSet = true;
115 m_userPoolId = std::forward<UserPoolIdT>(value);
116 }
117 template <typename UserPoolIdT = Aws::String>
119 SetUserPoolId(std::forward<UserPoolIdT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetWebClientId() const { return m_webClientId; }
129 inline bool WebClientIdHasBeenSet() const { return m_webClientIdHasBeenSet; }
130 template <typename WebClientIdT = Aws::String>
131 void SetWebClientId(WebClientIdT&& value) {
132 m_webClientIdHasBeenSet = true;
133 m_webClientId = std::forward<WebClientIdT>(value);
134 }
135 template <typename WebClientIdT = Aws::String>
137 SetWebClientId(std::forward<WebClientIdT>(value));
138 return *this;
139 }
141 private:
142 Aws::String m_appId;
143 bool m_appIdHasBeenSet = false;
144
145 Aws::String m_backendEnvironmentName;
146 bool m_backendEnvironmentNameHasBeenSet = false;
147
148 Aws::String m_identityPoolId;
149 bool m_identityPoolIdHasBeenSet = false;
150
151 Aws::String m_nativeClientId;
152 bool m_nativeClientIdHasBeenSet = false;
153
154 Aws::String m_userPoolId;
155 bool m_userPoolIdHasBeenSet = false;
156
157 Aws::String m_webClientId;
158 bool m_webClientIdHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace AmplifyBackend
163} // namespace Aws
ImportBackendAuthRequest & WithNativeClientId(NativeClientIdT &&value)
ImportBackendAuthRequest & WithUserPoolId(UserPoolIdT &&value)
AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_AMPLIFYBACKEND_API ImportBackendAuthRequest()=default
ImportBackendAuthRequest & WithWebClientId(WebClientIdT &&value)
void SetBackendEnvironmentName(BackendEnvironmentNameT &&value)
ImportBackendAuthRequest & WithAppId(AppIdT &&value)
ImportBackendAuthRequest & WithBackendEnvironmentName(BackendEnvironmentNameT &&value)
ImportBackendAuthRequest & WithIdentityPoolId(IdentityPoolIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String