AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
45 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
46 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
47 inline ImportBackendAuthRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
48 inline ImportBackendAuthRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
49 inline ImportBackendAuthRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
51
53
56 inline const Aws::String& GetBackendEnvironmentName() const{ return m_backendEnvironmentName; }
57 inline bool BackendEnvironmentNameHasBeenSet() const { return m_backendEnvironmentNameHasBeenSet; }
58 inline void SetBackendEnvironmentName(const Aws::String& value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName = value; }
59 inline void SetBackendEnvironmentName(Aws::String&& value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName = std::move(value); }
60 inline void SetBackendEnvironmentName(const char* value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName.assign(value); }
63 inline ImportBackendAuthRequest& WithBackendEnvironmentName(const char* value) { SetBackendEnvironmentName(value); return *this;}
65
67
70 inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
71 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
72 inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
73 inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); }
74 inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
75 inline ImportBackendAuthRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
76 inline ImportBackendAuthRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
77 inline ImportBackendAuthRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
79
81
84 inline const Aws::String& GetNativeClientId() const{ return m_nativeClientId; }
85 inline bool NativeClientIdHasBeenSet() const { return m_nativeClientIdHasBeenSet; }
86 inline void SetNativeClientId(const Aws::String& value) { m_nativeClientIdHasBeenSet = true; m_nativeClientId = value; }
87 inline void SetNativeClientId(Aws::String&& value) { m_nativeClientIdHasBeenSet = true; m_nativeClientId = std::move(value); }
88 inline void SetNativeClientId(const char* value) { m_nativeClientIdHasBeenSet = true; m_nativeClientId.assign(value); }
89 inline ImportBackendAuthRequest& WithNativeClientId(const Aws::String& value) { SetNativeClientId(value); return *this;}
90 inline ImportBackendAuthRequest& WithNativeClientId(Aws::String&& value) { SetNativeClientId(std::move(value)); return *this;}
91 inline ImportBackendAuthRequest& WithNativeClientId(const char* value) { SetNativeClientId(value); return *this;}
93
95
98 inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; }
99 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
100 inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
101 inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); }
102 inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
103 inline ImportBackendAuthRequest& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
104 inline ImportBackendAuthRequest& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;}
105 inline ImportBackendAuthRequest& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;}
107
109
112 inline const Aws::String& GetWebClientId() const{ return m_webClientId; }
113 inline bool WebClientIdHasBeenSet() const { return m_webClientIdHasBeenSet; }
114 inline void SetWebClientId(const Aws::String& value) { m_webClientIdHasBeenSet = true; m_webClientId = value; }
115 inline void SetWebClientId(Aws::String&& value) { m_webClientIdHasBeenSet = true; m_webClientId = std::move(value); }
116 inline void SetWebClientId(const char* value) { m_webClientIdHasBeenSet = true; m_webClientId.assign(value); }
117 inline ImportBackendAuthRequest& WithWebClientId(const Aws::String& value) { SetWebClientId(value); return *this;}
118 inline ImportBackendAuthRequest& WithWebClientId(Aws::String&& value) { SetWebClientId(std::move(value)); return *this;}
119 inline ImportBackendAuthRequest& WithWebClientId(const char* value) { SetWebClientId(value); return *this;}
121 private:
122
123 Aws::String m_appId;
124 bool m_appIdHasBeenSet = false;
125
126 Aws::String m_backendEnvironmentName;
127 bool m_backendEnvironmentNameHasBeenSet = false;
128
129 Aws::String m_identityPoolId;
130 bool m_identityPoolIdHasBeenSet = false;
131
132 Aws::String m_nativeClientId;
133 bool m_nativeClientIdHasBeenSet = false;
134
135 Aws::String m_userPoolId;
136 bool m_userPoolIdHasBeenSet = false;
137
138 Aws::String m_webClientId;
139 bool m_webClientIdHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace AmplifyBackend
144} // namespace Aws
ImportBackendAuthRequest & WithIdentityPoolId(Aws::String &&value)
ImportBackendAuthRequest & WithUserPoolId(const Aws::String &value)
ImportBackendAuthRequest & WithIdentityPoolId(const Aws::String &value)
ImportBackendAuthRequest & WithAppId(const char *value)
ImportBackendAuthRequest & WithWebClientId(Aws::String &&value)
ImportBackendAuthRequest & WithBackendEnvironmentName(Aws::String &&value)
AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override
ImportBackendAuthRequest & WithAppId(const Aws::String &value)
ImportBackendAuthRequest & WithNativeClientId(const char *value)
virtual const char * GetServiceRequestName() const override
ImportBackendAuthRequest & WithUserPoolId(Aws::String &&value)
ImportBackendAuthRequest & WithUserPoolId(const char *value)
ImportBackendAuthRequest & WithIdentityPoolId(const char *value)
ImportBackendAuthRequest & WithWebClientId(const char *value)
ImportBackendAuthRequest & WithBackendEnvironmentName(const char *value)
ImportBackendAuthRequest & WithWebClientId(const Aws::String &value)
ImportBackendAuthRequest & WithBackendEnvironmentName(const Aws::String &value)
ImportBackendAuthRequest & WithNativeClientId(const Aws::String &value)
ImportBackendAuthRequest & WithNativeClientId(Aws::String &&value)
ImportBackendAuthRequest & WithAppId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String