AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VerifyUserAttributeRequest.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 <utility>
11
12namespace Aws
13{
14namespace CognitoIdentityProvider
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_COGNITOIDENTITYPROVIDER_API VerifyUserAttributeRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "VerifyUserAttribute"; }
35
36 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
37
38 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
46 inline const Aws::String& GetAccessToken() const{ return m_accessToken; }
47 inline bool AccessTokenHasBeenSet() const { return m_accessTokenHasBeenSet; }
48 inline void SetAccessToken(const Aws::String& value) { m_accessTokenHasBeenSet = true; m_accessToken = value; }
49 inline void SetAccessToken(Aws::String&& value) { m_accessTokenHasBeenSet = true; m_accessToken = std::move(value); }
50 inline void SetAccessToken(const char* value) { m_accessTokenHasBeenSet = true; m_accessToken.assign(value); }
51 inline VerifyUserAttributeRequest& WithAccessToken(const Aws::String& value) { SetAccessToken(value); return *this;}
52 inline VerifyUserAttributeRequest& WithAccessToken(Aws::String&& value) { SetAccessToken(std::move(value)); return *this;}
53 inline VerifyUserAttributeRequest& WithAccessToken(const char* value) { SetAccessToken(value); return *this;}
55
57
60 inline const Aws::String& GetAttributeName() const{ return m_attributeName; }
61 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
62 inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
63 inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
64 inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); }
65 inline VerifyUserAttributeRequest& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;}
66 inline VerifyUserAttributeRequest& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;}
67 inline VerifyUserAttributeRequest& WithAttributeName(const char* value) { SetAttributeName(value); return *this;}
69
71
74 inline const Aws::String& GetCode() const{ return m_code; }
75 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
76 inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; }
77 inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
78 inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); }
79 inline VerifyUserAttributeRequest& WithCode(const Aws::String& value) { SetCode(value); return *this;}
80 inline VerifyUserAttributeRequest& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
81 inline VerifyUserAttributeRequest& WithCode(const char* value) { SetCode(value); return *this;}
83 private:
84
85 Aws::String m_accessToken;
86 bool m_accessTokenHasBeenSet = false;
87
88 Aws::String m_attributeName;
89 bool m_attributeNameHasBeenSet = false;
90
91 Aws::String m_code;
92 bool m_codeHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace CognitoIdentityProvider
97} // namespace Aws
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
VerifyUserAttributeRequest & WithCode(const Aws::String &value)
VerifyUserAttributeRequest & WithAttributeName(Aws::String &&value)
VerifyUserAttributeRequest & WithAccessToken(const char *value)
VerifyUserAttributeRequest & WithAccessToken(const Aws::String &value)
VerifyUserAttributeRequest & WithAccessToken(Aws::String &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
VerifyUserAttributeRequest & WithAttributeName(const Aws::String &value)
VerifyUserAttributeRequest & WithAttributeName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String