AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetUserAttributeVerificationCodeRequest.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 GetUserAttributeVerificationCodeRequest();
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 "GetUserAttributeVerificationCode"; }
36
37 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
38
39 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
47 inline const Aws::String& GetAccessToken() const{ return m_accessToken; }
48 inline bool AccessTokenHasBeenSet() const { return m_accessTokenHasBeenSet; }
49 inline void SetAccessToken(const Aws::String& value) { m_accessTokenHasBeenSet = true; m_accessToken = value; }
50 inline void SetAccessToken(Aws::String&& value) { m_accessTokenHasBeenSet = true; m_accessToken = std::move(value); }
51 inline void SetAccessToken(const char* value) { m_accessTokenHasBeenSet = true; m_accessToken.assign(value); }
53 inline GetUserAttributeVerificationCodeRequest& WithAccessToken(Aws::String&& value) { SetAccessToken(std::move(value)); return *this;}
54 inline GetUserAttributeVerificationCodeRequest& WithAccessToken(const char* value) { SetAccessToken(value); return *this;}
56
58
62 inline const Aws::String& GetAttributeName() const{ return m_attributeName; }
63 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
64 inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
65 inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
66 inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); }
69 inline GetUserAttributeVerificationCodeRequest& WithAttributeName(const char* value) { SetAttributeName(value); return *this;}
71
73
96 inline const Aws::Map<Aws::String, Aws::String>& GetClientMetadata() const{ return m_clientMetadata; }
97 inline bool ClientMetadataHasBeenSet() const { return m_clientMetadataHasBeenSet; }
98 inline void SetClientMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata = value; }
99 inline void SetClientMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata = std::move(value); }
102 inline GetUserAttributeVerificationCodeRequest& AddClientMetadata(const Aws::String& key, const Aws::String& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(key, value); return *this; }
103 inline GetUserAttributeVerificationCodeRequest& AddClientMetadata(Aws::String&& key, const Aws::String& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(std::move(key), value); return *this; }
104 inline GetUserAttributeVerificationCodeRequest& AddClientMetadata(const Aws::String& key, Aws::String&& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(key, std::move(value)); return *this; }
105 inline GetUserAttributeVerificationCodeRequest& AddClientMetadata(Aws::String&& key, Aws::String&& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(std::move(key), std::move(value)); return *this; }
106 inline GetUserAttributeVerificationCodeRequest& AddClientMetadata(const char* key, Aws::String&& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(key, std::move(value)); return *this; }
107 inline GetUserAttributeVerificationCodeRequest& AddClientMetadata(Aws::String&& key, const char* value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(std::move(key), value); return *this; }
108 inline GetUserAttributeVerificationCodeRequest& AddClientMetadata(const char* key, const char* value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(key, value); return *this; }
110 private:
111
112 Aws::String m_accessToken;
113 bool m_accessTokenHasBeenSet = false;
114
115 Aws::String m_attributeName;
116 bool m_attributeNameHasBeenSet = false;
117
118 Aws::Map<Aws::String, Aws::String> m_clientMetadata;
119 bool m_clientMetadataHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace CognitoIdentityProvider
124} // namespace Aws
GetUserAttributeVerificationCodeRequest & AddClientMetadata(Aws::String &&key, const char *value)
GetUserAttributeVerificationCodeRequest & WithClientMetadata(const Aws::Map< Aws::String, Aws::String > &value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
GetUserAttributeVerificationCodeRequest & WithAccessToken(const Aws::String &value)
GetUserAttributeVerificationCodeRequest & WithAttributeName(const Aws::String &value)
GetUserAttributeVerificationCodeRequest & AddClientMetadata(Aws::String &&key, Aws::String &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetUserAttributeVerificationCodeRequest & AddClientMetadata(const Aws::String &key, Aws::String &&value)
GetUserAttributeVerificationCodeRequest & AddClientMetadata(const char *key, Aws::String &&value)
GetUserAttributeVerificationCodeRequest & AddClientMetadata(const Aws::String &key, const Aws::String &value)
GetUserAttributeVerificationCodeRequest & AddClientMetadata(const char *key, const char *value)
GetUserAttributeVerificationCodeRequest & AddClientMetadata(Aws::String &&key, const Aws::String &value)
GetUserAttributeVerificationCodeRequest & WithClientMetadata(Aws::Map< Aws::String, 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