AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResendConfirmationCodeRequest.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/cognito-idp/model/UserContextDataType.h>
11#include <aws/cognito-idp/model/AnalyticsMetadataType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace CognitoIdentityProvider
18{
19namespace Model
20{
21
29 {
30 public:
31 AWS_COGNITOIDENTITYPROVIDER_API ResendConfirmationCodeRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ResendConfirmationCode"; }
38
39 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
40
41 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
42
43
45
48 inline const Aws::String& GetClientId() const{ return m_clientId; }
49 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
50 inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
51 inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
52 inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
53 inline ResendConfirmationCodeRequest& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
54 inline ResendConfirmationCodeRequest& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
55 inline ResendConfirmationCodeRequest& WithClientId(const char* value) { SetClientId(value); return *this;}
57
59
63 inline const Aws::String& GetSecretHash() const{ return m_secretHash; }
64 inline bool SecretHashHasBeenSet() const { return m_secretHashHasBeenSet; }
65 inline void SetSecretHash(const Aws::String& value) { m_secretHashHasBeenSet = true; m_secretHash = value; }
66 inline void SetSecretHash(Aws::String&& value) { m_secretHashHasBeenSet = true; m_secretHash = std::move(value); }
67 inline void SetSecretHash(const char* value) { m_secretHashHasBeenSet = true; m_secretHash.assign(value); }
68 inline ResendConfirmationCodeRequest& WithSecretHash(const Aws::String& value) { SetSecretHash(value); return *this;}
69 inline ResendConfirmationCodeRequest& WithSecretHash(Aws::String&& value) { SetSecretHash(std::move(value)); return *this;}
70 inline ResendConfirmationCodeRequest& WithSecretHash(const char* value) { SetSecretHash(value); return *this;}
72
74
80 inline const UserContextDataType& GetUserContextData() const{ return m_userContextData; }
81 inline bool UserContextDataHasBeenSet() const { return m_userContextDataHasBeenSet; }
82 inline void SetUserContextData(const UserContextDataType& value) { m_userContextDataHasBeenSet = true; m_userContextData = value; }
83 inline void SetUserContextData(UserContextDataType&& value) { m_userContextDataHasBeenSet = true; m_userContextData = std::move(value); }
87
89
96 inline const Aws::String& GetUsername() const{ return m_username; }
97 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
98 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
99 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
100 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
101 inline ResendConfirmationCodeRequest& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
102 inline ResendConfirmationCodeRequest& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
103 inline ResendConfirmationCodeRequest& WithUsername(const char* value) { SetUsername(value); return *this;}
105
107
111 inline const AnalyticsMetadataType& GetAnalyticsMetadata() const{ return m_analyticsMetadata; }
112 inline bool AnalyticsMetadataHasBeenSet() const { return m_analyticsMetadataHasBeenSet; }
113 inline void SetAnalyticsMetadata(const AnalyticsMetadataType& value) { m_analyticsMetadataHasBeenSet = true; m_analyticsMetadata = value; }
114 inline void SetAnalyticsMetadata(AnalyticsMetadataType&& value) { m_analyticsMetadataHasBeenSet = true; m_analyticsMetadata = std::move(value); }
118
120
143 inline const Aws::Map<Aws::String, Aws::String>& GetClientMetadata() const{ return m_clientMetadata; }
144 inline bool ClientMetadataHasBeenSet() const { return m_clientMetadataHasBeenSet; }
145 inline void SetClientMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata = value; }
146 inline void SetClientMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata = std::move(value); }
149 inline ResendConfirmationCodeRequest& AddClientMetadata(const Aws::String& key, const Aws::String& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(key, value); return *this; }
150 inline ResendConfirmationCodeRequest& AddClientMetadata(Aws::String&& key, const Aws::String& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(std::move(key), value); return *this; }
151 inline ResendConfirmationCodeRequest& AddClientMetadata(const Aws::String& key, Aws::String&& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(key, std::move(value)); return *this; }
152 inline ResendConfirmationCodeRequest& AddClientMetadata(Aws::String&& key, Aws::String&& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(std::move(key), std::move(value)); return *this; }
153 inline ResendConfirmationCodeRequest& AddClientMetadata(const char* key, Aws::String&& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(key, std::move(value)); return *this; }
154 inline ResendConfirmationCodeRequest& AddClientMetadata(Aws::String&& key, const char* value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(std::move(key), value); return *this; }
155 inline ResendConfirmationCodeRequest& AddClientMetadata(const char* key, const char* value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(key, value); return *this; }
157 private:
158
159 Aws::String m_clientId;
160 bool m_clientIdHasBeenSet = false;
161
162 Aws::String m_secretHash;
163 bool m_secretHashHasBeenSet = false;
164
165 UserContextDataType m_userContextData;
166 bool m_userContextDataHasBeenSet = false;
167
168 Aws::String m_username;
169 bool m_usernameHasBeenSet = false;
170
171 AnalyticsMetadataType m_analyticsMetadata;
172 bool m_analyticsMetadataHasBeenSet = false;
173
174 Aws::Map<Aws::String, Aws::String> m_clientMetadata;
175 bool m_clientMetadataHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace CognitoIdentityProvider
180} // namespace Aws
ResendConfirmationCodeRequest & WithUsername(const Aws::String &value)
ResendConfirmationCodeRequest & WithUserContextData(const UserContextDataType &value)
ResendConfirmationCodeRequest & WithClientMetadata(const Aws::Map< Aws::String, Aws::String > &value)
ResendConfirmationCodeRequest & AddClientMetadata(Aws::String &&key, const char *value)
ResendConfirmationCodeRequest & WithAnalyticsMetadata(AnalyticsMetadataType &&value)
ResendConfirmationCodeRequest & AddClientMetadata(Aws::String &&key, const Aws::String &value)
ResendConfirmationCodeRequest & WithAnalyticsMetadata(const AnalyticsMetadataType &value)
ResendConfirmationCodeRequest & AddClientMetadata(const char *key, Aws::String &&value)
ResendConfirmationCodeRequest & WithClientMetadata(Aws::Map< Aws::String, Aws::String > &&value)
ResendConfirmationCodeRequest & AddClientMetadata(Aws::String &&key, Aws::String &&value)
ResendConfirmationCodeRequest & WithClientId(const Aws::String &value)
ResendConfirmationCodeRequest & WithSecretHash(Aws::String &&value)
ResendConfirmationCodeRequest & AddClientMetadata(const Aws::String &key, Aws::String &&value)
ResendConfirmationCodeRequest & AddClientMetadata(const Aws::String &key, const Aws::String &value)
ResendConfirmationCodeRequest & WithClientId(Aws::String &&value)
ResendConfirmationCodeRequest & WithSecretHash(const Aws::String &value)
ResendConfirmationCodeRequest & AddClientMetadata(const char *key, const char *value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetClientMetadata(const Aws::Map< Aws::String, Aws::String > &value)
ResendConfirmationCodeRequest & WithUserContextData(UserContextDataType &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetClientMetadata() const
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