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 <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/cognito-identity/model/RoleMapping.h>
16namespace CognitoIdentity
51 inline void SetIdentityPoolId(
const char* value) { m_identityPoolIdHasBeenSet =
true; m_identityPoolId.assign(value); }
102 bool m_identityPoolIdHasBeenSet =
false;
105 bool m_rolesHasBeenSet =
false;
108 bool m_roleMappingsHasBeenSet =
false;
SetIdentityPoolRolesRequest & AddRoles(const Aws::String &key, const Aws::String &value)
SetIdentityPoolRolesRequest & AddRoleMappings(Aws::String &&key, const RoleMapping &value)
void SetRoles(Aws::Map< Aws::String, Aws::String > &&value)
bool RoleMappingsHasBeenSet() const
SetIdentityPoolRolesRequest & AddRoleMappings(const char *key, const RoleMapping &value)
void SetIdentityPoolId(const char *value)
bool IdentityPoolIdHasBeenSet() const
SetIdentityPoolRolesRequest & WithRoleMappings(const Aws::Map< Aws::String, RoleMapping > &value)
SetIdentityPoolRolesRequest & WithIdentityPoolId(const Aws::String &value)
void SetRoleMappings(Aws::Map< Aws::String, RoleMapping > &&value)
SetIdentityPoolRolesRequest & AddRoles(Aws::String &&key, const Aws::String &value)
SetIdentityPoolRolesRequest & WithRoleMappings(Aws::Map< Aws::String, RoleMapping > &&value)
SetIdentityPoolRolesRequest & AddRoleMappings(Aws::String &&key, RoleMapping &&value)
const Aws::Map< Aws::String, RoleMapping > & GetRoleMappings() const
bool RolesHasBeenSet() const
void SetRoles(const Aws::Map< Aws::String, Aws::String > &value)
AWS_COGNITOIDENTITY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SetIdentityPoolRolesRequest & AddRoleMappings(const char *key, RoleMapping &&value)
SetIdentityPoolRolesRequest & WithRoles(const Aws::Map< Aws::String, Aws::String > &value)
AWS_COGNITOIDENTITY_API SetIdentityPoolRolesRequest()
SetIdentityPoolRolesRequest & AddRoles(Aws::String &&key, Aws::String &&value)
SetIdentityPoolRolesRequest & AddRoles(const char *key, const char *value)
void SetIdentityPoolId(Aws::String &&value)
SetIdentityPoolRolesRequest & AddRoles(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetRoles() const
SetIdentityPoolRolesRequest & WithIdentityPoolId(const char *value)
SetIdentityPoolRolesRequest & AddRoles(Aws::String &&key, const char *value)
SetIdentityPoolRolesRequest & AddRoleMappings(const Aws::String &key, RoleMapping &&value)
void SetRoleMappings(const Aws::Map< Aws::String, RoleMapping > &value)
SetIdentityPoolRolesRequest & WithRoles(Aws::Map< Aws::String, Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
SetIdentityPoolRolesRequest & AddRoles(const char *key, Aws::String &&value)
AWS_COGNITOIDENTITY_API Aws::String SerializePayload() const override
SetIdentityPoolRolesRequest & WithIdentityPoolId(Aws::String &&value)
const Aws::String & GetIdentityPoolId() const
SetIdentityPoolRolesRequest & AddRoleMappings(const Aws::String &key, const RoleMapping &value)
void SetIdentityPoolId(const 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