AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
DescribeIdentityRequest.h
1
6#pragma once
7#include <aws/cognito-identity/CognitoIdentityRequest.h>
8#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CognitoIdentity {
15namespace Model {
16
24 public:
25 AWS_COGNITOIDENTITY_API DescribeIdentityRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeIdentity"; }
32
33 AWS_COGNITOIDENTITY_API Aws::String SerializePayload() const override;
34
35 AWS_COGNITOIDENTITY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
38
41 inline const Aws::String& GetIdentityId() const { return m_identityId; }
42 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
43 template <typename IdentityIdT = Aws::String>
44 void SetIdentityId(IdentityIdT&& value) {
45 m_identityIdHasBeenSet = true;
46 m_identityId = std::forward<IdentityIdT>(value);
47 }
48 template <typename IdentityIdT = Aws::String>
50 SetIdentityId(std::forward<IdentityIdT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_identityId;
56 bool m_identityIdHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace CognitoIdentity
61} // namespace Aws
AWS_COGNITOIDENTITY_API DescribeIdentityRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_COGNITOIDENTITY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeIdentityRequest & WithIdentityId(IdentityIdT &&value)
AWS_COGNITOIDENTITY_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String