/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Returned in response to a successful GetIdentityPoolRoles
* operation.See Also:
AWS
* API Reference
An identity pool ID in the format REGION:GUID.
*/ inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; } /** *An identity pool ID in the format REGION:GUID.
*/ inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolId = value; } /** *An identity pool ID in the format REGION:GUID.
*/ inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolId = std::move(value); } /** *An identity pool ID in the format REGION:GUID.
*/ inline void SetIdentityPoolId(const char* value) { m_identityPoolId.assign(value); } /** *An identity pool ID in the format REGION:GUID.
*/ inline GetIdentityPoolRolesResult& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;} /** *An identity pool ID in the format REGION:GUID.
*/ inline GetIdentityPoolRolesResult& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;} /** *An identity pool ID in the format REGION:GUID.
*/ inline GetIdentityPoolRolesResult& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;} /** *The map of roles associated with this pool. Currently only authenticated and * unauthenticated roles are supported.
*/ inline const Aws::MapThe map of roles associated with this pool. Currently only authenticated and * unauthenticated roles are supported.
*/ inline void SetRoles(const Aws::MapThe map of roles associated with this pool. Currently only authenticated and * unauthenticated roles are supported.
*/ inline void SetRoles(Aws::MapThe map of roles associated with this pool. Currently only authenticated and * unauthenticated roles are supported.
*/ inline GetIdentityPoolRolesResult& WithRoles(const Aws::MapThe map of roles associated with this pool. Currently only authenticated and * unauthenticated roles are supported.
*/ inline GetIdentityPoolRolesResult& WithRoles(Aws::MapThe map of roles associated with this pool. Currently only authenticated and * unauthenticated roles are supported.
*/ inline GetIdentityPoolRolesResult& AddRoles(const Aws::String& key, const Aws::String& value) { m_roles.emplace(key, value); return *this; } /** *The map of roles associated with this pool. Currently only authenticated and * unauthenticated roles are supported.
*/ inline GetIdentityPoolRolesResult& AddRoles(Aws::String&& key, const Aws::String& value) { m_roles.emplace(std::move(key), value); return *this; } /** *The map of roles associated with this pool. Currently only authenticated and * unauthenticated roles are supported.
*/ inline GetIdentityPoolRolesResult& AddRoles(const Aws::String& key, Aws::String&& value) { m_roles.emplace(key, std::move(value)); return *this; } /** *The map of roles associated with this pool. Currently only authenticated and * unauthenticated roles are supported.
*/ inline GetIdentityPoolRolesResult& AddRoles(Aws::String&& key, Aws::String&& value) { m_roles.emplace(std::move(key), std::move(value)); return *this; } /** *The map of roles associated with this pool. Currently only authenticated and * unauthenticated roles are supported.
*/ inline GetIdentityPoolRolesResult& AddRoles(const char* key, Aws::String&& value) { m_roles.emplace(key, std::move(value)); return *this; } /** *The map of roles associated with this pool. Currently only authenticated and * unauthenticated roles are supported.
*/ inline GetIdentityPoolRolesResult& AddRoles(Aws::String&& key, const char* value) { m_roles.emplace(std::move(key), value); return *this; } /** *The map of roles associated with this pool. Currently only authenticated and * unauthenticated roles are supported.
*/ inline GetIdentityPoolRolesResult& AddRoles(const char* key, const char* value) { m_roles.emplace(key, value); return *this; } /** *How users for a specific identity provider are to mapped to roles. This is a * String-to-RoleMapping object map. The string identifies the identity * provider, for example, "graph.facebook.com" or * "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".
*/ inline const Aws::MapHow users for a specific identity provider are to mapped to roles. This is a * String-to-RoleMapping object map. The string identifies the identity * provider, for example, "graph.facebook.com" or * "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".
*/ inline void SetRoleMappings(const Aws::MapHow users for a specific identity provider are to mapped to roles. This is a * String-to-RoleMapping object map. The string identifies the identity * provider, for example, "graph.facebook.com" or * "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".
*/ inline void SetRoleMappings(Aws::MapHow users for a specific identity provider are to mapped to roles. This is a * String-to-RoleMapping object map. The string identifies the identity * provider, for example, "graph.facebook.com" or * "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".
*/ inline GetIdentityPoolRolesResult& WithRoleMappings(const Aws::MapHow users for a specific identity provider are to mapped to roles. This is a * String-to-RoleMapping object map. The string identifies the identity * provider, for example, "graph.facebook.com" or * "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".
*/ inline GetIdentityPoolRolesResult& WithRoleMappings(Aws::MapHow users for a specific identity provider are to mapped to roles. This is a * String-to-RoleMapping object map. The string identifies the identity * provider, for example, "graph.facebook.com" or * "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".
*/ inline GetIdentityPoolRolesResult& AddRoleMappings(const Aws::String& key, const RoleMapping& value) { m_roleMappings.emplace(key, value); return *this; } /** *How users for a specific identity provider are to mapped to roles. This is a * String-to-RoleMapping object map. The string identifies the identity * provider, for example, "graph.facebook.com" or * "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".
*/ inline GetIdentityPoolRolesResult& AddRoleMappings(Aws::String&& key, const RoleMapping& value) { m_roleMappings.emplace(std::move(key), value); return *this; } /** *How users for a specific identity provider are to mapped to roles. This is a * String-to-RoleMapping object map. The string identifies the identity * provider, for example, "graph.facebook.com" or * "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".
*/ inline GetIdentityPoolRolesResult& AddRoleMappings(const Aws::String& key, RoleMapping&& value) { m_roleMappings.emplace(key, std::move(value)); return *this; } /** *How users for a specific identity provider are to mapped to roles. This is a * String-to-RoleMapping object map. The string identifies the identity * provider, for example, "graph.facebook.com" or * "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".
*/ inline GetIdentityPoolRolesResult& AddRoleMappings(Aws::String&& key, RoleMapping&& value) { m_roleMappings.emplace(std::move(key), std::move(value)); return *this; } /** *How users for a specific identity provider are to mapped to roles. This is a * String-to-RoleMapping object map. The string identifies the identity * provider, for example, "graph.facebook.com" or * "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".
*/ inline GetIdentityPoolRolesResult& AddRoleMappings(const char* key, RoleMapping&& value) { m_roleMappings.emplace(key, std::move(value)); return *this; } /** *How users for a specific identity provider are to mapped to roles. This is a * String-to-RoleMapping object map. The string identifies the identity * provider, for example, "graph.facebook.com" or * "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".
*/ inline GetIdentityPoolRolesResult& AddRoleMappings(const char* key, const RoleMapping& value) { m_roleMappings.emplace(key, value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetIdentityPoolRolesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetIdentityPoolRolesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetIdentityPoolRolesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_identityPoolId; Aws::Map