AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ImportBackendAuthRequest.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/amplifybackend/AmplifyBackendRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace AmplifyBackend
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_AMPLIFYBACKEND_API ImportBackendAuthRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ImportBackendAuth"; }
34
35 AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetAppId() const { return m_appId; }
43 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
44 template<typename AppIdT = Aws::String>
45 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet = true; m_appId = std::forward<AppIdT>(value); }
46 template<typename AppIdT = Aws::String>
47 ImportBackendAuthRequest& WithAppId(AppIdT&& value) { SetAppId(std::forward<AppIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetBackendEnvironmentName() const { return m_backendEnvironmentName; }
55 inline bool BackendEnvironmentNameHasBeenSet() const { return m_backendEnvironmentNameHasBeenSet; }
56 template<typename BackendEnvironmentNameT = Aws::String>
57 void SetBackendEnvironmentName(BackendEnvironmentNameT&& value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName = std::forward<BackendEnvironmentNameT>(value); }
58 template<typename BackendEnvironmentNameT = Aws::String>
59 ImportBackendAuthRequest& WithBackendEnvironmentName(BackendEnvironmentNameT&& value) { SetBackendEnvironmentName(std::forward<BackendEnvironmentNameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetIdentityPoolId() const { return m_identityPoolId; }
67 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
68 template<typename IdentityPoolIdT = Aws::String>
69 void SetIdentityPoolId(IdentityPoolIdT&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::forward<IdentityPoolIdT>(value); }
70 template<typename IdentityPoolIdT = Aws::String>
71 ImportBackendAuthRequest& WithIdentityPoolId(IdentityPoolIdT&& value) { SetIdentityPoolId(std::forward<IdentityPoolIdT>(value)); return *this;}
73
75
78 inline const Aws::String& GetNativeClientId() const { return m_nativeClientId; }
79 inline bool NativeClientIdHasBeenSet() const { return m_nativeClientIdHasBeenSet; }
80 template<typename NativeClientIdT = Aws::String>
81 void SetNativeClientId(NativeClientIdT&& value) { m_nativeClientIdHasBeenSet = true; m_nativeClientId = std::forward<NativeClientIdT>(value); }
82 template<typename NativeClientIdT = Aws::String>
83 ImportBackendAuthRequest& WithNativeClientId(NativeClientIdT&& value) { SetNativeClientId(std::forward<NativeClientIdT>(value)); return *this;}
85
87
90 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
91 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
92 template<typename UserPoolIdT = Aws::String>
93 void SetUserPoolId(UserPoolIdT&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::forward<UserPoolIdT>(value); }
94 template<typename UserPoolIdT = Aws::String>
95 ImportBackendAuthRequest& WithUserPoolId(UserPoolIdT&& value) { SetUserPoolId(std::forward<UserPoolIdT>(value)); return *this;}
97
99
102 inline const Aws::String& GetWebClientId() const { return m_webClientId; }
103 inline bool WebClientIdHasBeenSet() const { return m_webClientIdHasBeenSet; }
104 template<typename WebClientIdT = Aws::String>
105 void SetWebClientId(WebClientIdT&& value) { m_webClientIdHasBeenSet = true; m_webClientId = std::forward<WebClientIdT>(value); }
106 template<typename WebClientIdT = Aws::String>
107 ImportBackendAuthRequest& WithWebClientId(WebClientIdT&& value) { SetWebClientId(std::forward<WebClientIdT>(value)); return *this;}
109 private:
110
111 Aws::String m_appId;
112 bool m_appIdHasBeenSet = false;
113
114 Aws::String m_backendEnvironmentName;
115 bool m_backendEnvironmentNameHasBeenSet = false;
116
117 Aws::String m_identityPoolId;
118 bool m_identityPoolIdHasBeenSet = false;
119
120 Aws::String m_nativeClientId;
121 bool m_nativeClientIdHasBeenSet = false;
122
123 Aws::String m_userPoolId;
124 bool m_userPoolIdHasBeenSet = false;
125
126 Aws::String m_webClientId;
127 bool m_webClientIdHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace AmplifyBackend
132} // 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