AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdminConfirmSignUpRequest.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CognitoIdentityProvider
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_COGNITOIDENTITYPROVIDER_API AdminConfirmSignUpRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "AdminConfirmSignUp"; }
36
37 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
38
39 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
46 inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; }
47 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
48 inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
49 inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); }
50 inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
51 inline AdminConfirmSignUpRequest& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
52 inline AdminConfirmSignUpRequest& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;}
53 inline AdminConfirmSignUpRequest& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;}
55
57
64 inline const Aws::String& GetUsername() const{ return m_username; }
65 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
66 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
67 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
68 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
69 inline AdminConfirmSignUpRequest& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
70 inline AdminConfirmSignUpRequest& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
71 inline AdminConfirmSignUpRequest& WithUsername(const char* value) { SetUsername(value); return *this;}
73
75
97 inline const Aws::Map<Aws::String, Aws::String>& GetClientMetadata() const{ return m_clientMetadata; }
98 inline bool ClientMetadataHasBeenSet() const { return m_clientMetadataHasBeenSet; }
99 inline void SetClientMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata = value; }
100 inline void SetClientMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata = std::move(value); }
103 inline AdminConfirmSignUpRequest& AddClientMetadata(const Aws::String& key, const Aws::String& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(key, value); return *this; }
104 inline AdminConfirmSignUpRequest& AddClientMetadata(Aws::String&& key, const Aws::String& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(std::move(key), value); return *this; }
105 inline AdminConfirmSignUpRequest& AddClientMetadata(const Aws::String& key, Aws::String&& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(key, std::move(value)); return *this; }
106 inline AdminConfirmSignUpRequest& AddClientMetadata(Aws::String&& key, Aws::String&& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(std::move(key), std::move(value)); return *this; }
107 inline AdminConfirmSignUpRequest& AddClientMetadata(const char* key, Aws::String&& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(key, std::move(value)); return *this; }
108 inline AdminConfirmSignUpRequest& AddClientMetadata(Aws::String&& key, const char* value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(std::move(key), value); return *this; }
109 inline AdminConfirmSignUpRequest& AddClientMetadata(const char* key, const char* value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(key, value); return *this; }
111 private:
112
113 Aws::String m_userPoolId;
114 bool m_userPoolIdHasBeenSet = false;
115
116 Aws::String m_username;
117 bool m_usernameHasBeenSet = false;
118
119 Aws::Map<Aws::String, Aws::String> m_clientMetadata;
120 bool m_clientMetadataHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace CognitoIdentityProvider
125} // namespace Aws
AdminConfirmSignUpRequest & AddClientMetadata(Aws::String &&key, const Aws::String &value)
AdminConfirmSignUpRequest & WithUsername(const Aws::String &value)
AdminConfirmSignUpRequest & AddClientMetadata(const char *key, const char *value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
AdminConfirmSignUpRequest & AddClientMetadata(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetClientMetadata() const
AdminConfirmSignUpRequest & AddClientMetadata(const Aws::String &key, Aws::String &&value)
AdminConfirmSignUpRequest & AddClientMetadata(const Aws::String &key, const Aws::String &value)
AdminConfirmSignUpRequest & WithUserPoolId(Aws::String &&value)
AdminConfirmSignUpRequest & AddClientMetadata(Aws::String &&key, const char *value)
AdminConfirmSignUpRequest & WithUserPoolId(const Aws::String &value)
AdminConfirmSignUpRequest & AddClientMetadata(const char *key, Aws::String &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetClientMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetClientMetadata(Aws::Map< Aws::String, Aws::String > &&value)
AdminConfirmSignUpRequest & WithUserPoolId(const char *value)
AdminConfirmSignUpRequest & WithClientMetadata(Aws::Map< Aws::String, Aws::String > &&value)
AdminConfirmSignUpRequest & WithClientMetadata(const Aws::Map< Aws::String, Aws::String > &value)
AdminConfirmSignUpRequest & WithUsername(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String