AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetIdentityPoolRolesRequest.h
1
6#pragma once
7#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
8#include <aws/cognito-identity/CognitoIdentityRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CognitoIdentity
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_COGNITOIDENTITY_API GetIdentityPoolRolesRequest() = default;
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 "GetIdentityPoolRoles"; }
35
36 AWS_COGNITOIDENTITY_API Aws::String SerializePayload() const override;
37
38 AWS_COGNITOIDENTITY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::String& GetIdentityPoolId() const { return m_identityPoolId; }
46 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
47 template<typename IdentityPoolIdT = Aws::String>
48 void SetIdentityPoolId(IdentityPoolIdT&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::forward<IdentityPoolIdT>(value); }
49 template<typename IdentityPoolIdT = Aws::String>
50 GetIdentityPoolRolesRequest& WithIdentityPoolId(IdentityPoolIdT&& value) { SetIdentityPoolId(std::forward<IdentityPoolIdT>(value)); return *this;}
52 private:
53
54 Aws::String m_identityPoolId;
55 bool m_identityPoolIdHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace CognitoIdentity
60} // 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