/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

#pragma once

/* Generic header includes */
#include <aws/bedrock/BedrockEndpointProvider.h>
#include <aws/bedrock/BedrockErrors.h>
#include <aws/core/client/AWSError.h>
#include <aws/core/client/AsyncCallerContext.h>
#include <aws/core/client/GenericClientConfiguration.h>
#include <aws/core/http/HttpTypes.h>
#include <aws/core/utils/memory/stl/AWSString.h>

#include <functional>
#include <future>
/* End of generic header includes */

/* Service model headers required in BedrockClient header */
#include <aws/bedrock/model/BatchDeleteEvaluationJobResult.h>
#include <aws/bedrock/model/CancelAutomatedReasoningPolicyBuildWorkflowResult.h>
#include <aws/bedrock/model/CreateAutomatedReasoningPolicyResult.h>
#include <aws/bedrock/model/CreateAutomatedReasoningPolicyTestCaseResult.h>
#include <aws/bedrock/model/CreateAutomatedReasoningPolicyVersionResult.h>
#include <aws/bedrock/model/CreateCustomModelDeploymentResult.h>
#include <aws/bedrock/model/CreateCustomModelResult.h>
#include <aws/bedrock/model/CreateEvaluationJobResult.h>
#include <aws/bedrock/model/CreateFoundationModelAgreementResult.h>
#include <aws/bedrock/model/CreateGuardrailResult.h>
#include <aws/bedrock/model/CreateGuardrailVersionResult.h>
#include <aws/bedrock/model/CreateInferenceProfileResult.h>
#include <aws/bedrock/model/CreateMarketplaceModelEndpointResult.h>
#include <aws/bedrock/model/CreateModelCopyJobResult.h>
#include <aws/bedrock/model/CreateModelCustomizationJobResult.h>
#include <aws/bedrock/model/CreateModelImportJobResult.h>
#include <aws/bedrock/model/CreateModelInvocationJobResult.h>
#include <aws/bedrock/model/CreatePromptRouterResult.h>
#include <aws/bedrock/model/CreateProvisionedModelThroughputResult.h>
#include <aws/bedrock/model/DeleteAutomatedReasoningPolicyBuildWorkflowResult.h>
#include <aws/bedrock/model/DeleteAutomatedReasoningPolicyResult.h>
#include <aws/bedrock/model/DeleteAutomatedReasoningPolicyTestCaseResult.h>
#include <aws/bedrock/model/DeleteCustomModelDeploymentResult.h>
#include <aws/bedrock/model/DeleteCustomModelResult.h>
#include <aws/bedrock/model/DeleteEnforcedGuardrailConfigurationResult.h>
#include <aws/bedrock/model/DeleteFoundationModelAgreementResult.h>
#include <aws/bedrock/model/DeleteGuardrailResult.h>
#include <aws/bedrock/model/DeleteImportedModelResult.h>
#include <aws/bedrock/model/DeleteInferenceProfileResult.h>
#include <aws/bedrock/model/DeleteMarketplaceModelEndpointResult.h>
#include <aws/bedrock/model/DeleteModelInvocationLoggingConfigurationRequest.h>
#include <aws/bedrock/model/DeleteModelInvocationLoggingConfigurationResult.h>
#include <aws/bedrock/model/DeletePromptRouterResult.h>
#include <aws/bedrock/model/DeleteProvisionedModelThroughputResult.h>
#include <aws/bedrock/model/DeleteResourcePolicyResult.h>
#include <aws/bedrock/model/DeregisterMarketplaceModelEndpointResult.h>
#include <aws/bedrock/model/ExportAutomatedReasoningPolicyVersionResult.h>
#include <aws/bedrock/model/GetAutomatedReasoningPolicyAnnotationsResult.h>
#include <aws/bedrock/model/GetAutomatedReasoningPolicyBuildWorkflowResult.h>
#include <aws/bedrock/model/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResult.h>
#include <aws/bedrock/model/GetAutomatedReasoningPolicyNextScenarioResult.h>
#include <aws/bedrock/model/GetAutomatedReasoningPolicyResult.h>
#include <aws/bedrock/model/GetAutomatedReasoningPolicyTestCaseResult.h>
#include <aws/bedrock/model/GetAutomatedReasoningPolicyTestResultResult.h>
#include <aws/bedrock/model/GetCustomModelDeploymentResult.h>
#include <aws/bedrock/model/GetCustomModelResult.h>
#include <aws/bedrock/model/GetEvaluationJobResult.h>
#include <aws/bedrock/model/GetFoundationModelAvailabilityResult.h>
#include <aws/bedrock/model/GetFoundationModelResult.h>
#include <aws/bedrock/model/GetGuardrailResult.h>
#include <aws/bedrock/model/GetImportedModelResult.h>
#include <aws/bedrock/model/GetInferenceProfileResult.h>
#include <aws/bedrock/model/GetMarketplaceModelEndpointResult.h>
#include <aws/bedrock/model/GetModelCopyJobResult.h>
#include <aws/bedrock/model/GetModelCustomizationJobResult.h>
#include <aws/bedrock/model/GetModelImportJobResult.h>
#include <aws/bedrock/model/GetModelInvocationJobResult.h>
#include <aws/bedrock/model/GetModelInvocationLoggingConfigurationRequest.h>
#include <aws/bedrock/model/GetModelInvocationLoggingConfigurationResult.h>
#include <aws/bedrock/model/GetPromptRouterResult.h>
#include <aws/bedrock/model/GetProvisionedModelThroughputResult.h>
#include <aws/bedrock/model/GetResourcePolicyResult.h>
#include <aws/bedrock/model/GetUseCaseForModelAccessRequest.h>
#include <aws/bedrock/model/GetUseCaseForModelAccessResult.h>
#include <aws/bedrock/model/ListAutomatedReasoningPoliciesRequest.h>
#include <aws/bedrock/model/ListAutomatedReasoningPoliciesResult.h>
#include <aws/bedrock/model/ListAutomatedReasoningPolicyBuildWorkflowsResult.h>
#include <aws/bedrock/model/ListAutomatedReasoningPolicyTestCasesResult.h>
#include <aws/bedrock/model/ListAutomatedReasoningPolicyTestResultsResult.h>
#include <aws/bedrock/model/ListCustomModelDeploymentsRequest.h>
#include <aws/bedrock/model/ListCustomModelDeploymentsResult.h>
#include <aws/bedrock/model/ListCustomModelsRequest.h>
#include <aws/bedrock/model/ListCustomModelsResult.h>
#include <aws/bedrock/model/ListEnforcedGuardrailsConfigurationRequest.h>
#include <aws/bedrock/model/ListEnforcedGuardrailsConfigurationResult.h>
#include <aws/bedrock/model/ListEvaluationJobsRequest.h>
#include <aws/bedrock/model/ListEvaluationJobsResult.h>
#include <aws/bedrock/model/ListFoundationModelAgreementOffersResult.h>
#include <aws/bedrock/model/ListFoundationModelsRequest.h>
#include <aws/bedrock/model/ListFoundationModelsResult.h>
#include <aws/bedrock/model/ListGuardrailsRequest.h>
#include <aws/bedrock/model/ListGuardrailsResult.h>
#include <aws/bedrock/model/ListImportedModelsRequest.h>
#include <aws/bedrock/model/ListImportedModelsResult.h>
#include <aws/bedrock/model/ListInferenceProfilesRequest.h>
#include <aws/bedrock/model/ListInferenceProfilesResult.h>
#include <aws/bedrock/model/ListMarketplaceModelEndpointsRequest.h>
#include <aws/bedrock/model/ListMarketplaceModelEndpointsResult.h>
#include <aws/bedrock/model/ListModelCopyJobsRequest.h>
#include <aws/bedrock/model/ListModelCopyJobsResult.h>
#include <aws/bedrock/model/ListModelCustomizationJobsRequest.h>
#include <aws/bedrock/model/ListModelCustomizationJobsResult.h>
#include <aws/bedrock/model/ListModelImportJobsRequest.h>
#include <aws/bedrock/model/ListModelImportJobsResult.h>
#include <aws/bedrock/model/ListModelInvocationJobsRequest.h>
#include <aws/bedrock/model/ListModelInvocationJobsResult.h>
#include <aws/bedrock/model/ListPromptRoutersRequest.h>
#include <aws/bedrock/model/ListPromptRoutersResult.h>
#include <aws/bedrock/model/ListProvisionedModelThroughputsRequest.h>
#include <aws/bedrock/model/ListProvisionedModelThroughputsResult.h>
#include <aws/bedrock/model/ListTagsForResourceResult.h>
#include <aws/bedrock/model/PutEnforcedGuardrailConfigurationResult.h>
#include <aws/bedrock/model/PutModelInvocationLoggingConfigurationResult.h>
#include <aws/bedrock/model/PutResourcePolicyResult.h>
#include <aws/bedrock/model/PutUseCaseForModelAccessResult.h>
#include <aws/bedrock/model/RegisterMarketplaceModelEndpointResult.h>
#include <aws/bedrock/model/StartAutomatedReasoningPolicyBuildWorkflowResult.h>
#include <aws/bedrock/model/StartAutomatedReasoningPolicyTestWorkflowResult.h>
#include <aws/bedrock/model/StopEvaluationJobResult.h>
#include <aws/bedrock/model/StopModelCustomizationJobResult.h>
#include <aws/bedrock/model/StopModelInvocationJobResult.h>
#include <aws/bedrock/model/TagResourceResult.h>
#include <aws/bedrock/model/UntagResourceResult.h>
#include <aws/bedrock/model/UpdateAutomatedReasoningPolicyAnnotationsResult.h>
#include <aws/bedrock/model/UpdateAutomatedReasoningPolicyResult.h>
#include <aws/bedrock/model/UpdateAutomatedReasoningPolicyTestCaseResult.h>
#include <aws/bedrock/model/UpdateCustomModelDeploymentResult.h>
#include <aws/bedrock/model/UpdateGuardrailResult.h>
#include <aws/bedrock/model/UpdateMarketplaceModelEndpointResult.h>
#include <aws/bedrock/model/UpdateProvisionedModelThroughputResult.h>
/* End of service model headers required in BedrockClient header */

namespace Aws {
namespace Http {
class HttpClient;
class HttpClientFactory;
}  // namespace Http

namespace Utils {
template <typename R, typename E>
class Outcome;

namespace Threading {
class Executor;
}  // namespace Threading
}  // namespace Utils

namespace Auth {
class BearerTokenAuthSignerProvider;
class AWSCredentials;
class AWSCredentialsProvider;
}  // namespace Auth

namespace Client {
class RetryStrategy;
}  // namespace Client

namespace Bedrock {
using BedrockEndpointProviderBase = Aws::Bedrock::Endpoint::BedrockEndpointProviderBase;
using BedrockEndpointProvider = Aws::Bedrock::Endpoint::BedrockEndpointProvider;

namespace Model {
/* Service model forward declarations required in BedrockClient header */
class BatchDeleteEvaluationJobRequest;
class CancelAutomatedReasoningPolicyBuildWorkflowRequest;
class CreateAutomatedReasoningPolicyRequest;
class CreateAutomatedReasoningPolicyTestCaseRequest;
class CreateAutomatedReasoningPolicyVersionRequest;
class CreateCustomModelRequest;
class CreateCustomModelDeploymentRequest;
class CreateEvaluationJobRequest;
class CreateFoundationModelAgreementRequest;
class CreateGuardrailRequest;
class CreateGuardrailVersionRequest;
class CreateInferenceProfileRequest;
class CreateMarketplaceModelEndpointRequest;
class CreateModelCopyJobRequest;
class CreateModelCustomizationJobRequest;
class CreateModelImportJobRequest;
class CreateModelInvocationJobRequest;
class CreatePromptRouterRequest;
class CreateProvisionedModelThroughputRequest;
class DeleteAutomatedReasoningPolicyRequest;
class DeleteAutomatedReasoningPolicyBuildWorkflowRequest;
class DeleteAutomatedReasoningPolicyTestCaseRequest;
class DeleteCustomModelRequest;
class DeleteCustomModelDeploymentRequest;
class DeleteEnforcedGuardrailConfigurationRequest;
class DeleteFoundationModelAgreementRequest;
class DeleteGuardrailRequest;
class DeleteImportedModelRequest;
class DeleteInferenceProfileRequest;
class DeleteMarketplaceModelEndpointRequest;
class DeleteModelInvocationLoggingConfigurationRequest;
class DeletePromptRouterRequest;
class DeleteProvisionedModelThroughputRequest;
class DeleteResourcePolicyRequest;
class DeregisterMarketplaceModelEndpointRequest;
class ExportAutomatedReasoningPolicyVersionRequest;
class GetAutomatedReasoningPolicyRequest;
class GetAutomatedReasoningPolicyAnnotationsRequest;
class GetAutomatedReasoningPolicyBuildWorkflowRequest;
class GetAutomatedReasoningPolicyBuildWorkflowResultAssetsRequest;
class GetAutomatedReasoningPolicyNextScenarioRequest;
class GetAutomatedReasoningPolicyTestCaseRequest;
class GetAutomatedReasoningPolicyTestResultRequest;
class GetCustomModelRequest;
class GetCustomModelDeploymentRequest;
class GetEvaluationJobRequest;
class GetFoundationModelRequest;
class GetFoundationModelAvailabilityRequest;
class GetGuardrailRequest;
class GetImportedModelRequest;
class GetInferenceProfileRequest;
class GetMarketplaceModelEndpointRequest;
class GetModelCopyJobRequest;
class GetModelCustomizationJobRequest;
class GetModelImportJobRequest;
class GetModelInvocationJobRequest;
class GetModelInvocationLoggingConfigurationRequest;
class GetPromptRouterRequest;
class GetProvisionedModelThroughputRequest;
class GetResourcePolicyRequest;
class GetUseCaseForModelAccessRequest;
class ListAutomatedReasoningPoliciesRequest;
class ListAutomatedReasoningPolicyBuildWorkflowsRequest;
class ListAutomatedReasoningPolicyTestCasesRequest;
class ListAutomatedReasoningPolicyTestResultsRequest;
class ListCustomModelDeploymentsRequest;
class ListCustomModelsRequest;
class ListEnforcedGuardrailsConfigurationRequest;
class ListEvaluationJobsRequest;
class ListFoundationModelAgreementOffersRequest;
class ListFoundationModelsRequest;
class ListGuardrailsRequest;
class ListImportedModelsRequest;
class ListInferenceProfilesRequest;
class ListMarketplaceModelEndpointsRequest;
class ListModelCopyJobsRequest;
class ListModelCustomizationJobsRequest;
class ListModelImportJobsRequest;
class ListModelInvocationJobsRequest;
class ListPromptRoutersRequest;
class ListProvisionedModelThroughputsRequest;
class ListTagsForResourceRequest;
class PutEnforcedGuardrailConfigurationRequest;
class PutModelInvocationLoggingConfigurationRequest;
class PutResourcePolicyRequest;
class PutUseCaseForModelAccessRequest;
class RegisterMarketplaceModelEndpointRequest;
class StartAutomatedReasoningPolicyBuildWorkflowRequest;
class StartAutomatedReasoningPolicyTestWorkflowRequest;
class StopEvaluationJobRequest;
class StopModelCustomizationJobRequest;
class StopModelInvocationJobRequest;
class TagResourceRequest;
class UntagResourceRequest;
class UpdateAutomatedReasoningPolicyRequest;
class UpdateAutomatedReasoningPolicyAnnotationsRequest;
class UpdateAutomatedReasoningPolicyTestCaseRequest;
class UpdateCustomModelDeploymentRequest;
class UpdateGuardrailRequest;
class UpdateMarketplaceModelEndpointRequest;
class UpdateProvisionedModelThroughputRequest;
/* End of service model forward declarations required in BedrockClient header */

/* Service model Outcome class definitions */
typedef Aws::Utils::Outcome<BatchDeleteEvaluationJobResult, BedrockError> BatchDeleteEvaluationJobOutcome;
typedef Aws::Utils::Outcome<CancelAutomatedReasoningPolicyBuildWorkflowResult, BedrockError>
    CancelAutomatedReasoningPolicyBuildWorkflowOutcome;
typedef Aws::Utils::Outcome<CreateAutomatedReasoningPolicyResult, BedrockError> CreateAutomatedReasoningPolicyOutcome;
typedef Aws::Utils::Outcome<CreateAutomatedReasoningPolicyTestCaseResult, BedrockError> CreateAutomatedReasoningPolicyTestCaseOutcome;
typedef Aws::Utils::Outcome<CreateAutomatedReasoningPolicyVersionResult, BedrockError> CreateAutomatedReasoningPolicyVersionOutcome;
typedef Aws::Utils::Outcome<CreateCustomModelResult, BedrockError> CreateCustomModelOutcome;
typedef Aws::Utils::Outcome<CreateCustomModelDeploymentResult, BedrockError> CreateCustomModelDeploymentOutcome;
typedef Aws::Utils::Outcome<CreateEvaluationJobResult, BedrockError> CreateEvaluationJobOutcome;
typedef Aws::Utils::Outcome<CreateFoundationModelAgreementResult, BedrockError> CreateFoundationModelAgreementOutcome;
typedef Aws::Utils::Outcome<CreateGuardrailResult, BedrockError> CreateGuardrailOutcome;
typedef Aws::Utils::Outcome<CreateGuardrailVersionResult, BedrockError> CreateGuardrailVersionOutcome;
typedef Aws::Utils::Outcome<CreateInferenceProfileResult, BedrockError> CreateInferenceProfileOutcome;
typedef Aws::Utils::Outcome<CreateMarketplaceModelEndpointResult, BedrockError> CreateMarketplaceModelEndpointOutcome;
typedef Aws::Utils::Outcome<CreateModelCopyJobResult, BedrockError> CreateModelCopyJobOutcome;
typedef Aws::Utils::Outcome<CreateModelCustomizationJobResult, BedrockError> CreateModelCustomizationJobOutcome;
typedef Aws::Utils::Outcome<CreateModelImportJobResult, BedrockError> CreateModelImportJobOutcome;
typedef Aws::Utils::Outcome<CreateModelInvocationJobResult, BedrockError> CreateModelInvocationJobOutcome;
typedef Aws::Utils::Outcome<CreatePromptRouterResult, BedrockError> CreatePromptRouterOutcome;
typedef Aws::Utils::Outcome<CreateProvisionedModelThroughputResult, BedrockError> CreateProvisionedModelThroughputOutcome;
typedef Aws::Utils::Outcome<DeleteAutomatedReasoningPolicyResult, BedrockError> DeleteAutomatedReasoningPolicyOutcome;
typedef Aws::Utils::Outcome<DeleteAutomatedReasoningPolicyBuildWorkflowResult, BedrockError>
    DeleteAutomatedReasoningPolicyBuildWorkflowOutcome;
typedef Aws::Utils::Outcome<DeleteAutomatedReasoningPolicyTestCaseResult, BedrockError> DeleteAutomatedReasoningPolicyTestCaseOutcome;
typedef Aws::Utils::Outcome<DeleteCustomModelResult, BedrockError> DeleteCustomModelOutcome;
typedef Aws::Utils::Outcome<DeleteCustomModelDeploymentResult, BedrockError> DeleteCustomModelDeploymentOutcome;
typedef Aws::Utils::Outcome<DeleteEnforcedGuardrailConfigurationResult, BedrockError> DeleteEnforcedGuardrailConfigurationOutcome;
typedef Aws::Utils::Outcome<DeleteFoundationModelAgreementResult, BedrockError> DeleteFoundationModelAgreementOutcome;
typedef Aws::Utils::Outcome<DeleteGuardrailResult, BedrockError> DeleteGuardrailOutcome;
typedef Aws::Utils::Outcome<DeleteImportedModelResult, BedrockError> DeleteImportedModelOutcome;
typedef Aws::Utils::Outcome<DeleteInferenceProfileResult, BedrockError> DeleteInferenceProfileOutcome;
typedef Aws::Utils::Outcome<DeleteMarketplaceModelEndpointResult, BedrockError> DeleteMarketplaceModelEndpointOutcome;
typedef Aws::Utils::Outcome<DeleteModelInvocationLoggingConfigurationResult, BedrockError> DeleteModelInvocationLoggingConfigurationOutcome;
typedef Aws::Utils::Outcome<DeletePromptRouterResult, BedrockError> DeletePromptRouterOutcome;
typedef Aws::Utils::Outcome<DeleteProvisionedModelThroughputResult, BedrockError> DeleteProvisionedModelThroughputOutcome;
typedef Aws::Utils::Outcome<DeleteResourcePolicyResult, BedrockError> DeleteResourcePolicyOutcome;
typedef Aws::Utils::Outcome<DeregisterMarketplaceModelEndpointResult, BedrockError> DeregisterMarketplaceModelEndpointOutcome;
typedef Aws::Utils::Outcome<ExportAutomatedReasoningPolicyVersionResult, BedrockError> ExportAutomatedReasoningPolicyVersionOutcome;
typedef Aws::Utils::Outcome<GetAutomatedReasoningPolicyResult, BedrockError> GetAutomatedReasoningPolicyOutcome;
typedef Aws::Utils::Outcome<GetAutomatedReasoningPolicyAnnotationsResult, BedrockError> GetAutomatedReasoningPolicyAnnotationsOutcome;
typedef Aws::Utils::Outcome<GetAutomatedReasoningPolicyBuildWorkflowResult, BedrockError> GetAutomatedReasoningPolicyBuildWorkflowOutcome;
typedef Aws::Utils::Outcome<GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResult, BedrockError>
    GetAutomatedReasoningPolicyBuildWorkflowResultAssetsOutcome;
typedef Aws::Utils::Outcome<GetAutomatedReasoningPolicyNextScenarioResult, BedrockError> GetAutomatedReasoningPolicyNextScenarioOutcome;
typedef Aws::Utils::Outcome<GetAutomatedReasoningPolicyTestCaseResult, BedrockError> GetAutomatedReasoningPolicyTestCaseOutcome;
typedef Aws::Utils::Outcome<GetAutomatedReasoningPolicyTestResultResult, BedrockError> GetAutomatedReasoningPolicyTestResultOutcome;
typedef Aws::Utils::Outcome<GetCustomModelResult, BedrockError> GetCustomModelOutcome;
typedef Aws::Utils::Outcome<GetCustomModelDeploymentResult, BedrockError> GetCustomModelDeploymentOutcome;
typedef Aws::Utils::Outcome<GetEvaluationJobResult, BedrockError> GetEvaluationJobOutcome;
typedef Aws::Utils::Outcome<GetFoundationModelResult, BedrockError> GetFoundationModelOutcome;
typedef Aws::Utils::Outcome<GetFoundationModelAvailabilityResult, BedrockError> GetFoundationModelAvailabilityOutcome;
typedef Aws::Utils::Outcome<GetGuardrailResult, BedrockError> GetGuardrailOutcome;
typedef Aws::Utils::Outcome<GetImportedModelResult, BedrockError> GetImportedModelOutcome;
typedef Aws::Utils::Outcome<GetInferenceProfileResult, BedrockError> GetInferenceProfileOutcome;
typedef Aws::Utils::Outcome<GetMarketplaceModelEndpointResult, BedrockError> GetMarketplaceModelEndpointOutcome;
typedef Aws::Utils::Outcome<GetModelCopyJobResult, BedrockError> GetModelCopyJobOutcome;
typedef Aws::Utils::Outcome<GetModelCustomizationJobResult, BedrockError> GetModelCustomizationJobOutcome;
typedef Aws::Utils::Outcome<GetModelImportJobResult, BedrockError> GetModelImportJobOutcome;
typedef Aws::Utils::Outcome<GetModelInvocationJobResult, BedrockError> GetModelInvocationJobOutcome;
typedef Aws::Utils::Outcome<GetModelInvocationLoggingConfigurationResult, BedrockError> GetModelInvocationLoggingConfigurationOutcome;
typedef Aws::Utils::Outcome<GetPromptRouterResult, BedrockError> GetPromptRouterOutcome;
typedef Aws::Utils::Outcome<GetProvisionedModelThroughputResult, BedrockError> GetProvisionedModelThroughputOutcome;
typedef Aws::Utils::Outcome<GetResourcePolicyResult, BedrockError> GetResourcePolicyOutcome;
typedef Aws::Utils::Outcome<GetUseCaseForModelAccessResult, BedrockError> GetUseCaseForModelAccessOutcome;
typedef Aws::Utils::Outcome<ListAutomatedReasoningPoliciesResult, BedrockError> ListAutomatedReasoningPoliciesOutcome;
typedef Aws::Utils::Outcome<ListAutomatedReasoningPolicyBuildWorkflowsResult, BedrockError>
    ListAutomatedReasoningPolicyBuildWorkflowsOutcome;
typedef Aws::Utils::Outcome<ListAutomatedReasoningPolicyTestCasesResult, BedrockError> ListAutomatedReasoningPolicyTestCasesOutcome;
typedef Aws::Utils::Outcome<ListAutomatedReasoningPolicyTestResultsResult, BedrockError> ListAutomatedReasoningPolicyTestResultsOutcome;
typedef Aws::Utils::Outcome<ListCustomModelDeploymentsResult, BedrockError> ListCustomModelDeploymentsOutcome;
typedef Aws::Utils::Outcome<ListCustomModelsResult, BedrockError> ListCustomModelsOutcome;
typedef Aws::Utils::Outcome<ListEnforcedGuardrailsConfigurationResult, BedrockError> ListEnforcedGuardrailsConfigurationOutcome;
typedef Aws::Utils::Outcome<ListEvaluationJobsResult, BedrockError> ListEvaluationJobsOutcome;
typedef Aws::Utils::Outcome<ListFoundationModelAgreementOffersResult, BedrockError> ListFoundationModelAgreementOffersOutcome;
typedef Aws::Utils::Outcome<ListFoundationModelsResult, BedrockError> ListFoundationModelsOutcome;
typedef Aws::Utils::Outcome<ListGuardrailsResult, BedrockError> ListGuardrailsOutcome;
typedef Aws::Utils::Outcome<ListImportedModelsResult, BedrockError> ListImportedModelsOutcome;
typedef Aws::Utils::Outcome<ListInferenceProfilesResult, BedrockError> ListInferenceProfilesOutcome;
typedef Aws::Utils::Outcome<ListMarketplaceModelEndpointsResult, BedrockError> ListMarketplaceModelEndpointsOutcome;
typedef Aws::Utils::Outcome<ListModelCopyJobsResult, BedrockError> ListModelCopyJobsOutcome;
typedef Aws::Utils::Outcome<ListModelCustomizationJobsResult, BedrockError> ListModelCustomizationJobsOutcome;
typedef Aws::Utils::Outcome<ListModelImportJobsResult, BedrockError> ListModelImportJobsOutcome;
typedef Aws::Utils::Outcome<ListModelInvocationJobsResult, BedrockError> ListModelInvocationJobsOutcome;
typedef Aws::Utils::Outcome<ListPromptRoutersResult, BedrockError> ListPromptRoutersOutcome;
typedef Aws::Utils::Outcome<ListProvisionedModelThroughputsResult, BedrockError> ListProvisionedModelThroughputsOutcome;
typedef Aws::Utils::Outcome<ListTagsForResourceResult, BedrockError> ListTagsForResourceOutcome;
typedef Aws::Utils::Outcome<PutEnforcedGuardrailConfigurationResult, BedrockError> PutEnforcedGuardrailConfigurationOutcome;
typedef Aws::Utils::Outcome<PutModelInvocationLoggingConfigurationResult, BedrockError> PutModelInvocationLoggingConfigurationOutcome;
typedef Aws::Utils::Outcome<PutResourcePolicyResult, BedrockError> PutResourcePolicyOutcome;
typedef Aws::Utils::Outcome<PutUseCaseForModelAccessResult, BedrockError> PutUseCaseForModelAccessOutcome;
typedef Aws::Utils::Outcome<RegisterMarketplaceModelEndpointResult, BedrockError> RegisterMarketplaceModelEndpointOutcome;
typedef Aws::Utils::Outcome<StartAutomatedReasoningPolicyBuildWorkflowResult, BedrockError>
    StartAutomatedReasoningPolicyBuildWorkflowOutcome;
typedef Aws::Utils::Outcome<StartAutomatedReasoningPolicyTestWorkflowResult, BedrockError> StartAutomatedReasoningPolicyTestWorkflowOutcome;
typedef Aws::Utils::Outcome<StopEvaluationJobResult, BedrockError> StopEvaluationJobOutcome;
typedef Aws::Utils::Outcome<StopModelCustomizationJobResult, BedrockError> StopModelCustomizationJobOutcome;
typedef Aws::Utils::Outcome<StopModelInvocationJobResult, BedrockError> StopModelInvocationJobOutcome;
typedef Aws::Utils::Outcome<TagResourceResult, BedrockError> TagResourceOutcome;
typedef Aws::Utils::Outcome<UntagResourceResult, BedrockError> UntagResourceOutcome;
typedef Aws::Utils::Outcome<UpdateAutomatedReasoningPolicyResult, BedrockError> UpdateAutomatedReasoningPolicyOutcome;
typedef Aws::Utils::Outcome<UpdateAutomatedReasoningPolicyAnnotationsResult, BedrockError> UpdateAutomatedReasoningPolicyAnnotationsOutcome;
typedef Aws::Utils::Outcome<UpdateAutomatedReasoningPolicyTestCaseResult, BedrockError> UpdateAutomatedReasoningPolicyTestCaseOutcome;
typedef Aws::Utils::Outcome<UpdateCustomModelDeploymentResult, BedrockError> UpdateCustomModelDeploymentOutcome;
typedef Aws::Utils::Outcome<UpdateGuardrailResult, BedrockError> UpdateGuardrailOutcome;
typedef Aws::Utils::Outcome<UpdateMarketplaceModelEndpointResult, BedrockError> UpdateMarketplaceModelEndpointOutcome;
typedef Aws::Utils::Outcome<UpdateProvisionedModelThroughputResult, BedrockError> UpdateProvisionedModelThroughputOutcome;
/* End of service model Outcome class definitions */

/* Service model Outcome callable definitions */
typedef std::future<BatchDeleteEvaluationJobOutcome> BatchDeleteEvaluationJobOutcomeCallable;
typedef std::future<CancelAutomatedReasoningPolicyBuildWorkflowOutcome> CancelAutomatedReasoningPolicyBuildWorkflowOutcomeCallable;
typedef std::future<CreateAutomatedReasoningPolicyOutcome> CreateAutomatedReasoningPolicyOutcomeCallable;
typedef std::future<CreateAutomatedReasoningPolicyTestCaseOutcome> CreateAutomatedReasoningPolicyTestCaseOutcomeCallable;
typedef std::future<CreateAutomatedReasoningPolicyVersionOutcome> CreateAutomatedReasoningPolicyVersionOutcomeCallable;
typedef std::future<CreateCustomModelOutcome> CreateCustomModelOutcomeCallable;
typedef std::future<CreateCustomModelDeploymentOutcome> CreateCustomModelDeploymentOutcomeCallable;
typedef std::future<CreateEvaluationJobOutcome> CreateEvaluationJobOutcomeCallable;
typedef std::future<CreateFoundationModelAgreementOutcome> CreateFoundationModelAgreementOutcomeCallable;
typedef std::future<CreateGuardrailOutcome> CreateGuardrailOutcomeCallable;
typedef std::future<CreateGuardrailVersionOutcome> CreateGuardrailVersionOutcomeCallable;
typedef std::future<CreateInferenceProfileOutcome> CreateInferenceProfileOutcomeCallable;
typedef std::future<CreateMarketplaceModelEndpointOutcome> CreateMarketplaceModelEndpointOutcomeCallable;
typedef std::future<CreateModelCopyJobOutcome> CreateModelCopyJobOutcomeCallable;
typedef std::future<CreateModelCustomizationJobOutcome> CreateModelCustomizationJobOutcomeCallable;
typedef std::future<CreateModelImportJobOutcome> CreateModelImportJobOutcomeCallable;
typedef std::future<CreateModelInvocationJobOutcome> CreateModelInvocationJobOutcomeCallable;
typedef std::future<CreatePromptRouterOutcome> CreatePromptRouterOutcomeCallable;
typedef std::future<CreateProvisionedModelThroughputOutcome> CreateProvisionedModelThroughputOutcomeCallable;
typedef std::future<DeleteAutomatedReasoningPolicyOutcome> DeleteAutomatedReasoningPolicyOutcomeCallable;
typedef std::future<DeleteAutomatedReasoningPolicyBuildWorkflowOutcome> DeleteAutomatedReasoningPolicyBuildWorkflowOutcomeCallable;
typedef std::future<DeleteAutomatedReasoningPolicyTestCaseOutcome> DeleteAutomatedReasoningPolicyTestCaseOutcomeCallable;
typedef std::future<DeleteCustomModelOutcome> DeleteCustomModelOutcomeCallable;
typedef std::future<DeleteCustomModelDeploymentOutcome> DeleteCustomModelDeploymentOutcomeCallable;
typedef std::future<DeleteEnforcedGuardrailConfigurationOutcome> DeleteEnforcedGuardrailConfigurationOutcomeCallable;
typedef std::future<DeleteFoundationModelAgreementOutcome> DeleteFoundationModelAgreementOutcomeCallable;
typedef std::future<DeleteGuardrailOutcome> DeleteGuardrailOutcomeCallable;
typedef std::future<DeleteImportedModelOutcome> DeleteImportedModelOutcomeCallable;
typedef std::future<DeleteInferenceProfileOutcome> DeleteInferenceProfileOutcomeCallable;
typedef std::future<DeleteMarketplaceModelEndpointOutcome> DeleteMarketplaceModelEndpointOutcomeCallable;
typedef std::future<DeleteModelInvocationLoggingConfigurationOutcome> DeleteModelInvocationLoggingConfigurationOutcomeCallable;
typedef std::future<DeletePromptRouterOutcome> DeletePromptRouterOutcomeCallable;
typedef std::future<DeleteProvisionedModelThroughputOutcome> DeleteProvisionedModelThroughputOutcomeCallable;
typedef std::future<DeleteResourcePolicyOutcome> DeleteResourcePolicyOutcomeCallable;
typedef std::future<DeregisterMarketplaceModelEndpointOutcome> DeregisterMarketplaceModelEndpointOutcomeCallable;
typedef std::future<ExportAutomatedReasoningPolicyVersionOutcome> ExportAutomatedReasoningPolicyVersionOutcomeCallable;
typedef std::future<GetAutomatedReasoningPolicyOutcome> GetAutomatedReasoningPolicyOutcomeCallable;
typedef std::future<GetAutomatedReasoningPolicyAnnotationsOutcome> GetAutomatedReasoningPolicyAnnotationsOutcomeCallable;
typedef std::future<GetAutomatedReasoningPolicyBuildWorkflowOutcome> GetAutomatedReasoningPolicyBuildWorkflowOutcomeCallable;
typedef std::future<GetAutomatedReasoningPolicyBuildWorkflowResultAssetsOutcome>
    GetAutomatedReasoningPolicyBuildWorkflowResultAssetsOutcomeCallable;
typedef std::future<GetAutomatedReasoningPolicyNextScenarioOutcome> GetAutomatedReasoningPolicyNextScenarioOutcomeCallable;
typedef std::future<GetAutomatedReasoningPolicyTestCaseOutcome> GetAutomatedReasoningPolicyTestCaseOutcomeCallable;
typedef std::future<GetAutomatedReasoningPolicyTestResultOutcome> GetAutomatedReasoningPolicyTestResultOutcomeCallable;
typedef std::future<GetCustomModelOutcome> GetCustomModelOutcomeCallable;
typedef std::future<GetCustomModelDeploymentOutcome> GetCustomModelDeploymentOutcomeCallable;
typedef std::future<GetEvaluationJobOutcome> GetEvaluationJobOutcomeCallable;
typedef std::future<GetFoundationModelOutcome> GetFoundationModelOutcomeCallable;
typedef std::future<GetFoundationModelAvailabilityOutcome> GetFoundationModelAvailabilityOutcomeCallable;
typedef std::future<GetGuardrailOutcome> GetGuardrailOutcomeCallable;
typedef std::future<GetImportedModelOutcome> GetImportedModelOutcomeCallable;
typedef std::future<GetInferenceProfileOutcome> GetInferenceProfileOutcomeCallable;
typedef std::future<GetMarketplaceModelEndpointOutcome> GetMarketplaceModelEndpointOutcomeCallable;
typedef std::future<GetModelCopyJobOutcome> GetModelCopyJobOutcomeCallable;
typedef std::future<GetModelCustomizationJobOutcome> GetModelCustomizationJobOutcomeCallable;
typedef std::future<GetModelImportJobOutcome> GetModelImportJobOutcomeCallable;
typedef std::future<GetModelInvocationJobOutcome> GetModelInvocationJobOutcomeCallable;
typedef std::future<GetModelInvocationLoggingConfigurationOutcome> GetModelInvocationLoggingConfigurationOutcomeCallable;
typedef std::future<GetPromptRouterOutcome> GetPromptRouterOutcomeCallable;
typedef std::future<GetProvisionedModelThroughputOutcome> GetProvisionedModelThroughputOutcomeCallable;
typedef std::future<GetResourcePolicyOutcome> GetResourcePolicyOutcomeCallable;
typedef std::future<GetUseCaseForModelAccessOutcome> GetUseCaseForModelAccessOutcomeCallable;
typedef std::future<ListAutomatedReasoningPoliciesOutcome> ListAutomatedReasoningPoliciesOutcomeCallable;
typedef std::future<ListAutomatedReasoningPolicyBuildWorkflowsOutcome> ListAutomatedReasoningPolicyBuildWorkflowsOutcomeCallable;
typedef std::future<ListAutomatedReasoningPolicyTestCasesOutcome> ListAutomatedReasoningPolicyTestCasesOutcomeCallable;
typedef std::future<ListAutomatedReasoningPolicyTestResultsOutcome> ListAutomatedReasoningPolicyTestResultsOutcomeCallable;
typedef std::future<ListCustomModelDeploymentsOutcome> ListCustomModelDeploymentsOutcomeCallable;
typedef std::future<ListCustomModelsOutcome> ListCustomModelsOutcomeCallable;
typedef std::future<ListEnforcedGuardrailsConfigurationOutcome> ListEnforcedGuardrailsConfigurationOutcomeCallable;
typedef std::future<ListEvaluationJobsOutcome> ListEvaluationJobsOutcomeCallable;
typedef std::future<ListFoundationModelAgreementOffersOutcome> ListFoundationModelAgreementOffersOutcomeCallable;
typedef std::future<ListFoundationModelsOutcome> ListFoundationModelsOutcomeCallable;
typedef std::future<ListGuardrailsOutcome> ListGuardrailsOutcomeCallable;
typedef std::future<ListImportedModelsOutcome> ListImportedModelsOutcomeCallable;
typedef std::future<ListInferenceProfilesOutcome> ListInferenceProfilesOutcomeCallable;
typedef std::future<ListMarketplaceModelEndpointsOutcome> ListMarketplaceModelEndpointsOutcomeCallable;
typedef std::future<ListModelCopyJobsOutcome> ListModelCopyJobsOutcomeCallable;
typedef std::future<ListModelCustomizationJobsOutcome> ListModelCustomizationJobsOutcomeCallable;
typedef std::future<ListModelImportJobsOutcome> ListModelImportJobsOutcomeCallable;
typedef std::future<ListModelInvocationJobsOutcome> ListModelInvocationJobsOutcomeCallable;
typedef std::future<ListPromptRoutersOutcome> ListPromptRoutersOutcomeCallable;
typedef std::future<ListProvisionedModelThroughputsOutcome> ListProvisionedModelThroughputsOutcomeCallable;
typedef std::future<ListTagsForResourceOutcome> ListTagsForResourceOutcomeCallable;
typedef std::future<PutEnforcedGuardrailConfigurationOutcome> PutEnforcedGuardrailConfigurationOutcomeCallable;
typedef std::future<PutModelInvocationLoggingConfigurationOutcome> PutModelInvocationLoggingConfigurationOutcomeCallable;
typedef std::future<PutResourcePolicyOutcome> PutResourcePolicyOutcomeCallable;
typedef std::future<PutUseCaseForModelAccessOutcome> PutUseCaseForModelAccessOutcomeCallable;
typedef std::future<RegisterMarketplaceModelEndpointOutcome> RegisterMarketplaceModelEndpointOutcomeCallable;
typedef std::future<StartAutomatedReasoningPolicyBuildWorkflowOutcome> StartAutomatedReasoningPolicyBuildWorkflowOutcomeCallable;
typedef std::future<StartAutomatedReasoningPolicyTestWorkflowOutcome> StartAutomatedReasoningPolicyTestWorkflowOutcomeCallable;
typedef std::future<StopEvaluationJobOutcome> StopEvaluationJobOutcomeCallable;
typedef std::future<StopModelCustomizationJobOutcome> StopModelCustomizationJobOutcomeCallable;
typedef std::future<StopModelInvocationJobOutcome> StopModelInvocationJobOutcomeCallable;
typedef std::future<TagResourceOutcome> TagResourceOutcomeCallable;
typedef std::future<UntagResourceOutcome> UntagResourceOutcomeCallable;
typedef std::future<UpdateAutomatedReasoningPolicyOutcome> UpdateAutomatedReasoningPolicyOutcomeCallable;
typedef std::future<UpdateAutomatedReasoningPolicyAnnotationsOutcome> UpdateAutomatedReasoningPolicyAnnotationsOutcomeCallable;
typedef std::future<UpdateAutomatedReasoningPolicyTestCaseOutcome> UpdateAutomatedReasoningPolicyTestCaseOutcomeCallable;
typedef std::future<UpdateCustomModelDeploymentOutcome> UpdateCustomModelDeploymentOutcomeCallable;
typedef std::future<UpdateGuardrailOutcome> UpdateGuardrailOutcomeCallable;
typedef std::future<UpdateMarketplaceModelEndpointOutcome> UpdateMarketplaceModelEndpointOutcomeCallable;
typedef std::future<UpdateProvisionedModelThroughputOutcome> UpdateProvisionedModelThroughputOutcomeCallable;
/* End of service model Outcome callable definitions */
}  // namespace Model

class BedrockClient;

/* Service model async handlers definitions */
typedef std::function<void(const BedrockClient*, const Model::BatchDeleteEvaluationJobRequest&,
                           const Model::BatchDeleteEvaluationJobOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    BatchDeleteEvaluationJobResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::CancelAutomatedReasoningPolicyBuildWorkflowRequest&,
                           const Model::CancelAutomatedReasoningPolicyBuildWorkflowOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    CancelAutomatedReasoningPolicyBuildWorkflowResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::CreateAutomatedReasoningPolicyRequest&,
                           const Model::CreateAutomatedReasoningPolicyOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    CreateAutomatedReasoningPolicyResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::CreateAutomatedReasoningPolicyTestCaseRequest&,
                           const Model::CreateAutomatedReasoningPolicyTestCaseOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    CreateAutomatedReasoningPolicyTestCaseResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::CreateAutomatedReasoningPolicyVersionRequest&,
                           const Model::CreateAutomatedReasoningPolicyVersionOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    CreateAutomatedReasoningPolicyVersionResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::CreateCustomModelRequest&, const Model::CreateCustomModelOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    CreateCustomModelResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::CreateCustomModelDeploymentRequest&,
                           const Model::CreateCustomModelDeploymentOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    CreateCustomModelDeploymentResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::CreateEvaluationJobRequest&, const Model::CreateEvaluationJobOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    CreateEvaluationJobResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::CreateFoundationModelAgreementRequest&,
                           const Model::CreateFoundationModelAgreementOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    CreateFoundationModelAgreementResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::CreateGuardrailRequest&, const Model::CreateGuardrailOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    CreateGuardrailResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::CreateGuardrailVersionRequest&, const Model::CreateGuardrailVersionOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    CreateGuardrailVersionResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::CreateInferenceProfileRequest&, const Model::CreateInferenceProfileOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    CreateInferenceProfileResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::CreateMarketplaceModelEndpointRequest&,
                           const Model::CreateMarketplaceModelEndpointOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    CreateMarketplaceModelEndpointResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::CreateModelCopyJobRequest&, const Model::CreateModelCopyJobOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    CreateModelCopyJobResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::CreateModelCustomizationJobRequest&,
                           const Model::CreateModelCustomizationJobOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    CreateModelCustomizationJobResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::CreateModelImportJobRequest&, const Model::CreateModelImportJobOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    CreateModelImportJobResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::CreateModelInvocationJobRequest&,
                           const Model::CreateModelInvocationJobOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    CreateModelInvocationJobResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::CreatePromptRouterRequest&, const Model::CreatePromptRouterOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    CreatePromptRouterResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::CreateProvisionedModelThroughputRequest&,
                           const Model::CreateProvisionedModelThroughputOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    CreateProvisionedModelThroughputResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::DeleteAutomatedReasoningPolicyRequest&,
                           const Model::DeleteAutomatedReasoningPolicyOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    DeleteAutomatedReasoningPolicyResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::DeleteAutomatedReasoningPolicyBuildWorkflowRequest&,
                           const Model::DeleteAutomatedReasoningPolicyBuildWorkflowOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    DeleteAutomatedReasoningPolicyBuildWorkflowResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::DeleteAutomatedReasoningPolicyTestCaseRequest&,
                           const Model::DeleteAutomatedReasoningPolicyTestCaseOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    DeleteAutomatedReasoningPolicyTestCaseResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::DeleteCustomModelRequest&, const Model::DeleteCustomModelOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    DeleteCustomModelResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::DeleteCustomModelDeploymentRequest&,
                           const Model::DeleteCustomModelDeploymentOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    DeleteCustomModelDeploymentResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::DeleteEnforcedGuardrailConfigurationRequest&,
                           const Model::DeleteEnforcedGuardrailConfigurationOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    DeleteEnforcedGuardrailConfigurationResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::DeleteFoundationModelAgreementRequest&,
                           const Model::DeleteFoundationModelAgreementOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    DeleteFoundationModelAgreementResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::DeleteGuardrailRequest&, const Model::DeleteGuardrailOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    DeleteGuardrailResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::DeleteImportedModelRequest&, const Model::DeleteImportedModelOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    DeleteImportedModelResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::DeleteInferenceProfileRequest&, const Model::DeleteInferenceProfileOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    DeleteInferenceProfileResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::DeleteMarketplaceModelEndpointRequest&,
                           const Model::DeleteMarketplaceModelEndpointOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    DeleteMarketplaceModelEndpointResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::DeleteModelInvocationLoggingConfigurationRequest&,
                           const Model::DeleteModelInvocationLoggingConfigurationOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    DeleteModelInvocationLoggingConfigurationResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::DeletePromptRouterRequest&, const Model::DeletePromptRouterOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    DeletePromptRouterResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::DeleteProvisionedModelThroughputRequest&,
                           const Model::DeleteProvisionedModelThroughputOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    DeleteProvisionedModelThroughputResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::DeleteResourcePolicyRequest&, const Model::DeleteResourcePolicyOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    DeleteResourcePolicyResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::DeregisterMarketplaceModelEndpointRequest&,
                           const Model::DeregisterMarketplaceModelEndpointOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    DeregisterMarketplaceModelEndpointResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ExportAutomatedReasoningPolicyVersionRequest&,
                           const Model::ExportAutomatedReasoningPolicyVersionOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ExportAutomatedReasoningPolicyVersionResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetAutomatedReasoningPolicyRequest&,
                           const Model::GetAutomatedReasoningPolicyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetAutomatedReasoningPolicyResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetAutomatedReasoningPolicyAnnotationsRequest&,
                           const Model::GetAutomatedReasoningPolicyAnnotationsOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetAutomatedReasoningPolicyAnnotationsResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetAutomatedReasoningPolicyBuildWorkflowRequest&,
                           const Model::GetAutomatedReasoningPolicyBuildWorkflowOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetAutomatedReasoningPolicyBuildWorkflowResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetAutomatedReasoningPolicyBuildWorkflowResultAssetsRequest&,
                           const Model::GetAutomatedReasoningPolicyBuildWorkflowResultAssetsOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetAutomatedReasoningPolicyNextScenarioRequest&,
                           const Model::GetAutomatedReasoningPolicyNextScenarioOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetAutomatedReasoningPolicyNextScenarioResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetAutomatedReasoningPolicyTestCaseRequest&,
                           const Model::GetAutomatedReasoningPolicyTestCaseOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetAutomatedReasoningPolicyTestCaseResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetAutomatedReasoningPolicyTestResultRequest&,
                           const Model::GetAutomatedReasoningPolicyTestResultOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetAutomatedReasoningPolicyTestResultResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetCustomModelRequest&, const Model::GetCustomModelOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetCustomModelResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetCustomModelDeploymentRequest&,
                           const Model::GetCustomModelDeploymentOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetCustomModelDeploymentResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetEvaluationJobRequest&, const Model::GetEvaluationJobOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetEvaluationJobResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetFoundationModelRequest&, const Model::GetFoundationModelOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetFoundationModelResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetFoundationModelAvailabilityRequest&,
                           const Model::GetFoundationModelAvailabilityOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetFoundationModelAvailabilityResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetGuardrailRequest&, const Model::GetGuardrailOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetGuardrailResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetImportedModelRequest&, const Model::GetImportedModelOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetImportedModelResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetInferenceProfileRequest&, const Model::GetInferenceProfileOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetInferenceProfileResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetMarketplaceModelEndpointRequest&,
                           const Model::GetMarketplaceModelEndpointOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetMarketplaceModelEndpointResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetModelCopyJobRequest&, const Model::GetModelCopyJobOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetModelCopyJobResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetModelCustomizationJobRequest&,
                           const Model::GetModelCustomizationJobOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetModelCustomizationJobResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetModelImportJobRequest&, const Model::GetModelImportJobOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetModelImportJobResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetModelInvocationJobRequest&, const Model::GetModelInvocationJobOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetModelInvocationJobResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetModelInvocationLoggingConfigurationRequest&,
                           const Model::GetModelInvocationLoggingConfigurationOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetModelInvocationLoggingConfigurationResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetPromptRouterRequest&, const Model::GetPromptRouterOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetPromptRouterResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetProvisionedModelThroughputRequest&,
                           const Model::GetProvisionedModelThroughputOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetProvisionedModelThroughputResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetResourcePolicyRequest&, const Model::GetResourcePolicyOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetResourcePolicyResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::GetUseCaseForModelAccessRequest&,
                           const Model::GetUseCaseForModelAccessOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    GetUseCaseForModelAccessResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListAutomatedReasoningPoliciesRequest&,
                           const Model::ListAutomatedReasoningPoliciesOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListAutomatedReasoningPoliciesResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListAutomatedReasoningPolicyBuildWorkflowsRequest&,
                           const Model::ListAutomatedReasoningPolicyBuildWorkflowsOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListAutomatedReasoningPolicyBuildWorkflowsResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListAutomatedReasoningPolicyTestCasesRequest&,
                           const Model::ListAutomatedReasoningPolicyTestCasesOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListAutomatedReasoningPolicyTestCasesResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListAutomatedReasoningPolicyTestResultsRequest&,
                           const Model::ListAutomatedReasoningPolicyTestResultsOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListAutomatedReasoningPolicyTestResultsResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListCustomModelDeploymentsRequest&,
                           const Model::ListCustomModelDeploymentsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListCustomModelDeploymentsResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListCustomModelsRequest&, const Model::ListCustomModelsOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListCustomModelsResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListEnforcedGuardrailsConfigurationRequest&,
                           const Model::ListEnforcedGuardrailsConfigurationOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListEnforcedGuardrailsConfigurationResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListEvaluationJobsRequest&, const Model::ListEvaluationJobsOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListEvaluationJobsResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListFoundationModelAgreementOffersRequest&,
                           const Model::ListFoundationModelAgreementOffersOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListFoundationModelAgreementOffersResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListFoundationModelsRequest&, const Model::ListFoundationModelsOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListFoundationModelsResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListGuardrailsRequest&, const Model::ListGuardrailsOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListGuardrailsResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListImportedModelsRequest&, const Model::ListImportedModelsOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListImportedModelsResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListInferenceProfilesRequest&, const Model::ListInferenceProfilesOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListInferenceProfilesResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListMarketplaceModelEndpointsRequest&,
                           const Model::ListMarketplaceModelEndpointsOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListMarketplaceModelEndpointsResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListModelCopyJobsRequest&, const Model::ListModelCopyJobsOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListModelCopyJobsResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListModelCustomizationJobsRequest&,
                           const Model::ListModelCustomizationJobsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListModelCustomizationJobsResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListModelImportJobsRequest&, const Model::ListModelImportJobsOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListModelImportJobsResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListModelInvocationJobsRequest&, const Model::ListModelInvocationJobsOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListModelInvocationJobsResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListPromptRoutersRequest&, const Model::ListPromptRoutersOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListPromptRoutersResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListProvisionedModelThroughputsRequest&,
                           const Model::ListProvisionedModelThroughputsOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListProvisionedModelThroughputsResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::ListTagsForResourceRequest&, const Model::ListTagsForResourceOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    ListTagsForResourceResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::PutEnforcedGuardrailConfigurationRequest&,
                           const Model::PutEnforcedGuardrailConfigurationOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    PutEnforcedGuardrailConfigurationResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::PutModelInvocationLoggingConfigurationRequest&,
                           const Model::PutModelInvocationLoggingConfigurationOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    PutModelInvocationLoggingConfigurationResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::PutResourcePolicyRequest&, const Model::PutResourcePolicyOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    PutResourcePolicyResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::PutUseCaseForModelAccessRequest&,
                           const Model::PutUseCaseForModelAccessOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    PutUseCaseForModelAccessResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::RegisterMarketplaceModelEndpointRequest&,
                           const Model::RegisterMarketplaceModelEndpointOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    RegisterMarketplaceModelEndpointResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::StartAutomatedReasoningPolicyBuildWorkflowRequest&,
                           const Model::StartAutomatedReasoningPolicyBuildWorkflowOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    StartAutomatedReasoningPolicyBuildWorkflowResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::StartAutomatedReasoningPolicyTestWorkflowRequest&,
                           const Model::StartAutomatedReasoningPolicyTestWorkflowOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    StartAutomatedReasoningPolicyTestWorkflowResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::StopEvaluationJobRequest&, const Model::StopEvaluationJobOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    StopEvaluationJobResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::StopModelCustomizationJobRequest&,
                           const Model::StopModelCustomizationJobOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    StopModelCustomizationJobResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::StopModelInvocationJobRequest&, const Model::StopModelInvocationJobOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    StopModelInvocationJobResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::TagResourceRequest&, const Model::TagResourceOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    TagResourceResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::UntagResourceRequest&, const Model::UntagResourceOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    UntagResourceResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::UpdateAutomatedReasoningPolicyRequest&,
                           const Model::UpdateAutomatedReasoningPolicyOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    UpdateAutomatedReasoningPolicyResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::UpdateAutomatedReasoningPolicyAnnotationsRequest&,
                           const Model::UpdateAutomatedReasoningPolicyAnnotationsOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    UpdateAutomatedReasoningPolicyAnnotationsResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::UpdateAutomatedReasoningPolicyTestCaseRequest&,
                           const Model::UpdateAutomatedReasoningPolicyTestCaseOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    UpdateAutomatedReasoningPolicyTestCaseResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::UpdateCustomModelDeploymentRequest&,
                           const Model::UpdateCustomModelDeploymentOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    UpdateCustomModelDeploymentResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::UpdateGuardrailRequest&, const Model::UpdateGuardrailOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    UpdateGuardrailResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::UpdateMarketplaceModelEndpointRequest&,
                           const Model::UpdateMarketplaceModelEndpointOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    UpdateMarketplaceModelEndpointResponseReceivedHandler;
typedef std::function<void(const BedrockClient*, const Model::UpdateProvisionedModelThroughputRequest&,
                           const Model::UpdateProvisionedModelThroughputOutcome&,
                           const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
    UpdateProvisionedModelThroughputResponseReceivedHandler;
/* End of service model async handlers definitions */
}  // namespace Bedrock
}  // namespace Aws
