AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetIdentityPoolRolesRequest.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 GetIdentityPoolRolesRequest() = 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 "GetIdentityPoolRoles"; }
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& GetIdentityPoolId() const { return m_identityPoolId; }
42 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
43 template <typename IdentityPoolIdT = Aws::String>
44 void SetIdentityPoolId(IdentityPoolIdT&& value) {
45 m_identityPoolIdHasBeenSet = true;
46 m_identityPoolId = std::forward<IdentityPoolIdT>(value);
47 }
48 template <typename IdentityPoolIdT = Aws::String>
50 SetIdentityPoolId(std::forward<IdentityPoolIdT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_identityPoolId;
56 bool m_identityPoolIdHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace CognitoIdentity
61} // namespace Aws
AWS_COGNITOIDENTITY_API Aws::String SerializePayload() const override
AWS_COGNITOIDENTITY_API GetIdentityPoolRolesRequest()=default
AWS_COGNITOIDENTITY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetIdentityPoolRolesRequest & WithIdentityPoolId(IdentityPoolIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String