/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once /* Generic header includes */ #include #include #include #include #include #include #include #include #include /* End of generic header includes */ /* Service model headers required in CodeBuildClient header */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include /* End of service model headers required in CodeBuildClient 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 AWSCredentials; class AWSCredentialsProvider; } // namespace Auth namespace Client { class RetryStrategy; } // namespace Client namespace CodeBuild { using CodeBuildClientConfiguration = Aws::Client::GenericClientConfiguration; using CodeBuildEndpointProviderBase = Aws::CodeBuild::Endpoint::CodeBuildEndpointProviderBase; using CodeBuildEndpointProvider = Aws::CodeBuild::Endpoint::CodeBuildEndpointProvider; namespace Model { /* Service model forward declarations required in CodeBuildClient header */ class BatchDeleteBuildsRequest; class BatchGetBuildBatchesRequest; class BatchGetBuildsRequest; class BatchGetProjectsRequest; class BatchGetReportGroupsRequest; class BatchGetReportsRequest; class CreateProjectRequest; class CreateReportGroupRequest; class CreateWebhookRequest; class DeleteBuildBatchRequest; class DeleteProjectRequest; class DeleteReportRequest; class DeleteReportGroupRequest; class DeleteResourcePolicyRequest; class DeleteSourceCredentialsRequest; class DeleteWebhookRequest; class DescribeCodeCoveragesRequest; class DescribeTestCasesRequest; class GetReportGroupTrendRequest; class GetResourcePolicyRequest; class ImportSourceCredentialsRequest; class InvalidateProjectCacheRequest; class ListBuildBatchesRequest; class ListBuildBatchesForProjectRequest; class ListBuildsRequest; class ListBuildsForProjectRequest; class ListCuratedEnvironmentImagesRequest; class ListProjectsRequest; class ListReportGroupsRequest; class ListReportsRequest; class ListReportsForReportGroupRequest; class ListSharedProjectsRequest; class ListSharedReportGroupsRequest; class ListSourceCredentialsRequest; class PutResourcePolicyRequest; class RetryBuildRequest; class RetryBuildBatchRequest; class StartBuildRequest; class StartBuildBatchRequest; class StopBuildRequest; class StopBuildBatchRequest; class UpdateProjectRequest; class UpdateProjectVisibilityRequest; class UpdateReportGroupRequest; class UpdateWebhookRequest; /* End of service model forward declarations required in CodeBuildClient header */ /* Service model Outcome class definitions */ typedef Aws::Utils::Outcome BatchDeleteBuildsOutcome; typedef Aws::Utils::Outcome BatchGetBuildBatchesOutcome; typedef Aws::Utils::Outcome BatchGetBuildsOutcome; typedef Aws::Utils::Outcome BatchGetProjectsOutcome; typedef Aws::Utils::Outcome BatchGetReportGroupsOutcome; typedef Aws::Utils::Outcome BatchGetReportsOutcome; typedef Aws::Utils::Outcome CreateProjectOutcome; typedef Aws::Utils::Outcome CreateReportGroupOutcome; typedef Aws::Utils::Outcome CreateWebhookOutcome; typedef Aws::Utils::Outcome DeleteBuildBatchOutcome; typedef Aws::Utils::Outcome DeleteProjectOutcome; typedef Aws::Utils::Outcome DeleteReportOutcome; typedef Aws::Utils::Outcome DeleteReportGroupOutcome; typedef Aws::Utils::Outcome DeleteResourcePolicyOutcome; typedef Aws::Utils::Outcome DeleteSourceCredentialsOutcome; typedef Aws::Utils::Outcome DeleteWebhookOutcome; typedef Aws::Utils::Outcome DescribeCodeCoveragesOutcome; typedef Aws::Utils::Outcome DescribeTestCasesOutcome; typedef Aws::Utils::Outcome GetReportGroupTrendOutcome; typedef Aws::Utils::Outcome GetResourcePolicyOutcome; typedef Aws::Utils::Outcome ImportSourceCredentialsOutcome; typedef Aws::Utils::Outcome InvalidateProjectCacheOutcome; typedef Aws::Utils::Outcome ListBuildBatchesOutcome; typedef Aws::Utils::Outcome ListBuildBatchesForProjectOutcome; typedef Aws::Utils::Outcome ListBuildsOutcome; typedef Aws::Utils::Outcome ListBuildsForProjectOutcome; typedef Aws::Utils::Outcome ListCuratedEnvironmentImagesOutcome; typedef Aws::Utils::Outcome ListProjectsOutcome; typedef Aws::Utils::Outcome ListReportGroupsOutcome; typedef Aws::Utils::Outcome ListReportsOutcome; typedef Aws::Utils::Outcome ListReportsForReportGroupOutcome; typedef Aws::Utils::Outcome ListSharedProjectsOutcome; typedef Aws::Utils::Outcome ListSharedReportGroupsOutcome; typedef Aws::Utils::Outcome ListSourceCredentialsOutcome; typedef Aws::Utils::Outcome PutResourcePolicyOutcome; typedef Aws::Utils::Outcome RetryBuildOutcome; typedef Aws::Utils::Outcome RetryBuildBatchOutcome; typedef Aws::Utils::Outcome StartBuildOutcome; typedef Aws::Utils::Outcome StartBuildBatchOutcome; typedef Aws::Utils::Outcome StopBuildOutcome; typedef Aws::Utils::Outcome StopBuildBatchOutcome; typedef Aws::Utils::Outcome UpdateProjectOutcome; typedef Aws::Utils::Outcome UpdateProjectVisibilityOutcome; typedef Aws::Utils::Outcome UpdateReportGroupOutcome; typedef Aws::Utils::Outcome UpdateWebhookOutcome; /* End of service model Outcome class definitions */ /* Service model Outcome callable definitions */ typedef std::future BatchDeleteBuildsOutcomeCallable; typedef std::future BatchGetBuildBatchesOutcomeCallable; typedef std::future BatchGetBuildsOutcomeCallable; typedef std::future BatchGetProjectsOutcomeCallable; typedef std::future BatchGetReportGroupsOutcomeCallable; typedef std::future BatchGetReportsOutcomeCallable; typedef std::future CreateProjectOutcomeCallable; typedef std::future CreateReportGroupOutcomeCallable; typedef std::future CreateWebhookOutcomeCallable; typedef std::future DeleteBuildBatchOutcomeCallable; typedef std::future DeleteProjectOutcomeCallable; typedef std::future DeleteReportOutcomeCallable; typedef std::future DeleteReportGroupOutcomeCallable; typedef std::future DeleteResourcePolicyOutcomeCallable; typedef std::future DeleteSourceCredentialsOutcomeCallable; typedef std::future DeleteWebhookOutcomeCallable; typedef std::future DescribeCodeCoveragesOutcomeCallable; typedef std::future DescribeTestCasesOutcomeCallable; typedef std::future GetReportGroupTrendOutcomeCallable; typedef std::future GetResourcePolicyOutcomeCallable; typedef std::future ImportSourceCredentialsOutcomeCallable; typedef std::future InvalidateProjectCacheOutcomeCallable; typedef std::future ListBuildBatchesOutcomeCallable; typedef std::future ListBuildBatchesForProjectOutcomeCallable; typedef std::future ListBuildsOutcomeCallable; typedef std::future ListBuildsForProjectOutcomeCallable; typedef std::future ListCuratedEnvironmentImagesOutcomeCallable; typedef std::future ListProjectsOutcomeCallable; typedef std::future ListReportGroupsOutcomeCallable; typedef std::future ListReportsOutcomeCallable; typedef std::future ListReportsForReportGroupOutcomeCallable; typedef std::future ListSharedProjectsOutcomeCallable; typedef std::future ListSharedReportGroupsOutcomeCallable; typedef std::future ListSourceCredentialsOutcomeCallable; typedef std::future PutResourcePolicyOutcomeCallable; typedef std::future RetryBuildOutcomeCallable; typedef std::future RetryBuildBatchOutcomeCallable; typedef std::future StartBuildOutcomeCallable; typedef std::future StartBuildBatchOutcomeCallable; typedef std::future StopBuildOutcomeCallable; typedef std::future StopBuildBatchOutcomeCallable; typedef std::future UpdateProjectOutcomeCallable; typedef std::future UpdateProjectVisibilityOutcomeCallable; typedef std::future UpdateReportGroupOutcomeCallable; typedef std::future UpdateWebhookOutcomeCallable; /* End of service model Outcome callable definitions */ } // namespace Model class CodeBuildClient; /* Service model async handlers definitions */ typedef std::function&) > BatchDeleteBuildsResponseReceivedHandler; typedef std::function&) > BatchGetBuildBatchesResponseReceivedHandler; typedef std::function&) > BatchGetBuildsResponseReceivedHandler; typedef std::function&) > BatchGetProjectsResponseReceivedHandler; typedef std::function&) > BatchGetReportGroupsResponseReceivedHandler; typedef std::function&) > BatchGetReportsResponseReceivedHandler; typedef std::function&) > CreateProjectResponseReceivedHandler; typedef std::function&) > CreateReportGroupResponseReceivedHandler; typedef std::function&) > CreateWebhookResponseReceivedHandler; typedef std::function&) > DeleteBuildBatchResponseReceivedHandler; typedef std::function&) > DeleteProjectResponseReceivedHandler; typedef std::function&) > DeleteReportResponseReceivedHandler; typedef std::function&) > DeleteReportGroupResponseReceivedHandler; typedef std::function&) > DeleteResourcePolicyResponseReceivedHandler; typedef std::function&) > DeleteSourceCredentialsResponseReceivedHandler; typedef std::function&) > DeleteWebhookResponseReceivedHandler; typedef std::function&) > DescribeCodeCoveragesResponseReceivedHandler; typedef std::function&) > DescribeTestCasesResponseReceivedHandler; typedef std::function&) > GetReportGroupTrendResponseReceivedHandler; typedef std::function&) > GetResourcePolicyResponseReceivedHandler; typedef std::function&) > ImportSourceCredentialsResponseReceivedHandler; typedef std::function&) > InvalidateProjectCacheResponseReceivedHandler; typedef std::function&) > ListBuildBatchesResponseReceivedHandler; typedef std::function&) > ListBuildBatchesForProjectResponseReceivedHandler; typedef std::function&) > ListBuildsResponseReceivedHandler; typedef std::function&) > ListBuildsForProjectResponseReceivedHandler; typedef std::function&) > ListCuratedEnvironmentImagesResponseReceivedHandler; typedef std::function&) > ListProjectsResponseReceivedHandler; typedef std::function&) > ListReportGroupsResponseReceivedHandler; typedef std::function&) > ListReportsResponseReceivedHandler; typedef std::function&) > ListReportsForReportGroupResponseReceivedHandler; typedef std::function&) > ListSharedProjectsResponseReceivedHandler; typedef std::function&) > ListSharedReportGroupsResponseReceivedHandler; typedef std::function&) > ListSourceCredentialsResponseReceivedHandler; typedef std::function&) > PutResourcePolicyResponseReceivedHandler; typedef std::function&) > RetryBuildResponseReceivedHandler; typedef std::function&) > RetryBuildBatchResponseReceivedHandler; typedef std::function&) > StartBuildResponseReceivedHandler; typedef std::function&) > StartBuildBatchResponseReceivedHandler; typedef std::function&) > StopBuildResponseReceivedHandler; typedef std::function&) > StopBuildBatchResponseReceivedHandler; typedef std::function&) > UpdateProjectResponseReceivedHandler; typedef std::function&) > UpdateProjectVisibilityResponseReceivedHandler; typedef std::function&) > UpdateReportGroupResponseReceivedHandler; typedef std::function&) > UpdateWebhookResponseReceivedHandler; /* End of service model async handlers definitions */ } // namespace CodeBuild } // namespace Aws