From 081f41365baac00246beeb3de5d36938499eb3b0 Mon Sep 17 00:00:00 2001 From: aws-sdk-cpp-automation Date: Thu, 5 Dec 2024 01:23:42 +0000 Subject: [PATCH] This release removes the deprecated UserId and UserGroups fields from SearchRelevantContent api's request parameters. Introducing the preview of new partner central selling APIs designed to transform how AWS partners collaborate and co-sell with multiple partners. This enables multiple partners to seamlessly engage and jointly pursue customer opportunities, fostering a new era of collaborative selling. --- VERSION | 2 +- .../PartnerCentralSellingClient.h | 660 ++++- .../PartnerCentralSellingServiceClientModel.h | 100 + .../model/AcceptEngagementInvitationRequest.h | 81 + .../partnercentral-selling/model/Account.h | 18 +- .../model/AccountSummary.h | 18 +- .../partnercentral-selling/model/Address.h | 24 +- .../model/AddressSummary.h | 24 +- .../model/AssignOpportunityRequest.h | 10 +- .../model/AssociateOpportunityRequest.h | 10 +- .../model/AwsTeamMember.h | 16 +- .../partnercentral-selling/model/Contact.h | 15 +- .../model/CreateEngagementInvitationRequest.h | 120 + .../model/CreateEngagementInvitationResult.h | 83 + .../model/CreateEngagementRequest.h | 149 + .../model/CreateEngagementResult.h | 82 + .../model/CreateOpportunityRequest.h | 93 +- .../model/CreateOpportunityResult.h | 8 +- .../model/CreateResourceSnapshotJobRequest.h | 150 + .../model/CreateResourceSnapshotJobResult.h | 82 + .../model/CreateResourceSnapshotRequest.h | 155 + .../model/CreateResourceSnapshotResult.h | 81 + .../partnercentral-selling/model/Customer.h | 2 +- .../model/CustomerProjectsContext.h | 81 + .../model/CustomerSummary.h | 4 +- .../model/DeleteResourceSnapshotJobRequest.h | 76 + .../model/DisassociateOpportunityRequest.h | 24 +- .../model/EngagementContextDetails.h | 80 + .../model/EngagementContextPayload.h | 63 + .../model/EngagementContextType.h | 30 + .../model/EngagementCustomerProjectDetails.h | 97 + .../model/EngagementInvitationSummary.h | 34 + .../model/EngagementMember.h | 107 + .../model/EngagementMemberSummary.h | 84 + .../EngagementResourceAssociationSummary.h | 135 + .../model/EngagementSort.h | 76 + .../model/EngagementSortName.h | 30 + .../model/EngagementSummary.h | 142 + .../model/ExpectedCustomerSpend.h | 18 + .../model/GetAwsOpportunitySummaryRequest.h | 8 +- .../model/GetAwsOpportunitySummaryResult.h | 50 +- .../model/GetEngagementInvitationResult.h | 70 +- .../model/GetEngagementRequest.h | 76 + .../model/GetEngagementResult.h | 178 ++ .../model/GetOpportunityRequest.h | 6 +- .../model/GetOpportunityResult.h | 104 +- .../model/GetResourceSnapshotJobRequest.h | 79 + .../model/GetResourceSnapshotJobResult.h | 243 ++ .../model/GetResourceSnapshotRequest.h | 151 + .../model/GetResourceSnapshotResult.h | 204 ++ .../model/GetSellingSystemSettingsRequest.h | 60 + .../model/GetSellingSystemSettingsResult.h | 85 + .../partnercentral-selling/model/Invitation.h | 91 + .../partnercentral-selling/model/LifeCycle.h | 87 +- .../model/LifeCycleForView.h | 112 + .../model/LifeCycleSummary.h | 85 +- ...gagementByAcceptingInvitationTaskSummary.h | 195 ++ ...agementByAcceptingInvitationTasksRequest.h | 188 ++ ...gagementByAcceptingInvitationTasksResult.h | 89 + ...ListEngagementFromOpportunityTaskSummary.h | 225 ++ ...istEngagementFromOpportunityTasksRequest.h | 189 ++ ...ListEngagementFromOpportunityTasksResult.h | 88 + .../model/ListEngagementInvitationsRequest.h | 60 +- .../model/ListEngagementMembersRequest.h | 105 + .../model/ListEngagementMembersResult.h | 87 + ...istEngagementResourceAssociationsRequest.h | 165 ++ ...ListEngagementResourceAssociationsResult.h | 85 + .../model/ListEngagementsRequest.h | 163 ++ .../model/ListEngagementsResult.h | 85 + .../model/ListOpportunitiesRequest.h | 18 +- .../model/ListOpportunitiesResult.h | 8 +- .../model/ListResourceSnapshotJobsRequest.h | 139 + .../model/ListResourceSnapshotJobsResult.h | 85 + .../model/ListResourceSnapshotsRequest.h | 176 ++ .../model/ListResourceSnapshotsResult.h | 85 + .../model/ListSolutionsRequest.h | 12 +- .../model/ListSolutionsResult.h | 4 +- .../model/ListTasksSortBase.h | 77 + .../model/ListTasksSortName.h | 30 + .../partnercentral-selling/model/Marketing.h | 20 +- .../model/OpportunitySummary.h | 55 +- .../model/OpportunitySummaryView.h | 164 ++ .../model/ParticipantType.h | 1 + .../partnercentral-selling/model/Project.h | 88 +- .../model/ProjectSummary.h | 16 +- .../model/ProjectView.h | 143 + .../model/PutSellingSystemSettingsRequest.h | 78 + .../model/PutSellingSystemSettingsResult.h | 85 + .../partnercentral-selling/model/ReasonCode.h | 12 +- .../model/RelatedEntityIdentifiers.h | 32 +- .../model/ResourceSnapshotJobStatus.h | 31 + .../model/ResourceSnapshotJobSummary.h | 116 + .../model/ResourceSnapshotPayload.h | 61 + .../model/ResourceSnapshotSummary.h | 149 + .../model/ResourceType.h | 30 + .../model/SenderContact.h | 12 +- .../model/SoftwareRevenue.h | 6 +- .../model/SolutionBase.h | 26 +- .../model/SolutionSort.h | 12 +- .../aws/partnercentral-selling/model/SortBy.h | 30 + .../partnercentral-selling/model/SortObject.h | 77 + ...ngagementByAcceptingInvitationTaskResult.h | 16 + ...StartEngagementFromOpportunityTaskResult.h | 49 + .../model/StartResourceSnapshotJobRequest.h | 75 + .../model/StopResourceSnapshotJobRequest.h | 75 + .../model/SubmitOpportunityRequest.h | 109 + .../model/UpdateOpportunityRequest.h | 79 +- .../model/UpdateOpportunityResult.h | 4 +- .../model/ValidationException.h | 22 +- .../model/ValidationExceptionError.h | 28 +- .../source/PartnerCentralSellingClient.cpp | 567 ++++ .../AcceptEngagementInvitationRequest.cpp | 50 + .../CreateEngagementInvitationRequest.cpp | 65 + .../CreateEngagementInvitationResult.cpp | 54 + .../source/model/CreateEngagementRequest.cpp | 77 + .../source/model/CreateEngagementResult.cpp | 54 + .../CreateResourceSnapshotJobRequest.cpp | 79 + .../model/CreateResourceSnapshotJobResult.cpp | 54 + .../model/CreateResourceSnapshotRequest.cpp | 79 + .../model/CreateResourceSnapshotResult.cpp | 56 + .../source/model/CustomerProjectsContext.cpp | 73 + .../DeleteResourceSnapshotJobRequest.cpp | 50 + .../source/model/EngagementContextDetails.cpp | 73 + .../source/model/EngagementContextPayload.cpp | 59 + .../source/model/EngagementContextType.cpp | 65 + .../EngagementCustomerProjectDetails.cpp | 87 + .../model/EngagementInvitationSummary.cpp | 28 + .../source/model/EngagementMember.cpp | 87 + .../source/model/EngagementMemberSummary.cpp | 73 + .../EngagementResourceAssociationSummary.cpp | 115 + .../source/model/EngagementSort.cpp | 73 + .../source/model/EngagementSortName.cpp | 65 + .../source/model/EngagementSummary.cpp | 129 + .../source/model/ExpectedCustomerSpend.cpp | 14 + .../model/GetEngagementInvitationResult.cpp | 27 + .../source/model/GetEngagementRequest.cpp | 50 + .../source/model/GetEngagementResult.cpp | 95 + .../source/model/GetOpportunityResult.cpp | 6 + .../model/GetResourceSnapshotJobRequest.cpp | 50 + .../model/GetResourceSnapshotJobResult.cpp | 117 + .../model/GetResourceSnapshotRequest.cpp | 79 + .../model/GetResourceSnapshotResult.cpp | 105 + .../model/GetSellingSystemSettingsRequest.cpp | 43 + .../model/GetSellingSystemSettingsResult.cpp | 54 + .../source/model/Invitation.cpp | 87 + .../source/model/LifeCycleForView.cpp | 101 + ...gementByAcceptingInvitationTaskSummary.cpp | 170 ++ ...ementByAcceptingInvitationTasksRequest.cpp | 113 + ...gementByAcceptingInvitationTasksResult.cpp | 57 + ...stEngagementFromOpportunityTaskSummary.cpp | 184 ++ ...tEngagementFromOpportunityTasksRequest.cpp | 113 + ...stEngagementFromOpportunityTasksResult.cpp | 57 + .../ListEngagementInvitationsRequest.cpp | 38 +- .../model/ListEngagementMembersRequest.cpp | 65 + .../model/ListEngagementMembersResult.cpp | 57 + ...tEngagementResourceAssociationsRequest.cpp | 86 + ...stEngagementResourceAssociationsResult.cpp | 57 + .../source/model/ListEngagementsRequest.cpp | 101 + .../source/model/ListEngagementsResult.cpp | 57 + .../model/ListResourceSnapshotJobsRequest.cpp | 79 + .../model/ListResourceSnapshotJobsResult.cpp | 57 + .../model/ListResourceSnapshotsRequest.cpp | 93 + .../model/ListResourceSnapshotsResult.cpp | 57 + .../source/model/ListTasksSortBase.cpp | 73 + .../source/model/ListTasksSortName.cpp | 65 + .../source/model/OpportunitySummary.cpp | 14 + .../source/model/OpportunitySummaryView.cpp | 159 ++ .../source/model/ParticipantType.cpp | 9 +- .../source/model/ProjectView.cpp | 139 + .../model/PutSellingSystemSettingsRequest.cpp | 50 + .../model/PutSellingSystemSettingsResult.cpp | 54 + .../source/model/ReasonCode.cpp | 70 +- .../model/ResourceSnapshotJobStatus.cpp | 72 + .../model/ResourceSnapshotJobSummary.cpp | 101 + .../source/model/ResourceSnapshotPayload.cpp | 59 + .../source/model/ResourceSnapshotSummary.cpp | 130 + .../source/model/ResourceType.cpp | 65 + .../source/model/SolutionBase.cpp | 14 + .../source/model/SortBy.cpp | 65 + .../source/model/SortObject.cpp | 73 + ...agementByAcceptingInvitationTaskResult.cpp | 6 + ...artEngagementFromOpportunityTaskResult.cpp | 18 + .../model/StartResourceSnapshotJobRequest.cpp | 50 + .../model/StopResourceSnapshotJobRequest.cpp | 50 + .../source/model/SubmitOpportunityRequest.cpp | 64 + .../include/aws/qbusiness/QBusinessClient.h | 10 +- .../model/SearchRelevantContentRequest.h | 42 - .../model/SearchRelevantContentRequest.cpp | 26 - .../include/aws/core/VersionConfig.h | 4 +- ...tnercentral-selling-2022-07-26.normal.json | 2535 +++++++++++++++-- .../qbusiness-2023-11-27.normal.json | 14 +- 191 files changed, 16326 insertions(+), 898 deletions(-) create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AcceptEngagementInvitationRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateEngagementInvitationRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateEngagementInvitationResult.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateEngagementRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateEngagementResult.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateResourceSnapshotJobRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateResourceSnapshotJobResult.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateResourceSnapshotRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateResourceSnapshotResult.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CustomerProjectsContext.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/DeleteResourceSnapshotJobRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementContextDetails.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementContextPayload.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementContextType.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementCustomerProjectDetails.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementMember.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementMemberSummary.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementResourceAssociationSummary.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementSort.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementSortName.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementSummary.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetEngagementRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetEngagementResult.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetResourceSnapshotJobRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetResourceSnapshotJobResult.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetResourceSnapshotRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetResourceSnapshotResult.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetSellingSystemSettingsRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetSellingSystemSettingsResult.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Invitation.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/LifeCycleForView.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementByAcceptingInvitationTaskSummary.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementByAcceptingInvitationTasksRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementByAcceptingInvitationTasksResult.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementFromOpportunityTaskSummary.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementFromOpportunityTasksRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementFromOpportunityTasksResult.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementMembersRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementMembersResult.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementResourceAssociationsRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementResourceAssociationsResult.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementsRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementsResult.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListResourceSnapshotJobsRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListResourceSnapshotJobsResult.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListResourceSnapshotsRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListResourceSnapshotsResult.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListTasksSortBase.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListTasksSortName.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/OpportunitySummaryView.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ProjectView.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/PutSellingSystemSettingsRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/PutSellingSystemSettingsResult.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceSnapshotJobStatus.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceSnapshotJobSummary.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceSnapshotPayload.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceSnapshotSummary.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceType.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SortBy.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SortObject.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/StartResourceSnapshotJobRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/StopResourceSnapshotJobRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SubmitOpportunityRequest.h create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/AcceptEngagementInvitationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateEngagementInvitationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateEngagementInvitationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateEngagementRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateEngagementResult.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateResourceSnapshotJobRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateResourceSnapshotJobResult.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateResourceSnapshotRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateResourceSnapshotResult.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CustomerProjectsContext.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/DeleteResourceSnapshotJobRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementContextDetails.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementContextPayload.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementContextType.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementCustomerProjectDetails.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementMember.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementMemberSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementResourceAssociationSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementSort.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementSortName.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetEngagementRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetEngagementResult.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetResourceSnapshotJobRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetResourceSnapshotJobResult.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetResourceSnapshotRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetResourceSnapshotResult.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetSellingSystemSettingsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetSellingSystemSettingsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/Invitation.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/LifeCycleForView.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementByAcceptingInvitationTaskSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementByAcceptingInvitationTasksRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementByAcceptingInvitationTasksResult.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementFromOpportunityTaskSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementFromOpportunityTasksRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementFromOpportunityTasksResult.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementMembersRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementMembersResult.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementResourceAssociationsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementResourceAssociationsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListResourceSnapshotJobsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListResourceSnapshotJobsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListResourceSnapshotsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListResourceSnapshotsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListTasksSortBase.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListTasksSortName.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/OpportunitySummaryView.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ProjectView.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/PutSellingSystemSettingsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/PutSellingSystemSettingsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceSnapshotJobStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceSnapshotJobSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceSnapshotPayload.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceSnapshotSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceType.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/SortBy.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/SortObject.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/StartResourceSnapshotJobRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/StopResourceSnapshotJobRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-partnercentral-selling/source/model/SubmitOpportunityRequest.cpp diff --git a/VERSION b/VERSION index 8748dad12fa..85559778558 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.461 \ No newline at end of file +1.11.462 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/PartnerCentralSellingClient.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/PartnerCentralSellingClient.h index 2f1789f0965..c8aed5b5926 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/PartnerCentralSellingClient.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/PartnerCentralSellingClient.h @@ -110,14 +110,42 @@ namespace PartnerCentralSelling virtual ~PartnerCentralSellingClient(); /** - *

Enables you to reassign an existing Opportunity to another user + *

Use the AcceptEngagementInvitation action to accept an + * engagement invitation shared by AWS. Accepting the invitation indicates your + * willingness to participate in the engagement, granting you access to all + * engagement-related data.

See Also:

AWS + * API Reference

+ */ + virtual Model::AcceptEngagementInvitationOutcome AcceptEngagementInvitation(const Model::AcceptEngagementInvitationRequest& request) const; + + /** + * A Callable wrapper for AcceptEngagementInvitation that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::AcceptEngagementInvitationOutcomeCallable AcceptEngagementInvitationCallable(const AcceptEngagementInvitationRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::AcceptEngagementInvitation, request); + } + + /** + * An Async wrapper for AcceptEngagementInvitation that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void AcceptEngagementInvitationAsync(const AcceptEngagementInvitationRequestT& request, const AcceptEngagementInvitationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::AcceptEngagementInvitation, request, handler, context); + } + + /** + *

Enables you to reassign an existing Opportunity to another user * within your Partner Central account. The specified user receives the * opportunity, and it appears on their Partner Central dashboard, allowing them to - * take necessary actions or proceed with the opportunity.

This is useful + * take necessary actions or proceed with the opportunity.

This is useful * for distributing opportunities to the appropriate team members or departments * within your organization, ensuring that each opportunity is handled by the right * person. By default, the opportunity owner is the one who creates it. Currently, - * there's no API to enumerate the list of available users.

See + * there's no API to enumerate the list of available users.

See * Also:

AWS * API Reference

@@ -143,38 +171,38 @@ namespace PartnerCentralSelling } /** - *

Enables you to create a formal association between an + *

Enables you to create a formal association between an * Opportunity and various related entities, enriching the context and * details of the opportunity for better collaboration and decision making. You can - * associate an opportunity with the following entity types:

  • - * Partner Solution: A software product or consulting practice created and + * associate an opportunity with the following entity types:

    • + *

      Partner Solution: A software product or consulting practice created and * delivered by Partners. Partner Solutions help customers address business - * challenges using Amazon Web Services services.

    • Amazon Web + * challenges using Amazon Web Services services.

    • Amazon Web * Services Products: Amazon Web Services offers many products and services that * provide scalable, reliable, and cost-effective infrastructure solutions. For the * latest list of Amazon Web Services products, see Amazon - * Web Services products.

    • Amazon Web Services Marketplace + * Web Services products.

    • Amazon Web Services Marketplace * private offer: Allows Amazon Web Services Marketplace sellers to extend custom * pricing and terms to individual Amazon Web Services customers. Sellers can * negotiate custom prices, payment schedules, and end user license terms through * private offers, enabling Amazon Web Services customers to acquire software * solutions tailored to their specific needs. For more information, see Private - * offers in Amazon Web Services Marketplace.

    To obtain + * offers in Amazon Web Services Marketplace.

To obtain * identifiers for these entities, use the following methods:

See Also:

ListEntities.

+ *

See Also:

AWS * API Reference

*/ @@ -199,20 +227,75 @@ namespace PartnerCentralSelling } /** - *

Creates an Opportunity record in Partner Central. Use this + *

The CreateEngagement action allows you to create an + * Engagement, which serves as a collaborative space between different + * parties such as AWS Partners and AWS Sellers. This action automatically adds the + * caller's AWS account as an active member of the newly created + * Engagement.

See Also:

AWS + * API Reference

+ */ + virtual Model::CreateEngagementOutcome CreateEngagement(const Model::CreateEngagementRequest& request) const; + + /** + * A Callable wrapper for CreateEngagement that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateEngagementOutcomeCallable CreateEngagementCallable(const CreateEngagementRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::CreateEngagement, request); + } + + /** + * An Async wrapper for CreateEngagement that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateEngagementAsync(const CreateEngagementRequestT& request, const CreateEngagementResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::CreateEngagement, request, handler, context); + } + + /** + *

This action creates an invitation from a sender to a single receiver to join + * an engagement.

See Also:

AWS + * API Reference

+ */ + virtual Model::CreateEngagementInvitationOutcome CreateEngagementInvitation(const Model::CreateEngagementInvitationRequest& request) const; + + /** + * A Callable wrapper for CreateEngagementInvitation that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateEngagementInvitationOutcomeCallable CreateEngagementInvitationCallable(const CreateEngagementInvitationRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::CreateEngagementInvitation, request); + } + + /** + * An Async wrapper for CreateEngagementInvitation that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateEngagementInvitationAsync(const CreateEngagementInvitationRequestT& request, const CreateEngagementInvitationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::CreateEngagementInvitation, request, handler, context); + } + + /** + *

Creates an Opportunity record in Partner Central. Use this * operation to create a potential business opportunity for submission to Amazon * Web Services. Creating an opportunity sets Lifecycle.ReviewStatus - * to Pending Submission.

To submit an opportunity, follow - * these steps:

  1. To create the opportunity, use + * to Pending Submission.

    To submit an opportunity, follow + * these steps:

    1. To create the opportunity, use * CreateOpportunity.

    2. To associate a solution with * the opportunity, use AssociateOpportunity.

    3. To * submit the opportunity, use StartEngagementFromOpportunityTask.

      - *

    After submission, you can't edit the opportunity until the - * review is complete. But opportunities in the Pending Submission - * state must have complete details. You can update the opportunity while it's in - * the Pending Submission state.

    There's a set of mandatory - * fields to create opportunities, but consider providing optional fields to enrich - * the opportunity record.

    See Also:

After submission, you can't edit the opportunity until the review + * is complete. But opportunities in the Pending Submission state must + * have complete details. You can update the opportunity while it's in the + * Pending Submission state.

There's a set of mandatory fields + * to create opportunities, but consider providing optional fields to enrich the + * opportunity record.

See Also:

AWS * API Reference

*/ @@ -237,17 +320,101 @@ namespace PartnerCentralSelling } /** - *

Allows you to remove an existing association between an + *

This action allows you to create an immutable snapshot of a specific + * resource, such as an opportunity, within the context of an engagement. The + * snapshot captures a subset of the resource's data based on the schema defined by + * the provided template.

See Also:

AWS + * API Reference

+ */ + virtual Model::CreateResourceSnapshotOutcome CreateResourceSnapshot(const Model::CreateResourceSnapshotRequest& request) const; + + /** + * A Callable wrapper for CreateResourceSnapshot that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateResourceSnapshotOutcomeCallable CreateResourceSnapshotCallable(const CreateResourceSnapshotRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::CreateResourceSnapshot, request); + } + + /** + * An Async wrapper for CreateResourceSnapshot that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateResourceSnapshotAsync(const CreateResourceSnapshotRequestT& request, const CreateResourceSnapshotResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::CreateResourceSnapshot, request, handler, context); + } + + /** + *

Use this action to create a job to generate a snapshot of the specified + * resource within an engagement. It initiates an asynchronous process to create a + * resource snapshot. The job creates a new snapshot only if the resource state has + * changed, adhering to the same access control and immutability rules as direct + * snapshot creation.

See Also:

AWS + * API Reference

+ */ + virtual Model::CreateResourceSnapshotJobOutcome CreateResourceSnapshotJob(const Model::CreateResourceSnapshotJobRequest& request) const; + + /** + * A Callable wrapper for CreateResourceSnapshotJob that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateResourceSnapshotJobOutcomeCallable CreateResourceSnapshotJobCallable(const CreateResourceSnapshotJobRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::CreateResourceSnapshotJob, request); + } + + /** + * An Async wrapper for CreateResourceSnapshotJob that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateResourceSnapshotJobAsync(const CreateResourceSnapshotJobRequestT& request, const CreateResourceSnapshotJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::CreateResourceSnapshotJob, request, handler, context); + } + + /** + *

Use this action to deletes a previously created resource snapshot job. The + * job must be in a stopped state before it can be deleted.

See + * Also:

AWS + * API Reference

+ */ + virtual Model::DeleteResourceSnapshotJobOutcome DeleteResourceSnapshotJob(const Model::DeleteResourceSnapshotJobRequest& request) const; + + /** + * A Callable wrapper for DeleteResourceSnapshotJob that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteResourceSnapshotJobOutcomeCallable DeleteResourceSnapshotJobCallable(const DeleteResourceSnapshotJobRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::DeleteResourceSnapshotJob, request); + } + + /** + * An Async wrapper for DeleteResourceSnapshotJob that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteResourceSnapshotJobAsync(const DeleteResourceSnapshotJobRequestT& request, const DeleteResourceSnapshotJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::DeleteResourceSnapshotJob, request, handler, context); + } + + /** + *

Allows you to remove an existing association between an * Opportunity and related entities, such as a Partner Solution, * Amazon Web Services product, or an Amazon Web Services Marketplace offer. This * operation is the counterpart to AssociateOpportunity, and it - * provides flexibility to manage associations as business needs change.

- * Use this operation to update the associations of an Opportunity due - * to changes in the related entities, or if an association was made in error. + * provides flexibility to manage associations as business needs change.

Use + * this operation to update the associations of an Opportunity due to + * changes in the related entities, or if an association was made in error. * Ensuring accurate associations helps maintain clarity and accuracy to track and * manage business opportunities. When you replace an entity, first attach the new * entity and then disassociate the one to be removed, especially if it's the last - * remaining entity that's required.

See Also:

See Also:

AWS * API Reference

*/ @@ -272,11 +439,11 @@ namespace PartnerCentralSelling } /** - *

Retrieves a summary of an AWS Opportunity. This summary includes high-level + *

Retrieves a summary of an AWS Opportunity. This summary includes high-level * details about the opportunity sourced from AWS, such as lifecycle information, * customer details, and involvement type. It is useful for tracking updates on the - * AWS opportunity corresponding to an opportunity in the partner's account. - *

See Also:

See Also:

AWS * API Reference

*/ @@ -300,6 +467,32 @@ namespace PartnerCentralSelling return SubmitAsync(&PartnerCentralSellingClient::GetAwsOpportunitySummary, request, handler, context); } + /** + *

Use this action to retrieve the engagement record for a given + * EngagementIdentifier.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetEngagementOutcome GetEngagement(const Model::GetEngagementRequest& request) const; + + /** + * A Callable wrapper for GetEngagement that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetEngagementOutcomeCallable GetEngagementCallable(const GetEngagementRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::GetEngagement, request); + } + + /** + * An Async wrapper for GetEngagement that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetEngagementAsync(const GetEngagementRequestT& request, const GetEngagementResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::GetEngagement, request, handler, context); + } + /** *

Retrieves the details of an engagement invitation shared by AWS with a * partner. The information includes aspects such as customer, project details, and @@ -330,10 +523,10 @@ namespace PartnerCentralSelling } /** - *

Fetches the Opportunity record from Partner Central by a given - * Identifier.

Use the ListOpportunities action - * or the event notification (from Amazon EventBridge) to obtain this identifier. - *

See Also:

Fetches the Opportunity record from Partner Central by a given + * Identifier.

Use the ListOpportunities action or + * the event notification (from Amazon EventBridge) to obtain this + * identifier.

See Also:

AWS * API Reference

*/ @@ -357,6 +550,138 @@ namespace PartnerCentralSelling return SubmitAsync(&PartnerCentralSellingClient::GetOpportunity, request, handler, context); } + /** + *

Use this action to retrieve a specific snapshot record.

See + * Also:

AWS + * API Reference

+ */ + virtual Model::GetResourceSnapshotOutcome GetResourceSnapshot(const Model::GetResourceSnapshotRequest& request) const; + + /** + * A Callable wrapper for GetResourceSnapshot that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetResourceSnapshotOutcomeCallable GetResourceSnapshotCallable(const GetResourceSnapshotRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::GetResourceSnapshot, request); + } + + /** + * An Async wrapper for GetResourceSnapshot that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetResourceSnapshotAsync(const GetResourceSnapshotRequestT& request, const GetResourceSnapshotResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::GetResourceSnapshot, request, handler, context); + } + + /** + *

Use this action to retrieves information about a specific resource snapshot + * job.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetResourceSnapshotJobOutcome GetResourceSnapshotJob(const Model::GetResourceSnapshotJobRequest& request) const; + + /** + * A Callable wrapper for GetResourceSnapshotJob that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetResourceSnapshotJobOutcomeCallable GetResourceSnapshotJobCallable(const GetResourceSnapshotJobRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::GetResourceSnapshotJob, request); + } + + /** + * An Async wrapper for GetResourceSnapshotJob that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetResourceSnapshotJobAsync(const GetResourceSnapshotJobRequestT& request, const GetResourceSnapshotJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::GetResourceSnapshotJob, request, handler, context); + } + + /** + *

Retrieves the currently set system settings, which include the IAM Role used + * for resource snapshot jobs.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetSellingSystemSettingsOutcome GetSellingSystemSettings(const Model::GetSellingSystemSettingsRequest& request) const; + + /** + * A Callable wrapper for GetSellingSystemSettings that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetSellingSystemSettingsOutcomeCallable GetSellingSystemSettingsCallable(const GetSellingSystemSettingsRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::GetSellingSystemSettings, request); + } + + /** + * An Async wrapper for GetSellingSystemSettings that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetSellingSystemSettingsAsync(const GetSellingSystemSettingsRequestT& request, const GetSellingSystemSettingsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::GetSellingSystemSettings, request, handler, context); + } + + /** + *

Lists all in-progress, completed, or failed + * StartEngagementByAcceptingInvitationTask tasks that were initiated by the + * caller's account.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListEngagementByAcceptingInvitationTasksOutcome ListEngagementByAcceptingInvitationTasks(const Model::ListEngagementByAcceptingInvitationTasksRequest& request) const; + + /** + * A Callable wrapper for ListEngagementByAcceptingInvitationTasks that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListEngagementByAcceptingInvitationTasksOutcomeCallable ListEngagementByAcceptingInvitationTasksCallable(const ListEngagementByAcceptingInvitationTasksRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::ListEngagementByAcceptingInvitationTasks, request); + } + + /** + * An Async wrapper for ListEngagementByAcceptingInvitationTasks that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListEngagementByAcceptingInvitationTasksAsync(const ListEngagementByAcceptingInvitationTasksRequestT& request, const ListEngagementByAcceptingInvitationTasksResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::ListEngagementByAcceptingInvitationTasks, request, handler, context); + } + + /** + *

Lists all in-progress, completed, or failed + * EngagementFromOpportunity tasks that were initiated by the caller's + * account.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListEngagementFromOpportunityTasksOutcome ListEngagementFromOpportunityTasks(const Model::ListEngagementFromOpportunityTasksRequest& request) const; + + /** + * A Callable wrapper for ListEngagementFromOpportunityTasks that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListEngagementFromOpportunityTasksOutcomeCallable ListEngagementFromOpportunityTasksCallable(const ListEngagementFromOpportunityTasksRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::ListEngagementFromOpportunityTasks, request); + } + + /** + * An Async wrapper for ListEngagementFromOpportunityTasks that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListEngagementFromOpportunityTasksAsync(const ListEngagementFromOpportunityTasksRequestT& request, const ListEngagementFromOpportunityTasksResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::ListEngagementFromOpportunityTasks, request, handler, context); + } + /** *

Retrieves a list of engagement invitations sent to the partner. This allows * partners to view all pending or past engagement invitations, helping them track @@ -384,22 +709,106 @@ namespace PartnerCentralSelling return SubmitAsync(&PartnerCentralSellingClient::ListEngagementInvitations, request, handler, context); } + /** + *

Retrieves the details of member partners in an engagement. This operation + * can only be invoked by members of the engagement. The + * ListEngagementMembers operation allows you to fetch information + * about the members of a specific engagement. This action is restricted to members + * of the engagement being queried.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListEngagementMembersOutcome ListEngagementMembers(const Model::ListEngagementMembersRequest& request) const; + + /** + * A Callable wrapper for ListEngagementMembers that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListEngagementMembersOutcomeCallable ListEngagementMembersCallable(const ListEngagementMembersRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::ListEngagementMembers, request); + } + + /** + * An Async wrapper for ListEngagementMembers that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListEngagementMembersAsync(const ListEngagementMembersRequestT& request, const ListEngagementMembersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::ListEngagementMembers, request, handler, context); + } + + /** + *

Lists the associations between resources and engagements where the caller is + * a member and has at least one snapshot in the engagement.

See + * Also:

AWS + * API Reference

+ */ + virtual Model::ListEngagementResourceAssociationsOutcome ListEngagementResourceAssociations(const Model::ListEngagementResourceAssociationsRequest& request) const; + + /** + * A Callable wrapper for ListEngagementResourceAssociations that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListEngagementResourceAssociationsOutcomeCallable ListEngagementResourceAssociationsCallable(const ListEngagementResourceAssociationsRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::ListEngagementResourceAssociations, request); + } + + /** + * An Async wrapper for ListEngagementResourceAssociations that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListEngagementResourceAssociationsAsync(const ListEngagementResourceAssociationsRequestT& request, const ListEngagementResourceAssociationsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::ListEngagementResourceAssociations, request, handler, context); + } + + /** + *

This action allows users to retrieve a list of engagement records from + * Partner Central. This action can be used to manage and track various engagements + * across different stages of the partner selling process.

See + * Also:

AWS + * API Reference

+ */ + virtual Model::ListEngagementsOutcome ListEngagements(const Model::ListEngagementsRequest& request) const; + + /** + * A Callable wrapper for ListEngagements that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListEngagementsOutcomeCallable ListEngagementsCallable(const ListEngagementsRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::ListEngagements, request); + } + + /** + * An Async wrapper for ListEngagements that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListEngagementsAsync(const ListEngagementsRequestT& request, const ListEngagementsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::ListEngagements, request, handler, context); + } + /** *

This request accepts a list of filters that retrieve opportunity subsets as * well as sort options. This feature is available to partners from Partner Central using the - * ListOpportunities API action.

To synchronize your system + * ListOpportunities API action.

To synchronize your system * with Amazon Web Services, only list the opportunities that were newly created or * updated. We recommend you rely on events emitted by the service into your Amazon * Web Services account’s Amazon EventBridge default event bus, you can also use - * the ListOpportunities action.

We recommend the following + * the ListOpportunities action.

We recommend the following * approach:

  1. Find the latest LastModifiedDate that * you stored, and only use the values that came from Amazon Web Services. Don’t - * use values generated by your system.

  2. When you send a + * use values generated by your system.

  3. When you send a * ListOpportunities request, submit the date in ISO 8601 format in - * the AfterLastModifiedDate filter.

  4. Amazon Web + * the AfterLastModifiedDate filter.

  5. Amazon Web * Services only returns opportunities created or updated on or after that date and - * time. Use NextToken to iterate over all pages.

  6. + * time. Use NextToken to iterate over all pages.

    *

See Also:

AWS * API Reference

@@ -425,9 +834,63 @@ namespace PartnerCentralSelling } /** - *

Retrieves a list of Partner Solutions that the partner registered on Partner + *

Lists resource snapshot jobs owned by the customer. This operation supports + * various filtering scenarios, including listing all jobs owned by the caller, + * jobs for a specific engagement, jobs with a specific status, or any combination + * of these filters.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListResourceSnapshotJobsOutcome ListResourceSnapshotJobs(const Model::ListResourceSnapshotJobsRequest& request) const; + + /** + * A Callable wrapper for ListResourceSnapshotJobs that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListResourceSnapshotJobsOutcomeCallable ListResourceSnapshotJobsCallable(const ListResourceSnapshotJobsRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::ListResourceSnapshotJobs, request); + } + + /** + * An Async wrapper for ListResourceSnapshotJobs that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListResourceSnapshotJobsAsync(const ListResourceSnapshotJobsRequestT& request, const ListResourceSnapshotJobsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::ListResourceSnapshotJobs, request, handler, context); + } + + /** + *

Retrieves a list of resource view snapshots based on specified criteria. + *

See Also:

AWS + * API Reference

+ */ + virtual Model::ListResourceSnapshotsOutcome ListResourceSnapshots(const Model::ListResourceSnapshotsRequest& request) const; + + /** + * A Callable wrapper for ListResourceSnapshots that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListResourceSnapshotsOutcomeCallable ListResourceSnapshotsCallable(const ListResourceSnapshotsRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::ListResourceSnapshots, request); + } + + /** + * An Async wrapper for ListResourceSnapshots that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListResourceSnapshotsAsync(const ListResourceSnapshotsRequestT& request, const ListResourceSnapshotsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::ListResourceSnapshots, request, handler, context); + } + + /** + *

Retrieves a list of Partner Solutions that the partner registered on Partner * Central. This API is used to generate a list of solutions that an end user - * selects from for association with an opportunity.

See Also:

See Also:

AWS * API Reference

*/ @@ -451,6 +914,32 @@ namespace PartnerCentralSelling return SubmitAsync(&PartnerCentralSellingClient::ListSolutions, request, handler, context); } + /** + *

Updates the currently set system settings, which include the IAM Role used + * for resource snapshot jobs.

See Also:

AWS + * API Reference

+ */ + virtual Model::PutSellingSystemSettingsOutcome PutSellingSystemSettings(const Model::PutSellingSystemSettingsRequest& request) const; + + /** + * A Callable wrapper for PutSellingSystemSettings that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::PutSellingSystemSettingsOutcomeCallable PutSellingSystemSettingsCallable(const PutSellingSystemSettingsRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::PutSellingSystemSettings, request); + } + + /** + * An Async wrapper for PutSellingSystemSettings that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void PutSellingSystemSettingsAsync(const PutSellingSystemSettingsRequestT& request, const PutSellingSystemSettingsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::PutSellingSystemSettings, request, handler, context); + } + /** *

This action rejects an EngagementInvitation that AWS shared. * Rejecting an invitation indicates that the partner doesn't want to pursue the @@ -541,15 +1030,96 @@ namespace PartnerCentralSelling } /** - *

Updates the Opportunity record identified by a given + *

Starts a resource snapshot job that has been previously created. + *

See Also:

AWS + * API Reference

+ */ + virtual Model::StartResourceSnapshotJobOutcome StartResourceSnapshotJob(const Model::StartResourceSnapshotJobRequest& request) const; + + /** + * A Callable wrapper for StartResourceSnapshotJob that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::StartResourceSnapshotJobOutcomeCallable StartResourceSnapshotJobCallable(const StartResourceSnapshotJobRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::StartResourceSnapshotJob, request); + } + + /** + * An Async wrapper for StartResourceSnapshotJob that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void StartResourceSnapshotJobAsync(const StartResourceSnapshotJobRequestT& request, const StartResourceSnapshotJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::StartResourceSnapshotJob, request, handler, context); + } + + /** + *

Stops a resource snapshot job. The job must be started prior to being + * stopped.

See Also:

AWS + * API Reference

+ */ + virtual Model::StopResourceSnapshotJobOutcome StopResourceSnapshotJob(const Model::StopResourceSnapshotJobRequest& request) const; + + /** + * A Callable wrapper for StopResourceSnapshotJob that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::StopResourceSnapshotJobOutcomeCallable StopResourceSnapshotJobCallable(const StopResourceSnapshotJobRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::StopResourceSnapshotJob, request); + } + + /** + * An Async wrapper for StopResourceSnapshotJob that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void StopResourceSnapshotJobAsync(const StopResourceSnapshotJobRequestT& request, const StopResourceSnapshotJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::StopResourceSnapshotJob, request, handler, context); + } + + /** + *

Use this action to submit an opportunity that was previously created by + * partner for AWS review. After you perform this action, the opportunity becomes + * non-editable until it is reviewed by AWS and has LifeCycle.ReviewStatus + * as either Approved or Action Required. + *

See Also:

AWS + * API Reference

+ */ + virtual Model::SubmitOpportunityOutcome SubmitOpportunity(const Model::SubmitOpportunityRequest& request) const; + + /** + * A Callable wrapper for SubmitOpportunity that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::SubmitOpportunityOutcomeCallable SubmitOpportunityCallable(const SubmitOpportunityRequestT& request) const + { + return SubmitCallable(&PartnerCentralSellingClient::SubmitOpportunity, request); + } + + /** + * An Async wrapper for SubmitOpportunity that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void SubmitOpportunityAsync(const SubmitOpportunityRequestT& request, const SubmitOpportunityResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&PartnerCentralSellingClient::SubmitOpportunity, request, handler, context); + } + + /** + *

Updates the Opportunity record identified by a given * Identifier. This operation allows you to modify the details of an * existing opportunity to reflect the latest information and progress. Use this - * action to keep the opportunity record up-to-date and accurate.

When you + * action to keep the opportunity record up-to-date and accurate.

When you * perform updates, include the entire payload with each request. If any field is * omitted, the API assumes that the field is set to null. The best * practice is to always perform a GetOpportunity to retrieve the * latest values, then send the complete payload with the updated values to be - * changed.

See Also:

See Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/PartnerCentralSellingServiceClientModel.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/PartnerCentralSellingServiceClientModel.h index 234403e121a..481a435a2a1 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/PartnerCentralSellingServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/PartnerCentralSellingServiceClientModel.h @@ -18,13 +18,29 @@ /* End of generic header includes */ /* Service model headers required in PartnerCentralSellingClient 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 @@ -69,53 +85,116 @@ namespace Aws namespace Model { /* Service model forward declarations required in PartnerCentralSellingClient header */ + class AcceptEngagementInvitationRequest; class AssignOpportunityRequest; class AssociateOpportunityRequest; + class CreateEngagementRequest; + class CreateEngagementInvitationRequest; class CreateOpportunityRequest; + class CreateResourceSnapshotRequest; + class CreateResourceSnapshotJobRequest; + class DeleteResourceSnapshotJobRequest; class DisassociateOpportunityRequest; class GetAwsOpportunitySummaryRequest; + class GetEngagementRequest; class GetEngagementInvitationRequest; class GetOpportunityRequest; + class GetResourceSnapshotRequest; + class GetResourceSnapshotJobRequest; + class GetSellingSystemSettingsRequest; + class ListEngagementByAcceptingInvitationTasksRequest; + class ListEngagementFromOpportunityTasksRequest; class ListEngagementInvitationsRequest; + class ListEngagementMembersRequest; + class ListEngagementResourceAssociationsRequest; + class ListEngagementsRequest; class ListOpportunitiesRequest; + class ListResourceSnapshotJobsRequest; + class ListResourceSnapshotsRequest; class ListSolutionsRequest; + class PutSellingSystemSettingsRequest; class RejectEngagementInvitationRequest; class StartEngagementByAcceptingInvitationTaskRequest; class StartEngagementFromOpportunityTaskRequest; + class StartResourceSnapshotJobRequest; + class StopResourceSnapshotJobRequest; + class SubmitOpportunityRequest; class UpdateOpportunityRequest; /* End of service model forward declarations required in PartnerCentralSellingClient header */ /* Service model Outcome class definitions */ + typedef Aws::Utils::Outcome AcceptEngagementInvitationOutcome; typedef Aws::Utils::Outcome AssignOpportunityOutcome; typedef Aws::Utils::Outcome AssociateOpportunityOutcome; + typedef Aws::Utils::Outcome CreateEngagementOutcome; + typedef Aws::Utils::Outcome CreateEngagementInvitationOutcome; typedef Aws::Utils::Outcome CreateOpportunityOutcome; + typedef Aws::Utils::Outcome CreateResourceSnapshotOutcome; + typedef Aws::Utils::Outcome CreateResourceSnapshotJobOutcome; + typedef Aws::Utils::Outcome DeleteResourceSnapshotJobOutcome; typedef Aws::Utils::Outcome DisassociateOpportunityOutcome; typedef Aws::Utils::Outcome GetAwsOpportunitySummaryOutcome; + typedef Aws::Utils::Outcome GetEngagementOutcome; typedef Aws::Utils::Outcome GetEngagementInvitationOutcome; typedef Aws::Utils::Outcome GetOpportunityOutcome; + typedef Aws::Utils::Outcome GetResourceSnapshotOutcome; + typedef Aws::Utils::Outcome GetResourceSnapshotJobOutcome; + typedef Aws::Utils::Outcome GetSellingSystemSettingsOutcome; + typedef Aws::Utils::Outcome ListEngagementByAcceptingInvitationTasksOutcome; + typedef Aws::Utils::Outcome ListEngagementFromOpportunityTasksOutcome; typedef Aws::Utils::Outcome ListEngagementInvitationsOutcome; + typedef Aws::Utils::Outcome ListEngagementMembersOutcome; + typedef Aws::Utils::Outcome ListEngagementResourceAssociationsOutcome; + typedef Aws::Utils::Outcome ListEngagementsOutcome; typedef Aws::Utils::Outcome ListOpportunitiesOutcome; + typedef Aws::Utils::Outcome ListResourceSnapshotJobsOutcome; + typedef Aws::Utils::Outcome ListResourceSnapshotsOutcome; typedef Aws::Utils::Outcome ListSolutionsOutcome; + typedef Aws::Utils::Outcome PutSellingSystemSettingsOutcome; typedef Aws::Utils::Outcome RejectEngagementInvitationOutcome; typedef Aws::Utils::Outcome StartEngagementByAcceptingInvitationTaskOutcome; typedef Aws::Utils::Outcome StartEngagementFromOpportunityTaskOutcome; + typedef Aws::Utils::Outcome StartResourceSnapshotJobOutcome; + typedef Aws::Utils::Outcome StopResourceSnapshotJobOutcome; + typedef Aws::Utils::Outcome SubmitOpportunityOutcome; typedef Aws::Utils::Outcome UpdateOpportunityOutcome; /* End of service model Outcome class definitions */ /* Service model Outcome callable definitions */ + typedef std::future AcceptEngagementInvitationOutcomeCallable; typedef std::future AssignOpportunityOutcomeCallable; typedef std::future AssociateOpportunityOutcomeCallable; + typedef std::future CreateEngagementOutcomeCallable; + typedef std::future CreateEngagementInvitationOutcomeCallable; typedef std::future CreateOpportunityOutcomeCallable; + typedef std::future CreateResourceSnapshotOutcomeCallable; + typedef std::future CreateResourceSnapshotJobOutcomeCallable; + typedef std::future DeleteResourceSnapshotJobOutcomeCallable; typedef std::future DisassociateOpportunityOutcomeCallable; typedef std::future GetAwsOpportunitySummaryOutcomeCallable; + typedef std::future GetEngagementOutcomeCallable; typedef std::future GetEngagementInvitationOutcomeCallable; typedef std::future GetOpportunityOutcomeCallable; + typedef std::future GetResourceSnapshotOutcomeCallable; + typedef std::future GetResourceSnapshotJobOutcomeCallable; + typedef std::future GetSellingSystemSettingsOutcomeCallable; + typedef std::future ListEngagementByAcceptingInvitationTasksOutcomeCallable; + typedef std::future ListEngagementFromOpportunityTasksOutcomeCallable; typedef std::future ListEngagementInvitationsOutcomeCallable; + typedef std::future ListEngagementMembersOutcomeCallable; + typedef std::future ListEngagementResourceAssociationsOutcomeCallable; + typedef std::future ListEngagementsOutcomeCallable; typedef std::future ListOpportunitiesOutcomeCallable; + typedef std::future ListResourceSnapshotJobsOutcomeCallable; + typedef std::future ListResourceSnapshotsOutcomeCallable; typedef std::future ListSolutionsOutcomeCallable; + typedef std::future PutSellingSystemSettingsOutcomeCallable; typedef std::future RejectEngagementInvitationOutcomeCallable; typedef std::future StartEngagementByAcceptingInvitationTaskOutcomeCallable; typedef std::future StartEngagementFromOpportunityTaskOutcomeCallable; + typedef std::future StartResourceSnapshotJobOutcomeCallable; + typedef std::future StopResourceSnapshotJobOutcomeCallable; + typedef std::future SubmitOpportunityOutcomeCallable; typedef std::future UpdateOpportunityOutcomeCallable; /* End of service model Outcome callable definitions */ } // namespace Model @@ -123,19 +202,40 @@ namespace Aws class PartnerCentralSellingClient; /* Service model async handlers definitions */ + typedef std::function&) > AcceptEngagementInvitationResponseReceivedHandler; typedef std::function&) > AssignOpportunityResponseReceivedHandler; typedef std::function&) > AssociateOpportunityResponseReceivedHandler; + typedef std::function&) > CreateEngagementResponseReceivedHandler; + typedef std::function&) > CreateEngagementInvitationResponseReceivedHandler; typedef std::function&) > CreateOpportunityResponseReceivedHandler; + typedef std::function&) > CreateResourceSnapshotResponseReceivedHandler; + typedef std::function&) > CreateResourceSnapshotJobResponseReceivedHandler; + typedef std::function&) > DeleteResourceSnapshotJobResponseReceivedHandler; typedef std::function&) > DisassociateOpportunityResponseReceivedHandler; typedef std::function&) > GetAwsOpportunitySummaryResponseReceivedHandler; + typedef std::function&) > GetEngagementResponseReceivedHandler; typedef std::function&) > GetEngagementInvitationResponseReceivedHandler; typedef std::function&) > GetOpportunityResponseReceivedHandler; + typedef std::function&) > GetResourceSnapshotResponseReceivedHandler; + typedef std::function&) > GetResourceSnapshotJobResponseReceivedHandler; + typedef std::function&) > GetSellingSystemSettingsResponseReceivedHandler; + typedef std::function&) > ListEngagementByAcceptingInvitationTasksResponseReceivedHandler; + typedef std::function&) > ListEngagementFromOpportunityTasksResponseReceivedHandler; typedef std::function&) > ListEngagementInvitationsResponseReceivedHandler; + typedef std::function&) > ListEngagementMembersResponseReceivedHandler; + typedef std::function&) > ListEngagementResourceAssociationsResponseReceivedHandler; + typedef std::function&) > ListEngagementsResponseReceivedHandler; typedef std::function&) > ListOpportunitiesResponseReceivedHandler; + typedef std::function&) > ListResourceSnapshotJobsResponseReceivedHandler; + typedef std::function&) > ListResourceSnapshotsResponseReceivedHandler; typedef std::function&) > ListSolutionsResponseReceivedHandler; + typedef std::function&) > PutSellingSystemSettingsResponseReceivedHandler; typedef std::function&) > RejectEngagementInvitationResponseReceivedHandler; typedef std::function&) > StartEngagementByAcceptingInvitationTaskResponseReceivedHandler; typedef std::function&) > StartEngagementFromOpportunityTaskResponseReceivedHandler; + typedef std::function&) > StartResourceSnapshotJobResponseReceivedHandler; + typedef std::function&) > StopResourceSnapshotJobResponseReceivedHandler; + typedef std::function&) > SubmitOpportunityResponseReceivedHandler; typedef std::function&) > UpdateOpportunityResponseReceivedHandler; /* End of service model async handlers definitions */ } // namespace PartnerCentralSelling diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AcceptEngagementInvitationRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AcceptEngagementInvitationRequest.h new file mode 100644 index 00000000000..0c2c30b6b01 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AcceptEngagementInvitationRequest.h @@ -0,0 +1,81 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class AcceptEngagementInvitationRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API AcceptEngagementInvitationRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "AcceptEngagementInvitation"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

The CatalogType parameter specifies the catalog associated with + * the engagement invitation. Accepted values are AWS and + * Sandbox, which determine the environment in which the engagement + * invitation is managed.

+ */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline AcceptEngagementInvitationRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline AcceptEngagementInvitationRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline AcceptEngagementInvitationRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

The Identifier parameter in the + * AcceptEngagementInvitationRequest specifies the unique identifier + * of the EngagementInvitation to be accepted. Providing the correct + * identifier ensures that the intended invitation is accepted.

+ */ + inline const Aws::String& GetIdentifier() const{ return m_identifier; } + inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } + inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } + inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } + inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } + inline AcceptEngagementInvitationRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} + inline AcceptEngagementInvitationRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} + inline AcceptEngagementInvitationRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::String m_identifier; + bool m_identifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Account.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Account.h index c63276945f6..829bc631a52 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Account.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Account.h @@ -27,7 +27,7 @@ namespace Model /** *

Specifies the Customer's account details associated with the - * Opportunity.

See Also:

Opportunity.

See Also:

AWS * API Reference

*/ @@ -43,7 +43,7 @@ namespace Model ///@{ /** *

Specifies the end Customer's address details associated with the - * Opportunity.

+ * Opportunity.

*/ inline const Address& GetAddress() const{ return m_address; } inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; } @@ -56,7 +56,7 @@ namespace Model ///@{ /** *

Specifies the Customer Amazon Web Services account ID associated - * with the Opportunity.

+ * with the Opportunity.

*/ inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } @@ -71,7 +71,7 @@ namespace Model ///@{ /** *

Specifies the end Customer's company name associated with the - * Opportunity.

+ * Opportunity.

*/ inline const Aws::String& GetCompanyName() const{ return m_companyName; } inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; } @@ -85,7 +85,7 @@ namespace Model ///@{ /** - *

Indicates the Customer DUNS number, if available.

+ *

Indicates the Customer DUNS number, if available.

*/ inline const Aws::String& GetDuns() const{ return m_duns; } inline bool DunsHasBeenSet() const { return m_dunsHasBeenSet; } @@ -101,7 +101,7 @@ namespace Model /** *

Specifies the industry the end Customer belongs to that's * associated with the Opportunity. It refers to the category or - * sector where the customer's business operates. This is a required field.

+ * sector where the customer's business operates. This is a required field.

*/ inline const Industry& GetIndustry() const{ return m_industry; } inline bool IndustryHasBeenSet() const { return m_industryHasBeenSet; } @@ -115,7 +115,7 @@ namespace Model /** *

Specifies the end Customer's industry associated with the * Opportunity, when the selected value in the Industry - * field is Other.

+ * field is Other.

*/ inline const Aws::String& GetOtherIndustry() const{ return m_otherIndustry; } inline bool OtherIndustryHasBeenSet() const { return m_otherIndustryHasBeenSet; } @@ -129,10 +129,10 @@ namespace Model ///@{ /** - *

Specifies the end customer's company website URL associated with the + *

Specifies the end customer's company website URL associated with the * Opportunity. This value is crucial to map the customer within the * Amazon Web Services CRM system. This field is required in all cases except when - * the opportunity is related to national security.

+ * the opportunity is related to national security.

*/ inline const Aws::String& GetWebsiteUrl() const{ return m_websiteUrl; } inline bool WebsiteUrlHasBeenSet() const { return m_websiteUrlHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AccountSummary.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AccountSummary.h index 61a2e8fcdd2..ae4878d1406 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AccountSummary.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AccountSummary.h @@ -26,8 +26,8 @@ namespace Model { /** - *

An object that contains an Account's subset of fields. - *

See Also:

An object that contains an Account's subset of + * fields.

See Also:

AWS * API Reference

*/ @@ -43,7 +43,7 @@ namespace Model ///@{ /** *

Specifies the end Customer's address details associated with the - * Opportunity.

+ * Opportunity.

*/ inline const AddressSummary& GetAddress() const{ return m_address; } inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; } @@ -56,7 +56,7 @@ namespace Model ///@{ /** *

Specifies the end Customer's company name associated with the - * Opportunity.

+ * Opportunity.

*/ inline const Aws::String& GetCompanyName() const{ return m_companyName; } inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; } @@ -72,9 +72,9 @@ namespace Model /** *

Specifies which industry the end Customer belongs to associated * with the Opportunity. It refers to the category or sector that the - * customer's business operates in.

To submit a value outside the picklist, - * use Other.

Conditionally mandatory if Other is - * selected for Industry Vertical in LOVs.

+ * customer's business operates in.

To submit a value outside the picklist, + * use Other.

Conditionally mandatory if Other is + * selected for Industry Vertical in LOVs.

*/ inline const Industry& GetIndustry() const{ return m_industry; } inline bool IndustryHasBeenSet() const { return m_industryHasBeenSet; } @@ -90,7 +90,7 @@ namespace Model * Opportunity, when the selected value in the Industry field * is Other. This field is relevant when the customer's industry * doesn't fall under the predefined picklist values and requires a custom - * description.

+ * description.

*/ inline const Aws::String& GetOtherIndustry() const{ return m_otherIndustry; } inline bool OtherIndustryHasBeenSet() const { return m_otherIndustryHasBeenSet; } @@ -106,7 +106,7 @@ namespace Model /** *

Specifies the end customer's company website URL associated with the * Opportunity. This value is crucial to map the customer within the - * Amazon Web Services CRM system.

+ * Amazon Web Services CRM system.

*/ inline const Aws::String& GetWebsiteUrl() const{ return m_websiteUrl; } inline bool WebsiteUrlHasBeenSet() const { return m_websiteUrlHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Address.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Address.h index 2da7fc9b33d..4e5d5db2ce4 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Address.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Address.h @@ -26,7 +26,7 @@ namespace Model /** *

Specifies the end Customer's address details associated with the - * Opportunity.

See Also:

Opportunity.

See Also:

AWS * API Reference

*/ @@ -42,7 +42,7 @@ namespace Model ///@{ /** *

Specifies the end Customer's city associated with the - * Opportunity.

+ * Opportunity.

*/ inline const Aws::String& GetCity() const{ return m_city; } inline bool CityHasBeenSet() const { return m_cityHasBeenSet; } @@ -57,7 +57,7 @@ namespace Model ///@{ /** *

Specifies the end Customer's country associated with the - * Opportunity.

+ * Opportunity.

*/ inline const CountryCode& GetCountryCode() const{ return m_countryCode; } inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; } @@ -70,7 +70,7 @@ namespace Model ///@{ /** *

Specifies the end Customer's postal code associated with the - * Opportunity.

+ * Opportunity.

*/ inline const Aws::String& GetPostalCode() const{ return m_postalCode; } inline bool PostalCodeHasBeenSet() const { return m_postalCodeHasBeenSet; } @@ -85,13 +85,13 @@ namespace Model ///@{ /** *

Specifies the end Customer's state or region associated with the - * Opportunity.

Valid values: Alabama | Alaska | - * American Samoa | Arizona | Arkansas | California | Colorado | Connecticut | - * Delaware | Dist. of Columbia | Federated States of Micronesia | Florida | - * Georgia | Guam | Hawaii | Idaho | Illinois | Indiana | Iowa | Kansas | Kentucky - * | Louisiana | Maine | Marshall Islands | Maryland | Massachusetts | Michigan | - * Minnesota | Mississippi | Missouri | Montana | Nebraska | Nevada | New Hampshire - * | New Jersey | New Mexico | New York | North Carolina | North Dakota | Northern + * Opportunity.

Valid values: Alabama | Alaska | American + * Samoa | Arizona | Arkansas | California | Colorado | Connecticut | Delaware | + * Dist. of Columbia | Federated States of Micronesia | Florida | Georgia | Guam | + * Hawaii | Idaho | Illinois | Indiana | Iowa | Kansas | Kentucky | Louisiana | + * Maine | Marshall Islands | Maryland | Massachusetts | Michigan | Minnesota | + * Mississippi | Missouri | Montana | Nebraska | Nevada | New Hampshire | New + * Jersey | New Mexico | New York | North Carolina | North Dakota | Northern * Mariana Islands | Ohio | Oklahoma | Oregon | Palau | Pennsylvania | Puerto Rico * | Rhode Island | South Carolina | South Dakota | Tennessee | Texas | Utah | * Vermont | Virginia | Virgin Islands | Washington | West Virginia | Wisconsin | @@ -110,7 +110,7 @@ namespace Model ///@{ /** *

Specifies the end Customer's street address associated with the - * Opportunity.

+ * Opportunity.

*/ inline const Aws::String& GetStreetAddress() const{ return m_streetAddress; } inline bool StreetAddressHasBeenSet() const { return m_streetAddressHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AddressSummary.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AddressSummary.h index 5ab897509da..4ea8afff21c 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AddressSummary.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AddressSummary.h @@ -25,8 +25,8 @@ namespace Model { /** - *

An object that contains an Address object's subset of fields. - *

See Also:

An object that contains an Address object's subset of + * fields.

See Also:

AWS * API Reference

*/ @@ -42,7 +42,7 @@ namespace Model ///@{ /** *

Specifies the end Customer's city associated with the - * Opportunity.

+ * Opportunity.

*/ inline const Aws::String& GetCity() const{ return m_city; } inline bool CityHasBeenSet() const { return m_cityHasBeenSet; } @@ -57,7 +57,7 @@ namespace Model ///@{ /** *

Specifies the end Customer's country associated with the - * Opportunity.

+ * Opportunity.

*/ inline const CountryCode& GetCountryCode() const{ return m_countryCode; } inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; } @@ -70,7 +70,7 @@ namespace Model ///@{ /** *

Specifies the end Customer's postal code associated with the - * Opportunity.

+ * Opportunity.

*/ inline const Aws::String& GetPostalCode() const{ return m_postalCode; } inline bool PostalCodeHasBeenSet() const { return m_postalCodeHasBeenSet; } @@ -85,13 +85,13 @@ namespace Model ///@{ /** *

Specifies the end Customer's state or region associated with the - * Opportunity.

Valid values: Alabama | Alaska | - * American Samoa | Arizona | Arkansas | California | Colorado | Connecticut | - * Delaware | Dist. of Columbia | Federated States of Micronesia | Florida | - * Georgia | Guam | Hawaii | Idaho | Illinois | Indiana | Iowa | Kansas | Kentucky - * | Louisiana | Maine | Marshall Islands | Maryland | Massachusetts | Michigan | - * Minnesota | Mississippi | Missouri | Montana | Nebraska | Nevada | New Hampshire - * | New Jersey | New Mexico | New York | North Carolina | North Dakota | Northern + * Opportunity.

Valid values: Alabama | Alaska | American + * Samoa | Arizona | Arkansas | California | Colorado | Connecticut | Delaware | + * Dist. of Columbia | Federated States of Micronesia | Florida | Georgia | Guam | + * Hawaii | Idaho | Illinois | Indiana | Iowa | Kansas | Kentucky | Louisiana | + * Maine | Marshall Islands | Maryland | Massachusetts | Michigan | Minnesota | + * Mississippi | Missouri | Montana | Nebraska | Nevada | New Hampshire | New + * Jersey | New Mexico | New York | North Carolina | North Dakota | Northern * Mariana Islands | Ohio | Oklahoma | Oregon | Palau | Pennsylvania | Puerto Rico * | Rhode Island | South Carolina | South Dakota | Tennessee | Texas | Utah | * Vermont | Virginia | Virgin Islands | Washington | West Virginia | Wisconsin | diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AssignOpportunityRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AssignOpportunityRequest.h index 3092c3df5b3..f4de4472d2a 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AssignOpportunityRequest.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AssignOpportunityRequest.h @@ -52,12 +52,12 @@ namespace Model ///@{ /** - *

Specifies the catalog associated with the request. This field takes a string + *

Specifies the catalog associated with the request. This field takes a string * value from a predefined list: AWS or Sandbox. The * catalog determines which environment the opportunity is assigned in. Use * AWS to assign real opportunities in the Amazon Web Services - * catalog, and Sandbox for testing in secure, isolated environments. - *

+ * catalog, and Sandbox for testing in secure, isolated + * environments.

*/ inline const Aws::String& GetCatalog() const{ return m_catalog; } inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } @@ -71,9 +71,9 @@ namespace Model ///@{ /** - *

Requires the Opportunity's unique identifier when you want to + *

Requires the Opportunity's unique identifier when you want to * assign it to another user. Provide the correct identifier so the intended - * opportunity is reassigned.

+ * opportunity is reassigned.

*/ inline const Aws::String& GetIdentifier() const{ return m_identifier; } inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AssociateOpportunityRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AssociateOpportunityRequest.h index 47ba38d55b7..7bc554a9f76 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AssociateOpportunityRequest.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AssociateOpportunityRequest.h @@ -37,11 +37,11 @@ namespace Model ///@{ /** - *

Specifies the catalog associated with the request. This field takes a string + *

Specifies the catalog associated with the request. This field takes a string * value from a predefined list: AWS or Sandbox. The * catalog determines which environment the opportunity association is made in. Use * AWS to associate opportunities in the Amazon Web Services catalog, - * and Sandbox for testing in secure, isolated environments.

+ * and Sandbox for testing in secure, isolated environments.

*/ inline const Aws::String& GetCatalog() const{ return m_catalog; } inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } @@ -57,7 +57,7 @@ namespace Model /** *

Requires the Opportunity's unique identifier when you want to * associate it with a related entity. Provide the correct identifier so the - * intended opportunity is updated with the association.

+ * intended opportunity is updated with the association.

*/ inline const Aws::String& GetOpportunityIdentifier() const{ return m_opportunityIdentifier; } inline bool OpportunityIdentifierHasBeenSet() const { return m_opportunityIdentifierHasBeenSet; } @@ -75,7 +75,7 @@ namespace Model * with the Opportunity. For Amazon Web Services Marketplace * entities, provide the Amazon Resource Name (ARN). Use the - * Amazon Web Services Marketplace API to obtain the ARN.

+ * Amazon Web Services Marketplace API to obtain the ARN.

*/ inline const Aws::String& GetRelatedEntityIdentifier() const{ return m_relatedEntityIdentifier; } inline bool RelatedEntityIdentifierHasBeenSet() const { return m_relatedEntityIdentifierHasBeenSet; } @@ -91,7 +91,7 @@ namespace Model /** *

Specifies the entity type that you're associating with the * Opportunity. This helps to categorize and properly process the - * association.

+ * association.

*/ inline const RelatedEntityType& GetRelatedEntityType() const{ return m_relatedEntityType; } inline bool RelatedEntityTypeHasBeenSet() const { return m_relatedEntityTypeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AwsTeamMember.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AwsTeamMember.h index fa57ffa4a97..0b1ddc67ec2 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AwsTeamMember.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/AwsTeamMember.h @@ -25,9 +25,9 @@ namespace Model { /** - *

Represents an Amazon Web Services team member for the engagement. This - * structure includes details such as name, email, and business title. - *

See Also:

Represents an Amazon Web Services team member for the engagement. This + * structure includes details such as name, email, and business + * title.

See Also:

AWS * API Reference

*/ @@ -42,8 +42,8 @@ namespace Model ///@{ /** - *

Specifies the Amazon Web Services team member's business title and indicates - * their organizational role.

+ *

Specifies the Amazon Web Services team member's business title and indicates + * their organizational role.

*/ inline const AwsMemberBusinessTitle& GetBusinessTitle() const{ return m_businessTitle; } inline bool BusinessTitleHasBeenSet() const { return m_businessTitleHasBeenSet; } @@ -55,7 +55,7 @@ namespace Model ///@{ /** - *

Provides the Amazon Web Services team member's email address.

+ *

Provides the Amazon Web Services team member's email address.

*/ inline const Aws::String& GetEmail() const{ return m_email; } inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; } @@ -69,7 +69,7 @@ namespace Model ///@{ /** - *

Provides the Amazon Web Services team member's first name.

+ *

Provides the Amazon Web Services team member's first name.

*/ inline const Aws::String& GetFirstName() const{ return m_firstName; } inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; } @@ -83,7 +83,7 @@ namespace Model ///@{ /** - *

Provides the Amazon Web Services team member's last name.

+ *

Provides the Amazon Web Services team member's last name.

*/ inline const Aws::String& GetLastName() const{ return m_lastName; } inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Contact.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Contact.h index 5a47701c6c5..6e1142a91e0 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Contact.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Contact.h @@ -24,8 +24,8 @@ namespace Model { /** - *

An object that contains a Customer Partner's contact details. - *

See Also:

An object that contains a Customer Partner's contact + * details.

See Also:

AWS * API Reference

*/ @@ -42,7 +42,7 @@ namespace Model /** *

The partner contact's title (job title or role) associated with the * Opportunity. BusinessTitle supports either - * PartnerAccountManager or OpportunityOwner.

+ * PartnerAccountManager or OpportunityOwner.

*/ inline const Aws::String& GetBusinessTitle() const{ return m_businessTitle; } inline bool BusinessTitleHasBeenSet() const { return m_businessTitleHasBeenSet; } @@ -56,8 +56,7 @@ namespace Model ///@{ /** - *

The contact's email address associated with the Opportunity. - *

+ *

The contact's email address associated with the Opportunity.

*/ inline const Aws::String& GetEmail() const{ return m_email; } inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; } @@ -71,7 +70,7 @@ namespace Model ///@{ /** - *

The contact's first name associated with the Opportunity.

+ *

The contact's first name associated with the Opportunity.

*/ inline const Aws::String& GetFirstName() const{ return m_firstName; } inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; } @@ -85,7 +84,7 @@ namespace Model ///@{ /** - *

The contact's last name associated with the Opportunity.

+ *

The contact's last name associated with the Opportunity.

*/ inline const Aws::String& GetLastName() const{ return m_lastName; } inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; } @@ -99,7 +98,7 @@ namespace Model ///@{ /** - *

The contact's phone number associated with the Opportunity.

+ *

The contact's phone number associated with the Opportunity.

*/ inline const Aws::String& GetPhone() const{ return m_phone; } inline bool PhoneHasBeenSet() const { return m_phoneHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateEngagementInvitationRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateEngagementInvitationRequest.h new file mode 100644 index 00000000000..f631c1e440d --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateEngagementInvitationRequest.h @@ -0,0 +1,120 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class CreateEngagementInvitationRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API CreateEngagementInvitationRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CreateEngagementInvitation"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

Specifies the catalog related to the engagement. Accepted values are + * AWS and Sandbox, which determine the environment in + * which the engagement is managed.

+ */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline CreateEngagementInvitationRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline CreateEngagementInvitationRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline CreateEngagementInvitationRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

Specifies a unique, client-generated UUID to ensure that the request is + * handled exactly once. This token helps prevent duplicate invitation creations. + *

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline CreateEngagementInvitationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline CreateEngagementInvitationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline CreateEngagementInvitationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + ///@} + + ///@{ + /** + *

The unique identifier of the Engagement associated with the + * invitation. This parameter ensures the invitation is created within the correct + * Engagement context.

+ */ + inline const Aws::String& GetEngagementIdentifier() const{ return m_engagementIdentifier; } + inline bool EngagementIdentifierHasBeenSet() const { return m_engagementIdentifierHasBeenSet; } + inline void SetEngagementIdentifier(const Aws::String& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = value; } + inline void SetEngagementIdentifier(Aws::String&& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = std::move(value); } + inline void SetEngagementIdentifier(const char* value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier.assign(value); } + inline CreateEngagementInvitationRequest& WithEngagementIdentifier(const Aws::String& value) { SetEngagementIdentifier(value); return *this;} + inline CreateEngagementInvitationRequest& WithEngagementIdentifier(Aws::String&& value) { SetEngagementIdentifier(std::move(value)); return *this;} + inline CreateEngagementInvitationRequest& WithEngagementIdentifier(const char* value) { SetEngagementIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The Invitation object all information necessary to initiate an + * engagement invitation to a partner. It contains a personalized message from the + * sender, the invitation's receiver, and a payload. The Payload can + * be the OpportunityInvitation, which includes detailed structures + * for sender contacts, partner responsibilities, customer information, and project + * details.

+ */ + inline const Invitation& GetInvitation() const{ return m_invitation; } + inline bool InvitationHasBeenSet() const { return m_invitationHasBeenSet; } + inline void SetInvitation(const Invitation& value) { m_invitationHasBeenSet = true; m_invitation = value; } + inline void SetInvitation(Invitation&& value) { m_invitationHasBeenSet = true; m_invitation = std::move(value); } + inline CreateEngagementInvitationRequest& WithInvitation(const Invitation& value) { SetInvitation(value); return *this;} + inline CreateEngagementInvitationRequest& WithInvitation(Invitation&& value) { SetInvitation(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_engagementIdentifier; + bool m_engagementIdentifierHasBeenSet = false; + + Invitation m_invitation; + bool m_invitationHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateEngagementInvitationResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateEngagementInvitationResult.h new file mode 100644 index 00000000000..d9974b5b2c1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateEngagementInvitationResult.h @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + class CreateEngagementInvitationResult + { + public: + AWS_PARTNERCENTRALSELLING_API CreateEngagementInvitationResult(); + AWS_PARTNERCENTRALSELLING_API CreateEngagementInvitationResult(const Aws::AmazonWebServiceResult& result); + AWS_PARTNERCENTRALSELLING_API CreateEngagementInvitationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The Amazon Resource Name (ARN) that uniquely identifies the engagement + * invitation.

+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline void SetArn(const Aws::String& value) { m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arn.assign(value); } + inline CreateEngagementInvitationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline CreateEngagementInvitationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline CreateEngagementInvitationResult& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *

Unique identifier assigned to the newly created engagement invitation.

+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline void SetId(const Aws::String& value) { m_id = value; } + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + inline void SetId(const char* value) { m_id.assign(value); } + inline CreateEngagementInvitationResult& WithId(const Aws::String& value) { SetId(value); return *this;} + inline CreateEngagementInvitationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline CreateEngagementInvitationResult& WithId(const char* value) { SetId(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 CreateEngagementInvitationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreateEngagementInvitationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreateEngagementInvitationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_arn; + + Aws::String m_id; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateEngagementRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateEngagementRequest.h new file mode 100644 index 00000000000..de0dc013ce5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateEngagementRequest.h @@ -0,0 +1,149 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class CreateEngagementRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API CreateEngagementRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CreateEngagement"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

The CreateEngagementRequest$Catalog parameter specifies the + * catalog related to the engagement. Accepted values are AWS and + * Sandbox, which determine the environment in which the engagement is + * managed.

+ */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline CreateEngagementRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline CreateEngagementRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline CreateEngagementRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

The CreateEngagementRequest$ClientToken parameter specifies a + * unique, case-sensitive identifier to ensure that the request is handled exactly + * once. The value must not exceed sixty-four alphanumeric characters.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline CreateEngagementRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline CreateEngagementRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline CreateEngagementRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + ///@} + + ///@{ + /** + *

The Contexts field is a required array of objects, with a + * maximum of 5 contexts allowed, specifying detailed information about customer + * projects associated with the Engagement. Each context object contains a + * Type field indicating the context type, which must be + * CustomerProject in this version, and a Payload field + * containing the CustomerProject details. The + * CustomerProject object is composed of two main components: + * Customer and Project. The Customer object + * includes information such as CompanyName, WebsiteUrl, + * Industry, and CountryCode, providing essential details + * about the customer. The Project object contains Title, + * BusinessProblem, and TargetCompletionDate, offering + * insights into the specific project associated with the customer. This structure + * allows comprehensive context to be included within the Engagement, facilitating + * effective collaboration between parties by providing relevant customer and + * project information.

+ */ + inline const Aws::Vector& GetContexts() const{ return m_contexts; } + inline bool ContextsHasBeenSet() const { return m_contextsHasBeenSet; } + inline void SetContexts(const Aws::Vector& value) { m_contextsHasBeenSet = true; m_contexts = value; } + inline void SetContexts(Aws::Vector&& value) { m_contextsHasBeenSet = true; m_contexts = std::move(value); } + inline CreateEngagementRequest& WithContexts(const Aws::Vector& value) { SetContexts(value); return *this;} + inline CreateEngagementRequest& WithContexts(Aws::Vector&& value) { SetContexts(std::move(value)); return *this;} + inline CreateEngagementRequest& AddContexts(const EngagementContextDetails& value) { m_contextsHasBeenSet = true; m_contexts.push_back(value); return *this; } + inline CreateEngagementRequest& AddContexts(EngagementContextDetails&& value) { m_contextsHasBeenSet = true; m_contexts.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

Provides a description of the Engagement.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline CreateEngagementRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline CreateEngagementRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline CreateEngagementRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

Specifies the title of the Engagement.

+ */ + inline const Aws::String& GetTitle() const{ return m_title; } + inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } + inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } + inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } + inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } + inline CreateEngagementRequest& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} + inline CreateEngagementRequest& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} + inline CreateEngagementRequest& WithTitle(const char* value) { SetTitle(value); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::Vector m_contexts; + bool m_contextsHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_title; + bool m_titleHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateEngagementResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateEngagementResult.h new file mode 100644 index 00000000000..66d7e3af5f5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateEngagementResult.h @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + class CreateEngagementResult + { + public: + AWS_PARTNERCENTRALSELLING_API CreateEngagementResult(); + AWS_PARTNERCENTRALSELLING_API CreateEngagementResult(const Aws::AmazonWebServiceResult& result); + AWS_PARTNERCENTRALSELLING_API CreateEngagementResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The Amazon Resource Name (ARN) that identifies the engagement.

+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline void SetArn(const Aws::String& value) { m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arn.assign(value); } + inline CreateEngagementResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline CreateEngagementResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline CreateEngagementResult& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *

Unique identifier assigned to the newly created engagement.

+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline void SetId(const Aws::String& value) { m_id = value; } + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + inline void SetId(const char* value) { m_id.assign(value); } + inline CreateEngagementResult& WithId(const Aws::String& value) { SetId(value); return *this;} + inline CreateEngagementResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline CreateEngagementResult& WithId(const char* value) { SetId(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 CreateEngagementResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreateEngagementResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreateEngagementResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_arn; + + Aws::String m_id; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateOpportunityRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateOpportunityRequest.h index b383fab2dd5..3ef87c98e29 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateOpportunityRequest.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateOpportunityRequest.h @@ -48,11 +48,11 @@ namespace Model ///@{ /** - *

Specifies the catalog associated with the request. This field takes a string + *

Specifies the catalog associated with the request. This field takes a string * value from a predefined list: AWS or Sandbox. The * catalog determines which environment the opportunity is created in. Use * AWS to create opportunities in the Amazon Web Services catalog, and - * Sandbox for testing in secure, isolated environments.

+ * Sandbox for testing in secure, isolated environments.

*/ inline const Aws::String& GetCatalog() const{ return m_catalog; } inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } @@ -66,13 +66,13 @@ namespace Model ///@{ /** - *

Required to be unique, and should be unchanging, it can be randomly - * generated or a meaningful string.

Default: None

Best practice: - * To help ensure uniqueness and avoid conflicts, use a Universally Unique - * Identifier (UUID) as the ClientToken. You can use standard - * libraries from most programming languages to generate this. If you use the same - * client token, the API returns the following error: "Conflicting client token - * submitted for a new request body."

+ *

Required to be unique, and should be unchanging, it can be randomly generated + * or a meaningful string.

Default: None

Best practice: To help + * ensure uniqueness and avoid conflicts, use a Universally Unique Identifier + * (UUID) as the ClientToken. You can use standard libraries from most + * programming languages to generate this. If you use the same client token, the + * API returns the following error: "Conflicting client token submitted for a new + * request body."

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } @@ -86,7 +86,7 @@ namespace Model ///@{ /** - *

Specifies customer details associated with the Opportunity.

+ *

Specifies customer details associated with the Opportunity.

*/ inline const Customer& GetCustomer() const{ return m_customer; } inline bool CustomerHasBeenSet() const { return m_customerHasBeenSet; } @@ -98,8 +98,8 @@ namespace Model ///@{ /** - *

An object that contains lifecycle details for the Opportunity. - *

+ *

An object that contains lifecycle details for the + * Opportunity.

*/ inline const LifeCycle& GetLifeCycle() const{ return m_lifeCycle; } inline bool LifeCycleHasBeenSet() const { return m_lifeCycleHasBeenSet; } @@ -155,15 +155,15 @@ namespace Model ///@{ /** - *

Specifies the opportunity type as a renewal, new, or expansion.

- * Opportunity types:

  • New opportunity: Represents a new business - * opportunity with a potential customer that's not previously engaged with your - * solutions or services.

  • Renewal opportunity: Represents an - * opportunity to renew an existing contract or subscription with a current - * customer, ensuring continuity of service.

  • Expansion + *

    Specifies the opportunity type as a renewal, new, or expansion.

    + *

    Opportunity types:

    • New opportunity: Represents a new + * business opportunity with a potential customer that's not previously engaged + * with your solutions or services.

    • Renewal opportunity: + * Represents an opportunity to renew an existing contract or subscription with a + * current customer, ensuring continuity of service.

    • Expansion * opportunity: Represents an opportunity to expand the scope of an existing * contract or subscription, either by adding new services or increasing the volume - * of existing services for a current customer.

    + * of existing services for a current customer.

*/ inline const OpportunityType& GetOpportunityType() const{ return m_opportunityType; } inline bool OpportunityTypeHasBeenSet() const { return m_opportunityTypeHasBeenSet; } @@ -175,13 +175,13 @@ namespace Model ///@{ /** - *

Specifies the origin of the opportunity, indicating if it was sourced from + *

Specifies the origin of the opportunity, indicating if it was sourced from * Amazon Web Services or the partner. For all opportunities created with * Catalog: AWS, this field must only be Partner * Referral. However, when using Catalog: Sandbox, you can set * this field to AWS Referral to simulate Amazon Web Services referral * creation. This allows Amazon Web Services-originated flows testing in the - * sandbox catalog.

+ * sandbox catalog.

*/ inline const OpportunityOrigin& GetOrigin() const{ return m_origin; } inline bool OriginHasBeenSet() const { return m_originHasBeenSet; } @@ -193,12 +193,12 @@ namespace Model ///@{ /** - *

Specifies the opportunity's unique identifier in the partner's CRM system. + *

Specifies the opportunity's unique identifier in the partner's CRM system. * This value is essential to track and reconcile because it's included in the - * outbound payload to the partner.

This field allows partners to link an + * outbound payload to the partner.

This field allows partners to link an * opportunity to their CRM, which helps to ensure seamless integration and * accurate synchronization between the Partner Central API and the partner's - * internal systems.

+ * internal systems.

*/ inline const Aws::String& GetPartnerOpportunityIdentifier() const{ return m_partnerOpportunityIdentifier; } inline bool PartnerOpportunityIdentifierHasBeenSet() const { return m_partnerOpportunityIdentifierHasBeenSet; } @@ -212,31 +212,31 @@ namespace Model ///@{ /** - *

Identifies the type of support the partner needs from Amazon Web Services. - *

Valid values:

  • Cosell—Architectural Validation: + *

    Identifies the type of support the partner needs from Amazon Web + * Services.

    Valid values:

    • Cosell—Architectural Validation: * Confirmation from Amazon Web Services that the partner's proposed solution * architecture is aligned with Amazon Web Services best practices and poses - * minimal architectural risks.

    • Cosell—Business Presentation: + * minimal architectural risks.

    • Cosell—Business Presentation: * Request Amazon Web Services seller's participation in a joint customer - * presentation.

    • Cosell—Competitive Information: Access to - * Amazon Web Services competitive resources and support for the partner's proposed - * solution.

    • Cosell—Pricing Assistance: Connect with an Amazon + * presentation.

    • Cosell—Competitive Information: Access to Amazon + * Web Services competitive resources and support for the partner's proposed + * solution.

    • Cosell—Pricing Assistance: Connect with an Amazon * Web Services seller for support situations where a partner may be receiving an - * upfront discount on a service (for example: EDP deals).

    • - * Cosell—Technical Consultation: Connect with an Amazon Web Services Solutions - * Architect to address the partner's questions about the proposed solution.

      - *
    • Cosell—Total Cost of Ownership Evaluation: Assistance with - * quoting different cost savings of proposed solutions on Amazon Web Services - * versus on-premises or a traditional hosting environment.

    • - * Cosell—Deal Support: Request Amazon Web Services seller's support to progress - * the opportunity (for example: joint customer call, strategic positioning).

      - *
    • Cosell—Support for Public Tender/RFx: Opportunity related to the - * public sector where the partner needs Amazon Web Services RFx support.

      - *
    • Do Not Need Support from AWS Sales Rep: Indicates that a partner - * doesn't need support from an Amazon Web Services sales representative, and the - * partner solely manages the opportunity. It's possible to request coselling - * support on these opportunities at any stage during their lifecycles. This is - * also known as a for-visibility-only (FVO) opportunity.

    + * upfront discount on a service (for example: EDP deals).

  • + *

    Cosell—Technical Consultation: Connect with an Amazon Web Services Solutions + * Architect to address the partner's questions about the proposed solution.

    + *
  • Cosell—Total Cost of Ownership Evaluation: Assistance with quoting + * different cost savings of proposed solutions on Amazon Web Services versus + * on-premises or a traditional hosting environment.

  • Cosell—Deal + * Support: Request Amazon Web Services seller's support to progress the + * opportunity (for example: joint customer call, strategic positioning).

  • + *
  • Cosell—Support for Public Tender/RFx: Opportunity related to the public + * sector where the partner needs Amazon Web Services RFx support.

  • + *

    Do Not Need Support from AWS Sales Rep: Indicates that a partner doesn't need + * support from an Amazon Web Services sales representative, and the partner solely + * manages the opportunity. It's possible to request coselling support on these + * opportunities at any stage during their lifecycles. This is also known as a + * for-visibility-only (FVO) opportunity.

*/ inline const Aws::Vector& GetPrimaryNeedsFromAws() const{ return m_primaryNeedsFromAws; } inline bool PrimaryNeedsFromAwsHasBeenSet() const { return m_primaryNeedsFromAwsHasBeenSet; } @@ -250,8 +250,7 @@ namespace Model ///@{ /** - *

An object that contains project details for the Opportunity. - *

+ *

An object that contains project details for the Opportunity.

*/ inline const Project& GetProject() const{ return m_project; } inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateOpportunityResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateOpportunityResult.h index f8a3a1defd8..b502682f342 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateOpportunityResult.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateOpportunityResult.h @@ -35,10 +35,10 @@ namespace Model ///@{ /** - *

Read-only, system-generated Opportunity unique identifier. + *

Read-only, system-generated Opportunity unique identifier. * Amazon Web Services creates this identifier, and it's used for all subsequent * opportunity actions, such as updates, associations, and submissions. It helps to - * ensure that each opportunity is accurately tracked and managed.

+ * ensure that each opportunity is accurately tracked and managed.

*/ inline const Aws::String& GetId() const{ return m_id; } inline void SetId(const Aws::String& value) { m_id = value; } @@ -52,7 +52,7 @@ namespace Model ///@{ /** *

DateTime when the opportunity was last modified. When the - * Opportunity is created, its value is CreatedDate.

+ * Opportunity is created, its value is CreatedDate.

*/ inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; } inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; } @@ -65,7 +65,7 @@ namespace Model /** *

Specifies the opportunity's unique identifier in the partner's CRM system. * This value is essential to track and reconcile because it's included in the - * outbound payload sent back to the partner.

+ * outbound payload sent back to the partner.

*/ inline const Aws::String& GetPartnerOpportunityIdentifier() const{ return m_partnerOpportunityIdentifier; } inline void SetPartnerOpportunityIdentifier(const Aws::String& value) { m_partnerOpportunityIdentifier = value; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateResourceSnapshotJobRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateResourceSnapshotJobRequest.h new file mode 100644 index 00000000000..525d43295d5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateResourceSnapshotJobRequest.h @@ -0,0 +1,150 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class CreateResourceSnapshotJobRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API CreateResourceSnapshotJobRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CreateResourceSnapshotJob"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

Specifies the catalog in which to create the snapshot job. Valid values are + * AWS and Sandbox.

+ */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline CreateResourceSnapshotJobRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline CreateResourceSnapshotJobRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline CreateResourceSnapshotJobRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

Specifies a unique, client-generated UUID to ensure that the request is + * handled exactly once. This token helps prevent duplicate snapshot job creations. + *

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline CreateResourceSnapshotJobRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline CreateResourceSnapshotJobRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline CreateResourceSnapshotJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + ///@} + + ///@{ + /** + *

Specifies the identifier of the engagement associated with the resource to + * be snapshotted.

+ */ + inline const Aws::String& GetEngagementIdentifier() const{ return m_engagementIdentifier; } + inline bool EngagementIdentifierHasBeenSet() const { return m_engagementIdentifierHasBeenSet; } + inline void SetEngagementIdentifier(const Aws::String& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = value; } + inline void SetEngagementIdentifier(Aws::String&& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = std::move(value); } + inline void SetEngagementIdentifier(const char* value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier.assign(value); } + inline CreateResourceSnapshotJobRequest& WithEngagementIdentifier(const Aws::String& value) { SetEngagementIdentifier(value); return *this;} + inline CreateResourceSnapshotJobRequest& WithEngagementIdentifier(Aws::String&& value) { SetEngagementIdentifier(std::move(value)); return *this;} + inline CreateResourceSnapshotJobRequest& WithEngagementIdentifier(const char* value) { SetEngagementIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

Specifies the identifier of the specific resource to be snapshotted. The + * format depends on the ResourceType.

+ */ + inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } + inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; } + inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; } + inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); } + inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); } + inline CreateResourceSnapshotJobRequest& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;} + inline CreateResourceSnapshotJobRequest& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;} + inline CreateResourceSnapshotJobRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

Specifies the name of the template that defines the schema for the snapshot. + *

+ */ + inline const Aws::String& GetResourceSnapshotTemplateIdentifier() const{ return m_resourceSnapshotTemplateIdentifier; } + inline bool ResourceSnapshotTemplateIdentifierHasBeenSet() const { return m_resourceSnapshotTemplateIdentifierHasBeenSet; } + inline void SetResourceSnapshotTemplateIdentifier(const Aws::String& value) { m_resourceSnapshotTemplateIdentifierHasBeenSet = true; m_resourceSnapshotTemplateIdentifier = value; } + inline void SetResourceSnapshotTemplateIdentifier(Aws::String&& value) { m_resourceSnapshotTemplateIdentifierHasBeenSet = true; m_resourceSnapshotTemplateIdentifier = std::move(value); } + inline void SetResourceSnapshotTemplateIdentifier(const char* value) { m_resourceSnapshotTemplateIdentifierHasBeenSet = true; m_resourceSnapshotTemplateIdentifier.assign(value); } + inline CreateResourceSnapshotJobRequest& WithResourceSnapshotTemplateIdentifier(const Aws::String& value) { SetResourceSnapshotTemplateIdentifier(value); return *this;} + inline CreateResourceSnapshotJobRequest& WithResourceSnapshotTemplateIdentifier(Aws::String&& value) { SetResourceSnapshotTemplateIdentifier(std::move(value)); return *this;} + inline CreateResourceSnapshotJobRequest& WithResourceSnapshotTemplateIdentifier(const char* value) { SetResourceSnapshotTemplateIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The type of resource for which the snapshot job is being created. Must be + * one of the supported resource types Opportunity.

+ */ + inline const ResourceType& GetResourceType() const{ return m_resourceType; } + inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } + inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } + inline CreateResourceSnapshotJobRequest& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} + inline CreateResourceSnapshotJobRequest& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_engagementIdentifier; + bool m_engagementIdentifierHasBeenSet = false; + + Aws::String m_resourceIdentifier; + bool m_resourceIdentifierHasBeenSet = false; + + Aws::String m_resourceSnapshotTemplateIdentifier; + bool m_resourceSnapshotTemplateIdentifierHasBeenSet = false; + + ResourceType m_resourceType; + bool m_resourceTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateResourceSnapshotJobResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateResourceSnapshotJobResult.h new file mode 100644 index 00000000000..bca5cdcb147 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateResourceSnapshotJobResult.h @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + class CreateResourceSnapshotJobResult + { + public: + AWS_PARTNERCENTRALSELLING_API CreateResourceSnapshotJobResult(); + AWS_PARTNERCENTRALSELLING_API CreateResourceSnapshotJobResult(const Aws::AmazonWebServiceResult& result); + AWS_PARTNERCENTRALSELLING_API CreateResourceSnapshotJobResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the created snapshot job.

+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline void SetArn(const Aws::String& value) { m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arn.assign(value); } + inline CreateResourceSnapshotJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline CreateResourceSnapshotJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline CreateResourceSnapshotJobResult& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *

The unique identifier for the created snapshot job.

+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline void SetId(const Aws::String& value) { m_id = value; } + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + inline void SetId(const char* value) { m_id.assign(value); } + inline CreateResourceSnapshotJobResult& WithId(const Aws::String& value) { SetId(value); return *this;} + inline CreateResourceSnapshotJobResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline CreateResourceSnapshotJobResult& WithId(const char* value) { SetId(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 CreateResourceSnapshotJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreateResourceSnapshotJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreateResourceSnapshotJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_arn; + + Aws::String m_id; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateResourceSnapshotRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateResourceSnapshotRequest.h new file mode 100644 index 00000000000..71ce8926d67 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateResourceSnapshotRequest.h @@ -0,0 +1,155 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class CreateResourceSnapshotRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API CreateResourceSnapshotRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CreateResourceSnapshot"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

Specifies the catalog where the snapshot is created. Valid values are + * AWS and Sandbox.

+ */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline CreateResourceSnapshotRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline CreateResourceSnapshotRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline CreateResourceSnapshotRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

Specifies a unique, client-generated UUID to ensure that the request is + * handled exactly once. This token helps prevent duplicate snapshot creations. + *

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline CreateResourceSnapshotRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline CreateResourceSnapshotRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline CreateResourceSnapshotRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + ///@} + + ///@{ + /** + *

The unique identifier of the engagement associated with this snapshot. This + * field links the snapshot to a specific engagement context.

+ */ + inline const Aws::String& GetEngagementIdentifier() const{ return m_engagementIdentifier; } + inline bool EngagementIdentifierHasBeenSet() const { return m_engagementIdentifierHasBeenSet; } + inline void SetEngagementIdentifier(const Aws::String& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = value; } + inline void SetEngagementIdentifier(Aws::String&& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = std::move(value); } + inline void SetEngagementIdentifier(const char* value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier.assign(value); } + inline CreateResourceSnapshotRequest& WithEngagementIdentifier(const Aws::String& value) { SetEngagementIdentifier(value); return *this;} + inline CreateResourceSnapshotRequest& WithEngagementIdentifier(Aws::String&& value) { SetEngagementIdentifier(std::move(value)); return *this;} + inline CreateResourceSnapshotRequest& WithEngagementIdentifier(const char* value) { SetEngagementIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The unique identifier of the specific resource to be snapshotted. The format + * and constraints of this identifier depend on the ResourceType + * specified. For example: For Opportunity type, it will be an + * opportunity ID.

+ */ + inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } + inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; } + inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; } + inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); } + inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); } + inline CreateResourceSnapshotRequest& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;} + inline CreateResourceSnapshotRequest& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;} + inline CreateResourceSnapshotRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The name of the template that defines the schema for the snapshot. This + * template determines which subset of the resource data will be included in the + * snapshot. Must correspond to an existing and valid template for the specified + * ResourceType.

+ */ + inline const Aws::String& GetResourceSnapshotTemplateIdentifier() const{ return m_resourceSnapshotTemplateIdentifier; } + inline bool ResourceSnapshotTemplateIdentifierHasBeenSet() const { return m_resourceSnapshotTemplateIdentifierHasBeenSet; } + inline void SetResourceSnapshotTemplateIdentifier(const Aws::String& value) { m_resourceSnapshotTemplateIdentifierHasBeenSet = true; m_resourceSnapshotTemplateIdentifier = value; } + inline void SetResourceSnapshotTemplateIdentifier(Aws::String&& value) { m_resourceSnapshotTemplateIdentifierHasBeenSet = true; m_resourceSnapshotTemplateIdentifier = std::move(value); } + inline void SetResourceSnapshotTemplateIdentifier(const char* value) { m_resourceSnapshotTemplateIdentifierHasBeenSet = true; m_resourceSnapshotTemplateIdentifier.assign(value); } + inline CreateResourceSnapshotRequest& WithResourceSnapshotTemplateIdentifier(const Aws::String& value) { SetResourceSnapshotTemplateIdentifier(value); return *this;} + inline CreateResourceSnapshotRequest& WithResourceSnapshotTemplateIdentifier(Aws::String&& value) { SetResourceSnapshotTemplateIdentifier(std::move(value)); return *this;} + inline CreateResourceSnapshotRequest& WithResourceSnapshotTemplateIdentifier(const char* value) { SetResourceSnapshotTemplateIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

Specifies the type of resource for which the snapshot is being created. This + * field determines the structure and content of the snapshot. Must be one of the + * supported resource types, such as: Opportunity.

+ */ + inline const ResourceType& GetResourceType() const{ return m_resourceType; } + inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } + inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } + inline CreateResourceSnapshotRequest& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} + inline CreateResourceSnapshotRequest& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_engagementIdentifier; + bool m_engagementIdentifierHasBeenSet = false; + + Aws::String m_resourceIdentifier; + bool m_resourceIdentifierHasBeenSet = false; + + Aws::String m_resourceSnapshotTemplateIdentifier; + bool m_resourceSnapshotTemplateIdentifierHasBeenSet = false; + + ResourceType m_resourceType; + bool m_resourceTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateResourceSnapshotResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateResourceSnapshotResult.h new file mode 100644 index 00000000000..b3772f57caa --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CreateResourceSnapshotResult.h @@ -0,0 +1,81 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + class CreateResourceSnapshotResult + { + public: + AWS_PARTNERCENTRALSELLING_API CreateResourceSnapshotResult(); + AWS_PARTNERCENTRALSELLING_API CreateResourceSnapshotResult(const Aws::AmazonWebServiceResult& result); + AWS_PARTNERCENTRALSELLING_API CreateResourceSnapshotResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

Specifies the Amazon Resource Name (ARN) that uniquely identifies the + * snapshot created.

+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline void SetArn(const Aws::String& value) { m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arn.assign(value); } + inline CreateResourceSnapshotResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline CreateResourceSnapshotResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline CreateResourceSnapshotResult& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *

Specifies the revision number of the created snapshot. This field provides + * important information about the snapshot's place in the sequence of snapshots + * for the given resource.

+ */ + inline int GetRevision() const{ return m_revision; } + inline void SetRevision(int value) { m_revision = value; } + inline CreateResourceSnapshotResult& WithRevision(int value) { SetRevision(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 CreateResourceSnapshotResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreateResourceSnapshotResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreateResourceSnapshotResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_arn; + + int m_revision; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Customer.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Customer.h index 18f23d09a9d..dcd4289c89f 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Customer.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Customer.h @@ -27,7 +27,7 @@ namespace Model /** *

An object that contains the customer's Account and - * Contact.

See Also:

Contact
.

See Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CustomerProjectsContext.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CustomerProjectsContext.h new file mode 100644 index 00000000000..c41c22b0b19 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CustomerProjectsContext.h @@ -0,0 +1,81 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

The CustomerProjects structure in Engagements offers a flexible framework + * for managing customer-project relationships. It supports multiple customers per + * Engagement and multiple projects per customer, while also allowing for customers + * without projects and projects without specific customers.

All Engagement + * members have full visibility of customers and their associated projects, + * enabling the capture of relevant context even when project details are not fully + * defined. This structure also facilitates targeted invitations, allowing partners + * to focus on specific customers and their business problems when sending + * Engagement invitations.

See Also:

AWS + * API Reference

+ */ + class CustomerProjectsContext + { + public: + AWS_PARTNERCENTRALSELLING_API CustomerProjectsContext(); + AWS_PARTNERCENTRALSELLING_API CustomerProjectsContext(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API CustomerProjectsContext& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + + inline const EngagementCustomer& GetCustomer() const{ return m_customer; } + inline bool CustomerHasBeenSet() const { return m_customerHasBeenSet; } + inline void SetCustomer(const EngagementCustomer& value) { m_customerHasBeenSet = true; m_customer = value; } + inline void SetCustomer(EngagementCustomer&& value) { m_customerHasBeenSet = true; m_customer = std::move(value); } + inline CustomerProjectsContext& WithCustomer(const EngagementCustomer& value) { SetCustomer(value); return *this;} + inline CustomerProjectsContext& WithCustomer(EngagementCustomer&& value) { SetCustomer(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Information about the customer project associated with the Engagement.

+ */ + inline const EngagementCustomerProjectDetails& GetProject() const{ return m_project; } + inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; } + inline void SetProject(const EngagementCustomerProjectDetails& value) { m_projectHasBeenSet = true; m_project = value; } + inline void SetProject(EngagementCustomerProjectDetails&& value) { m_projectHasBeenSet = true; m_project = std::move(value); } + inline CustomerProjectsContext& WithProject(const EngagementCustomerProjectDetails& value) { SetProject(value); return *this;} + inline CustomerProjectsContext& WithProject(EngagementCustomerProjectDetails&& value) { SetProject(std::move(value)); return *this;} + ///@} + private: + + EngagementCustomer m_customer; + bool m_customerHasBeenSet = false; + + EngagementCustomerProjectDetails m_project; + bool m_projectHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CustomerSummary.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CustomerSummary.h index e0264e698b7..bbe6f7c7a25 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CustomerSummary.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/CustomerSummary.h @@ -24,8 +24,8 @@ namespace Model { /** - *

An object that contains a Customer object's subset of fields. - *

See Also:

An object that contains a Customer object's subset of + * fields.

See Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/DeleteResourceSnapshotJobRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/DeleteResourceSnapshotJobRequest.h new file mode 100644 index 00000000000..2e29dfcb1ae --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/DeleteResourceSnapshotJobRequest.h @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class DeleteResourceSnapshotJobRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API DeleteResourceSnapshotJobRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DeleteResourceSnapshotJob"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

Specifies the catalog from which to delete the snapshot job. Valid values + * are AWS and Sandbox.

+ */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline DeleteResourceSnapshotJobRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline DeleteResourceSnapshotJobRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline DeleteResourceSnapshotJobRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

The unique identifier of the resource snapshot job to be deleted.

+ */ + inline const Aws::String& GetResourceSnapshotJobIdentifier() const{ return m_resourceSnapshotJobIdentifier; } + inline bool ResourceSnapshotJobIdentifierHasBeenSet() const { return m_resourceSnapshotJobIdentifierHasBeenSet; } + inline void SetResourceSnapshotJobIdentifier(const Aws::String& value) { m_resourceSnapshotJobIdentifierHasBeenSet = true; m_resourceSnapshotJobIdentifier = value; } + inline void SetResourceSnapshotJobIdentifier(Aws::String&& value) { m_resourceSnapshotJobIdentifierHasBeenSet = true; m_resourceSnapshotJobIdentifier = std::move(value); } + inline void SetResourceSnapshotJobIdentifier(const char* value) { m_resourceSnapshotJobIdentifierHasBeenSet = true; m_resourceSnapshotJobIdentifier.assign(value); } + inline DeleteResourceSnapshotJobRequest& WithResourceSnapshotJobIdentifier(const Aws::String& value) { SetResourceSnapshotJobIdentifier(value); return *this;} + inline DeleteResourceSnapshotJobRequest& WithResourceSnapshotJobIdentifier(Aws::String&& value) { SetResourceSnapshotJobIdentifier(std::move(value)); return *this;} + inline DeleteResourceSnapshotJobRequest& WithResourceSnapshotJobIdentifier(const char* value) { SetResourceSnapshotJobIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::String m_resourceSnapshotJobIdentifier; + bool m_resourceSnapshotJobIdentifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/DisassociateOpportunityRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/DisassociateOpportunityRequest.h index 847be6790e1..e81b4a42a95 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/DisassociateOpportunityRequest.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/DisassociateOpportunityRequest.h @@ -37,12 +37,12 @@ namespace Model ///@{ /** - *

Specifies the catalog associated with the request. This field takes a string + *

Specifies the catalog associated with the request. This field takes a string * value from a predefined list: AWS or Sandbox. The * catalog determines which environment the opportunity disassociation is made in. * Use AWS to disassociate opportunities in the Amazon Web Services - * catalog, and Sandbox for testing in secure, isolated environments. - *

+ * catalog, and Sandbox for testing in secure, isolated + * environments.

*/ inline const Aws::String& GetCatalog() const{ return m_catalog; } inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } @@ -58,9 +58,9 @@ namespace Model /** *

The opportunity's unique identifier for when you want to disassociate it from * related entities. This identifier helps to ensure that the correct opportunity - * is updated.

Validation: Ensure that the provided identifier corresponds + * is updated.

Validation: Ensure that the provided identifier corresponds * to an existing opportunity in the Amazon Web Services system because incorrect - * identifiers result in an error and no changes are made.

+ * identifiers result in an error and no changes are made.

*/ inline const Aws::String& GetOpportunityIdentifier() const{ return m_opportunityIdentifier; } inline bool OpportunityIdentifierHasBeenSet() const { return m_opportunityIdentifierHasBeenSet; } @@ -77,14 +77,14 @@ namespace Model *

The related entity's identifier that you want to disassociate from the * opportunity. Depending on the type of entity, this could be a simple identifier * or an Amazon Resource Name (ARN) for entities managed through Amazon Web - * Services Marketplace.

For Amazon Web Services Marketplace entities, use + * Services Marketplace.

For Amazon Web Services Marketplace entities, use * the Amazon Web Services Marketplace API to obtain the necessary ARNs. For * guidance on retrieving these ARNs, see * Amazon Web Services MarketplaceUsing the Amazon Web Services Marketplace Catalog - * API.

Validation: Ensure the identifier or ARN is valid and + * API.

Validation: Ensure the identifier or ARN is valid and * corresponds to an existing entity. An incorrect or invalid identifier results in - * an error.

+ * an error.

*/ inline const Aws::String& GetRelatedEntityIdentifier() const{ return m_relatedEntityIdentifier; } inline bool RelatedEntityIdentifierHasBeenSet() const { return m_relatedEntityIdentifierHasBeenSet; } @@ -100,12 +100,12 @@ namespace Model /** *

The type of the entity that you're disassociating from the opportunity. When * you specify the entity type, it helps the system correctly process the - * disassociation request to ensure that the right connections are removed.

+ * disassociation request to ensure that the right connections are removed.

*

Examples of entity types include Partner Solution, Amazon Web Services * product, and Amazon Web Services Marketplaceoffer. Ensure that the value matches - * one of the expected entity types.

Validation: Provide a valid entity - * type to help ensure successful disassociation. An invalid or incorrect entity - * type results in an error.

+ * one of the expected entity types.

Validation: Provide a valid entity type + * to help ensure successful disassociation. An invalid or incorrect entity type + * results in an error.

*/ inline const RelatedEntityType& GetRelatedEntityType() const{ return m_relatedEntityType; } inline bool RelatedEntityTypeHasBeenSet() const { return m_relatedEntityTypeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementContextDetails.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementContextDetails.h new file mode 100644 index 00000000000..34a901ae281 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementContextDetails.h @@ -0,0 +1,80 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

Provides detailed context information for an Engagement. This structure + * allows for specifying the type of context and its associated payload. + *

See Also:

AWS + * API Reference

+ */ + class EngagementContextDetails + { + public: + AWS_PARTNERCENTRALSELLING_API EngagementContextDetails(); + AWS_PARTNERCENTRALSELLING_API EngagementContextDetails(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API EngagementContextDetails& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

Contains the specific details of the Engagement context. The structure of + * this payload varies depending on the Type field.

+ */ + inline const EngagementContextPayload& GetPayload() const{ return m_payload; } + inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; } + inline void SetPayload(const EngagementContextPayload& value) { m_payloadHasBeenSet = true; m_payload = value; } + inline void SetPayload(EngagementContextPayload&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); } + inline EngagementContextDetails& WithPayload(const EngagementContextPayload& value) { SetPayload(value); return *this;} + inline EngagementContextDetails& WithPayload(EngagementContextPayload&& value) { SetPayload(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Specifies the type of Engagement context. Valid values are "CustomerProject" + * or "Document", indicating whether the context relates to a customer project or a + * document respectively.

+ */ + inline const EngagementContextType& GetType() const{ return m_type; } + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + inline void SetType(const EngagementContextType& value) { m_typeHasBeenSet = true; m_type = value; } + inline void SetType(EngagementContextType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + inline EngagementContextDetails& WithType(const EngagementContextType& value) { SetType(value); return *this;} + inline EngagementContextDetails& WithType(EngagementContextType&& value) { SetType(std::move(value)); return *this;} + ///@} + private: + + EngagementContextPayload m_payload; + bool m_payloadHasBeenSet = false; + + EngagementContextType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementContextPayload.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementContextPayload.h new file mode 100644 index 00000000000..9e73430b058 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementContextPayload.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

Represents the payload of an Engagement context. The structure of this + * payload varies based on the context type specified in the + * EngagementContextDetails.

See Also:

AWS + * API Reference

+ */ + class EngagementContextPayload + { + public: + AWS_PARTNERCENTRALSELLING_API EngagementContextPayload(); + AWS_PARTNERCENTRALSELLING_API EngagementContextPayload(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API EngagementContextPayload& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

Contains detailed information about a customer project when the context type + * is "CustomerProject". This field is present only when the Type in + * EngagementContextDetails is set to "CustomerProject".

+ */ + inline const CustomerProjectsContext& GetCustomerProject() const{ return m_customerProject; } + inline bool CustomerProjectHasBeenSet() const { return m_customerProjectHasBeenSet; } + inline void SetCustomerProject(const CustomerProjectsContext& value) { m_customerProjectHasBeenSet = true; m_customerProject = value; } + inline void SetCustomerProject(CustomerProjectsContext&& value) { m_customerProjectHasBeenSet = true; m_customerProject = std::move(value); } + inline EngagementContextPayload& WithCustomerProject(const CustomerProjectsContext& value) { SetCustomerProject(value); return *this;} + inline EngagementContextPayload& WithCustomerProject(CustomerProjectsContext&& value) { SetCustomerProject(std::move(value)); return *this;} + ///@} + private: + + CustomerProjectsContext m_customerProject; + bool m_customerProjectHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementContextType.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementContextType.h new file mode 100644 index 00000000000..1117f5c363c --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementContextType.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + enum class EngagementContextType + { + NOT_SET, + CustomerProject + }; + +namespace EngagementContextTypeMapper +{ +AWS_PARTNERCENTRALSELLING_API EngagementContextType GetEngagementContextTypeForName(const Aws::String& name); + +AWS_PARTNERCENTRALSELLING_API Aws::String GetNameForEngagementContextType(EngagementContextType value); +} // namespace EngagementContextTypeMapper +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementCustomerProjectDetails.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementCustomerProjectDetails.h new file mode 100644 index 00000000000..da33d4045da --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementCustomerProjectDetails.h @@ -0,0 +1,97 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

Provides comprehensive details about a customer project associated with an + * Engagement. This may include information such as project goals, timelines, and + * specific customer requirements.

See Also:

AWS + * API Reference

+ */ + class EngagementCustomerProjectDetails + { + public: + AWS_PARTNERCENTRALSELLING_API EngagementCustomerProjectDetails(); + AWS_PARTNERCENTRALSELLING_API EngagementCustomerProjectDetails(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API EngagementCustomerProjectDetails& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

A description of the business problem the project aims to solve.

+ */ + inline const Aws::String& GetBusinessProblem() const{ return m_businessProblem; } + inline bool BusinessProblemHasBeenSet() const { return m_businessProblemHasBeenSet; } + inline void SetBusinessProblem(const Aws::String& value) { m_businessProblemHasBeenSet = true; m_businessProblem = value; } + inline void SetBusinessProblem(Aws::String&& value) { m_businessProblemHasBeenSet = true; m_businessProblem = std::move(value); } + inline void SetBusinessProblem(const char* value) { m_businessProblemHasBeenSet = true; m_businessProblem.assign(value); } + inline EngagementCustomerProjectDetails& WithBusinessProblem(const Aws::String& value) { SetBusinessProblem(value); return *this;} + inline EngagementCustomerProjectDetails& WithBusinessProblem(Aws::String&& value) { SetBusinessProblem(std::move(value)); return *this;} + inline EngagementCustomerProjectDetails& WithBusinessProblem(const char* value) { SetBusinessProblem(value); return *this;} + ///@} + + ///@{ + /** + *

The target completion date for the customer's project.

+ */ + inline const Aws::String& GetTargetCompletionDate() const{ return m_targetCompletionDate; } + inline bool TargetCompletionDateHasBeenSet() const { return m_targetCompletionDateHasBeenSet; } + inline void SetTargetCompletionDate(const Aws::String& value) { m_targetCompletionDateHasBeenSet = true; m_targetCompletionDate = value; } + inline void SetTargetCompletionDate(Aws::String&& value) { m_targetCompletionDateHasBeenSet = true; m_targetCompletionDate = std::move(value); } + inline void SetTargetCompletionDate(const char* value) { m_targetCompletionDateHasBeenSet = true; m_targetCompletionDate.assign(value); } + inline EngagementCustomerProjectDetails& WithTargetCompletionDate(const Aws::String& value) { SetTargetCompletionDate(value); return *this;} + inline EngagementCustomerProjectDetails& WithTargetCompletionDate(Aws::String&& value) { SetTargetCompletionDate(std::move(value)); return *this;} + inline EngagementCustomerProjectDetails& WithTargetCompletionDate(const char* value) { SetTargetCompletionDate(value); return *this;} + ///@} + + ///@{ + /** + *

The title of the project.

+ */ + inline const Aws::String& GetTitle() const{ return m_title; } + inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } + inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } + inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } + inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } + inline EngagementCustomerProjectDetails& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} + inline EngagementCustomerProjectDetails& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} + inline EngagementCustomerProjectDetails& WithTitle(const char* value) { SetTitle(value); return *this;} + ///@} + private: + + Aws::String m_businessProblem; + bool m_businessProblemHasBeenSet = false; + + Aws::String m_targetCompletionDate; + bool m_targetCompletionDateHasBeenSet = false; + + Aws::String m_title; + bool m_titleHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementInvitationSummary.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementInvitationSummary.h index 0b5dcb03a3b..56a6c2ef90b 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementInvitationSummary.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementInvitationSummary.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -75,6 +76,21 @@ namespace Model inline EngagementInvitationSummary& WithCatalog(const char* value) { SetCatalog(value); return *this;} ///@} + ///@{ + /** + *

The identifier of the Engagement associated with this invitation. This links + * the invitation to its parent Engagement.

+ */ + inline const Aws::String& GetEngagementId() const{ return m_engagementId; } + inline bool EngagementIdHasBeenSet() const { return m_engagementIdHasBeenSet; } + inline void SetEngagementId(const Aws::String& value) { m_engagementIdHasBeenSet = true; m_engagementId = value; } + inline void SetEngagementId(Aws::String&& value) { m_engagementIdHasBeenSet = true; m_engagementId = std::move(value); } + inline void SetEngagementId(const char* value) { m_engagementIdHasBeenSet = true; m_engagementId.assign(value); } + inline EngagementInvitationSummary& WithEngagementId(const Aws::String& value) { SetEngagementId(value); return *this;} + inline EngagementInvitationSummary& WithEngagementId(Aws::String&& value) { SetEngagementId(std::move(value)); return *this;} + inline EngagementInvitationSummary& WithEngagementId(const char* value) { SetEngagementId(value); return *this;} + ///@} + ///@{ /** *

Provides a short title or description of the Engagement Invitation. This @@ -135,6 +151,18 @@ namespace Model inline EngagementInvitationSummary& WithInvitationDate(Aws::Utils::DateTime&& value) { SetInvitationDate(std::move(value)); return *this;} ///@} + ///@{ + /** + *

Identifies the role of the caller in the engagement invitation.

+ */ + inline const ParticipantType& GetParticipantType() const{ return m_participantType; } + inline bool ParticipantTypeHasBeenSet() const { return m_participantTypeHasBeenSet; } + inline void SetParticipantType(const ParticipantType& value) { m_participantTypeHasBeenSet = true; m_participantType = value; } + inline void SetParticipantType(ParticipantType&& value) { m_participantTypeHasBeenSet = true; m_participantType = std::move(value); } + inline EngagementInvitationSummary& WithParticipantType(const ParticipantType& value) { SetParticipantType(value); return *this;} + inline EngagementInvitationSummary& WithParticipantType(ParticipantType&& value) { SetParticipantType(std::move(value)); return *this;} + ///@} + ///@{ /** *

Describes the type of payload associated with the Engagement Invitation, such @@ -216,6 +244,9 @@ namespace Model Aws::String m_catalog; bool m_catalogHasBeenSet = false; + Aws::String m_engagementId; + bool m_engagementIdHasBeenSet = false; + Aws::String m_engagementTitle; bool m_engagementTitleHasBeenSet = false; @@ -228,6 +259,9 @@ namespace Model Aws::Utils::DateTime m_invitationDate; bool m_invitationDateHasBeenSet = false; + ParticipantType m_participantType; + bool m_participantTypeHasBeenSet = false; + EngagementInvitationPayloadType m_payloadType; bool m_payloadTypeHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementMember.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementMember.h new file mode 100644 index 00000000000..bd8811340b6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementMember.h @@ -0,0 +1,107 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

Engagement members are the participants in an Engagement, which is likely a + * collaborative project or business opportunity within the AWS partner network. + * Members can be different partner organizations or AWS accounts that are working + * together on a specific engagement.

Each member is represented by their + * AWS Account ID, Company Name, and associated details. Members have a status + * within the Engagement (PENDING, ACCEPTED, REJECTED, or WITHDRAWN), indicating + * their current state of participation. Only existing members of an Engagement can + * view the list of other members. This implies a level of privacy and access + * control within the Engagement structure.

See Also:

AWS + * API Reference

+ */ + class EngagementMember + { + public: + AWS_PARTNERCENTRALSELLING_API EngagementMember(); + AWS_PARTNERCENTRALSELLING_API EngagementMember(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API EngagementMember& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

This is the unique identifier for the AWS account associated with the member + * organization. It's used for AWS-related operations and identity verification. + *

+ */ + inline const Aws::String& GetAccountId() const{ return m_accountId; } + inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } + inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } + inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } + inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } + inline EngagementMember& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} + inline EngagementMember& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} + inline EngagementMember& WithAccountId(const char* value) { SetAccountId(value); return *this;} + ///@} + + ///@{ + /** + *

The official name of the member's company or organization.

+ */ + inline const Aws::String& GetCompanyName() const{ return m_companyName; } + inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; } + inline void SetCompanyName(const Aws::String& value) { m_companyNameHasBeenSet = true; m_companyName = value; } + inline void SetCompanyName(Aws::String&& value) { m_companyNameHasBeenSet = true; m_companyName = std::move(value); } + inline void SetCompanyName(const char* value) { m_companyNameHasBeenSet = true; m_companyName.assign(value); } + inline EngagementMember& WithCompanyName(const Aws::String& value) { SetCompanyName(value); return *this;} + inline EngagementMember& WithCompanyName(Aws::String&& value) { SetCompanyName(std::move(value)); return *this;} + inline EngagementMember& WithCompanyName(const char* value) { SetCompanyName(value); return *this;} + ///@} + + ///@{ + /** + *

The URL of the member company's website. This offers a way to find more + * information about the member organization and serves as an additional + * identifier.

+ */ + inline const Aws::String& GetWebsiteUrl() const{ return m_websiteUrl; } + inline bool WebsiteUrlHasBeenSet() const { return m_websiteUrlHasBeenSet; } + inline void SetWebsiteUrl(const Aws::String& value) { m_websiteUrlHasBeenSet = true; m_websiteUrl = value; } + inline void SetWebsiteUrl(Aws::String&& value) { m_websiteUrlHasBeenSet = true; m_websiteUrl = std::move(value); } + inline void SetWebsiteUrl(const char* value) { m_websiteUrlHasBeenSet = true; m_websiteUrl.assign(value); } + inline EngagementMember& WithWebsiteUrl(const Aws::String& value) { SetWebsiteUrl(value); return *this;} + inline EngagementMember& WithWebsiteUrl(Aws::String&& value) { SetWebsiteUrl(std::move(value)); return *this;} + inline EngagementMember& WithWebsiteUrl(const char* value) { SetWebsiteUrl(value); return *this;} + ///@} + private: + + Aws::String m_accountId; + bool m_accountIdHasBeenSet = false; + + Aws::String m_companyName; + bool m_companyNameHasBeenSet = false; + + Aws::String m_websiteUrl; + bool m_websiteUrlHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementMemberSummary.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementMemberSummary.h new file mode 100644 index 00000000000..0dfb7307cb1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementMemberSummary.h @@ -0,0 +1,84 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

The EngagementMemberSummary provides a snapshot of essential information + * about participants in an AWS Partner Central Engagement. This compact data + * structure encapsulates key details of each member, facilitating efficient + * collaboration and management within the Engagement.

See Also:

+ * AWS + * API Reference

+ */ + class EngagementMemberSummary + { + public: + AWS_PARTNERCENTRALSELLING_API EngagementMemberSummary(); + AWS_PARTNERCENTRALSELLING_API EngagementMemberSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API EngagementMemberSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The official name of the member's company or organization.

+ */ + inline const Aws::String& GetCompanyName() const{ return m_companyName; } + inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; } + inline void SetCompanyName(const Aws::String& value) { m_companyNameHasBeenSet = true; m_companyName = value; } + inline void SetCompanyName(Aws::String&& value) { m_companyNameHasBeenSet = true; m_companyName = std::move(value); } + inline void SetCompanyName(const char* value) { m_companyNameHasBeenSet = true; m_companyName.assign(value); } + inline EngagementMemberSummary& WithCompanyName(const Aws::String& value) { SetCompanyName(value); return *this;} + inline EngagementMemberSummary& WithCompanyName(Aws::String&& value) { SetCompanyName(std::move(value)); return *this;} + inline EngagementMemberSummary& WithCompanyName(const char* value) { SetCompanyName(value); return *this;} + ///@} + + ///@{ + /** + *

The URL of the member company's website. This offers a way to find more + * information about the member organization and serves as an additional + * identifier.

+ */ + inline const Aws::String& GetWebsiteUrl() const{ return m_websiteUrl; } + inline bool WebsiteUrlHasBeenSet() const { return m_websiteUrlHasBeenSet; } + inline void SetWebsiteUrl(const Aws::String& value) { m_websiteUrlHasBeenSet = true; m_websiteUrl = value; } + inline void SetWebsiteUrl(Aws::String&& value) { m_websiteUrlHasBeenSet = true; m_websiteUrl = std::move(value); } + inline void SetWebsiteUrl(const char* value) { m_websiteUrlHasBeenSet = true; m_websiteUrl.assign(value); } + inline EngagementMemberSummary& WithWebsiteUrl(const Aws::String& value) { SetWebsiteUrl(value); return *this;} + inline EngagementMemberSummary& WithWebsiteUrl(Aws::String&& value) { SetWebsiteUrl(std::move(value)); return *this;} + inline EngagementMemberSummary& WithWebsiteUrl(const char* value) { SetWebsiteUrl(value); return *this;} + ///@} + private: + + Aws::String m_companyName; + bool m_companyNameHasBeenSet = false; + + Aws::String m_websiteUrl; + bool m_websiteUrlHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementResourceAssociationSummary.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementResourceAssociationSummary.h new file mode 100644 index 00000000000..1d8a00205f1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementResourceAssociationSummary.h @@ -0,0 +1,135 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

This provide a streamlined view of the relationships between engagements and + * resources. These summaries offer a crucial link between collaborative + * engagements and the specific resources involved, such as opportunities.These + * summaries are particularly valuable for partners navigating complex engagements + * with multiple resources. They enable quick insights into resource distribution + * across engagements, support efficient resource management, and help maintain a + * clear overview of collaborative activities.

See Also:

AWS + * API Reference

+ */ + class EngagementResourceAssociationSummary + { + public: + AWS_PARTNERCENTRALSELLING_API EngagementResourceAssociationSummary(); + AWS_PARTNERCENTRALSELLING_API EngagementResourceAssociationSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API EngagementResourceAssociationSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

Indicates the environment in which the resource and engagement exist.

+ */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline EngagementResourceAssociationSummary& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline EngagementResourceAssociationSummary& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline EngagementResourceAssociationSummary& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

The AWS account ID of the entity that created the association.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline EngagementResourceAssociationSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline EngagementResourceAssociationSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline EngagementResourceAssociationSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

A unique identifier for the engagement associated with the resource.

+ */ + inline const Aws::String& GetEngagementId() const{ return m_engagementId; } + inline bool EngagementIdHasBeenSet() const { return m_engagementIdHasBeenSet; } + inline void SetEngagementId(const Aws::String& value) { m_engagementIdHasBeenSet = true; m_engagementId = value; } + inline void SetEngagementId(Aws::String&& value) { m_engagementIdHasBeenSet = true; m_engagementId = std::move(value); } + inline void SetEngagementId(const char* value) { m_engagementIdHasBeenSet = true; m_engagementId.assign(value); } + inline EngagementResourceAssociationSummary& WithEngagementId(const Aws::String& value) { SetEngagementId(value); return *this;} + inline EngagementResourceAssociationSummary& WithEngagementId(Aws::String&& value) { SetEngagementId(std::move(value)); return *this;} + inline EngagementResourceAssociationSummary& WithEngagementId(const char* value) { SetEngagementId(value); return *this;} + ///@} + + ///@{ + /** + *

A unique identifier for the specific resource. Varies depending on the + * resource type.

+ */ + inline const Aws::String& GetResourceId() const{ return m_resourceId; } + inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } + inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } + inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } + inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } + inline EngagementResourceAssociationSummary& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} + inline EngagementResourceAssociationSummary& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} + inline EngagementResourceAssociationSummary& WithResourceId(const char* value) { SetResourceId(value); return *this;} + ///@} + + ///@{ + /** + *

Categorizes the type of resource associated with the engagement.

+ */ + inline const ResourceType& GetResourceType() const{ return m_resourceType; } + inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } + inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } + inline EngagementResourceAssociationSummary& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} + inline EngagementResourceAssociationSummary& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::String m_engagementId; + bool m_engagementIdHasBeenSet = false; + + Aws::String m_resourceId; + bool m_resourceIdHasBeenSet = false; + + ResourceType m_resourceType; + bool m_resourceTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementSort.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementSort.h new file mode 100644 index 00000000000..fdb198d72b5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementSort.h @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

Specifies the sorting parameters for listing Engagements.

See + * Also:

AWS + * API Reference

+ */ + class EngagementSort + { + public: + AWS_PARTNERCENTRALSELLING_API EngagementSort(); + AWS_PARTNERCENTRALSELLING_API EngagementSort(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API EngagementSort& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The field by which to sort the results.

+ */ + inline const EngagementSortName& GetSortBy() const{ return m_sortBy; } + inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; } + inline void SetSortBy(const EngagementSortName& value) { m_sortByHasBeenSet = true; m_sortBy = value; } + inline void SetSortBy(EngagementSortName&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); } + inline EngagementSort& WithSortBy(const EngagementSortName& value) { SetSortBy(value); return *this;} + inline EngagementSort& WithSortBy(EngagementSortName&& value) { SetSortBy(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The order in which to sort the results.

+ */ + inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } + inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } + inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } + inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } + inline EngagementSort& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} + inline EngagementSort& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} + ///@} + private: + + EngagementSortName m_sortBy; + bool m_sortByHasBeenSet = false; + + SortOrder m_sortOrder; + bool m_sortOrderHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementSortName.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementSortName.h new file mode 100644 index 00000000000..476f86499a2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementSortName.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + enum class EngagementSortName + { + NOT_SET, + CreatedDate + }; + +namespace EngagementSortNameMapper +{ +AWS_PARTNERCENTRALSELLING_API EngagementSortName GetEngagementSortNameForName(const Aws::String& name); + +AWS_PARTNERCENTRALSELLING_API Aws::String GetNameForEngagementSortName(EngagementSortName value); +} // namespace EngagementSortNameMapper +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementSummary.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementSummary.h new file mode 100644 index 00000000000..059073e506f --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/EngagementSummary.h @@ -0,0 +1,142 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

An object that contains an Engagement's subset of fields. + *

See Also:

AWS + * API Reference

+ */ + class EngagementSummary + { + public: + AWS_PARTNERCENTRALSELLING_API EngagementSummary(); + AWS_PARTNERCENTRALSELLING_API EngagementSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API EngagementSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the created engagement.

+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline EngagementSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline EngagementSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline EngagementSummary& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *

The date and time when the engagement was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline EngagementSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline EngagementSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The AWS account ID of the engagement creator.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline EngagementSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline EngagementSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline EngagementSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

The unique identifier for the engagement.

+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } + inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } + inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } + inline EngagementSummary& WithId(const Aws::String& value) { SetId(value); return *this;} + inline EngagementSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline EngagementSummary& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *

The number of members in the engagement.

+ */ + inline int GetMemberCount() const{ return m_memberCount; } + inline bool MemberCountHasBeenSet() const { return m_memberCountHasBeenSet; } + inline void SetMemberCount(int value) { m_memberCountHasBeenSet = true; m_memberCount = value; } + inline EngagementSummary& WithMemberCount(int value) { SetMemberCount(value); return *this;} + ///@} + + ///@{ + /** + *

The title of the engagement.

+ */ + inline const Aws::String& GetTitle() const{ return m_title; } + inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } + inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } + inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } + inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } + inline EngagementSummary& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} + inline EngagementSummary& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} + inline EngagementSummary& WithTitle(const char* value) { SetTitle(value); return *this;} + ///@} + private: + + Aws::String m_arn; + bool m_arnHasBeenSet = false; + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::String m_id; + bool m_idHasBeenSet = false; + + int m_memberCount; + bool m_memberCountHasBeenSet = false; + + Aws::String m_title; + bool m_titleHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ExpectedCustomerSpend.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ExpectedCustomerSpend.h index bbd963ba675..9970fe917b9 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ExpectedCustomerSpend.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ExpectedCustomerSpend.h @@ -69,6 +69,21 @@ namespace Model inline ExpectedCustomerSpend& WithCurrencyCode(ExpectedCustomerSpendCurrencyCodeEnum&& value) { SetCurrencyCode(std::move(value)); return *this;} ///@} + ///@{ + /** + *

A URL providing additional information or context about the spend + * estimation.

+ */ + inline const Aws::String& GetEstimationUrl() const{ return m_estimationUrl; } + inline bool EstimationUrlHasBeenSet() const { return m_estimationUrlHasBeenSet; } + inline void SetEstimationUrl(const Aws::String& value) { m_estimationUrlHasBeenSet = true; m_estimationUrl = value; } + inline void SetEstimationUrl(Aws::String&& value) { m_estimationUrlHasBeenSet = true; m_estimationUrl = std::move(value); } + inline void SetEstimationUrl(const char* value) { m_estimationUrlHasBeenSet = true; m_estimationUrl.assign(value); } + inline ExpectedCustomerSpend& WithEstimationUrl(const Aws::String& value) { SetEstimationUrl(value); return *this;} + inline ExpectedCustomerSpend& WithEstimationUrl(Aws::String&& value) { SetEstimationUrl(std::move(value)); return *this;} + inline ExpectedCustomerSpend& WithEstimationUrl(const char* value) { SetEstimationUrl(value); return *this;} + ///@} + ///@{ /** *

Indicates how frequently the customer is expected to spend the projected @@ -107,6 +122,9 @@ namespace Model ExpectedCustomerSpendCurrencyCodeEnum m_currencyCode; bool m_currencyCodeHasBeenSet = false; + Aws::String m_estimationUrl; + bool m_estimationUrlHasBeenSet = false; + PaymentFrequency m_frequency; bool m_frequencyHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetAwsOpportunitySummaryRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetAwsOpportunitySummaryRequest.h index 9d3c5e6725d..e297ea17122 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetAwsOpportunitySummaryRequest.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetAwsOpportunitySummaryRequest.h @@ -36,10 +36,10 @@ namespace Model ///@{ /** - *

Specifies the catalog in which the AWS Opportunity is located. Accepted + *

Specifies the catalog in which the AWS Opportunity is located. Accepted * values include AWS for production opportunities or * Sandbox for testing purposes. The catalog determines which - * environment the opportunity data is pulled from.

+ * environment the opportunity data is pulled from.

*/ inline const Aws::String& GetCatalog() const{ return m_catalog; } inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } @@ -53,8 +53,8 @@ namespace Model ///@{ /** - *

The unique identifier for the related partner opportunity. Use this field to - * correlate an AWS opportunity with its corresponding partner opportunity.

+ *

The unique identifier for the related partner opportunity. Use this field to + * correlate an AWS opportunity with its corresponding partner opportunity.

*/ inline const Aws::String& GetRelatedOpportunityIdentifier() const{ return m_relatedOpportunityIdentifier; } inline bool RelatedOpportunityIdentifierHasBeenSet() const { return m_relatedOpportunityIdentifierHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetAwsOpportunitySummaryResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetAwsOpportunitySummaryResult.h index 66478548d49..34e7dfa1dc5 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetAwsOpportunitySummaryResult.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetAwsOpportunitySummaryResult.h @@ -45,9 +45,9 @@ namespace Model ///@{ /** - *

Specifies the catalog in which the AWS Opportunity exists. This is the + *

Specifies the catalog in which the AWS Opportunity exists. This is the * environment (e.g., AWS or Sandbox) where the - * opportunity is being managed.

+ * opportunity is being managed.

*/ inline const Aws::String& GetCatalog() const{ return m_catalog; } inline void SetCatalog(const Aws::String& value) { m_catalog = value; } @@ -60,9 +60,9 @@ namespace Model ///@{ /** - *

Provides details about the customer associated with the AWS Opportunity, + *

Provides details about the customer associated with the AWS Opportunity, * including account information, industry, and other customer data. These details - * help partners understand the business context of the opportunity.

+ * help partners understand the business context of the opportunity.

*/ inline const AwsOpportunityCustomer& GetCustomer() const{ return m_customer; } inline void SetCustomer(const AwsOpportunityCustomer& value) { m_customer = value; } @@ -73,8 +73,8 @@ namespace Model ///@{ /** - *

Provides insights into the AWS Opportunity, including engagement score and - * recommended actions that AWS suggests for the partner.

+ *

Provides insights into the AWS Opportunity, including engagement score and + * recommended actions that AWS suggests for the partner.

*/ inline const AwsOpportunityInsights& GetInsights() const{ return m_insights; } inline void SetInsights(const AwsOpportunityInsights& value) { m_insights = value; } @@ -85,9 +85,9 @@ namespace Model ///@{ /** - *

Specifies the type of involvement AWS has in the opportunity, such as direct + *

Specifies the type of involvement AWS has in the opportunity, such as direct * cosell or advisory support. This field helps partners understand the role AWS - * plays in advancing the opportunity.

+ * plays in advancing the opportunity.

*/ inline const SalesInvolvementType& GetInvolvementType() const{ return m_involvementType; } inline void SetInvolvementType(const SalesInvolvementType& value) { m_involvementType = value; } @@ -98,10 +98,10 @@ namespace Model ///@{ /** - *

Provides a reason for any changes in the involvement type of AWS in the + *

Provides a reason for any changes in the involvement type of AWS in the * opportunity. This field is used to track why the level of AWS engagement has * changed from For Visibility Only to Co-sell offering - * transparency into the partnership dynamics.

+ * transparency into the partnership dynamics.

*/ inline const InvolvementTypeChangeReason& GetInvolvementTypeChangeReason() const{ return m_involvementTypeChangeReason; } inline void SetInvolvementTypeChangeReason(const InvolvementTypeChangeReason& value) { m_involvementTypeChangeReason = value; } @@ -112,9 +112,9 @@ namespace Model ///@{ /** - *

Contains lifecycle information for the AWS Opportunity, including review + *

Contains lifecycle information for the AWS Opportunity, including review * status, stage, and target close date. This field is crucial for partners to - * monitor the progression of the opportunity.

+ * monitor the progression of the opportunity.

*/ inline const AwsOpportunityLifeCycle& GetLifeCycle() const{ return m_lifeCycle; } inline void SetLifeCycle(const AwsOpportunityLifeCycle& value) { m_lifeCycle = value; } @@ -125,9 +125,9 @@ namespace Model ///@{ /** - *

Details the AWS opportunity team, including members involved. This - * information helps partners know who from AWS is engaged and what their role is. - *

+ *

Details the AWS opportunity team, including members involved. This + * information helps partners know who from AWS is engaged and what their role + * is.

*/ inline const Aws::Vector& GetOpportunityTeam() const{ return m_opportunityTeam; } inline void SetOpportunityTeam(const Aws::Vector& value) { m_opportunityTeam = value; } @@ -140,9 +140,9 @@ namespace Model ///@{ /** - *

Specifies whether the AWS Opportunity originated from AWS or the partner. + *

Specifies whether the AWS Opportunity originated from AWS or the partner. * This helps distinguish between opportunities that were sourced by AWS and those - * referred by the partner.

+ * referred by the partner.

*/ inline const OpportunityOrigin& GetOrigin() const{ return m_origin; } inline void SetOrigin(const OpportunityOrigin& value) { m_origin = value; } @@ -153,10 +153,10 @@ namespace Model ///@{ /** - *

Provides details about the project associated with the AWS Opportunity, + *

Provides details about the project associated with the AWS Opportunity, * including the customer’s business problem, expected outcomes, and project scope. * This information is crucial for understanding the broader context of the - * opportunity.

+ * opportunity.

*/ inline const AwsOpportunityProject& GetProject() const{ return m_project; } inline void SetProject(const AwsOpportunityProject& value) { m_project = value; } @@ -167,9 +167,9 @@ namespace Model ///@{ /** - *

Lists related entity identifiers, such as AWS products or partner solutions, + *

Lists related entity identifiers, such as AWS products or partner solutions, * associated with the AWS Opportunity. These identifiers provide additional - * context and help partners understand which AWS services are involved.

+ * context and help partners understand which AWS services are involved.

*/ inline const AwsOpportunityRelatedEntities& GetRelatedEntityIds() const{ return m_relatedEntityIds; } inline void SetRelatedEntityIds(const AwsOpportunityRelatedEntities& value) { m_relatedEntityIds = value; } @@ -180,9 +180,9 @@ namespace Model ///@{ /** - *

Provides the unique identifier of the related partner opportunity, allowing + *

Provides the unique identifier of the related partner opportunity, allowing * partners to link the AWS Opportunity to their corresponding opportunity in their - * CRM system.

+ * CRM system.

*/ inline const Aws::String& GetRelatedOpportunityId() const{ return m_relatedOpportunityId; } inline void SetRelatedOpportunityId(const Aws::String& value) { m_relatedOpportunityId = value; } @@ -195,9 +195,9 @@ namespace Model ///@{ /** - *

Defines the visibility level for the AWS Opportunity. Use Full + *

Defines the visibility level for the AWS Opportunity. Use Full * visibility for most cases, while Limited visibility is reserved for - * special programs or sensitive opportunities.

+ * special programs or sensitive opportunities.

*/ inline const Visibility& GetVisibility() const{ return m_visibility; } inline void SetVisibility(const Visibility& value) { m_visibility = value; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetEngagementInvitationResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetEngagementInvitationResult.h index 918c7b04a4e..f1cd21b2d6d 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetEngagementInvitationResult.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetEngagementInvitationResult.h @@ -6,11 +6,13 @@ #pragma once #include #include +#include #include #include #include #include #include +#include #include namespace Aws @@ -65,6 +67,33 @@ namespace Model inline GetEngagementInvitationResult& WithCatalog(const char* value) { SetCatalog(value); return *this;} ///@} + ///@{ + /** + *

The description of the engagement associated with this invitation.

+ */ + inline const Aws::String& GetEngagementDescription() const{ return m_engagementDescription; } + inline void SetEngagementDescription(const Aws::String& value) { m_engagementDescription = value; } + inline void SetEngagementDescription(Aws::String&& value) { m_engagementDescription = std::move(value); } + inline void SetEngagementDescription(const char* value) { m_engagementDescription.assign(value); } + inline GetEngagementInvitationResult& WithEngagementDescription(const Aws::String& value) { SetEngagementDescription(value); return *this;} + inline GetEngagementInvitationResult& WithEngagementDescription(Aws::String&& value) { SetEngagementDescription(std::move(value)); return *this;} + inline GetEngagementInvitationResult& WithEngagementDescription(const char* value) { SetEngagementDescription(value); return *this;} + ///@} + + ///@{ + /** + *

The identifier of the engagement associated with this invitation.This ID + * links the invitation to its corresponding engagement.

+ */ + inline const Aws::String& GetEngagementId() const{ return m_engagementId; } + inline void SetEngagementId(const Aws::String& value) { m_engagementId = value; } + inline void SetEngagementId(Aws::String&& value) { m_engagementId = std::move(value); } + inline void SetEngagementId(const char* value) { m_engagementId.assign(value); } + inline GetEngagementInvitationResult& WithEngagementId(const Aws::String& value) { SetEngagementId(value); return *this;} + inline GetEngagementInvitationResult& WithEngagementId(Aws::String&& value) { SetEngagementId(std::move(value)); return *this;} + inline GetEngagementInvitationResult& WithEngagementId(const char* value) { SetEngagementId(value); return *this;} + ///@} + ///@{ /** *

The title of the engagement invitation, summarizing the purpose or objectives @@ -79,6 +108,23 @@ namespace Model inline GetEngagementInvitationResult& WithEngagementTitle(const char* value) { SetEngagementTitle(value); return *this;} ///@} + ///@{ + /** + *

A list of active members currently part of the Engagement. This array + * contains a maximum of 10 members, each represented by an object with the + * following properties.

  • CompanyName: The name of the member's + * company.

  • WebsiteUrl: The website URL of the member's + * company.

+ */ + inline const Aws::Vector& GetExistingMembers() const{ return m_existingMembers; } + inline void SetExistingMembers(const Aws::Vector& value) { m_existingMembers = value; } + inline void SetExistingMembers(Aws::Vector&& value) { m_existingMembers = std::move(value); } + inline GetEngagementInvitationResult& WithExistingMembers(const Aws::Vector& value) { SetExistingMembers(value); return *this;} + inline GetEngagementInvitationResult& WithExistingMembers(Aws::Vector&& value) { SetExistingMembers(std::move(value)); return *this;} + inline GetEngagementInvitationResult& AddExistingMembers(const EngagementMemberSummary& value) { m_existingMembers.push_back(value); return *this; } + inline GetEngagementInvitationResult& AddExistingMembers(EngagementMemberSummary&& value) { m_existingMembers.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

Indicates the date on which the engagement invitation will expire if not @@ -115,6 +161,20 @@ namespace Model inline GetEngagementInvitationResult& WithInvitationDate(Aws::Utils::DateTime&& value) { SetInvitationDate(std::move(value)); return *this;} ///@} + ///@{ + /** + *

The message sent to the invited partner when the invitation was created. + *

+ */ + inline const Aws::String& GetInvitationMessage() const{ return m_invitationMessage; } + inline void SetInvitationMessage(const Aws::String& value) { m_invitationMessage = value; } + inline void SetInvitationMessage(Aws::String&& value) { m_invitationMessage = std::move(value); } + inline void SetInvitationMessage(const char* value) { m_invitationMessage.assign(value); } + inline GetEngagementInvitationResult& WithInvitationMessage(const Aws::String& value) { SetInvitationMessage(value); return *this;} + inline GetEngagementInvitationResult& WithInvitationMessage(Aws::String&& value) { SetInvitationMessage(std::move(value)); return *this;} + inline GetEngagementInvitationResult& WithInvitationMessage(const char* value) { SetInvitationMessage(value); return *this;} + ///@} + ///@{ /** *

Details of the engagement invitation payload, including specific data @@ -169,7 +229,7 @@ namespace Model ///@{ /** *

Specifies the AWS Account ID of the sender, which identifies the AWS team - * responsible for sharing the engagement invitation.

+ * responsible for sharing the engagement invitation.

*/ inline const Aws::String& GetSenderAwsAccountId() const{ return m_senderAwsAccountId; } inline void SetSenderAwsAccountId(const Aws::String& value) { m_senderAwsAccountId = value; } @@ -221,14 +281,22 @@ namespace Model Aws::String m_catalog; + Aws::String m_engagementDescription; + + Aws::String m_engagementId; + Aws::String m_engagementTitle; + Aws::Vector m_existingMembers; + Aws::Utils::DateTime m_expirationDate; Aws::String m_id; Aws::Utils::DateTime m_invitationDate; + Aws::String m_invitationMessage; + Payload m_payload; EngagementInvitationPayloadType m_payloadType; diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetEngagementRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetEngagementRequest.h new file mode 100644 index 00000000000..11aceb6f207 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetEngagementRequest.h @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class GetEngagementRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API GetEngagementRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetEngagement"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

Specifies the catalog related to the engagement request. Valid values are + * AWS and Sandbox.

+ */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline GetEngagementRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline GetEngagementRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline GetEngagementRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

Specifies the identifier of the Engagement record to retrieve.

+ */ + inline const Aws::String& GetIdentifier() const{ return m_identifier; } + inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } + inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } + inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } + inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } + inline GetEngagementRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} + inline GetEngagementRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} + inline GetEngagementRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::String m_identifier; + bool m_identifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetEngagementResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetEngagementResult.h new file mode 100644 index 00000000000..65390d19f2f --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetEngagementResult.h @@ -0,0 +1,178 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + class GetEngagementResult + { + public: + AWS_PARTNERCENTRALSELLING_API GetEngagementResult(); + AWS_PARTNERCENTRALSELLING_API GetEngagementResult(const Aws::AmazonWebServiceResult& result); + AWS_PARTNERCENTRALSELLING_API GetEngagementResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the engagement retrieved.

+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline void SetArn(const Aws::String& value) { m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arn.assign(value); } + inline GetEngagementResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline GetEngagementResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline GetEngagementResult& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *

A list of context objects associated with the engagement. Each context + * provides additional information related to the Engagement, such as customer + * projects or documents.

+ */ + inline const Aws::Vector& GetContexts() const{ return m_contexts; } + inline void SetContexts(const Aws::Vector& value) { m_contexts = value; } + inline void SetContexts(Aws::Vector&& value) { m_contexts = std::move(value); } + inline GetEngagementResult& WithContexts(const Aws::Vector& value) { SetContexts(value); return *this;} + inline GetEngagementResult& WithContexts(Aws::Vector&& value) { SetContexts(std::move(value)); return *this;} + inline GetEngagementResult& AddContexts(const EngagementContextDetails& value) { m_contexts.push_back(value); return *this; } + inline GetEngagementResult& AddContexts(EngagementContextDetails&& value) { m_contexts.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The date and time when the Engagement was created, presented in ISO 8601 + * format (UTC). For example: "2023-05-01T20:37:46Z". This timestamp helps track + * the lifecycle of the Engagement.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetEngagementResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline GetEngagementResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The AWS account ID of the user who originally created the engagement. This + * field helps in tracking the origin of the engagement.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline GetEngagementResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline GetEngagementResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline GetEngagementResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

A more detailed description of the engagement. This provides additional + * context or information about the engagement's purpose or scope.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline void SetDescription(const Aws::String& value) { m_description = value; } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } + inline GetEngagementResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline GetEngagementResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline GetEngagementResult& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

The unique resource identifier of the engagement retrieved.

+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline void SetId(const Aws::String& value) { m_id = value; } + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + inline void SetId(const char* value) { m_id.assign(value); } + inline GetEngagementResult& WithId(const Aws::String& value) { SetId(value); return *this;} + inline GetEngagementResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline GetEngagementResult& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *

Specifies the current count of members participating in the Engagement. This + * count includes all active members regardless of their roles or permissions + * within the Engagement.

+ */ + inline int GetMemberCount() const{ return m_memberCount; } + inline void SetMemberCount(int value) { m_memberCount = value; } + inline GetEngagementResult& WithMemberCount(int value) { SetMemberCount(value); return *this;} + ///@} + + ///@{ + /** + *

The title of the engagement. It provides a brief, descriptive name for the + * engagement that is meaningful and easily recognizable.

+ */ + inline const Aws::String& GetTitle() const{ return m_title; } + inline void SetTitle(const Aws::String& value) { m_title = value; } + inline void SetTitle(Aws::String&& value) { m_title = std::move(value); } + inline void SetTitle(const char* value) { m_title.assign(value); } + inline GetEngagementResult& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} + inline GetEngagementResult& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} + inline GetEngagementResult& WithTitle(const char* value) { SetTitle(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 GetEngagementResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetEngagementResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetEngagementResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_arn; + + Aws::Vector m_contexts; + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::String m_description; + + Aws::String m_id; + + int m_memberCount; + + Aws::String m_title; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetOpportunityRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetOpportunityRequest.h index a3f59197850..6418a453efa 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetOpportunityRequest.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetOpportunityRequest.h @@ -36,12 +36,12 @@ namespace Model ///@{ /** - *

Specifies the catalog associated with the request. This field takes a string + *

Specifies the catalog associated with the request. This field takes a string * value from a predefined list: AWS or Sandbox. The * catalog determines which environment the opportunity is fetched from. Use * AWS to retrieve opportunities in the Amazon Web Services catalog, * and Sandbox to retrieve opportunities in a secure, isolated testing - * environment.

+ * environment.

*/ inline const Aws::String& GetCatalog() const{ return m_catalog; } inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } @@ -55,7 +55,7 @@ namespace Model ///@{ /** - *

Read-only, system generated Opportunity unique identifier.

+ *

Read-only, system generated Opportunity unique identifier.

*/ inline const Aws::String& GetIdentifier() const{ return m_identifier; } inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetOpportunityResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetOpportunityResult.h index e951ff57a94..9477bd8a4eb 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetOpportunityResult.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetOpportunityResult.h @@ -46,12 +46,25 @@ namespace Model ///@{ /** - *

Specifies the catalog associated with the request. This field takes a string + *

The Amazon Resource Name (ARN) that uniquely identifies the opportunity.

+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline void SetArn(const Aws::String& value) { m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arn.assign(value); } + inline GetOpportunityResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline GetOpportunityResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline GetOpportunityResult& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *

Specifies the catalog associated with the request. This field takes a string * value from a predefined list: AWS or Sandbox. The * catalog determines which environment the opportunity information is retrieved * from. Use AWS to retrieve opportunities in the Amazon Web Services * catalog, and Sandbox to retrieve opportunities in a secure and - * isolated testing environment.

+ * isolated testing environment.

*/ inline const Aws::String& GetCatalog() const{ return m_catalog; } inline void SetCatalog(const Aws::String& value) { m_catalog = value; } @@ -64,8 +77,8 @@ namespace Model ///@{ /** - *

DateTime when the Opportunity was last created. - *

+ *

DateTime when the Opportunity was last + * created.

*/ inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; } inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; } @@ -77,7 +90,7 @@ namespace Model ///@{ /** *

Specifies details of the customer associated with the - * Opportunity.

+ * Opportunity.

*/ inline const Customer& GetCustomer() const{ return m_customer; } inline void SetCustomer(const Customer& value) { m_customer = value; } @@ -88,7 +101,7 @@ namespace Model ///@{ /** - *

Read-only, system generated Opportunity unique identifier.

+ *

Read-only, system generated Opportunity unique identifier.

*/ inline const Aws::String& GetId() const{ return m_id; } inline void SetId(const Aws::String& value) { m_id = value; } @@ -101,7 +114,7 @@ namespace Model ///@{ /** - *

DateTime when the opportunity was last modified.

+ *

DateTime when the opportunity was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; } inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; } @@ -112,8 +125,8 @@ namespace Model ///@{ /** - *

An object that contains lifecycle details for the Opportunity. - *

+ *

An object that contains lifecycle details for the + * Opportunity.

*/ inline const LifeCycle& GetLifeCycle() const{ return m_lifeCycle; } inline void SetLifeCycle(const LifeCycle& value) { m_lifeCycle = value; } @@ -124,8 +137,8 @@ namespace Model ///@{ /** - *

An object that contains marketing details for the Opportunity. - *

+ *

An object that contains marketing details for the + * Opportunity.

*/ inline const Marketing& GetMarketing() const{ return m_marketing; } inline void SetMarketing(const Marketing& value) { m_marketing = value; } @@ -166,15 +179,15 @@ namespace Model ///@{ /** - *

Specifies the opportunity type as renewal, new, or expansion.

- * Opportunity types:

  • New opportunity: Represents a new business - * opportunity with a potential customer that's not previously engaged with your - * solutions or services.

  • Renewal opportunity: Represents an - * opportunity to renew an existing contract or subscription with a current - * customer, which helps to ensure service continuity.

  • - * Expansion opportunity: Represents an opportunity to expand the scope of a + *

    Specifies the opportunity type as renewal, new, or expansion.

    + *

    Opportunity types:

    • New opportunity: Represents a new + * business opportunity with a potential customer that's not previously engaged + * with your solutions or services.

    • Renewal opportunity: + * Represents an opportunity to renew an existing contract or subscription with a + * current customer, which helps to ensure service continuity.

    • + *

      Expansion opportunity: Represents an opportunity to expand the scope of a * customer's contract or subscription, either by adding new services or increasing - * the volume of existing services.

    + * the volume of existing services.

*/ inline const OpportunityType& GetOpportunityType() const{ return m_opportunityType; } inline void SetOpportunityType(const OpportunityType& value) { m_opportunityType = value; } @@ -187,7 +200,7 @@ namespace Model /** *

Specifies the opportunity's unique identifier in the partner's CRM system. * This value is essential to track and reconcile because it's included in the - * outbound payload sent back to the partner.

+ * outbound payload sent back to the partner.

*/ inline const Aws::String& GetPartnerOpportunityIdentifier() const{ return m_partnerOpportunityIdentifier; } inline void SetPartnerOpportunityIdentifier(const Aws::String& value) { m_partnerOpportunityIdentifier = value; } @@ -200,32 +213,31 @@ namespace Model ///@{ /** - *

Identifies the type of support the partner needs from Amazon Web Services. - *

Valid values:

  • Cosell—Architectural Validation: + *

    Identifies the type of support the partner needs from Amazon Web + * Services.

    Valid values:

    • Cosell—Architectural Validation: * Confirmation from Amazon Web Services that the partner's proposed solution * architecture is aligned with Amazon Web Services best practices and poses - * minimal architectural risks.

    • Cosell—Business Presentation: + * minimal architectural risks.

    • Cosell—Business Presentation: * Request Amazon Web Services seller's participation in a joint customer - * presentation.

    • Cosell—Competitive Information: Access to - * Amazon Web Services competitive resources and support for the partner's proposed - * solution.

    • Cosell—Pricing Assistance: Connect with an Amazon + * presentation.

    • Cosell—Competitive Information: Access to Amazon + * Web Services competitive resources and support for the partner's proposed + * solution.

    • Cosell—Pricing Assistance: Connect with an Amazon * Web Services seller for support situations where a partner may be receiving an - * upfront discount on a service (for example: EDP deals).

    • - * Cosell—Technical Consultation: Connect with an Amazon Web Services Solutions - * Architect to address the partner's questions about the proposed solution.

      - *
    • Cosell—Total Cost of Ownership Evaluation: Assistance with - * quoting different cost savings of proposed solutions on Amazon Web Services - * versus on-premises or a traditional hosting environment.

    • - * Cosell—Deal Support: Request Amazon Web Services seller's support to progress - * the opportunity (for example: joint customer call, strategic positioning).

      - *
    • Cosell—Support for Public Tender/RFx: Opportunity related to the - * public sector where the partner needs Amazon Web Services RFx support.

      - *
    • Do Not Need Support from Amazon Web Services Sales Rep: Indicates - * that a partner doesn't need support from an Amazon Web Services sales - * representative, and the partner solely manages the opportunity. It's possible to - * request coselling support on these opportunities at any stage during their - * lifecycle. Also known as, for-visibility-only (FVO) opportunity.

    • - *
    + * upfront discount on a service (for example: EDP deals).

  • + *

    Cosell—Technical Consultation: Connect with an Amazon Web Services Solutions + * Architect to address the partner's questions about the proposed solution.

    + *
  • Cosell—Total Cost of Ownership Evaluation: Assistance with quoting + * different cost savings of proposed solutions on Amazon Web Services versus + * on-premises or a traditional hosting environment.

  • Cosell—Deal + * Support: Request Amazon Web Services seller's support to progress the + * opportunity (for example: joint customer call, strategic positioning).

  • + *
  • Cosell—Support for Public Tender/RFx: Opportunity related to the public + * sector where the partner needs Amazon Web Services RFx support.

  • + *

    Do Not Need Support from Amazon Web Services Sales Rep: Indicates that a + * partner doesn't need support from an Amazon Web Services sales representative, + * and the partner solely manages the opportunity. It's possible to request + * coselling support on these opportunities at any stage during their lifecycle. + * Also known as, for-visibility-only (FVO) opportunity.

*/ inline const Aws::Vector& GetPrimaryNeedsFromAws() const{ return m_primaryNeedsFromAws; } inline void SetPrimaryNeedsFromAws(const Aws::Vector& value) { m_primaryNeedsFromAws = value; } @@ -239,7 +251,7 @@ namespace Model ///@{ /** *

An object that contains project details summary for the - * Opportunity.

+ * Opportunity.

*/ inline const Project& GetProject() const{ return m_project; } inline void SetProject(const Project& value) { m_project = value; } @@ -250,9 +262,9 @@ namespace Model ///@{ /** - *

Provides information about the associations of other entities with the + *

Provides information about the associations of other entities with the * opportunity. These entities include identifiers for AWSProducts, - * Partner Solutions, and AWSMarketplaceOffers.

+ * Partner Solutions, and AWSMarketplaceOffers.

*/ inline const RelatedEntityIdentifiers& GetRelatedEntityIdentifiers() const{ return m_relatedEntityIdentifiers; } inline void SetRelatedEntityIdentifiers(const RelatedEntityIdentifiers& value) { m_relatedEntityIdentifiers = value; } @@ -285,6 +297,8 @@ namespace Model ///@} private: + Aws::String m_arn; + Aws::String m_catalog; Aws::Utils::DateTime m_createdDate; diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetResourceSnapshotJobRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetResourceSnapshotJobRequest.h new file mode 100644 index 00000000000..9088d66cbb0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetResourceSnapshotJobRequest.h @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class GetResourceSnapshotJobRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotJobRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetResourceSnapshotJob"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

Specifies the catalog related to the request. Valid values are:

    + *
  • AWS: Retrieves the snapshot job from the production AWS environment. + *

  • Sandbox: Retrieves the snapshot job from a sandbox + * environment used for testing or development purposes.

+ */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline GetResourceSnapshotJobRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline GetResourceSnapshotJobRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline GetResourceSnapshotJobRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

The unique identifier of the resource snapshot job to be retrieved. This + * identifier is crucial for pinpointing the specific job you want to query.

+ */ + inline const Aws::String& GetResourceSnapshotJobIdentifier() const{ return m_resourceSnapshotJobIdentifier; } + inline bool ResourceSnapshotJobIdentifierHasBeenSet() const { return m_resourceSnapshotJobIdentifierHasBeenSet; } + inline void SetResourceSnapshotJobIdentifier(const Aws::String& value) { m_resourceSnapshotJobIdentifierHasBeenSet = true; m_resourceSnapshotJobIdentifier = value; } + inline void SetResourceSnapshotJobIdentifier(Aws::String&& value) { m_resourceSnapshotJobIdentifierHasBeenSet = true; m_resourceSnapshotJobIdentifier = std::move(value); } + inline void SetResourceSnapshotJobIdentifier(const char* value) { m_resourceSnapshotJobIdentifierHasBeenSet = true; m_resourceSnapshotJobIdentifier.assign(value); } + inline GetResourceSnapshotJobRequest& WithResourceSnapshotJobIdentifier(const Aws::String& value) { SetResourceSnapshotJobIdentifier(value); return *this;} + inline GetResourceSnapshotJobRequest& WithResourceSnapshotJobIdentifier(Aws::String&& value) { SetResourceSnapshotJobIdentifier(std::move(value)); return *this;} + inline GetResourceSnapshotJobRequest& WithResourceSnapshotJobIdentifier(const char* value) { SetResourceSnapshotJobIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::String m_resourceSnapshotJobIdentifier; + bool m_resourceSnapshotJobIdentifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetResourceSnapshotJobResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetResourceSnapshotJobResult.h new file mode 100644 index 00000000000..8ba1f25a355 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetResourceSnapshotJobResult.h @@ -0,0 +1,243 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + class GetResourceSnapshotJobResult + { + public: + AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotJobResult(); + AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotJobResult(const Aws::AmazonWebServiceResult& result); + AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotJobResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

he Amazon Resource Name (ARN) of the snapshot job. This globally unique + * identifier can be used for resource-specific operations across AWS services. + *

+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline void SetArn(const Aws::String& value) { m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arn.assign(value); } + inline GetResourceSnapshotJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline GetResourceSnapshotJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline GetResourceSnapshotJobResult& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *

The catalog in which the snapshot job was created. This will match the + * catalog specified in the request.

+ */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline void SetCatalog(const Aws::String& value) { m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalog.assign(value); } + inline GetResourceSnapshotJobResult& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline GetResourceSnapshotJobResult& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline GetResourceSnapshotJobResult& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

The date and time when the snapshot job was created, in ISO 8601 format + * (UTC). Example: "2023-05-01T20:37:46Z"

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetResourceSnapshotJobResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline GetResourceSnapshotJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The identifier of the engagement associated with this snapshot job. This + * links the job to a specific engagement context.

+ */ + inline const Aws::String& GetEngagementId() const{ return m_engagementId; } + inline void SetEngagementId(const Aws::String& value) { m_engagementId = value; } + inline void SetEngagementId(Aws::String&& value) { m_engagementId = std::move(value); } + inline void SetEngagementId(const char* value) { m_engagementId.assign(value); } + inline GetResourceSnapshotJobResult& WithEngagementId(const Aws::String& value) { SetEngagementId(value); return *this;} + inline GetResourceSnapshotJobResult& WithEngagementId(Aws::String&& value) { SetEngagementId(std::move(value)); return *this;} + inline GetResourceSnapshotJobResult& WithEngagementId(const char* value) { SetEngagementId(value); return *this;} + ///@} + + ///@{ + /** + *

The unique identifier of the snapshot job. This matches the + * ResourceSnapshotJobIdentifier provided in the request.

+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline void SetId(const Aws::String& value) { m_id = value; } + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + inline void SetId(const char* value) { m_id.assign(value); } + inline GetResourceSnapshotJobResult& WithId(const Aws::String& value) { SetId(value); return *this;} + inline GetResourceSnapshotJobResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline GetResourceSnapshotJobResult& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *

If the job has encountered any failures, this field contains the error + * message from the most recent failure. This can be useful for troubleshooting + * issues with the job.

+ */ + inline const Aws::String& GetLastFailure() const{ return m_lastFailure; } + inline void SetLastFailure(const Aws::String& value) { m_lastFailure = value; } + inline void SetLastFailure(Aws::String&& value) { m_lastFailure = std::move(value); } + inline void SetLastFailure(const char* value) { m_lastFailure.assign(value); } + inline GetResourceSnapshotJobResult& WithLastFailure(const Aws::String& value) { SetLastFailure(value); return *this;} + inline GetResourceSnapshotJobResult& WithLastFailure(Aws::String&& value) { SetLastFailure(std::move(value)); return *this;} + inline GetResourceSnapshotJobResult& WithLastFailure(const char* value) { SetLastFailure(value); return *this;} + ///@} + + ///@{ + /** + *

The date and time of the last successful execution of the job, in ISO 8601 + * format (UTC). Example: "2023-05-01T20:37:46Z"

+ */ + inline const Aws::Utils::DateTime& GetLastSuccessfulExecutionDate() const{ return m_lastSuccessfulExecutionDate; } + inline void SetLastSuccessfulExecutionDate(const Aws::Utils::DateTime& value) { m_lastSuccessfulExecutionDate = value; } + inline void SetLastSuccessfulExecutionDate(Aws::Utils::DateTime&& value) { m_lastSuccessfulExecutionDate = std::move(value); } + inline GetResourceSnapshotJobResult& WithLastSuccessfulExecutionDate(const Aws::Utils::DateTime& value) { SetLastSuccessfulExecutionDate(value); return *this;} + inline GetResourceSnapshotJobResult& WithLastSuccessfulExecutionDate(Aws::Utils::DateTime&& value) { SetLastSuccessfulExecutionDate(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the resource being snapshotted. This + * provides a globally unique identifier for the resource across AWS.

+ */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; } + inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); } + inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); } + inline GetResourceSnapshotJobResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + inline GetResourceSnapshotJobResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + inline GetResourceSnapshotJobResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

The identifier of the specific resource being snapshotted. The format may + * vary depending on the ResourceType.

+ */ + inline const Aws::String& GetResourceId() const{ return m_resourceId; } + inline void SetResourceId(const Aws::String& value) { m_resourceId = value; } + inline void SetResourceId(Aws::String&& value) { m_resourceId = std::move(value); } + inline void SetResourceId(const char* value) { m_resourceId.assign(value); } + inline GetResourceSnapshotJobResult& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} + inline GetResourceSnapshotJobResult& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} + inline GetResourceSnapshotJobResult& WithResourceId(const char* value) { SetResourceId(value); return *this;} + ///@} + + ///@{ + /** + *

The name of the template used for creating the snapshot. This is the same as + * the template name. It defines the structure and content of the snapshot.

+ */ + inline const Aws::String& GetResourceSnapshotTemplateName() const{ return m_resourceSnapshotTemplateName; } + inline void SetResourceSnapshotTemplateName(const Aws::String& value) { m_resourceSnapshotTemplateName = value; } + inline void SetResourceSnapshotTemplateName(Aws::String&& value) { m_resourceSnapshotTemplateName = std::move(value); } + inline void SetResourceSnapshotTemplateName(const char* value) { m_resourceSnapshotTemplateName.assign(value); } + inline GetResourceSnapshotJobResult& WithResourceSnapshotTemplateName(const Aws::String& value) { SetResourceSnapshotTemplateName(value); return *this;} + inline GetResourceSnapshotJobResult& WithResourceSnapshotTemplateName(Aws::String&& value) { SetResourceSnapshotTemplateName(std::move(value)); return *this;} + inline GetResourceSnapshotJobResult& WithResourceSnapshotTemplateName(const char* value) { SetResourceSnapshotTemplateName(value); return *this;} + ///@} + + ///@{ + /** + *

The type of resource being snapshotted. This would have + * Opportunity as a value as it is dependent on the supported resource + * type.

+ */ + inline const ResourceType& GetResourceType() const{ return m_resourceType; } + inline void SetResourceType(const ResourceType& value) { m_resourceType = value; } + inline void SetResourceType(ResourceType&& value) { m_resourceType = std::move(value); } + inline GetResourceSnapshotJobResult& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} + inline GetResourceSnapshotJobResult& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The current status of the snapshot job. Valid values:

  • + * STOPPED: The job is not currently running.

  • RUNNING: The job + * is actively executing.

+ */ + inline const ResourceSnapshotJobStatus& GetStatus() const{ return m_status; } + inline void SetStatus(const ResourceSnapshotJobStatus& value) { m_status = value; } + inline void SetStatus(ResourceSnapshotJobStatus&& value) { m_status = std::move(value); } + inline GetResourceSnapshotJobResult& WithStatus(const ResourceSnapshotJobStatus& value) { SetStatus(value); return *this;} + inline GetResourceSnapshotJobResult& WithStatus(ResourceSnapshotJobStatus&& value) { SetStatus(std::move(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 GetResourceSnapshotJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetResourceSnapshotJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetResourceSnapshotJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_arn; + + Aws::String m_catalog; + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_engagementId; + + Aws::String m_id; + + Aws::String m_lastFailure; + + Aws::Utils::DateTime m_lastSuccessfulExecutionDate; + + Aws::String m_resourceArn; + + Aws::String m_resourceId; + + Aws::String m_resourceSnapshotTemplateName; + + ResourceType m_resourceType; + + ResourceSnapshotJobStatus m_status; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetResourceSnapshotRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetResourceSnapshotRequest.h new file mode 100644 index 00000000000..f0c7b640a20 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetResourceSnapshotRequest.h @@ -0,0 +1,151 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class GetResourceSnapshotRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetResourceSnapshot"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

Specifies the catalog related to the request. Valid values are:

  • + *

    AWS: Retrieves the snapshot from the production AWS environment.

  • + *
  • Sandbox: Retrieves the snapshot from a sandbox environment used for + * testing or development purposes.

+ */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline GetResourceSnapshotRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline GetResourceSnapshotRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline GetResourceSnapshotRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

The unique identifier of the engagement associated with the snapshot. This + * field links the snapshot to a specific engagement context.

+ */ + inline const Aws::String& GetEngagementIdentifier() const{ return m_engagementIdentifier; } + inline bool EngagementIdentifierHasBeenSet() const { return m_engagementIdentifierHasBeenSet; } + inline void SetEngagementIdentifier(const Aws::String& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = value; } + inline void SetEngagementIdentifier(Aws::String&& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = std::move(value); } + inline void SetEngagementIdentifier(const char* value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier.assign(value); } + inline GetResourceSnapshotRequest& WithEngagementIdentifier(const Aws::String& value) { SetEngagementIdentifier(value); return *this;} + inline GetResourceSnapshotRequest& WithEngagementIdentifier(Aws::String&& value) { SetEngagementIdentifier(std::move(value)); return *this;} + inline GetResourceSnapshotRequest& WithEngagementIdentifier(const char* value) { SetEngagementIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The unique identifier of the specific resource that was snapshotted. The + * format and constraints of this identifier depend on the ResourceType specified. + * For Opportunity type, it will be an opportunity ID + *

+ */ + inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } + inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; } + inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; } + inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); } + inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); } + inline GetResourceSnapshotRequest& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;} + inline GetResourceSnapshotRequest& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;} + inline GetResourceSnapshotRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

he name of the template that defines the schema for the snapshot. This + * template determines which subset of the resource data is included in the + * snapshot and must correspond to an existing and valid template for the specified + * ResourceType.

+ */ + inline const Aws::String& GetResourceSnapshotTemplateIdentifier() const{ return m_resourceSnapshotTemplateIdentifier; } + inline bool ResourceSnapshotTemplateIdentifierHasBeenSet() const { return m_resourceSnapshotTemplateIdentifierHasBeenSet; } + inline void SetResourceSnapshotTemplateIdentifier(const Aws::String& value) { m_resourceSnapshotTemplateIdentifierHasBeenSet = true; m_resourceSnapshotTemplateIdentifier = value; } + inline void SetResourceSnapshotTemplateIdentifier(Aws::String&& value) { m_resourceSnapshotTemplateIdentifierHasBeenSet = true; m_resourceSnapshotTemplateIdentifier = std::move(value); } + inline void SetResourceSnapshotTemplateIdentifier(const char* value) { m_resourceSnapshotTemplateIdentifierHasBeenSet = true; m_resourceSnapshotTemplateIdentifier.assign(value); } + inline GetResourceSnapshotRequest& WithResourceSnapshotTemplateIdentifier(const Aws::String& value) { SetResourceSnapshotTemplateIdentifier(value); return *this;} + inline GetResourceSnapshotRequest& WithResourceSnapshotTemplateIdentifier(Aws::String&& value) { SetResourceSnapshotTemplateIdentifier(std::move(value)); return *this;} + inline GetResourceSnapshotRequest& WithResourceSnapshotTemplateIdentifier(const char* value) { SetResourceSnapshotTemplateIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

Specifies the type of resource that was snapshotted. This field determines + * the structure and content of the snapshot payload. Valid value + * includes:Opportunity: For opportunity-related data.

+ */ + inline const ResourceType& GetResourceType() const{ return m_resourceType; } + inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } + inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } + inline GetResourceSnapshotRequest& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} + inline GetResourceSnapshotRequest& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Specifies which revision of the snapshot to retrieve. If omitted returns the + * latest revision.

+ */ + inline int GetRevision() const{ return m_revision; } + inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; } + inline void SetRevision(int value) { m_revisionHasBeenSet = true; m_revision = value; } + inline GetResourceSnapshotRequest& WithRevision(int value) { SetRevision(value); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::String m_engagementIdentifier; + bool m_engagementIdentifierHasBeenSet = false; + + Aws::String m_resourceIdentifier; + bool m_resourceIdentifierHasBeenSet = false; + + Aws::String m_resourceSnapshotTemplateIdentifier; + bool m_resourceSnapshotTemplateIdentifierHasBeenSet = false; + + ResourceType m_resourceType; + bool m_resourceTypeHasBeenSet = false; + + int m_revision; + bool m_revisionHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetResourceSnapshotResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetResourceSnapshotResult.h new file mode 100644 index 00000000000..c9e33f45392 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetResourceSnapshotResult.h @@ -0,0 +1,204 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + class GetResourceSnapshotResult + { + public: + AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotResult(); + AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotResult(const Aws::AmazonWebServiceResult& result); + AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the snapshot. This globally unique + * identifier can be used for resource-specific operations across AWS services. + *

+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline void SetArn(const Aws::String& value) { m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arn.assign(value); } + inline GetResourceSnapshotResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline GetResourceSnapshotResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline GetResourceSnapshotResult& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *

The catalog in which the snapshot was created. Matches the Catalog specified + * in the request.

+ */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline void SetCatalog(const Aws::String& value) { m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalog.assign(value); } + inline GetResourceSnapshotResult& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline GetResourceSnapshotResult& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline GetResourceSnapshotResult& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

The timestamp when the snapshot was created, in ISO 8601 format (e.g., + * "2023-06-01T14:30:00Z"). This allows for precise tracking of when the snapshot + * was taken.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetResourceSnapshotResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline GetResourceSnapshotResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The AWS account ID of the principal (user or role) who created the snapshot. + * This helps in tracking the origin of the snapshot.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline GetResourceSnapshotResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline GetResourceSnapshotResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline GetResourceSnapshotResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

The identifier of the engagement associated with this snapshot. Matches the + * EngagementIdentifier specified in the request.

+ */ + inline const Aws::String& GetEngagementId() const{ return m_engagementId; } + inline void SetEngagementId(const Aws::String& value) { m_engagementId = value; } + inline void SetEngagementId(Aws::String&& value) { m_engagementId = std::move(value); } + inline void SetEngagementId(const char* value) { m_engagementId.assign(value); } + inline GetResourceSnapshotResult& WithEngagementId(const Aws::String& value) { SetEngagementId(value); return *this;} + inline GetResourceSnapshotResult& WithEngagementId(Aws::String&& value) { SetEngagementId(std::move(value)); return *this;} + inline GetResourceSnapshotResult& WithEngagementId(const char* value) { SetEngagementId(value); return *this;} + ///@} + + ///@{ + + inline const ResourceSnapshotPayload& GetPayload() const{ return m_payload; } + inline void SetPayload(const ResourceSnapshotPayload& value) { m_payload = value; } + inline void SetPayload(ResourceSnapshotPayload&& value) { m_payload = std::move(value); } + inline GetResourceSnapshotResult& WithPayload(const ResourceSnapshotPayload& value) { SetPayload(value); return *this;} + inline GetResourceSnapshotResult& WithPayload(ResourceSnapshotPayload&& value) { SetPayload(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The identifier of the specific resource that was snapshotted. Matches the + * ResourceIdentifier specified in the request.

+ */ + inline const Aws::String& GetResourceId() const{ return m_resourceId; } + inline void SetResourceId(const Aws::String& value) { m_resourceId = value; } + inline void SetResourceId(Aws::String&& value) { m_resourceId = std::move(value); } + inline void SetResourceId(const char* value) { m_resourceId.assign(value); } + inline GetResourceSnapshotResult& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} + inline GetResourceSnapshotResult& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} + inline GetResourceSnapshotResult& WithResourceId(const char* value) { SetResourceId(value); return *this;} + ///@} + + ///@{ + /** + *

The name of the view used for this snapshot. This is the same as the + * template name.

+ */ + inline const Aws::String& GetResourceSnapshotTemplateName() const{ return m_resourceSnapshotTemplateName; } + inline void SetResourceSnapshotTemplateName(const Aws::String& value) { m_resourceSnapshotTemplateName = value; } + inline void SetResourceSnapshotTemplateName(Aws::String&& value) { m_resourceSnapshotTemplateName = std::move(value); } + inline void SetResourceSnapshotTemplateName(const char* value) { m_resourceSnapshotTemplateName.assign(value); } + inline GetResourceSnapshotResult& WithResourceSnapshotTemplateName(const Aws::String& value) { SetResourceSnapshotTemplateName(value); return *this;} + inline GetResourceSnapshotResult& WithResourceSnapshotTemplateName(Aws::String&& value) { SetResourceSnapshotTemplateName(std::move(value)); return *this;} + inline GetResourceSnapshotResult& WithResourceSnapshotTemplateName(const char* value) { SetResourceSnapshotTemplateName(value); return *this;} + ///@} + + ///@{ + /** + *

The type of the resource that was snapshotted. Matches the + * ResourceType specified in the request.

+ */ + inline const ResourceType& GetResourceType() const{ return m_resourceType; } + inline void SetResourceType(const ResourceType& value) { m_resourceType = value; } + inline void SetResourceType(ResourceType&& value) { m_resourceType = std::move(value); } + inline GetResourceSnapshotResult& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} + inline GetResourceSnapshotResult& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The revision number of this snapshot. This is a positive integer that is + * sequential and unique within the context of a resource view.

+ */ + inline int GetRevision() const{ return m_revision; } + inline void SetRevision(int value) { m_revision = value; } + inline GetResourceSnapshotResult& WithRevision(int value) { SetRevision(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 GetResourceSnapshotResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetResourceSnapshotResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetResourceSnapshotResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_arn; + + Aws::String m_catalog; + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::String m_engagementId; + + ResourceSnapshotPayload m_payload; + + Aws::String m_resourceId; + + Aws::String m_resourceSnapshotTemplateName; + + ResourceType m_resourceType; + + int m_revision; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetSellingSystemSettingsRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetSellingSystemSettingsRequest.h new file mode 100644 index 00000000000..3e0acc051eb --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetSellingSystemSettingsRequest.h @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class GetSellingSystemSettingsRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API GetSellingSystemSettingsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetSellingSystemSettings"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

Specifies the catalog in which the settings are defined. Acceptable values + * include AWS for production and Sandbox for testing + * environments.

+ */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline GetSellingSystemSettingsRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline GetSellingSystemSettingsRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline GetSellingSystemSettingsRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetSellingSystemSettingsResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetSellingSystemSettingsResult.h new file mode 100644 index 00000000000..bded767a2b9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/GetSellingSystemSettingsResult.h @@ -0,0 +1,85 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + class GetSellingSystemSettingsResult + { + public: + AWS_PARTNERCENTRALSELLING_API GetSellingSystemSettingsResult(); + AWS_PARTNERCENTRALSELLING_API GetSellingSystemSettingsResult(const Aws::AmazonWebServiceResult& result); + AWS_PARTNERCENTRALSELLING_API GetSellingSystemSettingsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

Specifies the catalog in which the settings are defined. Acceptable values + * include AWS for production and Sandbox for testing + * environments.

+ */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline void SetCatalog(const Aws::String& value) { m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalog.assign(value); } + inline GetSellingSystemSettingsResult& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline GetSellingSystemSettingsResult& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline GetSellingSystemSettingsResult& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

Specifies the ARN of the IAM Role used for resource snapshot job + * executions.

+ */ + inline const Aws::String& GetResourceSnapshotJobRoleArn() const{ return m_resourceSnapshotJobRoleArn; } + inline void SetResourceSnapshotJobRoleArn(const Aws::String& value) { m_resourceSnapshotJobRoleArn = value; } + inline void SetResourceSnapshotJobRoleArn(Aws::String&& value) { m_resourceSnapshotJobRoleArn = std::move(value); } + inline void SetResourceSnapshotJobRoleArn(const char* value) { m_resourceSnapshotJobRoleArn.assign(value); } + inline GetSellingSystemSettingsResult& WithResourceSnapshotJobRoleArn(const Aws::String& value) { SetResourceSnapshotJobRoleArn(value); return *this;} + inline GetSellingSystemSettingsResult& WithResourceSnapshotJobRoleArn(Aws::String&& value) { SetResourceSnapshotJobRoleArn(std::move(value)); return *this;} + inline GetSellingSystemSettingsResult& WithResourceSnapshotJobRoleArn(const char* value) { SetResourceSnapshotJobRoleArn(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 GetSellingSystemSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetSellingSystemSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetSellingSystemSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_catalog; + + Aws::String m_resourceSnapshotJobRoleArn; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Invitation.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Invitation.h new file mode 100644 index 00000000000..4b4e441e856 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Invitation.h @@ -0,0 +1,91 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

The Invitation structure represents an invitation exchanged between partners + * and AWS. It includes a message, receiver information, and a payload providing + * context for the invitation.

See Also:

AWS + * API Reference

+ */ + class Invitation + { + public: + AWS_PARTNERCENTRALSELLING_API Invitation(); + AWS_PARTNERCENTRALSELLING_API Invitation(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Invitation& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

A message accompanying the invitation.

+ */ + inline const Aws::String& GetMessage() const{ return m_message; } + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + inline Invitation& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline Invitation& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline Invitation& WithMessage(const char* value) { SetMessage(value); return *this;} + ///@} + + ///@{ + + inline const Payload& GetPayload() const{ return m_payload; } + inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; } + inline void SetPayload(const Payload& value) { m_payloadHasBeenSet = true; m_payload = value; } + inline void SetPayload(Payload&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); } + inline Invitation& WithPayload(const Payload& value) { SetPayload(value); return *this;} + inline Invitation& WithPayload(Payload&& value) { SetPayload(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Receiver& GetReceiver() const{ return m_receiver; } + inline bool ReceiverHasBeenSet() const { return m_receiverHasBeenSet; } + inline void SetReceiver(const Receiver& value) { m_receiverHasBeenSet = true; m_receiver = value; } + inline void SetReceiver(Receiver&& value) { m_receiverHasBeenSet = true; m_receiver = std::move(value); } + inline Invitation& WithReceiver(const Receiver& value) { SetReceiver(value); return *this;} + inline Invitation& WithReceiver(Receiver&& value) { SetReceiver(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + Payload m_payload; + bool m_payloadHasBeenSet = false; + + Receiver m_receiver; + bool m_receiverHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/LifeCycle.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/LifeCycle.h index fad4b4cb53b..4d6aa164ae3 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/LifeCycle.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/LifeCycle.h @@ -29,8 +29,8 @@ namespace Model { /** - *

An object that contains the Opportunity lifecycle's details. - *

See Also:

An object that contains the Opportunity lifecycle's + * details.

See Also:

AWS * API Reference

*/ @@ -45,10 +45,10 @@ namespace Model ///@{ /** - *

Specifies the reason code when an opportunity is marked as Closed + *

Specifies the reason code when an opportunity is marked as Closed * Lost. When you select an appropriate reason code, you communicate the * context for closing the Opportunity, and aid in accurate reports - * and analysis of opportunity outcomes. The possible values are:

  • + * and analysis of opportunity outcomes. The possible values are:

    • *

      Customer Deficiency: The customer lacked necessary resources or * capabilities.

    • Delay/Cancellation of Project: The project was * delayed or canceled.

    • Legal/Tax/Regulatory: Legal, tax, or @@ -85,7 +85,7 @@ namespace Model /** *

      Specifies the upcoming actions or tasks for the Opportunity. Use * this field to communicate with Amazon Web Services about the next actions - * required for the Opportunity.

      + * required for the Opportunity.

      */ inline const Aws::String& GetNextSteps() const{ return m_nextSteps; } inline bool NextStepsHasBeenSet() const { return m_nextStepsHasBeenSet; } @@ -100,7 +100,7 @@ namespace Model ///@{ /** *

      Captures a chronological record of the next steps or actions planned or taken - * for the current opportunity, along with the timestamp.

      + * for the current opportunity, along with the timestamp.

      */ inline const Aws::Vector& GetNextStepsHistory() const{ return m_nextStepsHistory; } inline bool NextStepsHistoryHasBeenSet() const { return m_nextStepsHistoryHasBeenSet; } @@ -129,18 +129,17 @@ namespace Model ///@{ /** - *

      Indicates the review status of an opportunity referred by a partner. This + *

      Indicates the review status of an opportunity referred by a partner. This * field is read-only and only applicable for partner referrals. The possible - * values are:

      • Pending Submission: Not submitted for validation - * (editable).

      • Submitted: Submitted for validation, and Amazon - * Web Services hasn't reviewed it (read-only).

      • In Review: - * Amazon Web Services is validating (read-only).

      • Action - * Required: Issues that Amazon Web Services highlights need to be addressed. - * Partners should use the UpdateOpportunity API action to update the - * opportunity and helps to ensure that all required changes are made. Only the - * following fields are editable when the Lifecycle.ReviewStatus is - * Action Required:

        • - *

          Customer.Account.Address.City

        • + * values are:

          • Pending Submission: Not submitted for validation + * (editable).

          • Submitted: Submitted for validation, and Amazon + * Web Services hasn't reviewed it (read-only).

          • In Review: Amazon + * Web Services is validating (read-only).

          • Action Required: + * Issues that Amazon Web Services highlights need to be addressed. Partners should + * use the UpdateOpportunity API action to update the opportunity and + * helps to ensure that all required changes are made. Only the following fields + * are editable when the Lifecycle.ReviewStatus is Action + * Required:

            • Customer.Account.Address.City

            • *

              Customer.Account.Address.CountryCode

            • *

              Customer.Account.Address.PostalCode

            • *

              Customer.Account.Address.StateOrRegion

            • @@ -149,13 +148,13 @@ namespace Model *
            • Project.ExpectedMonthlyAWSRevenue.Amount

            • *

              Project.ExpectedMonthlyAWSRevenue.CurrencyCode

            • *

              Project.CustomerBusinessProblem

            • - *

              PartnerOpportunityIdentifier

            After updates, the + *

            PartnerOpportunityIdentifier

          After updates, the * opportunity re-enters the validation phase. This process repeats until all * issues are resolved, and the opportunity's Lifecycle.ReviewStatus - * is set to Approved or Rejected.

        • - * Approved: Validated and converted into the Amazon Web Services seller's pipeline - * (editable).

        • Rejected: Disqualified (read-only).

        • - *
        + * is set to Approved or Rejected.

      • + *

        Approved: Validated and converted into the Amazon Web Services seller's + * pipeline (editable).

      • Rejected: Disqualified (read-only).

        + *
      */ inline const ReviewStatus& GetReviewStatus() const{ return m_reviewStatus; } inline bool ReviewStatusHasBeenSet() const { return m_reviewStatusHasBeenSet; } @@ -167,10 +166,10 @@ namespace Model ///@{ /** - *

      Indicates the reason a decision was made during the opportunity review + *

      Indicates the reason a decision was made during the opportunity review * process. This field combines the reasons for both disqualified and action * required statuses, and provide clarity for why an opportunity was disqualified - * or requires further action.

      + * or requires further action.

      */ inline const Aws::String& GetReviewStatusReason() const{ return m_reviewStatusReason; } inline bool ReviewStatusReasonHasBeenSet() const { return m_reviewStatusReasonHasBeenSet; } @@ -184,27 +183,27 @@ namespace Model ///@{ /** - *

      Specifies the current stage of the Opportunity's lifecycle as - * it maps to Amazon Web Services stages from the current stage in the partner CRM. + *

      Specifies the current stage of the Opportunity's lifecycle as it + * maps to Amazon Web Services stages from the current stage in the partner CRM. * This field provides a translated value of the stage, and offers insight into the * Opportunity's progression in the sales cycle, according to Amazon - * Web Services definitions.

      A lead and a prospect must be further + * Web Services definitions.

      A lead and a prospect must be further * matured to a Qualified opportunity before submission. Opportunities * that were closed/lost before submission aren't suitable for submission.

      - *

      The descriptions of each sales stage are:

      • - * Prospect: Amazon Web Services identifies the opportunity. It can be active - * (Comes directly from the end customer through a lead) or latent (Your account - * team believes it exists based on research, account plans, sales plays).

        - *
      • Qualified: Your account team engaged with the customer to discuss - * viability and requirements. The customer agreed that the opportunity is real, of - * interest, and may solve business/technical needs.

      • Technical - * Validation: All parties understand the implementation plan.

      • - * Business Validation: Pricing was proposed, and all parties agree to the steps to - * close.

      • Committed: The customer signed the contract, but - * Amazon Web Services hasn't started billing.

      • Launched: The - * workload is complete, and Amazon Web Services has started billing.

      • - *
      • Closed Lost: The opportunity is lost, and there are no steps to move - * forward.

      + *

      The descriptions of each sales stage are:

      • Prospect: + * Amazon Web Services identifies the opportunity. It can be active (Comes directly + * from the end customer through a lead) or latent (Your account team believes it + * exists based on research, account plans, sales plays).

      • + *

        Qualified: Your account team engaged with the customer to discuss viability + * and requirements. The customer agreed that the opportunity is real, of interest, + * and may solve business/technical needs.

      • Technical Validation: + * All parties understand the implementation plan.

      • Business + * Validation: Pricing was proposed, and all parties agree to the steps to + * close.

      • Committed: The customer signed the contract, but Amazon + * Web Services hasn't started billing.

      • Launched: The workload is + * complete, and Amazon Web Services has started billing.

      • Closed + * Lost: The opportunity is lost, and there are no steps to move forward.

      • + *
      */ inline const Stage& GetStage() const{ return m_stage; } inline bool StageHasBeenSet() const { return m_stageHasBeenSet; } @@ -216,11 +215,11 @@ namespace Model ///@{ /** - *

      Specifies the date when Amazon Web Services expects to start significant + *

      Specifies the date when Amazon Web Services expects to start significant * billing, when the project finishes, and when it moves into production. This * field informs the Amazon Web Services seller about when the opportunity launches - * and starts to incur Amazon Web Services usage.

      Ensure the Target - * Close Date isn't in the past.

      + * and starts to incur Amazon Web Services usage.

      Ensure the Target + * Close Date isn't in the past.

      */ inline const Aws::String& GetTargetCloseDate() const{ return m_targetCloseDate; } inline bool TargetCloseDateHasBeenSet() const { return m_targetCloseDateHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/LifeCycleForView.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/LifeCycleForView.h new file mode 100644 index 00000000000..436dffe4446 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/LifeCycleForView.h @@ -0,0 +1,112 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

      Provides the lifecycle view of an opportunity resource shared through a + * snapshot.

      See Also:

      AWS + * API Reference

      + */ + class LifeCycleForView + { + public: + AWS_PARTNERCENTRALSELLING_API LifeCycleForView(); + AWS_PARTNERCENTRALSELLING_API LifeCycleForView(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API LifeCycleForView& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

      Describes the next steps for the opportunity shared through a snapshot.

      + */ + inline const Aws::String& GetNextSteps() const{ return m_nextSteps; } + inline bool NextStepsHasBeenSet() const { return m_nextStepsHasBeenSet; } + inline void SetNextSteps(const Aws::String& value) { m_nextStepsHasBeenSet = true; m_nextSteps = value; } + inline void SetNextSteps(Aws::String&& value) { m_nextStepsHasBeenSet = true; m_nextSteps = std::move(value); } + inline void SetNextSteps(const char* value) { m_nextStepsHasBeenSet = true; m_nextSteps.assign(value); } + inline LifeCycleForView& WithNextSteps(const Aws::String& value) { SetNextSteps(value); return *this;} + inline LifeCycleForView& WithNextSteps(Aws::String&& value) { SetNextSteps(std::move(value)); return *this;} + inline LifeCycleForView& WithNextSteps(const char* value) { SetNextSteps(value); return *this;} + ///@} + + ///@{ + /** + *

      Defines the approval status of the opportunity shared through a snapshot. + *

      + */ + inline const ReviewStatus& GetReviewStatus() const{ return m_reviewStatus; } + inline bool ReviewStatusHasBeenSet() const { return m_reviewStatusHasBeenSet; } + inline void SetReviewStatus(const ReviewStatus& value) { m_reviewStatusHasBeenSet = true; m_reviewStatus = value; } + inline void SetReviewStatus(ReviewStatus&& value) { m_reviewStatusHasBeenSet = true; m_reviewStatus = std::move(value); } + inline LifeCycleForView& WithReviewStatus(const ReviewStatus& value) { SetReviewStatus(value); return *this;} + inline LifeCycleForView& WithReviewStatus(ReviewStatus&& value) { SetReviewStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      Defines the current stage of the opportunity shared through a snapshot.

      + */ + inline const Stage& GetStage() const{ return m_stage; } + inline bool StageHasBeenSet() const { return m_stageHasBeenSet; } + inline void SetStage(const Stage& value) { m_stageHasBeenSet = true; m_stage = value; } + inline void SetStage(Stage&& value) { m_stageHasBeenSet = true; m_stage = std::move(value); } + inline LifeCycleForView& WithStage(const Stage& value) { SetStage(value); return *this;} + inline LifeCycleForView& WithStage(Stage&& value) { SetStage(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      The projected launch date of the opportunity shared through a snapshot.

      + */ + inline const Aws::String& GetTargetCloseDate() const{ return m_targetCloseDate; } + inline bool TargetCloseDateHasBeenSet() const { return m_targetCloseDateHasBeenSet; } + inline void SetTargetCloseDate(const Aws::String& value) { m_targetCloseDateHasBeenSet = true; m_targetCloseDate = value; } + inline void SetTargetCloseDate(Aws::String&& value) { m_targetCloseDateHasBeenSet = true; m_targetCloseDate = std::move(value); } + inline void SetTargetCloseDate(const char* value) { m_targetCloseDateHasBeenSet = true; m_targetCloseDate.assign(value); } + inline LifeCycleForView& WithTargetCloseDate(const Aws::String& value) { SetTargetCloseDate(value); return *this;} + inline LifeCycleForView& WithTargetCloseDate(Aws::String&& value) { SetTargetCloseDate(std::move(value)); return *this;} + inline LifeCycleForView& WithTargetCloseDate(const char* value) { SetTargetCloseDate(value); return *this;} + ///@} + private: + + Aws::String m_nextSteps; + bool m_nextStepsHasBeenSet = false; + + ReviewStatus m_reviewStatus; + bool m_reviewStatusHasBeenSet = false; + + Stage m_stage; + bool m_stageHasBeenSet = false; + + Aws::String m_targetCloseDate; + bool m_targetCloseDateHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/LifeCycleSummary.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/LifeCycleSummary.h index 6420495a125..38f34e50592 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/LifeCycleSummary.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/LifeCycleSummary.h @@ -27,8 +27,8 @@ namespace Model { /** - *

      An object that contains a LifeCycle object's subset of fields. - *

      See Also:

      An object that contains a LifeCycle object's subset of + * fields.

      See Also:

      AWS * API Reference

      */ @@ -46,7 +46,7 @@ namespace Model *

      Specifies the reason code when an opportunity is marked as Closed * Lost. When you select an appropriate reason code, you communicate the * context for closing the Opportunity, and aid in accurate reports - * and analysis of opportunity outcomes.

      + * and analysis of opportunity outcomes.

      */ inline const ClosedLostReason& GetClosedLostReason() const{ return m_closedLostReason; } inline bool ClosedLostReasonHasBeenSet() const { return m_closedLostReasonHasBeenSet; } @@ -60,7 +60,7 @@ namespace Model /** *

      Specifies the upcoming actions or tasks for the Opportunity. * This field is utilized to communicate to Amazon Web Services the next actions - * required for the Opportunity.

      + * required for the Opportunity.

      */ inline const Aws::String& GetNextSteps() const{ return m_nextSteps; } inline bool NextStepsHasBeenSet() const { return m_nextStepsHasBeenSet; } @@ -89,18 +89,17 @@ namespace Model ///@{ /** - *

      Indicates the review status of a partner referred opportunity. This field is - * read-only and only applicable for partner referrals. Valid values:

        - *
      • Pending Submission: Not submitted for validation (editable).

      • - *
      • Submitted: Submitted for validation and not yet Amazon Web Services - * reviewed (read-only).

      • In Review: Undergoing Amazon Web - * Services validation (read-only).

      • Action Required: Address - * any issues Amazon Web Services highlights. Use the - * UpdateOpportunity API action to update the opportunity, and ensure - * you make all required changes. Only these fields are editable when the - * Lifecycle.ReviewStatus is Action Required:

          - *
        • Customer.Account.Address.City

        • - *

          Customer.Account.Address.CountryCode

        • + *

          Indicates the review status of a partner referred opportunity. This field is + * read-only and only applicable for partner referrals. Valid values:

          • + *

            Pending Submission: Not submitted for validation (editable).

          • + *

            Submitted: Submitted for validation and not yet Amazon Web Services reviewed + * (read-only).

          • In Review: Undergoing Amazon Web Services + * validation (read-only).

          • Action Required: Address any issues + * Amazon Web Services highlights. Use the UpdateOpportunity API + * action to update the opportunity, and ensure you make all required changes. Only + * these fields are editable when the Lifecycle.ReviewStatus is + * Action Required:

            • Customer.Account.Address.City

              + *
            • Customer.Account.Address.CountryCode

            • *

              Customer.Account.Address.PostalCode

            • *

              Customer.Account.Address.StateOrRegion

            • *

              Customer.Account.Address.StreetAddress

            • @@ -108,13 +107,13 @@ namespace Model *
            • Project.ExpectedCustomerSpend.Amount

            • *

              Project.ExpectedCustomerSpend.CurrencyCode

            • *

              Project.CustomerBusinessProblem

            • - *

              PartnerOpportunityIdentifier

            After updates, the + *

            PartnerOpportunityIdentifier

          After updates, the * opportunity re-enters the validation phase. This process repeats until all * issues are resolved, and the opportunity's Lifecycle.ReviewStatus - * is set to Approved or Rejected.

        • - * Approved: Validated and converted into the Amazon Web Services seller's pipeline - * (editable).

        • Rejected: Disqualified (read-only).

        • - *
        + * is set to Approved or Rejected.

      • + *

        Approved: Validated and converted into the Amazon Web Services seller's + * pipeline (editable).

      • Rejected: Disqualified (read-only).

        + *
      */ inline const ReviewStatus& GetReviewStatus() const{ return m_reviewStatus; } inline bool ReviewStatusHasBeenSet() const { return m_reviewStatusHasBeenSet; } @@ -126,10 +125,10 @@ namespace Model ///@{ /** - *

      Indicates the reason a specific decision was taken during the opportunity + *

      Indicates the reason a specific decision was taken during the opportunity * review process. This field combines the reasons for both disqualified and action * required statuses, and provides clarity for why an opportunity was disqualified - * or required further action.

      + * or required further action.

      */ inline const Aws::String& GetReviewStatusReason() const{ return m_reviewStatusReason; } inline bool ReviewStatusReasonHasBeenSet() const { return m_reviewStatusReasonHasBeenSet; } @@ -143,27 +142,27 @@ namespace Model ///@{ /** - *

      Specifies the current stage of the Opportunity's lifecycle as - * it maps to Amazon Web Services stages from the current stage in the partner CRM. + *

      Specifies the current stage of the Opportunity's lifecycle as it + * maps to Amazon Web Services stages from the current stage in the partner CRM. * This field provides a translated value of the stage, and offers insight into the * Opportunity's progression in the sales cycle, according to Amazon - * Web Services definitions.

      A lead and a prospect must be further + * Web Services definitions.

      A lead and a prospect must be further * matured to a Qualified opportunity before submission. Opportunities * that were closed/lost before submission aren't suitable for submission.

      - *

      The descriptions of each sales stage are:

      • - * Prospect: Amazon Web Services identifies the opportunity. It can be active - * (Comes directly from the end customer through a lead) or latent (Your account - * team believes it exists based on research, account plans, sales plays).

        - *
      • Qualified: Your account team engaged with the customer to discuss - * viability and understand requirements. The customer agreed that the opportunity - * is real, of interest, and may solve business/technical needs.

      • - *

        Technical Validation: All parties understand the implementation plan.

        - *
      • Business Validation: Pricing was proposed, and all parties agree - * to the steps to close.

      • Committed: The customer signed the - * contract, but Amazon Web Services hasn't started billing.

      • - * Launched: The workload is complete, and Amazon Web Services has started billing. - *

      • Closed Lost: The opportunity is lost, and there are no steps - * to move forward.

      + *

      The descriptions of each sales stage are:

      • Prospect: + * Amazon Web Services identifies the opportunity. It can be active (Comes directly + * from the end customer through a lead) or latent (Your account team believes it + * exists based on research, account plans, sales plays).

      • + *

        Qualified: Your account team engaged with the customer to discuss viability + * and understand requirements. The customer agreed that the opportunity is real, + * of interest, and may solve business/technical needs.

      • Technical + * Validation: All parties understand the implementation plan.

      • + *

        Business Validation: Pricing was proposed, and all parties agree to the steps + * to close.

      • Committed: The customer signed the contract, but + * Amazon Web Services hasn't started billing.

      • Launched: The + * workload is complete, and Amazon Web Services has started billing.

      • + *
      • Closed Lost: The opportunity is lost, and there are no steps to move + * forward.

      */ inline const Stage& GetStage() const{ return m_stage; } inline bool StageHasBeenSet() const { return m_stageHasBeenSet; } @@ -175,11 +174,11 @@ namespace Model ///@{ /** - *

      Specifies the date when Amazon Web Services expects to start significant + *

      Specifies the date when Amazon Web Services expects to start significant * billing, when the project finishes, and when it moves into production. This * field informs the Amazon Web Services seller about when the opportunity launches - * and starts to incur Amazon Web Services usage.

      Ensure the Target - * Close Date isn't in the past.

      + * and starts to incur Amazon Web Services usage.

      Ensure the Target + * Close Date isn't in the past.

      */ inline const Aws::String& GetTargetCloseDate() const{ return m_targetCloseDate; } inline bool TargetCloseDateHasBeenSet() const { return m_targetCloseDateHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementByAcceptingInvitationTaskSummary.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementByAcceptingInvitationTaskSummary.h new file mode 100644 index 00000000000..6cda108ca27 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementByAcceptingInvitationTaskSummary.h @@ -0,0 +1,195 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

      Specifies a subset of fields associated with tasks related to accepting an + * engagement invitation.

      See Also:

      AWS + * API Reference

      + */ + class ListEngagementByAcceptingInvitationTaskSummary + { + public: + AWS_PARTNERCENTRALSELLING_API ListEngagementByAcceptingInvitationTaskSummary(); + AWS_PARTNERCENTRALSELLING_API ListEngagementByAcceptingInvitationTaskSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API ListEngagementByAcceptingInvitationTaskSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

      The unique identifier of the engagement invitation that was accepted.

      + */ + inline const Aws::String& GetEngagementInvitationId() const{ return m_engagementInvitationId; } + inline bool EngagementInvitationIdHasBeenSet() const { return m_engagementInvitationIdHasBeenSet; } + inline void SetEngagementInvitationId(const Aws::String& value) { m_engagementInvitationIdHasBeenSet = true; m_engagementInvitationId = value; } + inline void SetEngagementInvitationId(Aws::String&& value) { m_engagementInvitationIdHasBeenSet = true; m_engagementInvitationId = std::move(value); } + inline void SetEngagementInvitationId(const char* value) { m_engagementInvitationIdHasBeenSet = true; m_engagementInvitationId.assign(value); } + inline ListEngagementByAcceptingInvitationTaskSummary& WithEngagementInvitationId(const Aws::String& value) { SetEngagementInvitationId(value); return *this;} + inline ListEngagementByAcceptingInvitationTaskSummary& WithEngagementInvitationId(Aws::String&& value) { SetEngagementInvitationId(std::move(value)); return *this;} + inline ListEngagementByAcceptingInvitationTaskSummary& WithEngagementInvitationId(const char* value) { SetEngagementInvitationId(value); return *this;} + ///@} + + ///@{ + /** + *

      Detailed message describing the failure and possible recovery steps.

      + */ + inline const Aws::String& GetMessage() const{ return m_message; } + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + inline ListEngagementByAcceptingInvitationTaskSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline ListEngagementByAcceptingInvitationTaskSummary& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline ListEngagementByAcceptingInvitationTaskSummary& WithMessage(const char* value) { SetMessage(value); return *this;} + ///@} + + ///@{ + /** + *

      Unique identifier of opportunity that was created.

      + */ + inline const Aws::String& GetOpportunityId() const{ return m_opportunityId; } + inline bool OpportunityIdHasBeenSet() const { return m_opportunityIdHasBeenSet; } + inline void SetOpportunityId(const Aws::String& value) { m_opportunityIdHasBeenSet = true; m_opportunityId = value; } + inline void SetOpportunityId(Aws::String&& value) { m_opportunityIdHasBeenSet = true; m_opportunityId = std::move(value); } + inline void SetOpportunityId(const char* value) { m_opportunityIdHasBeenSet = true; m_opportunityId.assign(value); } + inline ListEngagementByAcceptingInvitationTaskSummary& WithOpportunityId(const Aws::String& value) { SetOpportunityId(value); return *this;} + inline ListEngagementByAcceptingInvitationTaskSummary& WithOpportunityId(Aws::String&& value) { SetOpportunityId(std::move(value)); return *this;} + inline ListEngagementByAcceptingInvitationTaskSummary& WithOpportunityId(const char* value) { SetOpportunityId(value); return *this;} + ///@} + + ///@{ + /** + *

      A code pointing to the specific reason for the failure.

      + */ + inline const ReasonCode& GetReasonCode() const{ return m_reasonCode; } + inline bool ReasonCodeHasBeenSet() const { return m_reasonCodeHasBeenSet; } + inline void SetReasonCode(const ReasonCode& value) { m_reasonCodeHasBeenSet = true; m_reasonCode = value; } + inline void SetReasonCode(ReasonCode&& value) { m_reasonCodeHasBeenSet = true; m_reasonCode = std::move(value); } + inline ListEngagementByAcceptingInvitationTaskSummary& WithReasonCode(const ReasonCode& value) { SetReasonCode(value); return *this;} + inline ListEngagementByAcceptingInvitationTaskSummary& WithReasonCode(ReasonCode&& value) { SetReasonCode(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      Unique identifier of the resource snapshot job that was created.

      + */ + inline const Aws::String& GetResourceSnapshotJobId() const{ return m_resourceSnapshotJobId; } + inline bool ResourceSnapshotJobIdHasBeenSet() const { return m_resourceSnapshotJobIdHasBeenSet; } + inline void SetResourceSnapshotJobId(const Aws::String& value) { m_resourceSnapshotJobIdHasBeenSet = true; m_resourceSnapshotJobId = value; } + inline void SetResourceSnapshotJobId(Aws::String&& value) { m_resourceSnapshotJobIdHasBeenSet = true; m_resourceSnapshotJobId = std::move(value); } + inline void SetResourceSnapshotJobId(const char* value) { m_resourceSnapshotJobIdHasBeenSet = true; m_resourceSnapshotJobId.assign(value); } + inline ListEngagementByAcceptingInvitationTaskSummary& WithResourceSnapshotJobId(const Aws::String& value) { SetResourceSnapshotJobId(value); return *this;} + inline ListEngagementByAcceptingInvitationTaskSummary& WithResourceSnapshotJobId(Aws::String&& value) { SetResourceSnapshotJobId(std::move(value)); return *this;} + inline ListEngagementByAcceptingInvitationTaskSummary& WithResourceSnapshotJobId(const char* value) { SetResourceSnapshotJobId(value); return *this;} + ///@} + + ///@{ + /** + *

      Task start timestamp.

      + */ + inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } + inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } + inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } + inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } + inline ListEngagementByAcceptingInvitationTaskSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} + inline ListEngagementByAcceptingInvitationTaskSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      The Amazon Resource Name (ARN) that uniquely identifies the task.

      + */ + inline const Aws::String& GetTaskArn() const{ return m_taskArn; } + inline bool TaskArnHasBeenSet() const { return m_taskArnHasBeenSet; } + inline void SetTaskArn(const Aws::String& value) { m_taskArnHasBeenSet = true; m_taskArn = value; } + inline void SetTaskArn(Aws::String&& value) { m_taskArnHasBeenSet = true; m_taskArn = std::move(value); } + inline void SetTaskArn(const char* value) { m_taskArnHasBeenSet = true; m_taskArn.assign(value); } + inline ListEngagementByAcceptingInvitationTaskSummary& WithTaskArn(const Aws::String& value) { SetTaskArn(value); return *this;} + inline ListEngagementByAcceptingInvitationTaskSummary& WithTaskArn(Aws::String&& value) { SetTaskArn(std::move(value)); return *this;} + inline ListEngagementByAcceptingInvitationTaskSummary& WithTaskArn(const char* value) { SetTaskArn(value); return *this;} + ///@} + + ///@{ + /** + *

      Unique identifier of the task.

      + */ + inline const Aws::String& GetTaskId() const{ return m_taskId; } + inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } + inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } + inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } + inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } + inline ListEngagementByAcceptingInvitationTaskSummary& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} + inline ListEngagementByAcceptingInvitationTaskSummary& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} + inline ListEngagementByAcceptingInvitationTaskSummary& WithTaskId(const char* value) { SetTaskId(value); return *this;} + ///@} + + ///@{ + /** + *

      Status of the task.

      + */ + inline const TaskStatus& GetTaskStatus() const{ return m_taskStatus; } + inline bool TaskStatusHasBeenSet() const { return m_taskStatusHasBeenSet; } + inline void SetTaskStatus(const TaskStatus& value) { m_taskStatusHasBeenSet = true; m_taskStatus = value; } + inline void SetTaskStatus(TaskStatus&& value) { m_taskStatusHasBeenSet = true; m_taskStatus = std::move(value); } + inline ListEngagementByAcceptingInvitationTaskSummary& WithTaskStatus(const TaskStatus& value) { SetTaskStatus(value); return *this;} + inline ListEngagementByAcceptingInvitationTaskSummary& WithTaskStatus(TaskStatus&& value) { SetTaskStatus(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_engagementInvitationId; + bool m_engagementInvitationIdHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + Aws::String m_opportunityId; + bool m_opportunityIdHasBeenSet = false; + + ReasonCode m_reasonCode; + bool m_reasonCodeHasBeenSet = false; + + Aws::String m_resourceSnapshotJobId; + bool m_resourceSnapshotJobIdHasBeenSet = false; + + Aws::Utils::DateTime m_startTime; + bool m_startTimeHasBeenSet = false; + + Aws::String m_taskArn; + bool m_taskArnHasBeenSet = false; + + Aws::String m_taskId; + bool m_taskIdHasBeenSet = false; + + TaskStatus m_taskStatus; + bool m_taskStatusHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementByAcceptingInvitationTasksRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementByAcceptingInvitationTasksRequest.h new file mode 100644 index 00000000000..3b262ead152 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementByAcceptingInvitationTasksRequest.h @@ -0,0 +1,188 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class ListEngagementByAcceptingInvitationTasksRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API ListEngagementByAcceptingInvitationTasksRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListEngagementByAcceptingInvitationTasks"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

      Specifies the catalog related to the request. Valid values are:

        + *
      • AWS: Retrieves the request from the production AWS environment.

        + *
      • Sandbox: Retrieves the request from a sandbox environment used + * for testing or development purposes.

      + */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline ListEngagementByAcceptingInvitationTasksRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline ListEngagementByAcceptingInvitationTasksRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline ListEngagementByAcceptingInvitationTasksRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

      Filters tasks by the identifiers of the engagement invitations they are + * processing.

      + */ + inline const Aws::Vector& GetEngagementInvitationIdentifier() const{ return m_engagementInvitationIdentifier; } + inline bool EngagementInvitationIdentifierHasBeenSet() const { return m_engagementInvitationIdentifierHasBeenSet; } + inline void SetEngagementInvitationIdentifier(const Aws::Vector& value) { m_engagementInvitationIdentifierHasBeenSet = true; m_engagementInvitationIdentifier = value; } + inline void SetEngagementInvitationIdentifier(Aws::Vector&& value) { m_engagementInvitationIdentifierHasBeenSet = true; m_engagementInvitationIdentifier = std::move(value); } + inline ListEngagementByAcceptingInvitationTasksRequest& WithEngagementInvitationIdentifier(const Aws::Vector& value) { SetEngagementInvitationIdentifier(value); return *this;} + inline ListEngagementByAcceptingInvitationTasksRequest& WithEngagementInvitationIdentifier(Aws::Vector&& value) { SetEngagementInvitationIdentifier(std::move(value)); return *this;} + inline ListEngagementByAcceptingInvitationTasksRequest& AddEngagementInvitationIdentifier(const Aws::String& value) { m_engagementInvitationIdentifierHasBeenSet = true; m_engagementInvitationIdentifier.push_back(value); return *this; } + inline ListEngagementByAcceptingInvitationTasksRequest& AddEngagementInvitationIdentifier(Aws::String&& value) { m_engagementInvitationIdentifierHasBeenSet = true; m_engagementInvitationIdentifier.push_back(std::move(value)); return *this; } + inline ListEngagementByAcceptingInvitationTasksRequest& AddEngagementInvitationIdentifier(const char* value) { m_engagementInvitationIdentifierHasBeenSet = true; m_engagementInvitationIdentifier.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

      Use this parameter to control the number of items returned in each request, + * which can be useful for performance tuning and managing large result sets.

      + */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListEngagementByAcceptingInvitationTasksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

      Use this parameter for pagination when the result set spans multiple pages. + * This value is obtained from the NextToken field in the response of a previous + * call to this API.

      + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListEngagementByAcceptingInvitationTasksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListEngagementByAcceptingInvitationTasksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListEngagementByAcceptingInvitationTasksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

      Filters tasks by the identifiers of the opportunities they created or are + * associated with.

      + */ + inline const Aws::Vector& GetOpportunityIdentifier() const{ return m_opportunityIdentifier; } + inline bool OpportunityIdentifierHasBeenSet() const { return m_opportunityIdentifierHasBeenSet; } + inline void SetOpportunityIdentifier(const Aws::Vector& value) { m_opportunityIdentifierHasBeenSet = true; m_opportunityIdentifier = value; } + inline void SetOpportunityIdentifier(Aws::Vector&& value) { m_opportunityIdentifierHasBeenSet = true; m_opportunityIdentifier = std::move(value); } + inline ListEngagementByAcceptingInvitationTasksRequest& WithOpportunityIdentifier(const Aws::Vector& value) { SetOpportunityIdentifier(value); return *this;} + inline ListEngagementByAcceptingInvitationTasksRequest& WithOpportunityIdentifier(Aws::Vector&& value) { SetOpportunityIdentifier(std::move(value)); return *this;} + inline ListEngagementByAcceptingInvitationTasksRequest& AddOpportunityIdentifier(const Aws::String& value) { m_opportunityIdentifierHasBeenSet = true; m_opportunityIdentifier.push_back(value); return *this; } + inline ListEngagementByAcceptingInvitationTasksRequest& AddOpportunityIdentifier(Aws::String&& value) { m_opportunityIdentifierHasBeenSet = true; m_opportunityIdentifier.push_back(std::move(value)); return *this; } + inline ListEngagementByAcceptingInvitationTasksRequest& AddOpportunityIdentifier(const char* value) { m_opportunityIdentifierHasBeenSet = true; m_opportunityIdentifier.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

      Specifies the sorting criteria for the returned results. This allows you to + * order the tasks based on specific attributes.

      + */ + inline const ListTasksSortBase& GetSort() const{ return m_sort; } + inline bool SortHasBeenSet() const { return m_sortHasBeenSet; } + inline void SetSort(const ListTasksSortBase& value) { m_sortHasBeenSet = true; m_sort = value; } + inline void SetSort(ListTasksSortBase&& value) { m_sortHasBeenSet = true; m_sort = std::move(value); } + inline ListEngagementByAcceptingInvitationTasksRequest& WithSort(const ListTasksSortBase& value) { SetSort(value); return *this;} + inline ListEngagementByAcceptingInvitationTasksRequest& WithSort(ListTasksSortBase&& value) { SetSort(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      Filters tasks by their unique identifiers. Use this when you want to + * retrieve information about specific tasks.

      + */ + inline const Aws::Vector& GetTaskIdentifier() const{ return m_taskIdentifier; } + inline bool TaskIdentifierHasBeenSet() const { return m_taskIdentifierHasBeenSet; } + inline void SetTaskIdentifier(const Aws::Vector& value) { m_taskIdentifierHasBeenSet = true; m_taskIdentifier = value; } + inline void SetTaskIdentifier(Aws::Vector&& value) { m_taskIdentifierHasBeenSet = true; m_taskIdentifier = std::move(value); } + inline ListEngagementByAcceptingInvitationTasksRequest& WithTaskIdentifier(const Aws::Vector& value) { SetTaskIdentifier(value); return *this;} + inline ListEngagementByAcceptingInvitationTasksRequest& WithTaskIdentifier(Aws::Vector&& value) { SetTaskIdentifier(std::move(value)); return *this;} + inline ListEngagementByAcceptingInvitationTasksRequest& AddTaskIdentifier(const Aws::String& value) { m_taskIdentifierHasBeenSet = true; m_taskIdentifier.push_back(value); return *this; } + inline ListEngagementByAcceptingInvitationTasksRequest& AddTaskIdentifier(Aws::String&& value) { m_taskIdentifierHasBeenSet = true; m_taskIdentifier.push_back(std::move(value)); return *this; } + inline ListEngagementByAcceptingInvitationTasksRequest& AddTaskIdentifier(const char* value) { m_taskIdentifierHasBeenSet = true; m_taskIdentifier.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

      Filters the tasks based on their current status. This allows you to focus on + * tasks in specific states.

      + */ + inline const Aws::Vector& GetTaskStatus() const{ return m_taskStatus; } + inline bool TaskStatusHasBeenSet() const { return m_taskStatusHasBeenSet; } + inline void SetTaskStatus(const Aws::Vector& value) { m_taskStatusHasBeenSet = true; m_taskStatus = value; } + inline void SetTaskStatus(Aws::Vector&& value) { m_taskStatusHasBeenSet = true; m_taskStatus = std::move(value); } + inline ListEngagementByAcceptingInvitationTasksRequest& WithTaskStatus(const Aws::Vector& value) { SetTaskStatus(value); return *this;} + inline ListEngagementByAcceptingInvitationTasksRequest& WithTaskStatus(Aws::Vector&& value) { SetTaskStatus(std::move(value)); return *this;} + inline ListEngagementByAcceptingInvitationTasksRequest& AddTaskStatus(const TaskStatus& value) { m_taskStatusHasBeenSet = true; m_taskStatus.push_back(value); return *this; } + inline ListEngagementByAcceptingInvitationTasksRequest& AddTaskStatus(TaskStatus&& value) { m_taskStatusHasBeenSet = true; m_taskStatus.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::Vector m_engagementInvitationIdentifier; + bool m_engagementInvitationIdentifierHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::Vector m_opportunityIdentifier; + bool m_opportunityIdentifierHasBeenSet = false; + + ListTasksSortBase m_sort; + bool m_sortHasBeenSet = false; + + Aws::Vector m_taskIdentifier; + bool m_taskIdentifierHasBeenSet = false; + + Aws::Vector m_taskStatus; + bool m_taskStatusHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementByAcceptingInvitationTasksResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementByAcceptingInvitationTasksResult.h new file mode 100644 index 00000000000..e849ede1fa5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementByAcceptingInvitationTasksResult.h @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + class ListEngagementByAcceptingInvitationTasksResult + { + public: + AWS_PARTNERCENTRALSELLING_API ListEngagementByAcceptingInvitationTasksResult(); + AWS_PARTNERCENTRALSELLING_API ListEngagementByAcceptingInvitationTasksResult(const Aws::AmazonWebServiceResult& result); + AWS_PARTNERCENTRALSELLING_API ListEngagementByAcceptingInvitationTasksResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

      A token used for pagination to retrieve the next page of results.If there + * are more results available, this field will contain a token that can be used in + * a subsequent API call to retrieve the next page. If there are no more results, + * this field will be null or an empty string.

      + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListEngagementByAcceptingInvitationTasksResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListEngagementByAcceptingInvitationTasksResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListEngagementByAcceptingInvitationTasksResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

      An array of EngagementByAcceptingInvitationTaskSummary objects, + * each representing a task that matches the specified filters. The array may be + * empty if no tasks match the criteria.

      + */ + inline const Aws::Vector& GetTaskSummaries() const{ return m_taskSummaries; } + inline void SetTaskSummaries(const Aws::Vector& value) { m_taskSummaries = value; } + inline void SetTaskSummaries(Aws::Vector&& value) { m_taskSummaries = std::move(value); } + inline ListEngagementByAcceptingInvitationTasksResult& WithTaskSummaries(const Aws::Vector& value) { SetTaskSummaries(value); return *this;} + inline ListEngagementByAcceptingInvitationTasksResult& WithTaskSummaries(Aws::Vector&& value) { SetTaskSummaries(std::move(value)); return *this;} + inline ListEngagementByAcceptingInvitationTasksResult& AddTaskSummaries(const ListEngagementByAcceptingInvitationTaskSummary& value) { m_taskSummaries.push_back(value); return *this; } + inline ListEngagementByAcceptingInvitationTasksResult& AddTaskSummaries(ListEngagementByAcceptingInvitationTaskSummary&& value) { m_taskSummaries.push_back(std::move(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 ListEngagementByAcceptingInvitationTasksResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListEngagementByAcceptingInvitationTasksResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListEngagementByAcceptingInvitationTasksResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_nextToken; + + Aws::Vector m_taskSummaries; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementFromOpportunityTaskSummary.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementFromOpportunityTaskSummary.h new file mode 100644 index 00000000000..e2315ca9765 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementFromOpportunityTaskSummary.h @@ -0,0 +1,225 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

      Provides a summary of a task related to creating an engagement from an + * opportunity. This structure contains key information about the task's status, + * associated identifiers, and any failure details.

      See Also:

      AWS + * API Reference

      + */ + class ListEngagementFromOpportunityTaskSummary + { + public: + AWS_PARTNERCENTRALSELLING_API ListEngagementFromOpportunityTaskSummary(); + AWS_PARTNERCENTRALSELLING_API ListEngagementFromOpportunityTaskSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API ListEngagementFromOpportunityTaskSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

      The unique identifier of the engagement created as a result of the task. + * This field is populated when the task is completed successfully.

      + */ + inline const Aws::String& GetEngagementId() const{ return m_engagementId; } + inline bool EngagementIdHasBeenSet() const { return m_engagementIdHasBeenSet; } + inline void SetEngagementId(const Aws::String& value) { m_engagementIdHasBeenSet = true; m_engagementId = value; } + inline void SetEngagementId(Aws::String&& value) { m_engagementIdHasBeenSet = true; m_engagementId = std::move(value); } + inline void SetEngagementId(const char* value) { m_engagementIdHasBeenSet = true; m_engagementId.assign(value); } + inline ListEngagementFromOpportunityTaskSummary& WithEngagementId(const Aws::String& value) { SetEngagementId(value); return *this;} + inline ListEngagementFromOpportunityTaskSummary& WithEngagementId(Aws::String&& value) { SetEngagementId(std::move(value)); return *this;} + inline ListEngagementFromOpportunityTaskSummary& WithEngagementId(const char* value) { SetEngagementId(value); return *this;} + ///@} + + ///@{ + /** + *

      The unique identifier of the engagement identifier created as a result of + * the task. This field is populated when the task is completed successfully.

      + */ + inline const Aws::String& GetEngagementInvitationId() const{ return m_engagementInvitationId; } + inline bool EngagementInvitationIdHasBeenSet() const { return m_engagementInvitationIdHasBeenSet; } + inline void SetEngagementInvitationId(const Aws::String& value) { m_engagementInvitationIdHasBeenSet = true; m_engagementInvitationId = value; } + inline void SetEngagementInvitationId(Aws::String&& value) { m_engagementInvitationIdHasBeenSet = true; m_engagementInvitationId = std::move(value); } + inline void SetEngagementInvitationId(const char* value) { m_engagementInvitationIdHasBeenSet = true; m_engagementInvitationId.assign(value); } + inline ListEngagementFromOpportunityTaskSummary& WithEngagementInvitationId(const Aws::String& value) { SetEngagementInvitationId(value); return *this;} + inline ListEngagementFromOpportunityTaskSummary& WithEngagementInvitationId(Aws::String&& value) { SetEngagementInvitationId(std::move(value)); return *this;} + inline ListEngagementFromOpportunityTaskSummary& WithEngagementInvitationId(const char* value) { SetEngagementInvitationId(value); return *this;} + ///@} + + ///@{ + /** + *

      A detailed message providing additional information about the task, + * especially useful in case of failures. This field may contain error details or + * other relevant information about the task's execution

      + */ + inline const Aws::String& GetMessage() const{ return m_message; } + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + inline ListEngagementFromOpportunityTaskSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline ListEngagementFromOpportunityTaskSummary& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline ListEngagementFromOpportunityTaskSummary& WithMessage(const char* value) { SetMessage(value); return *this;} + ///@} + + ///@{ + /** + *

      The unique identifier of the original Opportunity from which the Engagement + * is being created. This field helps track the source of the Engagement creation + * task.

      + */ + inline const Aws::String& GetOpportunityId() const{ return m_opportunityId; } + inline bool OpportunityIdHasBeenSet() const { return m_opportunityIdHasBeenSet; } + inline void SetOpportunityId(const Aws::String& value) { m_opportunityIdHasBeenSet = true; m_opportunityId = value; } + inline void SetOpportunityId(Aws::String&& value) { m_opportunityIdHasBeenSet = true; m_opportunityId = std::move(value); } + inline void SetOpportunityId(const char* value) { m_opportunityIdHasBeenSet = true; m_opportunityId.assign(value); } + inline ListEngagementFromOpportunityTaskSummary& WithOpportunityId(const Aws::String& value) { SetOpportunityId(value); return *this;} + inline ListEngagementFromOpportunityTaskSummary& WithOpportunityId(Aws::String&& value) { SetOpportunityId(std::move(value)); return *this;} + inline ListEngagementFromOpportunityTaskSummary& WithOpportunityId(const char* value) { SetOpportunityId(value); return *this;} + ///@} + + ///@{ + /** + *

      A code indicating the specific reason for a task failure. This field is + * populated when the task status is FAILED and provides a categorized reason for + * the failure.

      + */ + inline const ReasonCode& GetReasonCode() const{ return m_reasonCode; } + inline bool ReasonCodeHasBeenSet() const { return m_reasonCodeHasBeenSet; } + inline void SetReasonCode(const ReasonCode& value) { m_reasonCodeHasBeenSet = true; m_reasonCode = value; } + inline void SetReasonCode(ReasonCode&& value) { m_reasonCodeHasBeenSet = true; m_reasonCode = std::move(value); } + inline ListEngagementFromOpportunityTaskSummary& WithReasonCode(const ReasonCode& value) { SetReasonCode(value); return *this;} + inline ListEngagementFromOpportunityTaskSummary& WithReasonCode(ReasonCode&& value) { SetReasonCode(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      The identifier of the resource snapshot job associated with this task, if a + * snapshot was created as part of the Engagement creation process.

      + */ + inline const Aws::String& GetResourceSnapshotJobId() const{ return m_resourceSnapshotJobId; } + inline bool ResourceSnapshotJobIdHasBeenSet() const { return m_resourceSnapshotJobIdHasBeenSet; } + inline void SetResourceSnapshotJobId(const Aws::String& value) { m_resourceSnapshotJobIdHasBeenSet = true; m_resourceSnapshotJobId = value; } + inline void SetResourceSnapshotJobId(Aws::String&& value) { m_resourceSnapshotJobIdHasBeenSet = true; m_resourceSnapshotJobId = std::move(value); } + inline void SetResourceSnapshotJobId(const char* value) { m_resourceSnapshotJobIdHasBeenSet = true; m_resourceSnapshotJobId.assign(value); } + inline ListEngagementFromOpportunityTaskSummary& WithResourceSnapshotJobId(const Aws::String& value) { SetResourceSnapshotJobId(value); return *this;} + inline ListEngagementFromOpportunityTaskSummary& WithResourceSnapshotJobId(Aws::String&& value) { SetResourceSnapshotJobId(std::move(value)); return *this;} + inline ListEngagementFromOpportunityTaskSummary& WithResourceSnapshotJobId(const char* value) { SetResourceSnapshotJobId(value); return *this;} + ///@} + + ///@{ + /** + *

      The timestamp indicating when the task was initiated, in RFC 3339 5.6 + * date-time format.

      + */ + inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } + inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } + inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } + inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } + inline ListEngagementFromOpportunityTaskSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} + inline ListEngagementFromOpportunityTaskSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      The Amazon Resource Name (ARN) uniquely identifying this task within AWS. + * This ARN can be used for referencing the task in other AWS services or APIs. + *

      + */ + inline const Aws::String& GetTaskArn() const{ return m_taskArn; } + inline bool TaskArnHasBeenSet() const { return m_taskArnHasBeenSet; } + inline void SetTaskArn(const Aws::String& value) { m_taskArnHasBeenSet = true; m_taskArn = value; } + inline void SetTaskArn(Aws::String&& value) { m_taskArnHasBeenSet = true; m_taskArn = std::move(value); } + inline void SetTaskArn(const char* value) { m_taskArnHasBeenSet = true; m_taskArn.assign(value); } + inline ListEngagementFromOpportunityTaskSummary& WithTaskArn(const Aws::String& value) { SetTaskArn(value); return *this;} + inline ListEngagementFromOpportunityTaskSummary& WithTaskArn(Aws::String&& value) { SetTaskArn(std::move(value)); return *this;} + inline ListEngagementFromOpportunityTaskSummary& WithTaskArn(const char* value) { SetTaskArn(value); return *this;} + ///@} + + ///@{ + /** + *

      A unique identifier for a specific task.

      + */ + inline const Aws::String& GetTaskId() const{ return m_taskId; } + inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } + inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } + inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } + inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } + inline ListEngagementFromOpportunityTaskSummary& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} + inline ListEngagementFromOpportunityTaskSummary& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} + inline ListEngagementFromOpportunityTaskSummary& WithTaskId(const char* value) { SetTaskId(value); return *this;} + ///@} + + ///@{ + /** + *

      The current status of the task.

      + */ + inline const TaskStatus& GetTaskStatus() const{ return m_taskStatus; } + inline bool TaskStatusHasBeenSet() const { return m_taskStatusHasBeenSet; } + inline void SetTaskStatus(const TaskStatus& value) { m_taskStatusHasBeenSet = true; m_taskStatus = value; } + inline void SetTaskStatus(TaskStatus&& value) { m_taskStatusHasBeenSet = true; m_taskStatus = std::move(value); } + inline ListEngagementFromOpportunityTaskSummary& WithTaskStatus(const TaskStatus& value) { SetTaskStatus(value); return *this;} + inline ListEngagementFromOpportunityTaskSummary& WithTaskStatus(TaskStatus&& value) { SetTaskStatus(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_engagementId; + bool m_engagementIdHasBeenSet = false; + + Aws::String m_engagementInvitationId; + bool m_engagementInvitationIdHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + Aws::String m_opportunityId; + bool m_opportunityIdHasBeenSet = false; + + ReasonCode m_reasonCode; + bool m_reasonCodeHasBeenSet = false; + + Aws::String m_resourceSnapshotJobId; + bool m_resourceSnapshotJobIdHasBeenSet = false; + + Aws::Utils::DateTime m_startTime; + bool m_startTimeHasBeenSet = false; + + Aws::String m_taskArn; + bool m_taskArnHasBeenSet = false; + + Aws::String m_taskId; + bool m_taskIdHasBeenSet = false; + + TaskStatus m_taskStatus; + bool m_taskStatusHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementFromOpportunityTasksRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementFromOpportunityTasksRequest.h new file mode 100644 index 00000000000..995010d19b9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementFromOpportunityTasksRequest.h @@ -0,0 +1,189 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class ListEngagementFromOpportunityTasksRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API ListEngagementFromOpportunityTasksRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListEngagementFromOpportunityTasks"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

      Specifies the catalog related to the request. Valid values are:

        + *
      • AWS: Retrieves the request from the production AWS environment.

        + *
      • Sandbox: Retrieves the request from a sandbox environment used + * for testing or development purposes.

      + */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline ListEngagementFromOpportunityTasksRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline ListEngagementFromOpportunityTasksRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline ListEngagementFromOpportunityTasksRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

      Filters tasks by the identifiers of the engagements they created or are + * associated with.

      + */ + inline const Aws::Vector& GetEngagementIdentifier() const{ return m_engagementIdentifier; } + inline bool EngagementIdentifierHasBeenSet() const { return m_engagementIdentifierHasBeenSet; } + inline void SetEngagementIdentifier(const Aws::Vector& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = value; } + inline void SetEngagementIdentifier(Aws::Vector&& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = std::move(value); } + inline ListEngagementFromOpportunityTasksRequest& WithEngagementIdentifier(const Aws::Vector& value) { SetEngagementIdentifier(value); return *this;} + inline ListEngagementFromOpportunityTasksRequest& WithEngagementIdentifier(Aws::Vector&& value) { SetEngagementIdentifier(std::move(value)); return *this;} + inline ListEngagementFromOpportunityTasksRequest& AddEngagementIdentifier(const Aws::String& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier.push_back(value); return *this; } + inline ListEngagementFromOpportunityTasksRequest& AddEngagementIdentifier(Aws::String&& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier.push_back(std::move(value)); return *this; } + inline ListEngagementFromOpportunityTasksRequest& AddEngagementIdentifier(const char* value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

      Specifies the maximum number of results to return in a single page of the + * response.Use this parameter to control the number of items returned in each + * request, which can be useful for performance tuning and managing large result + * sets.

      + */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListEngagementFromOpportunityTasksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

      The token for requesting the next page of results. This value is obtained + * from the NextToken field in the response of a previous call to this API. Use + * this parameter for pagination when the result set spans multiple pages.

      + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListEngagementFromOpportunityTasksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListEngagementFromOpportunityTasksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListEngagementFromOpportunityTasksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

      The identifier of the original opportunity associated with this task.

      + */ + inline const Aws::Vector& GetOpportunityIdentifier() const{ return m_opportunityIdentifier; } + inline bool OpportunityIdentifierHasBeenSet() const { return m_opportunityIdentifierHasBeenSet; } + inline void SetOpportunityIdentifier(const Aws::Vector& value) { m_opportunityIdentifierHasBeenSet = true; m_opportunityIdentifier = value; } + inline void SetOpportunityIdentifier(Aws::Vector&& value) { m_opportunityIdentifierHasBeenSet = true; m_opportunityIdentifier = std::move(value); } + inline ListEngagementFromOpportunityTasksRequest& WithOpportunityIdentifier(const Aws::Vector& value) { SetOpportunityIdentifier(value); return *this;} + inline ListEngagementFromOpportunityTasksRequest& WithOpportunityIdentifier(Aws::Vector&& value) { SetOpportunityIdentifier(std::move(value)); return *this;} + inline ListEngagementFromOpportunityTasksRequest& AddOpportunityIdentifier(const Aws::String& value) { m_opportunityIdentifierHasBeenSet = true; m_opportunityIdentifier.push_back(value); return *this; } + inline ListEngagementFromOpportunityTasksRequest& AddOpportunityIdentifier(Aws::String&& value) { m_opportunityIdentifierHasBeenSet = true; m_opportunityIdentifier.push_back(std::move(value)); return *this; } + inline ListEngagementFromOpportunityTasksRequest& AddOpportunityIdentifier(const char* value) { m_opportunityIdentifierHasBeenSet = true; m_opportunityIdentifier.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

      Specifies the sorting criteria for the returned results. This allows you to + * order the tasks based on specific attributes.

      + */ + inline const ListTasksSortBase& GetSort() const{ return m_sort; } + inline bool SortHasBeenSet() const { return m_sortHasBeenSet; } + inline void SetSort(const ListTasksSortBase& value) { m_sortHasBeenSet = true; m_sort = value; } + inline void SetSort(ListTasksSortBase&& value) { m_sortHasBeenSet = true; m_sort = std::move(value); } + inline ListEngagementFromOpportunityTasksRequest& WithSort(const ListTasksSortBase& value) { SetSort(value); return *this;} + inline ListEngagementFromOpportunityTasksRequest& WithSort(ListTasksSortBase&& value) { SetSort(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      Filters tasks by their unique identifiers. Use this when you want to + * retrieve information about specific tasks.

      + */ + inline const Aws::Vector& GetTaskIdentifier() const{ return m_taskIdentifier; } + inline bool TaskIdentifierHasBeenSet() const { return m_taskIdentifierHasBeenSet; } + inline void SetTaskIdentifier(const Aws::Vector& value) { m_taskIdentifierHasBeenSet = true; m_taskIdentifier = value; } + inline void SetTaskIdentifier(Aws::Vector&& value) { m_taskIdentifierHasBeenSet = true; m_taskIdentifier = std::move(value); } + inline ListEngagementFromOpportunityTasksRequest& WithTaskIdentifier(const Aws::Vector& value) { SetTaskIdentifier(value); return *this;} + inline ListEngagementFromOpportunityTasksRequest& WithTaskIdentifier(Aws::Vector&& value) { SetTaskIdentifier(std::move(value)); return *this;} + inline ListEngagementFromOpportunityTasksRequest& AddTaskIdentifier(const Aws::String& value) { m_taskIdentifierHasBeenSet = true; m_taskIdentifier.push_back(value); return *this; } + inline ListEngagementFromOpportunityTasksRequest& AddTaskIdentifier(Aws::String&& value) { m_taskIdentifierHasBeenSet = true; m_taskIdentifier.push_back(std::move(value)); return *this; } + inline ListEngagementFromOpportunityTasksRequest& AddTaskIdentifier(const char* value) { m_taskIdentifierHasBeenSet = true; m_taskIdentifier.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

      Filters the tasks based on their current status. This allows you to focus on + * tasks in specific states.

      + */ + inline const Aws::Vector& GetTaskStatus() const{ return m_taskStatus; } + inline bool TaskStatusHasBeenSet() const { return m_taskStatusHasBeenSet; } + inline void SetTaskStatus(const Aws::Vector& value) { m_taskStatusHasBeenSet = true; m_taskStatus = value; } + inline void SetTaskStatus(Aws::Vector&& value) { m_taskStatusHasBeenSet = true; m_taskStatus = std::move(value); } + inline ListEngagementFromOpportunityTasksRequest& WithTaskStatus(const Aws::Vector& value) { SetTaskStatus(value); return *this;} + inline ListEngagementFromOpportunityTasksRequest& WithTaskStatus(Aws::Vector&& value) { SetTaskStatus(std::move(value)); return *this;} + inline ListEngagementFromOpportunityTasksRequest& AddTaskStatus(const TaskStatus& value) { m_taskStatusHasBeenSet = true; m_taskStatus.push_back(value); return *this; } + inline ListEngagementFromOpportunityTasksRequest& AddTaskStatus(TaskStatus&& value) { m_taskStatusHasBeenSet = true; m_taskStatus.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::Vector m_engagementIdentifier; + bool m_engagementIdentifierHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::Vector m_opportunityIdentifier; + bool m_opportunityIdentifierHasBeenSet = false; + + ListTasksSortBase m_sort; + bool m_sortHasBeenSet = false; + + Aws::Vector m_taskIdentifier; + bool m_taskIdentifierHasBeenSet = false; + + Aws::Vector m_taskStatus; + bool m_taskStatusHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementFromOpportunityTasksResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementFromOpportunityTasksResult.h new file mode 100644 index 00000000000..a309de42b08 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementFromOpportunityTasksResult.h @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + class ListEngagementFromOpportunityTasksResult + { + public: + AWS_PARTNERCENTRALSELLING_API ListEngagementFromOpportunityTasksResult(); + AWS_PARTNERCENTRALSELLING_API ListEngagementFromOpportunityTasksResult(const Aws::AmazonWebServiceResult& result); + AWS_PARTNERCENTRALSELLING_API ListEngagementFromOpportunityTasksResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

      A token used for pagination to retrieve the next page of results. If there + * are more results available, this field will contain a token that can be used in + * a subsequent API call to retrieve the next page. If there are no more results, + * this field will be null or an empty string.

      + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListEngagementFromOpportunityTasksResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListEngagementFromOpportunityTasksResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListEngagementFromOpportunityTasksResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

      TaskSummaries An array of TaskSummary objects containing details about each + * task.

      + */ + inline const Aws::Vector& GetTaskSummaries() const{ return m_taskSummaries; } + inline void SetTaskSummaries(const Aws::Vector& value) { m_taskSummaries = value; } + inline void SetTaskSummaries(Aws::Vector&& value) { m_taskSummaries = std::move(value); } + inline ListEngagementFromOpportunityTasksResult& WithTaskSummaries(const Aws::Vector& value) { SetTaskSummaries(value); return *this;} + inline ListEngagementFromOpportunityTasksResult& WithTaskSummaries(Aws::Vector&& value) { SetTaskSummaries(std::move(value)); return *this;} + inline ListEngagementFromOpportunityTasksResult& AddTaskSummaries(const ListEngagementFromOpportunityTaskSummary& value) { m_taskSummaries.push_back(value); return *this; } + inline ListEngagementFromOpportunityTasksResult& AddTaskSummaries(ListEngagementFromOpportunityTaskSummary&& value) { m_taskSummaries.push_back(std::move(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 ListEngagementFromOpportunityTasksResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListEngagementFromOpportunityTasksResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListEngagementFromOpportunityTasksResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_nextToken; + + Aws::Vector m_taskSummaries; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementInvitationsRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementInvitationsRequest.h index f49a78deec6..ba0f978f683 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementInvitationsRequest.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementInvitationsRequest.h @@ -7,10 +7,11 @@ #include #include #include -#include #include +#include #include #include +#include #include namespace Aws @@ -54,6 +55,25 @@ namespace Model inline ListEngagementInvitationsRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} ///@} + ///@{ + /** + *

      Retrieves a list of engagement invitation summaries based on specified + * filters. The ListEngagementInvitations operation allows you to view all + * invitations that you have sent or received. You must specify the ParticipantType + * to filter invitations where you are either the SENDER or the RECEIVER. + * Invitations will automatically expire if not accepted within 15 days.

      + */ + inline const Aws::Vector& GetEngagementIdentifier() const{ return m_engagementIdentifier; } + inline bool EngagementIdentifierHasBeenSet() const { return m_engagementIdentifierHasBeenSet; } + inline void SetEngagementIdentifier(const Aws::Vector& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = value; } + inline void SetEngagementIdentifier(Aws::Vector&& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = std::move(value); } + inline ListEngagementInvitationsRequest& WithEngagementIdentifier(const Aws::Vector& value) { SetEngagementIdentifier(value); return *this;} + inline ListEngagementInvitationsRequest& WithEngagementIdentifier(Aws::Vector&& value) { SetEngagementIdentifier(std::move(value)); return *this;} + inline ListEngagementInvitationsRequest& AddEngagementIdentifier(const Aws::String& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier.push_back(value); return *this; } + inline ListEngagementInvitationsRequest& AddEngagementIdentifier(Aws::String&& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier.push_back(std::move(value)); return *this; } + inline ListEngagementInvitationsRequest& AddEngagementIdentifier(const char* value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier.push_back(value); return *this; } + ///@} + ///@{ /** *

      Specifies the maximum number of engagement invitations to return in the @@ -111,6 +131,21 @@ namespace Model inline ListEngagementInvitationsRequest& AddPayloadType(EngagementInvitationPayloadType&& value) { m_payloadTypeHasBeenSet = true; m_payloadType.push_back(std::move(value)); return *this; } ///@} + ///@{ + /** + *

      List of sender AWS account IDs to filter the invitations.

      + */ + inline const Aws::Vector& GetSenderAwsAccountId() const{ return m_senderAwsAccountId; } + inline bool SenderAwsAccountIdHasBeenSet() const { return m_senderAwsAccountIdHasBeenSet; } + inline void SetSenderAwsAccountId(const Aws::Vector& value) { m_senderAwsAccountIdHasBeenSet = true; m_senderAwsAccountId = value; } + inline void SetSenderAwsAccountId(Aws::Vector&& value) { m_senderAwsAccountIdHasBeenSet = true; m_senderAwsAccountId = std::move(value); } + inline ListEngagementInvitationsRequest& WithSenderAwsAccountId(const Aws::Vector& value) { SetSenderAwsAccountId(value); return *this;} + inline ListEngagementInvitationsRequest& WithSenderAwsAccountId(Aws::Vector&& value) { SetSenderAwsAccountId(std::move(value)); return *this;} + inline ListEngagementInvitationsRequest& AddSenderAwsAccountId(const Aws::String& value) { m_senderAwsAccountIdHasBeenSet = true; m_senderAwsAccountId.push_back(value); return *this; } + inline ListEngagementInvitationsRequest& AddSenderAwsAccountId(Aws::String&& value) { m_senderAwsAccountIdHasBeenSet = true; m_senderAwsAccountId.push_back(std::move(value)); return *this; } + inline ListEngagementInvitationsRequest& AddSenderAwsAccountId(const char* value) { m_senderAwsAccountIdHasBeenSet = true; m_senderAwsAccountId.push_back(value); return *this; } + ///@} + ///@{ /** *

      Specifies the sorting options for listing engagement invitations. Invitations @@ -124,11 +159,28 @@ namespace Model inline ListEngagementInvitationsRequest& WithSort(const OpportunityEngagementInvitationSort& value) { SetSort(value); return *this;} inline ListEngagementInvitationsRequest& WithSort(OpportunityEngagementInvitationSort&& value) { SetSort(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

      Status values to filter the invitations.

      + */ + inline const Aws::Vector& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const Aws::Vector& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(Aws::Vector&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline ListEngagementInvitationsRequest& WithStatus(const Aws::Vector& value) { SetStatus(value); return *this;} + inline ListEngagementInvitationsRequest& WithStatus(Aws::Vector&& value) { SetStatus(std::move(value)); return *this;} + inline ListEngagementInvitationsRequest& AddStatus(const InvitationStatus& value) { m_statusHasBeenSet = true; m_status.push_back(value); return *this; } + inline ListEngagementInvitationsRequest& AddStatus(InvitationStatus&& value) { m_statusHasBeenSet = true; m_status.push_back(std::move(value)); return *this; } + ///@} private: Aws::String m_catalog; bool m_catalogHasBeenSet = false; + Aws::Vector m_engagementIdentifier; + bool m_engagementIdentifierHasBeenSet = false; + int m_maxResults; bool m_maxResultsHasBeenSet = false; @@ -141,8 +193,14 @@ namespace Model Aws::Vector m_payloadType; bool m_payloadTypeHasBeenSet = false; + Aws::Vector m_senderAwsAccountId; + bool m_senderAwsAccountIdHasBeenSet = false; + OpportunityEngagementInvitationSort m_sort; bool m_sortHasBeenSet = false; + + Aws::Vector m_status; + bool m_statusHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementMembersRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementMembersRequest.h new file mode 100644 index 00000000000..df2be3db1a9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementMembersRequest.h @@ -0,0 +1,105 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class ListEngagementMembersRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API ListEngagementMembersRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListEngagementMembers"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

      The catalog related to the request.

      + */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline ListEngagementMembersRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline ListEngagementMembersRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline ListEngagementMembersRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

      Identifier of the engagement record to retrieve members from.

      + */ + inline const Aws::String& GetIdentifier() const{ return m_identifier; } + inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } + inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } + inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } + inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } + inline ListEngagementMembersRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} + inline ListEngagementMembersRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} + inline ListEngagementMembersRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

      The maximum number of results to return in a single call.

      + */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListEngagementMembersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

      The token for the next set of results.

      + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListEngagementMembersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListEngagementMembersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListEngagementMembersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::String m_identifier; + bool m_identifierHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementMembersResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementMembersResult.h new file mode 100644 index 00000000000..c61da3942a0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementMembersResult.h @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + class ListEngagementMembersResult + { + public: + AWS_PARTNERCENTRALSELLING_API ListEngagementMembersResult(); + AWS_PARTNERCENTRALSELLING_API ListEngagementMembersResult(const Aws::AmazonWebServiceResult& result); + AWS_PARTNERCENTRALSELLING_API ListEngagementMembersResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

      Provides a list of engagement members.

      + */ + inline const Aws::Vector& GetEngagementMemberList() const{ return m_engagementMemberList; } + inline void SetEngagementMemberList(const Aws::Vector& value) { m_engagementMemberList = value; } + inline void SetEngagementMemberList(Aws::Vector&& value) { m_engagementMemberList = std::move(value); } + inline ListEngagementMembersResult& WithEngagementMemberList(const Aws::Vector& value) { SetEngagementMemberList(value); return *this;} + inline ListEngagementMembersResult& WithEngagementMemberList(Aws::Vector&& value) { SetEngagementMemberList(std::move(value)); return *this;} + inline ListEngagementMembersResult& AddEngagementMemberList(const EngagementMember& value) { m_engagementMemberList.push_back(value); return *this; } + inline ListEngagementMembersResult& AddEngagementMemberList(EngagementMember&& value) { m_engagementMemberList.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

      A pagination token used to retrieve the next set of results. If there are + * more results available than can be returned in a single response, this token + * will be present. Use this token in a subsequent request to retrieve the next + * page of results. If there are no more results, this value will be null.

      + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListEngagementMembersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListEngagementMembersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListEngagementMembersResult& WithNextToken(const char* value) { SetNextToken(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 ListEngagementMembersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListEngagementMembersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListEngagementMembersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_engagementMemberList; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementResourceAssociationsRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementResourceAssociationsRequest.h new file mode 100644 index 00000000000..2e458a463f1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementResourceAssociationsRequest.h @@ -0,0 +1,165 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class ListEngagementResourceAssociationsRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API ListEngagementResourceAssociationsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListEngagementResourceAssociations"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

      Specifies the catalog in which to search for engagement-resource + * associations.

      + */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline ListEngagementResourceAssociationsRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline ListEngagementResourceAssociationsRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline ListEngagementResourceAssociationsRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

      Filters the results to include only associations with resources owned by the + * specified AWS account. Use this when you want to find associations related to + * resources owned by a particular account.

      + */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline ListEngagementResourceAssociationsRequest& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline ListEngagementResourceAssociationsRequest& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline ListEngagementResourceAssociationsRequest& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

      Filters the results to include only associations related to the specified + * engagement. Use this when you want to find all resources associated with a + * specific engagement.

      + */ + inline const Aws::String& GetEngagementIdentifier() const{ return m_engagementIdentifier; } + inline bool EngagementIdentifierHasBeenSet() const { return m_engagementIdentifierHasBeenSet; } + inline void SetEngagementIdentifier(const Aws::String& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = value; } + inline void SetEngagementIdentifier(Aws::String&& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = std::move(value); } + inline void SetEngagementIdentifier(const char* value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier.assign(value); } + inline ListEngagementResourceAssociationsRequest& WithEngagementIdentifier(const Aws::String& value) { SetEngagementIdentifier(value); return *this;} + inline ListEngagementResourceAssociationsRequest& WithEngagementIdentifier(Aws::String&& value) { SetEngagementIdentifier(std::move(value)); return *this;} + inline ListEngagementResourceAssociationsRequest& WithEngagementIdentifier(const char* value) { SetEngagementIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

      Limits the number of results returned in a single call. Use this to control + * the number of results returned, especially useful for pagination.

      + */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListEngagementResourceAssociationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

      A token used for pagination of results. Include this token in subsequent + * requests to retrieve the next set of results.

      + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListEngagementResourceAssociationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListEngagementResourceAssociationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListEngagementResourceAssociationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

      Filters the results to include only associations with the specified + * resource. Varies depending on the resource type. Use this when you want to find + * all engagements associated with a specific resource.

      + */ + inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } + inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; } + inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; } + inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); } + inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); } + inline ListEngagementResourceAssociationsRequest& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;} + inline ListEngagementResourceAssociationsRequest& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;} + inline ListEngagementResourceAssociationsRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

      Filters the results to include only associations with resources of the + * specified type.

      + */ + inline const ResourceType& GetResourceType() const{ return m_resourceType; } + inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } + inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } + inline ListEngagementResourceAssociationsRequest& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} + inline ListEngagementResourceAssociationsRequest& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::String m_engagementIdentifier; + bool m_engagementIdentifierHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_resourceIdentifier; + bool m_resourceIdentifierHasBeenSet = false; + + ResourceType m_resourceType; + bool m_resourceTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementResourceAssociationsResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementResourceAssociationsResult.h new file mode 100644 index 00000000000..9d53d01126d --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementResourceAssociationsResult.h @@ -0,0 +1,85 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + class ListEngagementResourceAssociationsResult + { + public: + AWS_PARTNERCENTRALSELLING_API ListEngagementResourceAssociationsResult(); + AWS_PARTNERCENTRALSELLING_API ListEngagementResourceAssociationsResult(const Aws::AmazonWebServiceResult& result); + AWS_PARTNERCENTRALSELLING_API ListEngagementResourceAssociationsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

      A list of engagement-resource association summaries.

      + */ + inline const Aws::Vector& GetEngagementResourceAssociationSummaries() const{ return m_engagementResourceAssociationSummaries; } + inline void SetEngagementResourceAssociationSummaries(const Aws::Vector& value) { m_engagementResourceAssociationSummaries = value; } + inline void SetEngagementResourceAssociationSummaries(Aws::Vector&& value) { m_engagementResourceAssociationSummaries = std::move(value); } + inline ListEngagementResourceAssociationsResult& WithEngagementResourceAssociationSummaries(const Aws::Vector& value) { SetEngagementResourceAssociationSummaries(value); return *this;} + inline ListEngagementResourceAssociationsResult& WithEngagementResourceAssociationSummaries(Aws::Vector&& value) { SetEngagementResourceAssociationSummaries(std::move(value)); return *this;} + inline ListEngagementResourceAssociationsResult& AddEngagementResourceAssociationSummaries(const EngagementResourceAssociationSummary& value) { m_engagementResourceAssociationSummaries.push_back(value); return *this; } + inline ListEngagementResourceAssociationsResult& AddEngagementResourceAssociationSummaries(EngagementResourceAssociationSummary&& value) { m_engagementResourceAssociationSummaries.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

      A token to retrieve the next set of results. Use this token in a subsequent + * request to retrieve additional results if the response was truncated.

      + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListEngagementResourceAssociationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListEngagementResourceAssociationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListEngagementResourceAssociationsResult& WithNextToken(const char* value) { SetNextToken(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 ListEngagementResourceAssociationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListEngagementResourceAssociationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListEngagementResourceAssociationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_engagementResourceAssociationSummaries; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementsRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementsRequest.h new file mode 100644 index 00000000000..48cc0f6d850 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementsRequest.h @@ -0,0 +1,163 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class ListEngagementsRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API ListEngagementsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListEngagements"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

      Specifies the catalog related to the request.

      + */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline ListEngagementsRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline ListEngagementsRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline ListEngagementsRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

      A list of AWS account IDs. When specified, the response includes engagements + * created by these accounts. This filter is useful for finding engagements created + * by specific team members.

      + */ + inline const Aws::Vector& GetCreatedBy() const{ return m_createdBy; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::Vector& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::Vector&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline ListEngagementsRequest& WithCreatedBy(const Aws::Vector& value) { SetCreatedBy(value); return *this;} + inline ListEngagementsRequest& WithCreatedBy(Aws::Vector&& value) { SetCreatedBy(std::move(value)); return *this;} + inline ListEngagementsRequest& AddCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy.push_back(value); return *this; } + inline ListEngagementsRequest& AddCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy.push_back(std::move(value)); return *this; } + inline ListEngagementsRequest& AddCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

      An array of strings representing engagement identifiers to retrieve.

      + */ + inline const Aws::Vector& GetEngagementIdentifier() const{ return m_engagementIdentifier; } + inline bool EngagementIdentifierHasBeenSet() const { return m_engagementIdentifierHasBeenSet; } + inline void SetEngagementIdentifier(const Aws::Vector& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = value; } + inline void SetEngagementIdentifier(Aws::Vector&& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = std::move(value); } + inline ListEngagementsRequest& WithEngagementIdentifier(const Aws::Vector& value) { SetEngagementIdentifier(value); return *this;} + inline ListEngagementsRequest& WithEngagementIdentifier(Aws::Vector&& value) { SetEngagementIdentifier(std::move(value)); return *this;} + inline ListEngagementsRequest& AddEngagementIdentifier(const Aws::String& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier.push_back(value); return *this; } + inline ListEngagementsRequest& AddEngagementIdentifier(Aws::String&& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier.push_back(std::move(value)); return *this; } + inline ListEngagementsRequest& AddEngagementIdentifier(const char* value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

      An array of strings representing AWS Account IDs. Use this to exclude + * engagements created by specific users.

      + */ + inline const Aws::Vector& GetExcludeCreatedBy() const{ return m_excludeCreatedBy; } + inline bool ExcludeCreatedByHasBeenSet() const { return m_excludeCreatedByHasBeenSet; } + inline void SetExcludeCreatedBy(const Aws::Vector& value) { m_excludeCreatedByHasBeenSet = true; m_excludeCreatedBy = value; } + inline void SetExcludeCreatedBy(Aws::Vector&& value) { m_excludeCreatedByHasBeenSet = true; m_excludeCreatedBy = std::move(value); } + inline ListEngagementsRequest& WithExcludeCreatedBy(const Aws::Vector& value) { SetExcludeCreatedBy(value); return *this;} + inline ListEngagementsRequest& WithExcludeCreatedBy(Aws::Vector&& value) { SetExcludeCreatedBy(std::move(value)); return *this;} + inline ListEngagementsRequest& AddExcludeCreatedBy(const Aws::String& value) { m_excludeCreatedByHasBeenSet = true; m_excludeCreatedBy.push_back(value); return *this; } + inline ListEngagementsRequest& AddExcludeCreatedBy(Aws::String&& value) { m_excludeCreatedByHasBeenSet = true; m_excludeCreatedBy.push_back(std::move(value)); return *this; } + inline ListEngagementsRequest& AddExcludeCreatedBy(const char* value) { m_excludeCreatedByHasBeenSet = true; m_excludeCreatedBy.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

      The maximum number of results to return in a single call.

      + */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListEngagementsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

      The token for the next set of results. This value is returned from a + * previous call.

      + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListEngagementsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListEngagementsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListEngagementsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

      An object that specifies the sort order of the results.

      + */ + inline const EngagementSort& GetSort() const{ return m_sort; } + inline bool SortHasBeenSet() const { return m_sortHasBeenSet; } + inline void SetSort(const EngagementSort& value) { m_sortHasBeenSet = true; m_sort = value; } + inline void SetSort(EngagementSort&& value) { m_sortHasBeenSet = true; m_sort = std::move(value); } + inline ListEngagementsRequest& WithSort(const EngagementSort& value) { SetSort(value); return *this;} + inline ListEngagementsRequest& WithSort(EngagementSort&& value) { SetSort(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::Vector m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::Vector m_engagementIdentifier; + bool m_engagementIdentifierHasBeenSet = false; + + Aws::Vector m_excludeCreatedBy; + bool m_excludeCreatedByHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + EngagementSort m_sort; + bool m_sortHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementsResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementsResult.h new file mode 100644 index 00000000000..e0f6999f3df --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListEngagementsResult.h @@ -0,0 +1,85 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + class ListEngagementsResult + { + public: + AWS_PARTNERCENTRALSELLING_API ListEngagementsResult(); + AWS_PARTNERCENTRALSELLING_API ListEngagementsResult(const Aws::AmazonWebServiceResult& result); + AWS_PARTNERCENTRALSELLING_API ListEngagementsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

      An array of engagement summary objects.

      + */ + inline const Aws::Vector& GetEngagementSummaryList() const{ return m_engagementSummaryList; } + inline void SetEngagementSummaryList(const Aws::Vector& value) { m_engagementSummaryList = value; } + inline void SetEngagementSummaryList(Aws::Vector&& value) { m_engagementSummaryList = std::move(value); } + inline ListEngagementsResult& WithEngagementSummaryList(const Aws::Vector& value) { SetEngagementSummaryList(value); return *this;} + inline ListEngagementsResult& WithEngagementSummaryList(Aws::Vector&& value) { SetEngagementSummaryList(std::move(value)); return *this;} + inline ListEngagementsResult& AddEngagementSummaryList(const EngagementSummary& value) { m_engagementSummaryList.push_back(value); return *this; } + inline ListEngagementsResult& AddEngagementSummaryList(EngagementSummary&& value) { m_engagementSummaryList.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

      The token to retrieve the next set of results. This field will be null if + * there are no more results.

      + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListEngagementsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListEngagementsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListEngagementsResult& WithNextToken(const char* value) { SetNextToken(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 ListEngagementsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListEngagementsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListEngagementsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_engagementSummaryList; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListOpportunitiesRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListOpportunitiesRequest.h index 19560186d29..c07efc34a81 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListOpportunitiesRequest.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListOpportunitiesRequest.h @@ -41,12 +41,12 @@ namespace Model ///@{ /** - *

      Specifies the catalog associated with the request. This field takes a string + *

      Specifies the catalog associated with the request. This field takes a string * value from a predefined list: AWS or Sandbox. The * catalog determines which environment the opportunities are listed in. Use * AWS for listing real opportunities in the Amazon Web Services - * catalog, and Sandbox for testing in secure, isolated environments. - *

      + * catalog, and Sandbox for testing in secure, isolated + * environments.

      */ inline const Aws::String& GetCatalog() const{ return m_catalog; } inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } @@ -142,9 +142,9 @@ namespace Model ///@{ /** - *

      Specifies the maximum number of results to return in a single call. This + *

      Specifies the maximum number of results to return in a single call. This * limits the number of opportunities returned in the response to avoid providing - * too many results at once.

      Default: 20

      + * too many results at once.

      Default: 20

      */ inline int GetMaxResults() const{ return m_maxResults; } inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } @@ -154,9 +154,9 @@ namespace Model ///@{ /** - *

      A pagination token used to retrieve the next set of results in subsequent + *

      A pagination token used to retrieve the next set of results in subsequent * calls. This token is included in the response only if there are additional - * result pages available.

      + * result pages available.

      */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } @@ -170,8 +170,8 @@ namespace Model ///@{ /** - *

      An object that specifies how the response is sorted. The default - * Sort.SortBy value is LastModifiedDate.

      + *

      An object that specifies how the response is sorted. The default + * Sort.SortBy value is LastModifiedDate.

      */ inline const OpportunitySort& GetSort() const{ return m_sort; } inline bool SortHasBeenSet() const { return m_sortHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListOpportunitiesResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListOpportunitiesResult.h index f0d51f7d581..8f1a11737d7 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListOpportunitiesResult.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListOpportunitiesResult.h @@ -36,9 +36,9 @@ namespace Model ///@{ /** - *

      A pagination token used to retrieve the next set of results in subsequent + *

      A pagination token used to retrieve the next set of results in subsequent * calls. This token is included in the response only if there are additional - * result pages available.

      + * result pages available.

      */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } @@ -51,9 +51,9 @@ namespace Model ///@{ /** - *

      An array that contains minimal details for opportunities that match the + *

      An array that contains minimal details for opportunities that match the * request criteria. This summary view provides a quick overview of relevant - * opportunities.

      + * opportunities.

      */ inline const Aws::Vector& GetOpportunitySummaries() const{ return m_opportunitySummaries; } inline void SetOpportunitySummaries(const Aws::Vector& value) { m_opportunitySummaries = value; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListResourceSnapshotJobsRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListResourceSnapshotJobsRequest.h new file mode 100644 index 00000000000..6283a47ac52 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListResourceSnapshotJobsRequest.h @@ -0,0 +1,139 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class ListResourceSnapshotJobsRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API ListResourceSnapshotJobsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListResourceSnapshotJobs"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

      Specifies the catalog related to the request.

      + */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline ListResourceSnapshotJobsRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline ListResourceSnapshotJobsRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline ListResourceSnapshotJobsRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

      The identifier of the engagement to filter the response.

      + */ + inline const Aws::String& GetEngagementIdentifier() const{ return m_engagementIdentifier; } + inline bool EngagementIdentifierHasBeenSet() const { return m_engagementIdentifierHasBeenSet; } + inline void SetEngagementIdentifier(const Aws::String& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = value; } + inline void SetEngagementIdentifier(Aws::String&& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = std::move(value); } + inline void SetEngagementIdentifier(const char* value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier.assign(value); } + inline ListResourceSnapshotJobsRequest& WithEngagementIdentifier(const Aws::String& value) { SetEngagementIdentifier(value); return *this;} + inline ListResourceSnapshotJobsRequest& WithEngagementIdentifier(Aws::String&& value) { SetEngagementIdentifier(std::move(value)); return *this;} + inline ListResourceSnapshotJobsRequest& WithEngagementIdentifier(const char* value) { SetEngagementIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

      The maximum number of results to return in a single call. If omitted, + * defaults to 50.

      + */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListResourceSnapshotJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

      The token for the next set of results.

      + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListResourceSnapshotJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListResourceSnapshotJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListResourceSnapshotJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

      Configures the sorting of the response. If omitted, results are sorted by + * CreatedDate in descending order.

      + */ + inline const SortObject& GetSort() const{ return m_sort; } + inline bool SortHasBeenSet() const { return m_sortHasBeenSet; } + inline void SetSort(const SortObject& value) { m_sortHasBeenSet = true; m_sort = value; } + inline void SetSort(SortObject&& value) { m_sortHasBeenSet = true; m_sort = std::move(value); } + inline ListResourceSnapshotJobsRequest& WithSort(const SortObject& value) { SetSort(value); return *this;} + inline ListResourceSnapshotJobsRequest& WithSort(SortObject&& value) { SetSort(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      The status of the jobs to filter the response.

      + */ + inline const ResourceSnapshotJobStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const ResourceSnapshotJobStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(ResourceSnapshotJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline ListResourceSnapshotJobsRequest& WithStatus(const ResourceSnapshotJobStatus& value) { SetStatus(value); return *this;} + inline ListResourceSnapshotJobsRequest& WithStatus(ResourceSnapshotJobStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::String m_engagementIdentifier; + bool m_engagementIdentifierHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + SortObject m_sort; + bool m_sortHasBeenSet = false; + + ResourceSnapshotJobStatus m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListResourceSnapshotJobsResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListResourceSnapshotJobsResult.h new file mode 100644 index 00000000000..07927bc18c7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListResourceSnapshotJobsResult.h @@ -0,0 +1,85 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + class ListResourceSnapshotJobsResult + { + public: + AWS_PARTNERCENTRALSELLING_API ListResourceSnapshotJobsResult(); + AWS_PARTNERCENTRALSELLING_API ListResourceSnapshotJobsResult(const Aws::AmazonWebServiceResult& result); + AWS_PARTNERCENTRALSELLING_API ListResourceSnapshotJobsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

      The token to retrieve the next set of results. If there are no additional + * results, this value is null.

      + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListResourceSnapshotJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListResourceSnapshotJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListResourceSnapshotJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

      An array of resource snapshot job summary objects.

      + */ + inline const Aws::Vector& GetResourceSnapshotJobSummaries() const{ return m_resourceSnapshotJobSummaries; } + inline void SetResourceSnapshotJobSummaries(const Aws::Vector& value) { m_resourceSnapshotJobSummaries = value; } + inline void SetResourceSnapshotJobSummaries(Aws::Vector&& value) { m_resourceSnapshotJobSummaries = std::move(value); } + inline ListResourceSnapshotJobsResult& WithResourceSnapshotJobSummaries(const Aws::Vector& value) { SetResourceSnapshotJobSummaries(value); return *this;} + inline ListResourceSnapshotJobsResult& WithResourceSnapshotJobSummaries(Aws::Vector&& value) { SetResourceSnapshotJobSummaries(std::move(value)); return *this;} + inline ListResourceSnapshotJobsResult& AddResourceSnapshotJobSummaries(const ResourceSnapshotJobSummary& value) { m_resourceSnapshotJobSummaries.push_back(value); return *this; } + inline ListResourceSnapshotJobsResult& AddResourceSnapshotJobSummaries(ResourceSnapshotJobSummary&& value) { m_resourceSnapshotJobSummaries.push_back(std::move(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 ListResourceSnapshotJobsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListResourceSnapshotJobsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListResourceSnapshotJobsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_nextToken; + + Aws::Vector m_resourceSnapshotJobSummaries; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListResourceSnapshotsRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListResourceSnapshotsRequest.h new file mode 100644 index 00000000000..7f8d10ba1d7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListResourceSnapshotsRequest.h @@ -0,0 +1,176 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class ListResourceSnapshotsRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API ListResourceSnapshotsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListResourceSnapshots"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

      Specifies the catalog related to the request.

      + */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline ListResourceSnapshotsRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline ListResourceSnapshotsRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline ListResourceSnapshotsRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

      Filters the response to include only snapshots of resources created by the + * specified AWS account.

      + */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline ListResourceSnapshotsRequest& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline ListResourceSnapshotsRequest& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline ListResourceSnapshotsRequest& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

      The unique identifier of the engagement associated with the snapshots.

      + */ + inline const Aws::String& GetEngagementIdentifier() const{ return m_engagementIdentifier; } + inline bool EngagementIdentifierHasBeenSet() const { return m_engagementIdentifierHasBeenSet; } + inline void SetEngagementIdentifier(const Aws::String& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = value; } + inline void SetEngagementIdentifier(Aws::String&& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = std::move(value); } + inline void SetEngagementIdentifier(const char* value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier.assign(value); } + inline ListResourceSnapshotsRequest& WithEngagementIdentifier(const Aws::String& value) { SetEngagementIdentifier(value); return *this;} + inline ListResourceSnapshotsRequest& WithEngagementIdentifier(Aws::String&& value) { SetEngagementIdentifier(std::move(value)); return *this;} + inline ListResourceSnapshotsRequest& WithEngagementIdentifier(const char* value) { SetEngagementIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

      The maximum number of results to return in a single call.

      + */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListResourceSnapshotsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

      The token for the next set of results.

      + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListResourceSnapshotsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListResourceSnapshotsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListResourceSnapshotsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

      Filters the response to include only snapshots of the specified resource. + *

      + */ + inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } + inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; } + inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; } + inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); } + inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); } + inline ListResourceSnapshotsRequest& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;} + inline ListResourceSnapshotsRequest& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;} + inline ListResourceSnapshotsRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

      Filters the response to include only snapshots created using the specified + * template.

      + */ + inline const Aws::String& GetResourceSnapshotTemplateIdentifier() const{ return m_resourceSnapshotTemplateIdentifier; } + inline bool ResourceSnapshotTemplateIdentifierHasBeenSet() const { return m_resourceSnapshotTemplateIdentifierHasBeenSet; } + inline void SetResourceSnapshotTemplateIdentifier(const Aws::String& value) { m_resourceSnapshotTemplateIdentifierHasBeenSet = true; m_resourceSnapshotTemplateIdentifier = value; } + inline void SetResourceSnapshotTemplateIdentifier(Aws::String&& value) { m_resourceSnapshotTemplateIdentifierHasBeenSet = true; m_resourceSnapshotTemplateIdentifier = std::move(value); } + inline void SetResourceSnapshotTemplateIdentifier(const char* value) { m_resourceSnapshotTemplateIdentifierHasBeenSet = true; m_resourceSnapshotTemplateIdentifier.assign(value); } + inline ListResourceSnapshotsRequest& WithResourceSnapshotTemplateIdentifier(const Aws::String& value) { SetResourceSnapshotTemplateIdentifier(value); return *this;} + inline ListResourceSnapshotsRequest& WithResourceSnapshotTemplateIdentifier(Aws::String&& value) { SetResourceSnapshotTemplateIdentifier(std::move(value)); return *this;} + inline ListResourceSnapshotsRequest& WithResourceSnapshotTemplateIdentifier(const char* value) { SetResourceSnapshotTemplateIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

      Filters the response to include only snapshots of the specified resource + * type.

      + */ + inline const ResourceType& GetResourceType() const{ return m_resourceType; } + inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } + inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } + inline ListResourceSnapshotsRequest& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} + inline ListResourceSnapshotsRequest& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::String m_engagementIdentifier; + bool m_engagementIdentifierHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_resourceIdentifier; + bool m_resourceIdentifierHasBeenSet = false; + + Aws::String m_resourceSnapshotTemplateIdentifier; + bool m_resourceSnapshotTemplateIdentifierHasBeenSet = false; + + ResourceType m_resourceType; + bool m_resourceTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListResourceSnapshotsResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListResourceSnapshotsResult.h new file mode 100644 index 00000000000..0d688032ddd --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListResourceSnapshotsResult.h @@ -0,0 +1,85 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + class ListResourceSnapshotsResult + { + public: + AWS_PARTNERCENTRALSELLING_API ListResourceSnapshotsResult(); + AWS_PARTNERCENTRALSELLING_API ListResourceSnapshotsResult(const Aws::AmazonWebServiceResult& result); + AWS_PARTNERCENTRALSELLING_API ListResourceSnapshotsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

      The token to retrieve the next set of results. If there are no additional + * results, this value is null.

      + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListResourceSnapshotsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListResourceSnapshotsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListResourceSnapshotsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

      An array of resource snapshot summary objects.

      + */ + inline const Aws::Vector& GetResourceSnapshotSummaries() const{ return m_resourceSnapshotSummaries; } + inline void SetResourceSnapshotSummaries(const Aws::Vector& value) { m_resourceSnapshotSummaries = value; } + inline void SetResourceSnapshotSummaries(Aws::Vector&& value) { m_resourceSnapshotSummaries = std::move(value); } + inline ListResourceSnapshotsResult& WithResourceSnapshotSummaries(const Aws::Vector& value) { SetResourceSnapshotSummaries(value); return *this;} + inline ListResourceSnapshotsResult& WithResourceSnapshotSummaries(Aws::Vector&& value) { SetResourceSnapshotSummaries(std::move(value)); return *this;} + inline ListResourceSnapshotsResult& AddResourceSnapshotSummaries(const ResourceSnapshotSummary& value) { m_resourceSnapshotSummaries.push_back(value); return *this; } + inline ListResourceSnapshotsResult& AddResourceSnapshotSummaries(ResourceSnapshotSummary&& value) { m_resourceSnapshotSummaries.push_back(std::move(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 ListResourceSnapshotsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListResourceSnapshotsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListResourceSnapshotsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_nextToken; + + Aws::Vector m_resourceSnapshotSummaries; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListSolutionsRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListSolutionsRequest.h index dcd2a2e82fb..cdcfb3e9703 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListSolutionsRequest.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListSolutionsRequest.h @@ -39,12 +39,12 @@ namespace Model ///@{ /** - *

      Specifies the catalog associated with the request. This field takes a string + *

      Specifies the catalog associated with the request. This field takes a string * value from a predefined list: AWS or Sandbox. The * catalog determines which environment the solutions are listed in. Use * AWS to list solutions in the Amazon Web Services catalog, and * Sandbox to list solutions in a secure and isolated testing - * environment.

      + * environment.

      */ inline const Aws::String& GetCatalog() const{ return m_catalog; } inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } @@ -94,7 +94,7 @@ namespace Model ///@{ /** *

      The maximum number of results returned by a single call. This value must be - * provided in the next call to retrieve the next set of results.

      Default: + * provided in the next call to retrieve the next set of results.

      Default: * 20

      */ inline int GetMaxResults() const{ return m_maxResults; } @@ -105,9 +105,9 @@ namespace Model ///@{ /** - *

      A pagination token used to retrieve the next set of results in subsequent + *

      A pagination token used to retrieve the next set of results in subsequent * calls. This token is included in the response only if there are additional - * result pages available.

      + * result pages available.

      */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } @@ -122,7 +122,7 @@ namespace Model ///@{ /** *

      Object that configures sorting done on the response. Default - * Sort.SortBy is Identifier.

      + * Sort.SortBy is Identifier.

      */ inline const SolutionSort& GetSort() const{ return m_sort; } inline bool SortHasBeenSet() const { return m_sortHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListSolutionsResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListSolutionsResult.h index 4960501884a..5b1ae83608d 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListSolutionsResult.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListSolutionsResult.h @@ -36,9 +36,9 @@ namespace Model ///@{ /** - *

      A pagination token used to retrieve the next set of results in subsequent + *

      A pagination token used to retrieve the next set of results in subsequent * calls. This token is included in the response only if there are additional - * result pages available.

      + * result pages available.

      */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListTasksSortBase.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListTasksSortBase.h new file mode 100644 index 00000000000..4b0a05c2b2e --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListTasksSortBase.h @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

      Defines the sorting parameters for listing tasks. This structure allows for + * specifying the field to sort by and the order of sorting.

      See + * Also:

      AWS + * API Reference

      + */ + class ListTasksSortBase + { + public: + AWS_PARTNERCENTRALSELLING_API ListTasksSortBase(); + AWS_PARTNERCENTRALSELLING_API ListTasksSortBase(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API ListTasksSortBase& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

      Specifies the field by which the task list should be sorted.

      + */ + inline const ListTasksSortName& GetSortBy() const{ return m_sortBy; } + inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; } + inline void SetSortBy(const ListTasksSortName& value) { m_sortByHasBeenSet = true; m_sortBy = value; } + inline void SetSortBy(ListTasksSortName&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); } + inline ListTasksSortBase& WithSortBy(const ListTasksSortName& value) { SetSortBy(value); return *this;} + inline ListTasksSortBase& WithSortBy(ListTasksSortName&& value) { SetSortBy(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      Determines the order in which the sorted results are presented.

      + */ + inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } + inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } + inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } + inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } + inline ListTasksSortBase& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} + inline ListTasksSortBase& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} + ///@} + private: + + ListTasksSortName m_sortBy; + bool m_sortByHasBeenSet = false; + + SortOrder m_sortOrder; + bool m_sortOrderHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListTasksSortName.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListTasksSortName.h new file mode 100644 index 00000000000..5da25265823 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ListTasksSortName.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + enum class ListTasksSortName + { + NOT_SET, + StartTime + }; + +namespace ListTasksSortNameMapper +{ +AWS_PARTNERCENTRALSELLING_API ListTasksSortName GetListTasksSortNameForName(const Aws::String& name); + +AWS_PARTNERCENTRALSELLING_API Aws::String GetNameForListTasksSortName(ListTasksSortName value); +} // namespace ListTasksSortNameMapper +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Marketing.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Marketing.h index f39ef6ad652..9c455b7defe 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Marketing.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Marketing.h @@ -28,8 +28,8 @@ namespace Model { /** - *

      An object that contains marketing details for the Opportunity. - *

      See Also:

      An object that contains marketing details for the + * Opportunity.

      See Also:

      AWS * API Reference

      */ @@ -45,7 +45,7 @@ namespace Model ///@{ /** *

      Indicates if the Opportunity is a marketing development fund - * (MDF) funded activity.

      + * (MDF) funded activity.

      */ inline const AwsFundingUsed& GetAwsFundingUsed() const{ return m_awsFundingUsed; } inline bool AwsFundingUsedHasBeenSet() const { return m_awsFundingUsedHasBeenSet; } @@ -62,7 +62,7 @@ namespace Model * promotions, or activities. This field captures the identifier used to track and * categorize the Opportunity within marketing campaigns. If you don't * have a campaign code, contact your Amazon Web Services point of contact to - * obtain one.

      + * obtain one.

      */ inline const Aws::String& GetCampaignName() const{ return m_campaignName; } inline bool CampaignNameHasBeenSet() const { return m_campaignNameHasBeenSet; } @@ -79,7 +79,7 @@ namespace Model *

      Specifies the Opportunity's channel that the marketing activity * is associated with or was contacted through. This field provides information * about the specific marketing channel that contributed to the generation of the - * lead or contact.

      + * lead or contact.

      */ inline const Aws::Vector& GetChannels() const{ return m_channels; } inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; } @@ -93,12 +93,12 @@ namespace Model ///@{ /** - *

      Indicates if the Opportunity was sourced from an Amazon Web + *

      Indicates if the Opportunity was sourced from an Amazon Web * Services marketing activity. Use the value Marketing Activity. Use * None if it's not associated with an Amazon Web Services marketing * activity. This field helps Amazon Web Services track the return on marketing - * investments and enables better distribution of marketing budgets among partners. - *

      + * investments and enables better distribution of marketing budgets among + * partners.

      */ inline const MarketingSource& GetSource() const{ return m_source; } inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } @@ -110,11 +110,11 @@ namespace Model ///@{ /** - *

      Specifies the marketing activity use case or purpose that led to the + *

      Specifies the marketing activity use case or purpose that led to the * Opportunity's creation or contact. This field captures the context * or marketing activity's execution's intention and the direct correlation to the * generated opportunity or contact. Must be empty when - * Marketing.AWSFundingUsed = No.

      Valid values: AI/ML | + * Marketing.AWSFundingUsed = No.

      Valid values: AI/ML | * Analytics | Application Integration | Blockchain | Business Applications | Cloud * Financial Management | Compute | Containers | Customer Engagement | Databases | * Developer Tools | End User Computing | Front End Web & Mobile | Game Tech | diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/OpportunitySummary.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/OpportunitySummary.h index 9c658966f06..333526dcdbc 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/OpportunitySummary.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/OpportunitySummary.h @@ -29,8 +29,8 @@ namespace Model { /** - *

      An object that contains an Opportunity's subset of fields. - *

      See Also:

      An object that contains an Opportunity's subset of + * fields.

      See Also:

      AWS * API Reference

      */ @@ -43,6 +43,21 @@ namespace Model AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

      The Amazon Resource Name (ARN) for the opportunity. This globally unique + * identifier can be used for IAM policies and cross-service references.

      + */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline OpportunitySummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline OpportunitySummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline OpportunitySummary& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + ///@{ /** *

      Specifies the catalog associated with the opportunity, either @@ -61,8 +76,8 @@ namespace Model ///@{ /** - *

      DateTime when the Opportunity was last created. - *

      + *

      DateTime when the Opportunity was last + * created.

      */ inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; } inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; } @@ -74,7 +89,7 @@ namespace Model ///@{ /** - *

      An object that contains the Opportunity's customer details.

      + *

      An object that contains the Opportunity's customer details.

      */ inline const CustomerSummary& GetCustomer() const{ return m_customer; } inline bool CustomerHasBeenSet() const { return m_customerHasBeenSet; } @@ -86,7 +101,7 @@ namespace Model ///@{ /** - *

      Read-only, system-generated Opportunity unique identifier.

      + *

      Read-only, system-generated Opportunity unique identifier.

      */ inline const Aws::String& GetId() const{ return m_id; } inline bool IdHasBeenSet() const { return m_idHasBeenSet; } @@ -100,8 +115,8 @@ namespace Model ///@{ /** - *

      DateTime when the Opportunity was last modified. - *

      + *

      DateTime when the Opportunity was last + * modified.

      */ inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; } inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; } @@ -113,8 +128,7 @@ namespace Model ///@{ /** - *

      An object that contains the Opportunity's lifecycle details. - *

      + *

      An object that contains the Opportunity's lifecycle details.

      */ inline const LifeCycleSummary& GetLifeCycle() const{ return m_lifeCycle; } inline bool LifeCycleHasBeenSet() const { return m_lifeCycleHasBeenSet; } @@ -126,15 +140,15 @@ namespace Model ///@{ /** - *

      Specifies opportunity type as a renewal, new, or expansion.

      - * Opportunity types:

      • New Opportunity: Represents a new business - * opportunity with a potential customer that's not previously engaged with your - * solutions or services.

      • Renewal Opportunity: Represents an - * opportunity to renew an existing contract or subscription with a current - * customer, ensuring continuity of service.

      • Expansion + *

        Specifies opportunity type as a renewal, new, or expansion.

        + *

        Opportunity types:

        • New Opportunity: Represents a new + * business opportunity with a potential customer that's not previously engaged + * with your solutions or services.

        • Renewal Opportunity: + * Represents an opportunity to renew an existing contract or subscription with a + * current customer, ensuring continuity of service.

        • Expansion * Opportunity: Represents an opportunity to expand the scope of an existing * contract or subscription, either by adding new services or increasing the volume - * of existing services for a current customer.

        + * of existing services for a current customer.

      */ inline const OpportunityType& GetOpportunityType() const{ return m_opportunityType; } inline bool OpportunityTypeHasBeenSet() const { return m_opportunityTypeHasBeenSet; } @@ -149,7 +163,7 @@ namespace Model *

      Specifies the Opportunity's unique identifier in the partner's * CRM system. This value is essential to track and reconcile because it's included * in the outbound payload sent back to the partner. It allows partners to link an - * opportunity to their CRM.

      + * opportunity to their CRM.

      */ inline const Aws::String& GetPartnerOpportunityIdentifier() const{ return m_partnerOpportunityIdentifier; } inline bool PartnerOpportunityIdentifierHasBeenSet() const { return m_partnerOpportunityIdentifierHasBeenSet; } @@ -164,7 +178,7 @@ namespace Model ///@{ /** *

      An object that contains the Opportunity's project details - * summary.

      + * summary.

      */ inline const ProjectSummary& GetProject() const{ return m_project; } inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; } @@ -175,6 +189,9 @@ namespace Model ///@} private: + Aws::String m_arn; + bool m_arnHasBeenSet = false; + Aws::String m_catalog; bool m_catalogHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/OpportunitySummaryView.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/OpportunitySummaryView.h new file mode 100644 index 00000000000..15623556d31 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/OpportunitySummaryView.h @@ -0,0 +1,164 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

      Provides a comprehensive view of an opportunity summary, including lifecycle + * information, team details, opportunity type, primary needs from AWS, and + * associated project information.

      See Also:

      AWS + * API Reference

      + */ + class OpportunitySummaryView + { + public: + AWS_PARTNERCENTRALSELLING_API OpportunitySummaryView(); + AWS_PARTNERCENTRALSELLING_API OpportunitySummaryView(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API OpportunitySummaryView& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + + inline const Customer& GetCustomer() const{ return m_customer; } + inline bool CustomerHasBeenSet() const { return m_customerHasBeenSet; } + inline void SetCustomer(const Customer& value) { m_customerHasBeenSet = true; m_customer = value; } + inline void SetCustomer(Customer&& value) { m_customerHasBeenSet = true; m_customer = std::move(value); } + inline OpportunitySummaryView& WithCustomer(const Customer& value) { SetCustomer(value); return *this;} + inline OpportunitySummaryView& WithCustomer(Customer&& value) { SetCustomer(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      Contains information about the opportunity's lifecycle, including its + * current stage, status, and important dates such as creation and last + * modification times.

      + */ + inline const LifeCycleForView& GetLifecycle() const{ return m_lifecycle; } + inline bool LifecycleHasBeenSet() const { return m_lifecycleHasBeenSet; } + inline void SetLifecycle(const LifeCycleForView& value) { m_lifecycleHasBeenSet = true; m_lifecycle = value; } + inline void SetLifecycle(LifeCycleForView&& value) { m_lifecycleHasBeenSet = true; m_lifecycle = std::move(value); } + inline OpportunitySummaryView& WithLifecycle(const LifeCycleForView& value) { SetLifecycle(value); return *this;} + inline OpportunitySummaryView& WithLifecycle(LifeCycleForView&& value) { SetLifecycle(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      Represents the internal team handling the opportunity. Specify the members + * involved in collaborating on an opportunity within the partner's organization. + *

      + */ + inline const Aws::Vector& GetOpportunityTeam() const{ return m_opportunityTeam; } + inline bool OpportunityTeamHasBeenSet() const { return m_opportunityTeamHasBeenSet; } + inline void SetOpportunityTeam(const Aws::Vector& value) { m_opportunityTeamHasBeenSet = true; m_opportunityTeam = value; } + inline void SetOpportunityTeam(Aws::Vector&& value) { m_opportunityTeamHasBeenSet = true; m_opportunityTeam = std::move(value); } + inline OpportunitySummaryView& WithOpportunityTeam(const Aws::Vector& value) { SetOpportunityTeam(value); return *this;} + inline OpportunitySummaryView& WithOpportunityTeam(Aws::Vector&& value) { SetOpportunityTeam(std::move(value)); return *this;} + inline OpportunitySummaryView& AddOpportunityTeam(const Contact& value) { m_opportunityTeamHasBeenSet = true; m_opportunityTeam.push_back(value); return *this; } + inline OpportunitySummaryView& AddOpportunityTeam(Contact&& value) { m_opportunityTeamHasBeenSet = true; m_opportunityTeam.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

      Specifies the opportunity type.

      + */ + inline const OpportunityType& GetOpportunityType() const{ return m_opportunityType; } + inline bool OpportunityTypeHasBeenSet() const { return m_opportunityTypeHasBeenSet; } + inline void SetOpportunityType(const OpportunityType& value) { m_opportunityTypeHasBeenSet = true; m_opportunityType = value; } + inline void SetOpportunityType(OpportunityType&& value) { m_opportunityTypeHasBeenSet = true; m_opportunityType = std::move(value); } + inline OpportunitySummaryView& WithOpportunityType(const OpportunityType& value) { SetOpportunityType(value); return *this;} + inline OpportunitySummaryView& WithOpportunityType(OpportunityType&& value) { SetOpportunityType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      Identifies the type of support the partner needs from AWS.

      + */ + inline const Aws::Vector& GetPrimaryNeedsFromAws() const{ return m_primaryNeedsFromAws; } + inline bool PrimaryNeedsFromAwsHasBeenSet() const { return m_primaryNeedsFromAwsHasBeenSet; } + inline void SetPrimaryNeedsFromAws(const Aws::Vector& value) { m_primaryNeedsFromAwsHasBeenSet = true; m_primaryNeedsFromAws = value; } + inline void SetPrimaryNeedsFromAws(Aws::Vector&& value) { m_primaryNeedsFromAwsHasBeenSet = true; m_primaryNeedsFromAws = std::move(value); } + inline OpportunitySummaryView& WithPrimaryNeedsFromAws(const Aws::Vector& value) { SetPrimaryNeedsFromAws(value); return *this;} + inline OpportunitySummaryView& WithPrimaryNeedsFromAws(Aws::Vector&& value) { SetPrimaryNeedsFromAws(std::move(value)); return *this;} + inline OpportunitySummaryView& AddPrimaryNeedsFromAws(const PrimaryNeedFromAws& value) { m_primaryNeedsFromAwsHasBeenSet = true; m_primaryNeedsFromAws.push_back(value); return *this; } + inline OpportunitySummaryView& AddPrimaryNeedsFromAws(PrimaryNeedFromAws&& value) { m_primaryNeedsFromAwsHasBeenSet = true; m_primaryNeedsFromAws.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

      Contains summary information about the project associated with the + * opportunity, including project name, description, timeline, and other relevant + * details.

      + */ + inline const ProjectView& GetProject() const{ return m_project; } + inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; } + inline void SetProject(const ProjectView& value) { m_projectHasBeenSet = true; m_project = value; } + inline void SetProject(ProjectView&& value) { m_projectHasBeenSet = true; m_project = std::move(value); } + inline OpportunitySummaryView& WithProject(const ProjectView& value) { SetProject(value); return *this;} + inline OpportunitySummaryView& WithProject(ProjectView&& value) { SetProject(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const RelatedEntityIdentifiers& GetRelatedEntityIdentifiers() const{ return m_relatedEntityIdentifiers; } + inline bool RelatedEntityIdentifiersHasBeenSet() const { return m_relatedEntityIdentifiersHasBeenSet; } + inline void SetRelatedEntityIdentifiers(const RelatedEntityIdentifiers& value) { m_relatedEntityIdentifiersHasBeenSet = true; m_relatedEntityIdentifiers = value; } + inline void SetRelatedEntityIdentifiers(RelatedEntityIdentifiers&& value) { m_relatedEntityIdentifiersHasBeenSet = true; m_relatedEntityIdentifiers = std::move(value); } + inline OpportunitySummaryView& WithRelatedEntityIdentifiers(const RelatedEntityIdentifiers& value) { SetRelatedEntityIdentifiers(value); return *this;} + inline OpportunitySummaryView& WithRelatedEntityIdentifiers(RelatedEntityIdentifiers&& value) { SetRelatedEntityIdentifiers(std::move(value)); return *this;} + ///@} + private: + + Customer m_customer; + bool m_customerHasBeenSet = false; + + LifeCycleForView m_lifecycle; + bool m_lifecycleHasBeenSet = false; + + Aws::Vector m_opportunityTeam; + bool m_opportunityTeamHasBeenSet = false; + + OpportunityType m_opportunityType; + bool m_opportunityTypeHasBeenSet = false; + + Aws::Vector m_primaryNeedsFromAws; + bool m_primaryNeedsFromAwsHasBeenSet = false; + + ProjectView m_project; + bool m_projectHasBeenSet = false; + + RelatedEntityIdentifiers m_relatedEntityIdentifiers; + bool m_relatedEntityIdentifiersHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ParticipantType.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ParticipantType.h index a8714f1a91b..124af28613d 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ParticipantType.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ParticipantType.h @@ -16,6 +16,7 @@ namespace Model enum class ParticipantType { NOT_SET, + SENDER, RECEIVER }; diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Project.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Project.h index 2b9e3bc7f9f..3c9e251b540 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Project.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/Project.h @@ -29,8 +29,8 @@ namespace Model { /** - *

      An object that contains the Opportunity's project details. - *

      See Also:

      An object that contains the Opportunity's project + * details.

      See Also:

      AWS * API Reference

      */ @@ -46,7 +46,7 @@ namespace Model ///@{ /** *

      Captures additional comments or information for the Opportunity - * that weren't captured in other fields.

      + * that weren't captured in other fields.

      */ inline const Aws::String& GetAdditionalComments() const{ return m_additionalComments; } inline bool AdditionalCommentsHasBeenSet() const { return m_additionalCommentsHasBeenSet; } @@ -60,9 +60,9 @@ namespace Model ///@{ /** - *

      Specifies the Amazon Partner Network (APN) program that influenced the + *

      Specifies the Amazon Partner Network (APN) program that influenced the * Opportunity. APN programs refer to specific partner programs or - * initiatives that can impact the Opportunity.

      Valid values: + * initiatives that can impact the Opportunity.

      Valid values: * APN Immersion Days | APN Solution Space | ATO (Authority to Operate) | AWS * Marketplace Campaign | IS Immersion Day SFID Program | ISV Workload Migration | * Migration Acceleration Program | P3 | Partner Launch Initiative | Partner @@ -84,7 +84,7 @@ namespace Model ///@{ /** *

      Name of the Opportunity's competitor (if any). Use - * Other to submit a value not in the picklist.

      + * Other to submit a value not in the picklist.

      */ inline const CompetitorName& GetCompetitorName() const{ return m_competitorName; } inline bool CompetitorNameHasBeenSet() const { return m_competitorNameHasBeenSet; } @@ -106,7 +106,7 @@ namespace Model * descriptions to convey the context and significance of the * Opportunity. The content in this field helps Amazon Web Services * understand the nature of the Opportunity and the strategic fit of - * the partner's solution.

      + * the partner's solution.

      */ inline const Aws::String& GetCustomerBusinessProblem() const{ return m_customerBusinessProblem; } inline bool CustomerBusinessProblemHasBeenSet() const { return m_customerBusinessProblemHasBeenSet; } @@ -120,23 +120,23 @@ namespace Model ///@{ /** - *

      Specifies the proposed solution focus or type of workload for the + *

      Specifies the proposed solution focus or type of workload for the * Opportunity. This field captures the primary use case or objective of the - * proposed solution, and provides context and clarity to the addressed workload. - *

      Valid values: AI Machine Learning and Analytics | Archiving | Big - * Data: Data Warehouse/Data Integration/ETL/Data Lake/BI | Blockchain | Business - * Applications: Mainframe Modernization | Business Applications & Contact - * Center | Business Applications & SAP Production | Centralized Operations - * Management | Cloud Management Tools | Cloud Management Tools & DevOps with - * Continuous Integration & Continuous Delivery (CICD) | Configuration, - * Compliance & Auditing | Connected Services | Containers & Serverless | - * Content Delivery & Edge Services | Database | Edge Computing/End User - * Computing | Energy | Enterprise Governance & Controls | Enterprise Resource - * Planning | Financial Services | Healthcare and Life Sciences | High Performance - * Computing | Hybrid Application Platform | Industrial Software | IOT | - * Manufacturing, Supply Chain and Operations | Media & High performance - * computing (HPC) | Migration/Database Migration | Monitoring, logging and - * performance | Monitoring & Observability | Networking | Outpost | SAP | + * proposed solution, and provides context and clarity to the addressed + * workload.

      Valid values: AI Machine Learning and Analytics | + * Archiving | Big Data: Data Warehouse/Data Integration/ETL/Data Lake/BI | + * Blockchain | Business Applications: Mainframe Modernization | Business + * Applications & Contact Center | Business Applications & SAP Production | + * Centralized Operations Management | Cloud Management Tools | Cloud Management + * Tools & DevOps with Continuous Integration & Continuous Delivery (CICD) + * | Configuration, Compliance & Auditing | Connected Services | Containers + * & Serverless | Content Delivery & Edge Services | Database | Edge + * Computing/End User Computing | Energy | Enterprise Governance & Controls | + * Enterprise Resource Planning | Financial Services | Healthcare and Life Sciences + * | High Performance Computing | Hybrid Application Platform | Industrial Software + * | IOT | Manufacturing, Supply Chain and Operations | Media & High + * performance computing (HPC) | Migration/Database Migration | Monitoring, logging + * and performance | Monitoring & Observability | Networking | Outpost | SAP | * Security & Compliance | Storage & Backup | Training | VMC | VMWare | Web * development & DevOps

      */ @@ -152,9 +152,9 @@ namespace Model ///@{ /** - *

      Specifies the deployment or consumption model for your solution or service - * in the Opportunity's context. You can select multiple options.

      - *

      Options' descriptions from the Delivery Model field are:

      + *

      Specifies the deployment or consumption model for your solution or service in + * the Opportunity's context. You can select multiple options.

      + *

      Options' descriptions from the Delivery Model field are:

      *
      • SaaS or PaaS: Your Amazon Web Services based solution deployed as * SaaS or PaaS in your Amazon Web Services environment.

      • BYOL or * AMI: Your Amazon Web Services based solution deployed as BYOL or AMI in the end @@ -197,7 +197,7 @@ namespace Model ///@{ /** *

        Only allowed when CompetitorNames has Other - * selected.

        + * selected.

        */ inline const Aws::String& GetOtherCompetitorNames() const{ return m_otherCompetitorNames; } inline bool OtherCompetitorNamesHasBeenSet() const { return m_otherCompetitorNamesHasBeenSet; } @@ -213,7 +213,7 @@ namespace Model /** *

        Specifies the offered solution for the customer's business problem when the * RelatedEntityIdentifiers.Solutions field value is - * Other.

        + * Other.

        */ inline const Aws::String& GetOtherSolutionDescription() const{ return m_otherSolutionDescription; } inline bool OtherSolutionDescriptionHasBeenSet() const { return m_otherSolutionDescriptionHasBeenSet; } @@ -227,7 +227,7 @@ namespace Model ///@{ /** - *

        Specifies the current opportunity's parent opportunity identifier.

        + *

        Specifies the current opportunity's parent opportunity identifier.

        */ inline const Aws::String& GetRelatedOpportunityIdentifier() const{ return m_relatedOpportunityIdentifier; } inline bool RelatedOpportunityIdentifierHasBeenSet() const { return m_relatedOpportunityIdentifierHasBeenSet; } @@ -241,23 +241,23 @@ namespace Model ///@{ /** - *

        Specifies the Opportunity's sales activities conducted with the + *

        Specifies the Opportunity's sales activities conducted with the * end customer. These activities help drive Amazon Web Services assignment - * priority.

        Valid values:

        • Initialized discussions with + * priority.

          Valid values:

          • Initialized discussions with * customer: Initial conversations with the customer to understand their needs and - * introduce your solution.

          • Customer has shown interest in + * introduce your solution.

          • Customer has shown interest in * solution: After initial discussions, the customer is interested in your - * solution.

          • Conducted POC/demo: You conducted a proof of - * concept (POC) or demonstration of the solution for the customer.

          • - *

            In evaluation/planning stage: The customer is evaluating the solution and - * planning potential implementation.

          • Agreed on solution to - * Business Problem: Both parties agree on how the solution addresses the - * customer's business problem.

          • Completed Action Plan: A - * detailed action plan is complete and outlines the steps for implementation.

            - *
          • Finalized Deployment Need: Both parties agree with and finalized - * the deployment needs.

          • SOW Signed: Both parties signed a - * statement of work (SOW), and formalize the agreement and detail the project - * scope and deliverables.

          + * solution.

        • Conducted POC/demo: You conducted a proof of concept + * (POC) or demonstration of the solution for the customer.

        • In + * evaluation/planning stage: The customer is evaluating the solution and planning + * potential implementation.

        • Agreed on solution to Business + * Problem: Both parties agree on how the solution addresses the customer's + * business problem.

        • Completed Action Plan: A detailed action + * plan is complete and outlines the steps for implementation.

        • + *

          Finalized Deployment Need: Both parties agree with and finalized the + * deployment needs.

        • SOW Signed: Both parties signed a statement + * of work (SOW), and formalize the agreement and detail the project scope and + * deliverables.

        */ inline const Aws::Vector& GetSalesActivities() const{ return m_salesActivities; } inline bool SalesActivitiesHasBeenSet() const { return m_salesActivitiesHasBeenSet; } @@ -271,7 +271,7 @@ namespace Model ///@{ /** - *

        Specifies the Opportunity's title or name.

        + *

        Specifies the Opportunity's title or name.

        */ inline const Aws::String& GetTitle() const{ return m_title; } inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ProjectSummary.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ProjectSummary.h index 98efe9fa8bb..40858b3641c 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ProjectSummary.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ProjectSummary.h @@ -26,8 +26,8 @@ namespace Model { /** - *

        An object that contains a Project object's subset of fields. - *

        See Also:

        An object that contains a Project object's subset of + * fields.

        See Also:

        AWS * API Reference

        */ @@ -42,12 +42,12 @@ namespace Model ///@{ /** - *

        Specifies your solution or service's deployment or consumption model in the - * Opportunity's context. You can select multiple options.

        - * Options' descriptions from the Delivery Model field are:

          - *
        • SaaS or PaaS: Your Amazon Web Services based solution deployed as SaaS - * or PaaS in your Amazon Web Services environment.

        • BYOL or AMI: - * Your Amazon Web Services based solution deployed as BYOL or AMI in the end + *

          Specifies your solution or service's deployment or consumption model in the + * Opportunity's context. You can select multiple options.

          + *

          Options' descriptions from the Delivery Model field are:

          + *
          • SaaS or PaaS: Your Amazon Web Services based solution deployed as + * SaaS or PaaS in your Amazon Web Services environment.

          • BYOL or + * AMI: Your Amazon Web Services based solution deployed as BYOL or AMI in the end * customer's Amazon Web Services environment.

          • Managed Services: * The end customer's Amazon Web Services business management (For example: * Consulting, design, implementation, billing support, cost optimization, diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ProjectView.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ProjectView.h new file mode 100644 index 00000000000..8c49e0d4ea0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ProjectView.h @@ -0,0 +1,143 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

            Provides the project view of an opportunity resource shared through a + * snapshot.

            See Also:

            AWS + * API Reference

            + */ + class ProjectView + { + public: + AWS_PARTNERCENTRALSELLING_API ProjectView(); + AWS_PARTNERCENTRALSELLING_API ProjectView(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API ProjectView& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

            Specifies the proposed solution focus or type of workload for the project. + *

            + */ + inline const Aws::String& GetCustomerUseCase() const{ return m_customerUseCase; } + inline bool CustomerUseCaseHasBeenSet() const { return m_customerUseCaseHasBeenSet; } + inline void SetCustomerUseCase(const Aws::String& value) { m_customerUseCaseHasBeenSet = true; m_customerUseCase = value; } + inline void SetCustomerUseCase(Aws::String&& value) { m_customerUseCaseHasBeenSet = true; m_customerUseCase = std::move(value); } + inline void SetCustomerUseCase(const char* value) { m_customerUseCaseHasBeenSet = true; m_customerUseCase.assign(value); } + inline ProjectView& WithCustomerUseCase(const Aws::String& value) { SetCustomerUseCase(value); return *this;} + inline ProjectView& WithCustomerUseCase(Aws::String&& value) { SetCustomerUseCase(std::move(value)); return *this;} + inline ProjectView& WithCustomerUseCase(const char* value) { SetCustomerUseCase(value); return *this;} + ///@} + + ///@{ + /** + *

            Describes the deployment or consumption model for the partner solution or + * offering. This field indicates how the project's solution will be delivered or + * implemented for the customer.

            + */ + inline const Aws::Vector& GetDeliveryModels() const{ return m_deliveryModels; } + inline bool DeliveryModelsHasBeenSet() const { return m_deliveryModelsHasBeenSet; } + inline void SetDeliveryModels(const Aws::Vector& value) { m_deliveryModelsHasBeenSet = true; m_deliveryModels = value; } + inline void SetDeliveryModels(Aws::Vector&& value) { m_deliveryModelsHasBeenSet = true; m_deliveryModels = std::move(value); } + inline ProjectView& WithDeliveryModels(const Aws::Vector& value) { SetDeliveryModels(value); return *this;} + inline ProjectView& WithDeliveryModels(Aws::Vector&& value) { SetDeliveryModels(std::move(value)); return *this;} + inline ProjectView& AddDeliveryModels(const DeliveryModel& value) { m_deliveryModelsHasBeenSet = true; m_deliveryModels.push_back(value); return *this; } + inline ProjectView& AddDeliveryModels(DeliveryModel&& value) { m_deliveryModelsHasBeenSet = true; m_deliveryModels.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

            Provides information about the anticipated customer spend related to this + * project. This may include details such as amount, frequency, and currency of + * expected expenditure.

            + */ + inline const Aws::Vector& GetExpectedCustomerSpend() const{ return m_expectedCustomerSpend; } + inline bool ExpectedCustomerSpendHasBeenSet() const { return m_expectedCustomerSpendHasBeenSet; } + inline void SetExpectedCustomerSpend(const Aws::Vector& value) { m_expectedCustomerSpendHasBeenSet = true; m_expectedCustomerSpend = value; } + inline void SetExpectedCustomerSpend(Aws::Vector&& value) { m_expectedCustomerSpendHasBeenSet = true; m_expectedCustomerSpend = std::move(value); } + inline ProjectView& WithExpectedCustomerSpend(const Aws::Vector& value) { SetExpectedCustomerSpend(value); return *this;} + inline ProjectView& WithExpectedCustomerSpend(Aws::Vector&& value) { SetExpectedCustomerSpend(std::move(value)); return *this;} + inline ProjectView& AddExpectedCustomerSpend(const ExpectedCustomerSpend& value) { m_expectedCustomerSpendHasBeenSet = true; m_expectedCustomerSpend.push_back(value); return *this; } + inline ProjectView& AddExpectedCustomerSpend(ExpectedCustomerSpend&& value) { m_expectedCustomerSpendHasBeenSet = true; m_expectedCustomerSpend.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

            Offers a description of other solutions if the standard solutions do not + * adequately cover the project's scope.

            + */ + inline const Aws::String& GetOtherSolutionDescription() const{ return m_otherSolutionDescription; } + inline bool OtherSolutionDescriptionHasBeenSet() const { return m_otherSolutionDescriptionHasBeenSet; } + inline void SetOtherSolutionDescription(const Aws::String& value) { m_otherSolutionDescriptionHasBeenSet = true; m_otherSolutionDescription = value; } + inline void SetOtherSolutionDescription(Aws::String&& value) { m_otherSolutionDescriptionHasBeenSet = true; m_otherSolutionDescription = std::move(value); } + inline void SetOtherSolutionDescription(const char* value) { m_otherSolutionDescriptionHasBeenSet = true; m_otherSolutionDescription.assign(value); } + inline ProjectView& WithOtherSolutionDescription(const Aws::String& value) { SetOtherSolutionDescription(value); return *this;} + inline ProjectView& WithOtherSolutionDescription(Aws::String&& value) { SetOtherSolutionDescription(std::move(value)); return *this;} + inline ProjectView& WithOtherSolutionDescription(const char* value) { SetOtherSolutionDescription(value); return *this;} + ///@} + + ///@{ + /** + *

            Lists the pre-sales activities that have occurred with the end-customer + * related to the opportunity. This field is conditionally mandatory when the + * project is qualified for Co-Sell and helps drive assignment priority on the AWS + * side. It provides insight into the engagement level with the customer.

            + */ + inline const Aws::Vector& GetSalesActivities() const{ return m_salesActivities; } + inline bool SalesActivitiesHasBeenSet() const { return m_salesActivitiesHasBeenSet; } + inline void SetSalesActivities(const Aws::Vector& value) { m_salesActivitiesHasBeenSet = true; m_salesActivities = value; } + inline void SetSalesActivities(Aws::Vector&& value) { m_salesActivitiesHasBeenSet = true; m_salesActivities = std::move(value); } + inline ProjectView& WithSalesActivities(const Aws::Vector& value) { SetSalesActivities(value); return *this;} + inline ProjectView& WithSalesActivities(Aws::Vector&& value) { SetSalesActivities(std::move(value)); return *this;} + inline ProjectView& AddSalesActivities(const SalesActivity& value) { m_salesActivitiesHasBeenSet = true; m_salesActivities.push_back(value); return *this; } + inline ProjectView& AddSalesActivities(SalesActivity&& value) { m_salesActivitiesHasBeenSet = true; m_salesActivities.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::String m_customerUseCase; + bool m_customerUseCaseHasBeenSet = false; + + Aws::Vector m_deliveryModels; + bool m_deliveryModelsHasBeenSet = false; + + Aws::Vector m_expectedCustomerSpend; + bool m_expectedCustomerSpendHasBeenSet = false; + + Aws::String m_otherSolutionDescription; + bool m_otherSolutionDescriptionHasBeenSet = false; + + Aws::Vector m_salesActivities; + bool m_salesActivitiesHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/PutSellingSystemSettingsRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/PutSellingSystemSettingsRequest.h new file mode 100644 index 00000000000..e61dd4a37d7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/PutSellingSystemSettingsRequest.h @@ -0,0 +1,78 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class PutSellingSystemSettingsRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API PutSellingSystemSettingsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "PutSellingSystemSettings"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

            Specifies the catalog in which the settings will be updated. Acceptable + * values include AWS for production and Sandbox for + * testing environments.

            + */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline PutSellingSystemSettingsRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline PutSellingSystemSettingsRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline PutSellingSystemSettingsRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

            Specifies the ARN of the IAM Role used for resource snapshot job + * executions.

            + */ + inline const Aws::String& GetResourceSnapshotJobRoleIdentifier() const{ return m_resourceSnapshotJobRoleIdentifier; } + inline bool ResourceSnapshotJobRoleIdentifierHasBeenSet() const { return m_resourceSnapshotJobRoleIdentifierHasBeenSet; } + inline void SetResourceSnapshotJobRoleIdentifier(const Aws::String& value) { m_resourceSnapshotJobRoleIdentifierHasBeenSet = true; m_resourceSnapshotJobRoleIdentifier = value; } + inline void SetResourceSnapshotJobRoleIdentifier(Aws::String&& value) { m_resourceSnapshotJobRoleIdentifierHasBeenSet = true; m_resourceSnapshotJobRoleIdentifier = std::move(value); } + inline void SetResourceSnapshotJobRoleIdentifier(const char* value) { m_resourceSnapshotJobRoleIdentifierHasBeenSet = true; m_resourceSnapshotJobRoleIdentifier.assign(value); } + inline PutSellingSystemSettingsRequest& WithResourceSnapshotJobRoleIdentifier(const Aws::String& value) { SetResourceSnapshotJobRoleIdentifier(value); return *this;} + inline PutSellingSystemSettingsRequest& WithResourceSnapshotJobRoleIdentifier(Aws::String&& value) { SetResourceSnapshotJobRoleIdentifier(std::move(value)); return *this;} + inline PutSellingSystemSettingsRequest& WithResourceSnapshotJobRoleIdentifier(const char* value) { SetResourceSnapshotJobRoleIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::String m_resourceSnapshotJobRoleIdentifier; + bool m_resourceSnapshotJobRoleIdentifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/PutSellingSystemSettingsResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/PutSellingSystemSettingsResult.h new file mode 100644 index 00000000000..3ca2e13ea2c --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/PutSellingSystemSettingsResult.h @@ -0,0 +1,85 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + class PutSellingSystemSettingsResult + { + public: + AWS_PARTNERCENTRALSELLING_API PutSellingSystemSettingsResult(); + AWS_PARTNERCENTRALSELLING_API PutSellingSystemSettingsResult(const Aws::AmazonWebServiceResult& result); + AWS_PARTNERCENTRALSELLING_API PutSellingSystemSettingsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

            Specifies the catalog in which the settings are defined. Acceptable values + * include AWS for production and Sandbox for testing + * environments.

            + */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline void SetCatalog(const Aws::String& value) { m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalog.assign(value); } + inline PutSellingSystemSettingsResult& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline PutSellingSystemSettingsResult& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline PutSellingSystemSettingsResult& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

            Specifies the ARN of the IAM Role used for resource snapshot job + * executions.

            + */ + inline const Aws::String& GetResourceSnapshotJobRoleArn() const{ return m_resourceSnapshotJobRoleArn; } + inline void SetResourceSnapshotJobRoleArn(const Aws::String& value) { m_resourceSnapshotJobRoleArn = value; } + inline void SetResourceSnapshotJobRoleArn(Aws::String&& value) { m_resourceSnapshotJobRoleArn = std::move(value); } + inline void SetResourceSnapshotJobRoleArn(const char* value) { m_resourceSnapshotJobRoleArn.assign(value); } + inline PutSellingSystemSettingsResult& WithResourceSnapshotJobRoleArn(const Aws::String& value) { SetResourceSnapshotJobRoleArn(value); return *this;} + inline PutSellingSystemSettingsResult& WithResourceSnapshotJobRoleArn(Aws::String&& value) { SetResourceSnapshotJobRoleArn(std::move(value)); return *this;} + inline PutSellingSystemSettingsResult& WithResourceSnapshotJobRoleArn(const char* value) { SetResourceSnapshotJobRoleArn(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 PutSellingSystemSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline PutSellingSystemSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline PutSellingSystemSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_catalog; + + Aws::String m_resourceSnapshotJobRoleArn; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ReasonCode.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ReasonCode.h index 35ef1916c5b..73bf7e40a5a 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ReasonCode.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ReasonCode.h @@ -17,16 +17,24 @@ namespace Model { NOT_SET, InvitationAccessDenied, + InvitationValidationFailed, EngagementAccessDenied, OpportunityAccessDenied, ResourceSnapshotJobAccessDenied, + ResourceSnapshotJobValidationFailed, + ResourceSnapshotJobConflict, EngagementValidationFailed, + EngagementConflict, OpportunitySubmissionFailed, EngagementInvitationConflict, - InternalError, OpportunityValidationFailed, OpportunityConflict, - ResourceSnapshotAccessDenied + ResourceSnapshotAccessDenied, + ResourceSnapshotValidationFailed, + ResourceSnapshotConflict, + InternalError, + ServiceQuotaExceeded, + RequestThrottled }; namespace ReasonCodeMapper diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/RelatedEntityIdentifiers.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/RelatedEntityIdentifiers.h index 424946015d6..6b52a3bd56e 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/RelatedEntityIdentifiers.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/RelatedEntityIdentifiers.h @@ -25,10 +25,10 @@ namespace Model { /** - *

            This field provides the associations' information for other entities with - * the opportunity. These entities include identifiers for - * AWSProducts, Partner Solutions, and - * AWSMarketplaceOffers.

            See Also:

            This field provides the associations' information for other entities with the + * opportunity. These entities include identifiers for AWSProducts, + * Partner Solutions, and + * AWSMarketplaceOffers.

            See Also:

            AWS * API Reference

            */ @@ -43,13 +43,13 @@ namespace Model ///@{ /** - *

            Takes one value per opportunity. Each value is an Amazon Resource Name - * (ARN), in this format: "offers": - * ["arn:aws:aws-marketplace:us-east-1:999999999999:AWSMarketplace/Offer/offer-sampleOffer32"]. - *

            Use the Takes one value per opportunity. Each value is an Amazon Resource Name (ARN), + * in this format: "offers": + * ["arn:aws:aws-marketplace:us-east-1:999999999999:AWSMarketplace/Offer/offer-sampleOffer32"].

            + *

            Use the ListEntities * action in the Marketplace Catalog APIs for a list of offers in the associated - * Marketplace seller account.

            + * Marketplace seller account.

            */ inline const Aws::Vector& GetAwsMarketplaceOffers() const{ return m_awsMarketplaceOffers; } inline bool AwsMarketplaceOffersHasBeenSet() const { return m_awsMarketplaceOffersHasBeenSet; } @@ -64,15 +64,15 @@ namespace Model ///@{ /** - *

            Enables the association of specific Amazon Web Services products with the + *

            Enables the association of specific Amazon Web Services products with the * Opportunity. Partners can indicate the relevant Amazon Web Services * products for the Opportunity's solution and align with the * customer's needs. Returns multiple values separated by commas. For example, * "AWSProducts" : ["AmazonRedshift", "AWSAppFabric", - * "AWSCleanRooms"].

            Use the file with the list of Amazon Web + * "AWSCleanRooms"].

            Use the file with the list of Amazon Web * Services products hosted on GitHub: - * Amazon Web Services products.

            + * Amazon Web Services products.

            */ inline const Aws::Vector& GetAwsProducts() const{ return m_awsProducts; } inline bool AwsProductsHasBeenSet() const { return m_awsProductsHasBeenSet; } @@ -87,16 +87,16 @@ namespace Model ///@{ /** - *

            Enables partner solutions or offerings' association with an opportunity. To + *

            Enables partner solutions or offerings' association with an opportunity. To * associate a solution, provide the solution's unique identifier, which you can - * obtain with the ListSolutions operation.

            If the specific + * obtain with the ListSolutions operation.

            If the specific * solution identifier is not available, you can use the value Other * and provide details about the solution in the otherSolutionOffered * field. But when the opportunity reaches the Committed stage or * beyond, the Other value cannot be used, and a valid solution - * identifier must be provided.

            By associating the relevant solutions with + * identifier must be provided.

            By associating the relevant solutions with * the opportunity, you can communicate the offerings that are being considered or - * implemented to address the customer's business problem.

            + * implemented to address the customer's business problem.

            */ inline const Aws::Vector& GetSolutions() const{ return m_solutions; } inline bool SolutionsHasBeenSet() const { return m_solutionsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceSnapshotJobStatus.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceSnapshotJobStatus.h new file mode 100644 index 00000000000..bcff8e1ff51 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceSnapshotJobStatus.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + enum class ResourceSnapshotJobStatus + { + NOT_SET, + Running, + Stopped + }; + +namespace ResourceSnapshotJobStatusMapper +{ +AWS_PARTNERCENTRALSELLING_API ResourceSnapshotJobStatus GetResourceSnapshotJobStatusForName(const Aws::String& name); + +AWS_PARTNERCENTRALSELLING_API Aws::String GetNameForResourceSnapshotJobStatus(ResourceSnapshotJobStatus value); +} // namespace ResourceSnapshotJobStatusMapper +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceSnapshotJobSummary.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceSnapshotJobSummary.h new file mode 100644 index 00000000000..d866f31d016 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceSnapshotJobSummary.h @@ -0,0 +1,116 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

            An object that contains a Resource Snapshot Job's subset of + * fields.

            See Also:

            AWS + * API Reference

            + */ + class ResourceSnapshotJobSummary + { + public: + AWS_PARTNERCENTRALSELLING_API ResourceSnapshotJobSummary(); + AWS_PARTNERCENTRALSELLING_API ResourceSnapshotJobSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API ResourceSnapshotJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

            The Amazon Resource Name (ARN) for the resource snapshot job.

            + */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline ResourceSnapshotJobSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline ResourceSnapshotJobSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline ResourceSnapshotJobSummary& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *

            The unique identifier for the engagement within the AWS Partner Central + * system. This ID is used for direct references to the engagement within the + * service.

            + */ + inline const Aws::String& GetEngagementId() const{ return m_engagementId; } + inline bool EngagementIdHasBeenSet() const { return m_engagementIdHasBeenSet; } + inline void SetEngagementId(const Aws::String& value) { m_engagementIdHasBeenSet = true; m_engagementId = value; } + inline void SetEngagementId(Aws::String&& value) { m_engagementIdHasBeenSet = true; m_engagementId = std::move(value); } + inline void SetEngagementId(const char* value) { m_engagementIdHasBeenSet = true; m_engagementId.assign(value); } + inline ResourceSnapshotJobSummary& WithEngagementId(const Aws::String& value) { SetEngagementId(value); return *this;} + inline ResourceSnapshotJobSummary& WithEngagementId(Aws::String&& value) { SetEngagementId(std::move(value)); return *this;} + inline ResourceSnapshotJobSummary& WithEngagementId(const char* value) { SetEngagementId(value); return *this;} + ///@} + + ///@{ + /** + *

            The unique identifier for the resource snapshot job within the AWS Partner + * Central system. This ID is used for direct references to the job within the + * service.

            + */ + inline const Aws::String& GetId() const{ return m_id; } + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } + inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } + inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } + inline ResourceSnapshotJobSummary& WithId(const Aws::String& value) { SetId(value); return *this;} + inline ResourceSnapshotJobSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline ResourceSnapshotJobSummary& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *

            Represents the current status of the resource snapshot job.

            + */ + inline const ResourceSnapshotJobStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const ResourceSnapshotJobStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(ResourceSnapshotJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline ResourceSnapshotJobSummary& WithStatus(const ResourceSnapshotJobStatus& value) { SetStatus(value); return *this;} + inline ResourceSnapshotJobSummary& WithStatus(ResourceSnapshotJobStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_arn; + bool m_arnHasBeenSet = false; + + Aws::String m_engagementId; + bool m_engagementIdHasBeenSet = false; + + Aws::String m_id; + bool m_idHasBeenSet = false; + + ResourceSnapshotJobStatus m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceSnapshotPayload.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceSnapshotPayload.h new file mode 100644 index 00000000000..b6c3e0f62c7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceSnapshotPayload.h @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

            Represents the payload of a resource snapshot. This structure is designed to + * accommodate different types of resource snapshots, currently supporting + * opportunity summaries.

            See Also:

            AWS + * API Reference

            + */ + class ResourceSnapshotPayload + { + public: + AWS_PARTNERCENTRALSELLING_API ResourceSnapshotPayload(); + AWS_PARTNERCENTRALSELLING_API ResourceSnapshotPayload(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API ResourceSnapshotPayload& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

            An object that contains an opportunity's subset of fields.

            + */ + inline const OpportunitySummaryView& GetOpportunitySummary() const{ return m_opportunitySummary; } + inline bool OpportunitySummaryHasBeenSet() const { return m_opportunitySummaryHasBeenSet; } + inline void SetOpportunitySummary(const OpportunitySummaryView& value) { m_opportunitySummaryHasBeenSet = true; m_opportunitySummary = value; } + inline void SetOpportunitySummary(OpportunitySummaryView&& value) { m_opportunitySummaryHasBeenSet = true; m_opportunitySummary = std::move(value); } + inline ResourceSnapshotPayload& WithOpportunitySummary(const OpportunitySummaryView& value) { SetOpportunitySummary(value); return *this;} + inline ResourceSnapshotPayload& WithOpportunitySummary(OpportunitySummaryView&& value) { SetOpportunitySummary(std::move(value)); return *this;} + ///@} + private: + + OpportunitySummaryView m_opportunitySummary; + bool m_opportunitySummaryHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceSnapshotSummary.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceSnapshotSummary.h new file mode 100644 index 00000000000..8f4baa2be89 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceSnapshotSummary.h @@ -0,0 +1,149 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

            Provides a concise summary of a resource snapshot, including its unique + * identifier and version information. This structure is used to quickly reference + * and identify specific versions of resource snapshots.

            See Also:

            + * AWS + * API Reference

            + */ + class ResourceSnapshotSummary + { + public: + AWS_PARTNERCENTRALSELLING_API ResourceSnapshotSummary(); + AWS_PARTNERCENTRALSELLING_API ResourceSnapshotSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API ResourceSnapshotSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

            The Amazon Resource Name (ARN) of the snapshot. This globally unique + * identifier can be used for cross-service references and in IAM policies.

            + */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline ResourceSnapshotSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline ResourceSnapshotSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline ResourceSnapshotSummary& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *

            The AWS account ID of the principal (user or role) who created the snapshot. + * This helps in tracking the origin of the snapshot.

            + */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline ResourceSnapshotSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline ResourceSnapshotSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline ResourceSnapshotSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

            The identifier of the specific resource snapshotted. The format might vary + * depending on the ResourceType.

            + */ + inline const Aws::String& GetResourceId() const{ return m_resourceId; } + inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } + inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } + inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } + inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } + inline ResourceSnapshotSummary& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} + inline ResourceSnapshotSummary& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} + inline ResourceSnapshotSummary& WithResourceId(const char* value) { SetResourceId(value); return *this;} + ///@} + + ///@{ + /** + *

            The name of the template used to create the snapshot.

            + */ + inline const Aws::String& GetResourceSnapshotTemplateName() const{ return m_resourceSnapshotTemplateName; } + inline bool ResourceSnapshotTemplateNameHasBeenSet() const { return m_resourceSnapshotTemplateNameHasBeenSet; } + inline void SetResourceSnapshotTemplateName(const Aws::String& value) { m_resourceSnapshotTemplateNameHasBeenSet = true; m_resourceSnapshotTemplateName = value; } + inline void SetResourceSnapshotTemplateName(Aws::String&& value) { m_resourceSnapshotTemplateNameHasBeenSet = true; m_resourceSnapshotTemplateName = std::move(value); } + inline void SetResourceSnapshotTemplateName(const char* value) { m_resourceSnapshotTemplateNameHasBeenSet = true; m_resourceSnapshotTemplateName.assign(value); } + inline ResourceSnapshotSummary& WithResourceSnapshotTemplateName(const Aws::String& value) { SetResourceSnapshotTemplateName(value); return *this;} + inline ResourceSnapshotSummary& WithResourceSnapshotTemplateName(Aws::String&& value) { SetResourceSnapshotTemplateName(std::move(value)); return *this;} + inline ResourceSnapshotSummary& WithResourceSnapshotTemplateName(const char* value) { SetResourceSnapshotTemplateName(value); return *this;} + ///@} + + ///@{ + /** + *

            The type of resource snapshotted.

            + */ + inline const ResourceType& GetResourceType() const{ return m_resourceType; } + inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } + inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } + inline ResourceSnapshotSummary& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} + inline ResourceSnapshotSummary& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

            The revision number of the snapshot. This integer value is incremented each + * time the snapshot is updated, allowing for version tracking of the resource + * snapshot.

            + */ + inline int GetRevision() const{ return m_revision; } + inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; } + inline void SetRevision(int value) { m_revisionHasBeenSet = true; m_revision = value; } + inline ResourceSnapshotSummary& WithRevision(int value) { SetRevision(value); return *this;} + ///@} + private: + + Aws::String m_arn; + bool m_arnHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::String m_resourceId; + bool m_resourceIdHasBeenSet = false; + + Aws::String m_resourceSnapshotTemplateName; + bool m_resourceSnapshotTemplateNameHasBeenSet = false; + + ResourceType m_resourceType; + bool m_resourceTypeHasBeenSet = false; + + int m_revision; + bool m_revisionHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceType.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceType.h new file mode 100644 index 00000000000..8c7acc84aba --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ResourceType.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + enum class ResourceType + { + NOT_SET, + Opportunity + }; + +namespace ResourceTypeMapper +{ +AWS_PARTNERCENTRALSELLING_API ResourceType GetResourceTypeForName(const Aws::String& name); + +AWS_PARTNERCENTRALSELLING_API Aws::String GetNameForResourceType(ResourceType value); +} // namespace ResourceTypeMapper +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SenderContact.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SenderContact.h index 82ac3b11b8e..fcbc4e3a477 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SenderContact.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SenderContact.h @@ -25,7 +25,7 @@ namespace Model /** *

            An object that contains the details of the sender-provided contact person for - * the EngagementInvitation.

            See Also:

            EngagementInvitation
            .

            See Also:

            AWS * API Reference

            */ @@ -41,7 +41,7 @@ namespace Model ///@{ /** *

            The sender-provided contact's title (job title or role) associated with the - * EngagementInvitation.

            + * EngagementInvitation.

            */ inline const Aws::String& GetBusinessTitle() const{ return m_businessTitle; } inline bool BusinessTitleHasBeenSet() const { return m_businessTitleHasBeenSet; } @@ -56,7 +56,7 @@ namespace Model ///@{ /** *

            The sender-provided contact's email address associated with the - * EngagementInvitation.

            + * EngagementInvitation.

            */ inline const Aws::String& GetEmail() const{ return m_email; } inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; } @@ -71,7 +71,7 @@ namespace Model ///@{ /** *

            The sender-provided contact's last name associated with the - * EngagementInvitation.

            + * EngagementInvitation.

            */ inline const Aws::String& GetFirstName() const{ return m_firstName; } inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; } @@ -86,7 +86,7 @@ namespace Model ///@{ /** *

            The sender-provided contact's first name associated with the - * EngagementInvitation.

            + * EngagementInvitation.

            */ inline const Aws::String& GetLastName() const{ return m_lastName; } inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; } @@ -101,7 +101,7 @@ namespace Model ///@{ /** *

            The sender-provided contact's phone number associated with the - * EngagementInvitation.

            + * EngagementInvitation.

            */ inline const Aws::String& GetPhone() const{ return m_phone; } inline bool PhoneHasBeenSet() const { return m_phoneHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SoftwareRevenue.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SoftwareRevenue.h index 74201701102..eed81700fa5 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SoftwareRevenue.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SoftwareRevenue.h @@ -44,7 +44,7 @@ namespace Model /** *

            Specifies the customer's intended payment type agreement or procurement * method to acquire the solution or service outlined in the - * Opportunity.

            + * Opportunity.

            */ inline const RevenueModel& GetDeliveryModel() const{ return m_deliveryModel; } inline bool DeliveryModelHasBeenSet() const { return m_deliveryModelHasBeenSet; } @@ -57,7 +57,7 @@ namespace Model ///@{ /** *

            Specifies the Opportunity's customer engagement start date for - * the contract's effectiveness.

            + * the contract's effectiveness.

            */ inline const Aws::String& GetEffectiveDate() const{ return m_effectiveDate; } inline bool EffectiveDateHasBeenSet() const { return m_effectiveDateHasBeenSet; } @@ -73,7 +73,7 @@ namespace Model /** *

            Specifies the expiration date for the contract between the customer and * Amazon Web Services partner. It signifies the termination date of the - * agreed-upon engagement period between both parties.

            + * agreed-upon engagement period between both parties.

            */ inline const Aws::String& GetExpirationDate() const{ return m_expirationDate; } inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SolutionBase.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SolutionBase.h index d417fd5caae..fb786353bd3 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SolutionBase.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SolutionBase.h @@ -40,6 +40,21 @@ namespace Model AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

            The SolutionBase structure provides essential information about a solution. + *

            + */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline SolutionBase& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline SolutionBase& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline SolutionBase& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + ///@{ /** *

            Specifies the catalog in which the solution is hosted, either @@ -58,13 +73,13 @@ namespace Model ///@{ /** - *

            Specifies the solution category, which helps to categorize and organize the + *

            Specifies the solution category, which helps to categorize and organize the * solutions partners offer. Valid values: Software Product | * Consulting Service | Hardware Product | * Communications Product | Professional Service | * Managed Service | Value-Added Resale Amazon Web Services * Service | Distribution Service | Training - * Service | Merger and Acquisition Advising Service.

            + * Service | Merger and Acquisition Advising Service.

            */ inline const Aws::String& GetCategory() const{ return m_category; } inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; } @@ -118,11 +133,11 @@ namespace Model ///@{ /** - *

            Specifies the solution's current status, which indicates its state in the + *

            Specifies the solution's current status, which indicates its state in the * system. Valid values: Active | Inactive | * Draft. The status helps partners and Amazon Web Services track the * solution's lifecycle and availability. Filter for Active solutions - * for association to an opportunity.

            + * for association to an opportunity.

            */ inline const SolutionStatus& GetStatus() const{ return m_status; } inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } @@ -133,6 +148,9 @@ namespace Model ///@} private: + Aws::String m_arn; + bool m_arnHasBeenSet = false; + Aws::String m_catalog; bool m_catalogHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SolutionSort.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SolutionSort.h index b8ea46a15b1..c36fa509a18 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SolutionSort.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SolutionSort.h @@ -25,8 +25,8 @@ namespace Model { /** - *

            Configures the solutions' response sorting that enables partners to order - * solutions based on specified attributes.

            See Also:

            Configures the solutions' response sorting that enables partners to order + * solutions based on specified attributes.

            See Also:

            AWS * API Reference

            */ @@ -41,8 +41,8 @@ namespace Model ///@{ /** - *

            Specifies the attribute to sort by, such as Name, - * CreatedDate, or Status.

            + *

            Specifies the attribute to sort by, such as Name, + * CreatedDate, or Status.

            */ inline const SolutionSortName& GetSortBy() const{ return m_sortBy; } inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; } @@ -54,8 +54,8 @@ namespace Model ///@{ /** - *

            Specifies the sorting order, either Ascending or - * Descending. The default is Descending.

            + *

            Specifies the sorting order, either Ascending or + * Descending. The default is Descending.

            */ inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SortBy.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SortBy.h new file mode 100644 index 00000000000..af669725cdd --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SortBy.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + enum class SortBy + { + NOT_SET, + CreatedDate + }; + +namespace SortByMapper +{ +AWS_PARTNERCENTRALSELLING_API SortBy GetSortByForName(const Aws::String& name); + +AWS_PARTNERCENTRALSELLING_API Aws::String GetNameForSortBy(SortBy value); +} // namespace SortByMapper +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SortObject.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SortObject.h new file mode 100644 index 00000000000..30fca91610f --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SortObject.h @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + *

            Defines the sorting parameters for listing resource snapshot jobs. This + * structure allows you to specify the field to sort by and the order of sorting. + *

            See Also:

            AWS + * API Reference

            + */ + class SortObject + { + public: + AWS_PARTNERCENTRALSELLING_API SortObject(); + AWS_PARTNERCENTRALSELLING_API SortObject(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API SortObject& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

            Specifies the field by which to sort the resource snapshot jobs.

            + */ + inline const SortBy& GetSortBy() const{ return m_sortBy; } + inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; } + inline void SetSortBy(const SortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; } + inline void SetSortBy(SortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); } + inline SortObject& WithSortBy(const SortBy& value) { SetSortBy(value); return *this;} + inline SortObject& WithSortBy(SortBy&& value) { SetSortBy(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

            Determines the order in which the sorted results are presented.

            + */ + inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } + inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } + inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } + inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } + inline SortObject& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} + inline SortObject& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} + ///@} + private: + + SortBy m_sortBy; + bool m_sortByHasBeenSet = false; + + SortOrder m_sortOrder; + bool m_sortOrderHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/StartEngagementByAcceptingInvitationTaskResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/StartEngagementByAcceptingInvitationTaskResult.h index 11613048281..35fc6b44fa2 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/StartEngagementByAcceptingInvitationTaskResult.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/StartEngagementByAcceptingInvitationTaskResult.h @@ -88,6 +88,20 @@ namespace Model inline StartEngagementByAcceptingInvitationTaskResult& WithReasonCode(ReasonCode&& value) { SetReasonCode(std::move(value)); return *this;} ///@} + ///@{ + /** + *

            The identifier of the resource snapshot job created as part of this task. + *

            + */ + inline const Aws::String& GetResourceSnapshotJobId() const{ return m_resourceSnapshotJobId; } + inline void SetResourceSnapshotJobId(const Aws::String& value) { m_resourceSnapshotJobId = value; } + inline void SetResourceSnapshotJobId(Aws::String&& value) { m_resourceSnapshotJobId = std::move(value); } + inline void SetResourceSnapshotJobId(const char* value) { m_resourceSnapshotJobId.assign(value); } + inline StartEngagementByAcceptingInvitationTaskResult& WithResourceSnapshotJobId(const Aws::String& value) { SetResourceSnapshotJobId(value); return *this;} + inline StartEngagementByAcceptingInvitationTaskResult& WithResourceSnapshotJobId(Aws::String&& value) { SetResourceSnapshotJobId(std::move(value)); return *this;} + inline StartEngagementByAcceptingInvitationTaskResult& WithResourceSnapshotJobId(const char* value) { SetResourceSnapshotJobId(value); return *this;} + ///@} + ///@{ /** *

            The timestamp indicating when the task was initiated. The format follows RFC @@ -158,6 +172,8 @@ namespace Model ReasonCode m_reasonCode; + Aws::String m_resourceSnapshotJobId; + Aws::Utils::DateTime m_startTime; Aws::String m_taskArn; diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/StartEngagementFromOpportunityTaskResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/StartEngagementFromOpportunityTaskResult.h index 2ae4df224eb..6d7a9388084 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/StartEngagementFromOpportunityTaskResult.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/StartEngagementFromOpportunityTaskResult.h @@ -35,6 +35,34 @@ namespace Model AWS_PARTNERCENTRALSELLING_API StartEngagementFromOpportunityTaskResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

            The identifier of the newly created engagement. Only populated if TaskStatus + * is COMPLETE.

            + */ + inline const Aws::String& GetEngagementId() const{ return m_engagementId; } + inline void SetEngagementId(const Aws::String& value) { m_engagementId = value; } + inline void SetEngagementId(Aws::String&& value) { m_engagementId = std::move(value); } + inline void SetEngagementId(const char* value) { m_engagementId.assign(value); } + inline StartEngagementFromOpportunityTaskResult& WithEngagementId(const Aws::String& value) { SetEngagementId(value); return *this;} + inline StartEngagementFromOpportunityTaskResult& WithEngagementId(Aws::String&& value) { SetEngagementId(std::move(value)); return *this;} + inline StartEngagementFromOpportunityTaskResult& WithEngagementId(const char* value) { SetEngagementId(value); return *this;} + ///@} + + ///@{ + /** + *

            The identifier of the new engagement invitation. Only populated if + * TaskStatus is COMPLETE.

            + */ + inline const Aws::String& GetEngagementInvitationId() const{ return m_engagementInvitationId; } + inline void SetEngagementInvitationId(const Aws::String& value) { m_engagementInvitationId = value; } + inline void SetEngagementInvitationId(Aws::String&& value) { m_engagementInvitationId = std::move(value); } + inline void SetEngagementInvitationId(const char* value) { m_engagementInvitationId.assign(value); } + inline StartEngagementFromOpportunityTaskResult& WithEngagementInvitationId(const Aws::String& value) { SetEngagementInvitationId(value); return *this;} + inline StartEngagementFromOpportunityTaskResult& WithEngagementInvitationId(Aws::String&& value) { SetEngagementInvitationId(std::move(value)); return *this;} + inline StartEngagementFromOpportunityTaskResult& WithEngagementInvitationId(const char* value) { SetEngagementInvitationId(value); return *this;} + ///@} + ///@{ /** *

            If the task fails, this field contains a detailed message describing the @@ -74,6 +102,21 @@ namespace Model inline StartEngagementFromOpportunityTaskResult& WithReasonCode(ReasonCode&& value) { SetReasonCode(std::move(value)); return *this;} ///@} + ///@{ + /** + *

            The identifier of the resource snapshot job created to add the opportunity + * resource snapshot to the Engagement. Only populated if TaskStatus is COMPLETE. + *

            + */ + inline const Aws::String& GetResourceSnapshotJobId() const{ return m_resourceSnapshotJobId; } + inline void SetResourceSnapshotJobId(const Aws::String& value) { m_resourceSnapshotJobId = value; } + inline void SetResourceSnapshotJobId(Aws::String&& value) { m_resourceSnapshotJobId = std::move(value); } + inline void SetResourceSnapshotJobId(const char* value) { m_resourceSnapshotJobId.assign(value); } + inline StartEngagementFromOpportunityTaskResult& WithResourceSnapshotJobId(const Aws::String& value) { SetResourceSnapshotJobId(value); return *this;} + inline StartEngagementFromOpportunityTaskResult& WithResourceSnapshotJobId(Aws::String&& value) { SetResourceSnapshotJobId(std::move(value)); return *this;} + inline StartEngagementFromOpportunityTaskResult& WithResourceSnapshotJobId(const char* value) { SetResourceSnapshotJobId(value); return *this;} + ///@} + ///@{ /** *

            The timestamp indicating when the task was initiated. The format follows RFC @@ -138,12 +181,18 @@ namespace Model ///@} private: + Aws::String m_engagementId; + + Aws::String m_engagementInvitationId; + Aws::String m_message; Aws::String m_opportunityId; ReasonCode m_reasonCode; + Aws::String m_resourceSnapshotJobId; + Aws::Utils::DateTime m_startTime; Aws::String m_taskArn; diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/StartResourceSnapshotJobRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/StartResourceSnapshotJobRequest.h new file mode 100644 index 00000000000..a8301ef4c68 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/StartResourceSnapshotJobRequest.h @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class StartResourceSnapshotJobRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API StartResourceSnapshotJobRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "StartResourceSnapshotJob"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

            Specifies the catalog related to the request.

            + */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline StartResourceSnapshotJobRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline StartResourceSnapshotJobRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline StartResourceSnapshotJobRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

            The identifier of the resource snapshot job to start.

            + */ + inline const Aws::String& GetResourceSnapshotJobIdentifier() const{ return m_resourceSnapshotJobIdentifier; } + inline bool ResourceSnapshotJobIdentifierHasBeenSet() const { return m_resourceSnapshotJobIdentifierHasBeenSet; } + inline void SetResourceSnapshotJobIdentifier(const Aws::String& value) { m_resourceSnapshotJobIdentifierHasBeenSet = true; m_resourceSnapshotJobIdentifier = value; } + inline void SetResourceSnapshotJobIdentifier(Aws::String&& value) { m_resourceSnapshotJobIdentifierHasBeenSet = true; m_resourceSnapshotJobIdentifier = std::move(value); } + inline void SetResourceSnapshotJobIdentifier(const char* value) { m_resourceSnapshotJobIdentifierHasBeenSet = true; m_resourceSnapshotJobIdentifier.assign(value); } + inline StartResourceSnapshotJobRequest& WithResourceSnapshotJobIdentifier(const Aws::String& value) { SetResourceSnapshotJobIdentifier(value); return *this;} + inline StartResourceSnapshotJobRequest& WithResourceSnapshotJobIdentifier(Aws::String&& value) { SetResourceSnapshotJobIdentifier(std::move(value)); return *this;} + inline StartResourceSnapshotJobRequest& WithResourceSnapshotJobIdentifier(const char* value) { SetResourceSnapshotJobIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::String m_resourceSnapshotJobIdentifier; + bool m_resourceSnapshotJobIdentifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/StopResourceSnapshotJobRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/StopResourceSnapshotJobRequest.h new file mode 100644 index 00000000000..669b1eca264 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/StopResourceSnapshotJobRequest.h @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class StopResourceSnapshotJobRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API StopResourceSnapshotJobRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "StopResourceSnapshotJob"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

            Specifies the catalog related to the request.

            + */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline StopResourceSnapshotJobRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline StopResourceSnapshotJobRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline StopResourceSnapshotJobRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

            The identifier of the job to stop.

            + */ + inline const Aws::String& GetResourceSnapshotJobIdentifier() const{ return m_resourceSnapshotJobIdentifier; } + inline bool ResourceSnapshotJobIdentifierHasBeenSet() const { return m_resourceSnapshotJobIdentifierHasBeenSet; } + inline void SetResourceSnapshotJobIdentifier(const Aws::String& value) { m_resourceSnapshotJobIdentifierHasBeenSet = true; m_resourceSnapshotJobIdentifier = value; } + inline void SetResourceSnapshotJobIdentifier(Aws::String&& value) { m_resourceSnapshotJobIdentifierHasBeenSet = true; m_resourceSnapshotJobIdentifier = std::move(value); } + inline void SetResourceSnapshotJobIdentifier(const char* value) { m_resourceSnapshotJobIdentifierHasBeenSet = true; m_resourceSnapshotJobIdentifier.assign(value); } + inline StopResourceSnapshotJobRequest& WithResourceSnapshotJobIdentifier(const Aws::String& value) { SetResourceSnapshotJobIdentifier(value); return *this;} + inline StopResourceSnapshotJobRequest& WithResourceSnapshotJobIdentifier(Aws::String&& value) { SetResourceSnapshotJobIdentifier(std::move(value)); return *this;} + inline StopResourceSnapshotJobRequest& WithResourceSnapshotJobIdentifier(const char* value) { SetResourceSnapshotJobIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::String m_resourceSnapshotJobIdentifier; + bool m_resourceSnapshotJobIdentifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SubmitOpportunityRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SubmitOpportunityRequest.h new file mode 100644 index 00000000000..e64874e4a85 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/SubmitOpportunityRequest.h @@ -0,0 +1,109 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + + /** + */ + class SubmitOpportunityRequest : public PartnerCentralSellingRequest + { + public: + AWS_PARTNERCENTRALSELLING_API SubmitOpportunityRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "SubmitOpportunity"; } + + AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override; + + AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

            Specifies the catalog related to the request.

            + */ + inline const Aws::String& GetCatalog() const{ return m_catalog; } + inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } + inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } + inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } + inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } + inline SubmitOpportunityRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} + inline SubmitOpportunityRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} + inline SubmitOpportunityRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;} + ///@} + + ///@{ + /** + *

            The identifier of the opportunity previously created by partner and needs to + * be submitted.

            + */ + inline const Aws::String& GetIdentifier() const{ return m_identifier; } + inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } + inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } + inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } + inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } + inline SubmitOpportunityRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} + inline SubmitOpportunityRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} + inline SubmitOpportunityRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

            Specifies the level of AWS sellers' involvement on the opportunity.

            + */ + inline const SalesInvolvementType& GetInvolvementType() const{ return m_involvementType; } + inline bool InvolvementTypeHasBeenSet() const { return m_involvementTypeHasBeenSet; } + inline void SetInvolvementType(const SalesInvolvementType& value) { m_involvementTypeHasBeenSet = true; m_involvementType = value; } + inline void SetInvolvementType(SalesInvolvementType&& value) { m_involvementTypeHasBeenSet = true; m_involvementType = std::move(value); } + inline SubmitOpportunityRequest& WithInvolvementType(const SalesInvolvementType& value) { SetInvolvementType(value); return *this;} + inline SubmitOpportunityRequest& WithInvolvementType(SalesInvolvementType&& value) { SetInvolvementType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

            Determines whether to restrict visibility of the opportunity from AWS sales. + * Default value is Full.

            + */ + inline const Visibility& GetVisibility() const{ return m_visibility; } + inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; } + inline void SetVisibility(const Visibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; } + inline void SetVisibility(Visibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); } + inline SubmitOpportunityRequest& WithVisibility(const Visibility& value) { SetVisibility(value); return *this;} + inline SubmitOpportunityRequest& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_catalog; + bool m_catalogHasBeenSet = false; + + Aws::String m_identifier; + bool m_identifierHasBeenSet = false; + + SalesInvolvementType m_involvementType; + bool m_involvementTypeHasBeenSet = false; + + Visibility m_visibility; + bool m_visibilityHasBeenSet = false; + }; + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/UpdateOpportunityRequest.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/UpdateOpportunityRequest.h index cc07c2d1c78..148047dacc8 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/UpdateOpportunityRequest.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/UpdateOpportunityRequest.h @@ -46,14 +46,14 @@ namespace Model ///@{ /** - *

            Specifies the catalog associated with the request. This field takes a string + *

            Specifies the catalog associated with the request. This field takes a string * value from a predefined list: AWS or Sandbox. The * catalog determines which environment the opportunity is updated in. Use * AWS to update real opportunities in the production environment, and * Sandbox for testing in secure, isolated environments. When you use * the Sandbox catalog, it allows you to simulate and validate your * interactions with Amazon Web Services services without affecting live data or - * operations.

            + * operations.

            */ inline const Aws::String& GetCatalog() const{ return m_catalog; } inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } @@ -68,7 +68,7 @@ namespace Model ///@{ /** *

            Specifies details of the customer associated with the - * Opportunity.

            + * Opportunity.

            */ inline const Customer& GetCustomer() const{ return m_customer; } inline bool CustomerHasBeenSet() const { return m_customerHasBeenSet; } @@ -80,7 +80,7 @@ namespace Model ///@{ /** - *

            Read-only, system generated Opportunity unique identifier.

            + *

            Read-only, system generated Opportunity unique identifier.

            */ inline const Aws::String& GetIdentifier() const{ return m_identifier; } inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } @@ -94,7 +94,7 @@ namespace Model ///@{ /** - *

            DateTime when the opportunity was last modified.

            + *

            DateTime when the opportunity was last modified.

            */ inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; } inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; } @@ -106,8 +106,8 @@ namespace Model ///@{ /** - *

            An object that contains lifecycle details for the Opportunity. - *

            + *

            An object that contains lifecycle details for the + * Opportunity.

            */ inline const LifeCycle& GetLifeCycle() const{ return m_lifeCycle; } inline bool LifeCycleHasBeenSet() const { return m_lifeCycleHasBeenSet; } @@ -119,8 +119,8 @@ namespace Model ///@{ /** - *

            An object that contains marketing details for the Opportunity. - *

            + *

            An object that contains marketing details for the + * Opportunity.

            */ inline const Marketing& GetMarketing() const{ return m_marketing; } inline bool MarketingHasBeenSet() const { return m_marketingHasBeenSet; } @@ -147,15 +147,15 @@ namespace Model ///@{ /** - *

            Specifies the opportunity type as a renewal, new, or expansion.

            - * Opportunity types:

            • New opportunity: Represents a new business - * opportunity with a potential customer that's not previously engaged with your - * solutions or services.

            • Renewal opportunity: Represents an - * opportunity to renew an existing contract or subscription with a current - * customer, ensuring continuity of service.

            • Expansion + *

              Specifies the opportunity type as a renewal, new, or expansion.

              + *

              Opportunity types:

              • New opportunity: Represents a new + * business opportunity with a potential customer that's not previously engaged + * with your solutions or services.

              • Renewal opportunity: + * Represents an opportunity to renew an existing contract or subscription with a + * current customer, ensuring continuity of service.

              • Expansion * opportunity: Represents an opportunity to expand the scope of an existing * contract or subscription, either by adding new services or increasing the volume - * of existing services for a current customer.

              + * of existing services for a current customer.

            */ inline const OpportunityType& GetOpportunityType() const{ return m_opportunityType; } inline bool OpportunityTypeHasBeenSet() const { return m_opportunityTypeHasBeenSet; } @@ -169,7 +169,7 @@ namespace Model /** *

            Specifies the opportunity's unique identifier in the partner's CRM system. * This value is essential to track and reconcile because it's included in the - * outbound payload sent back to the partner.

            + * outbound payload sent back to the partner.

            */ inline const Aws::String& GetPartnerOpportunityIdentifier() const{ return m_partnerOpportunityIdentifier; } inline bool PartnerOpportunityIdentifierHasBeenSet() const { return m_partnerOpportunityIdentifierHasBeenSet; } @@ -183,31 +183,32 @@ namespace Model ///@{ /** - *

            Identifies the type of support the partner needs from Amazon Web Services. - *

            Valid values:

            • Cosell—Architectural Validation: + *

              Identifies the type of support the partner needs from Amazon Web + * Services.

              Valid values:

              • Cosell—Architectural Validation: * Confirmation from Amazon Web Services that the partner's proposed solution * architecture is aligned with Amazon Web Services best practices and poses - * minimal architectural risks.

              • Cosell—Business Presentation: + * minimal architectural risks.

              • Cosell—Business Presentation: * Request Amazon Web Services seller's participation in a joint customer - * presentation.

              • Cosell—Competitive Information: Access to - * Amazon Web Services competitive resources and support for the partner's proposed - * solution.

              • Cosell—Pricing Assistance: Connect with an AWS + * presentation.

              • Cosell—Competitive Information: Access to Amazon + * Web Services competitive resources and support for the partner's proposed + * solution.

              • Cosell—Pricing Assistance: Connect with an AWS * seller for support situations where a partner may be receiving an upfront - * discount on a service (for example: EDP deals).

              • - * Cosell—Technical Consultation: Connection with an Amazon Web Services Solutions - * Architect to address the partner's questions about the proposed solution.

                - *
              • Cosell—Total Cost of Ownership Evaluation: Assistance with - * quoting different cost savings of proposed solutions on Amazon Web Services - * versus on-premises or a traditional hosting environment.

              • - * Cosell—Deal Support: Request Amazon Web Services seller's support to progress - * the opportunity (for example: joint customer call, strategic positioning).

                - *
              • Cosell—Support for Public Tender/RFx: Opportunity related to the - * public sector where the partner needs RFx support from Amazon Web Services.

                - *
              • Do Not Need Support from AWS Sales Rep: Indicates that a partner - * doesn't need support from an Amazon Web Services Sales representative. The - * opportunity is managed solely by the partner. It's possible to request coselling - * support on these opportunities at any stage during their lifecycle. Also known - * as, for-visibility-only (FVO) opportunity.

              + * discount on a service (for example: EDP deals).

            • + *

              Cosell—Technical Consultation: Connection with an Amazon Web Services + * Solutions Architect to address the partner's questions about the proposed + * solution.

            • Cosell—Total Cost of Ownership Evaluation: + * Assistance with quoting different cost savings of proposed solutions on Amazon + * Web Services versus on-premises or a traditional hosting environment.

            • + *
            • Cosell—Deal Support: Request Amazon Web Services seller's support to + * progress the opportunity (for example: joint customer call, strategic + * positioning).

            • Cosell—Support for Public Tender/RFx: + * Opportunity related to the public sector where the partner needs RFx support + * from Amazon Web Services.

            • Do Not Need Support from AWS Sales + * Rep: Indicates that a partner doesn't need support from an Amazon Web Services + * Sales representative. The opportunity is managed solely by the partner. It's + * possible to request coselling support on these opportunities at any stage during + * their lifecycle. Also known as, for-visibility-only (FVO) opportunity.

            • + *
            */ inline const Aws::Vector& GetPrimaryNeedsFromAws() const{ return m_primaryNeedsFromAws; } inline bool PrimaryNeedsFromAwsHasBeenSet() const { return m_primaryNeedsFromAwsHasBeenSet; } @@ -222,7 +223,7 @@ namespace Model ///@{ /** *

            An object that contains project details summary for the - * Opportunity.

            + * Opportunity.

            */ inline const Project& GetProject() const{ return m_project; } inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/UpdateOpportunityResult.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/UpdateOpportunityResult.h index fb8ad1144d1..9461812f695 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/UpdateOpportunityResult.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/UpdateOpportunityResult.h @@ -35,7 +35,7 @@ namespace Model ///@{ /** - *

            Read-only, system generated Opportunity unique identifier.

            + *

            Read-only, system generated Opportunity unique identifier.

            */ inline const Aws::String& GetId() const{ return m_id; } inline void SetId(const Aws::String& value) { m_id = value; } @@ -48,7 +48,7 @@ namespace Model ///@{ /** - *

            DateTime when the opportunity was last modified.

            + *

            DateTime when the opportunity was last modified.

            */ inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; } inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ValidationException.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ValidationException.h index 65f5ad4d55c..453ed6cbf25 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ValidationException.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ValidationException.h @@ -28,9 +28,9 @@ namespace Model /** *

            The input fails to satisfy the constraints specified by the service or - * business validation rules.

            Suggested action: Review the error message, - * including the failed fields and reasons, to correct the request payload. - *

            See Also:

            Suggested action: Review the error message, + * including the failed fields and reasons, to correct the request + * payload.

            See Also:

            AWS * API Reference

            */ @@ -46,7 +46,7 @@ namespace Model ///@{ /** *

            A list of issues that were discovered in the submitted request or the - * resource state.

            + * resource state.

            */ inline const Aws::Vector& GetErrorList() const{ return m_errorList; } inline bool ErrorListHasBeenSet() const { return m_errorListHasBeenSet; } @@ -72,13 +72,13 @@ namespace Model ///@{ /** - *

            The primary reason for this validation exception to occur.

            • - *

              REQUEST_VALIDATION_FAILED: The request format is not valid.

              - *

              Fix: Verify your request payload includes all required fields, uses correct - * data types and string formats.

            • - * BUSINESS_VALIDATION_FAILED: The requested change doesn't pass the - * business validation rules.

              Fix: Check that your change aligns with the - * business rules defined by AWS Partner Central.

            + *

            The primary reason for this validation exception to occur.

            • + * REQUEST_VALIDATION_FAILED: The request format is not valid.

              Fix: + * Verify your request payload includes all required fields, uses correct data + * types and string formats.

            • BUSINESS_VALIDATION_FAILED: + * The requested change doesn't pass the business validation rules.

              Fix: + * Check that your change aligns with the business rules defined by AWS Partner + * Central.

            */ inline const ValidationExceptionReason& GetReason() const{ return m_reason; } inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ValidationExceptionError.h b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ValidationExceptionError.h index 8578691d8eb..cb0ac0f6b5a 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ValidationExceptionError.h +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/include/aws/partnercentral-selling/model/ValidationExceptionError.h @@ -25,25 +25,25 @@ namespace Model { /** - *

            Indicates an invalid value for a field.

            • + *

              Indicates an invalid value for a field.

              • * REQUIRED_FIELD_MISSING: The request is missing a required field.

                - *

                Fix: Verify your request payload includes all required fields.

              • - *
              • INVALID_ENUM_VALUE: The enum field value isn't an accepted + *

                Fix: Verify your request payload includes all required fields.

              • + *

                INVALID_ENUM_VALUE: The enum field value isn't an accepted * values.

                Fix: Check the documentation for the list of valid enum values, - * and update your request with a valid value.

              • + * and update your request with a valid value.

              • * INVALID_STRING_FORMAT: The string format is invalid.

                Fix: Confirm - * that the string is in the expected format (For example: email address, date). - *

              • INVALID_VALUE: The value isn't valid.

                Fix: - * Confirm that the value meets the expected criteria and is within the allowable - * range or set.

              • TOO_MANY_VALUES: There are too many - * values in a field that expects fewer entries.

                Fix: Reduce the number of - * values to match the expected limit.

              • + * that the string is in the expected format (For example: email address, + * date).

              • INVALID_VALUE: The value isn't valid.

                + *

                Fix: Confirm that the value meets the expected criteria and is within the + * allowable range or set.

              • TOO_MANY_VALUES: There are too + * many values in a field that expects fewer entries.

                Fix: Reduce the number + * of values to match the expected limit.

              • * ACTION_NOT_PERMITTED: The action isn't permitted due to current state or * permissions.

                Fix: Verify that the action is appropriate for the current - * state, and that you have the necessary permissions to perform it.

              • - *
              • DUPLICATE_KEY_VALUE: The value in a field duplicates a value - * that must be unique.

                Fix: Verify that the value is unique and doesn't - * duplicate an existing value in the system.

              See Also:

              + * state, and that you have the necessary permissions to perform it.

            • + *

              DUPLICATE_KEY_VALUE: The value in a field duplicates a value that + * must be unique.

              Fix: Verify that the value is unique and doesn't + * duplicate an existing value in the system.

            See Also:

            * AWS * API Reference

            diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/PartnerCentralSellingClient.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/PartnerCentralSellingClient.cpp index 3f6f2ba5dfc..6f1f086bb0d 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/source/PartnerCentralSellingClient.cpp +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/PartnerCentralSellingClient.cpp @@ -21,19 +21,40 @@ #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 @@ -178,6 +199,32 @@ void PartnerCentralSellingClient::OverrideEndpoint(const Aws::String& endpoint) m_endpointProvider->OverrideEndpoint(endpoint); } +AcceptEngagementInvitationOutcome PartnerCentralSellingClient::AcceptEngagementInvitation(const AcceptEngagementInvitationRequest& request) const +{ + AWS_OPERATION_GUARD(AcceptEngagementInvitation); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, AcceptEngagementInvitation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, AcceptEngagementInvitation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, AcceptEngagementInvitation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".AcceptEngagementInvitation", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> AcceptEngagementInvitationOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, AcceptEngagementInvitation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return AcceptEngagementInvitationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + AssignOpportunityOutcome PartnerCentralSellingClient::AssignOpportunity(const AssignOpportunityRequest& request) const { AWS_OPERATION_GUARD(AssignOpportunity); @@ -230,6 +277,58 @@ AssociateOpportunityOutcome PartnerCentralSellingClient::AssociateOpportunity(co {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +CreateEngagementOutcome PartnerCentralSellingClient::CreateEngagement(const CreateEngagementRequest& request) const +{ + AWS_OPERATION_GUARD(CreateEngagement); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateEngagement, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateEngagement, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateEngagement, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateEngagement", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CreateEngagementOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateEngagement, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return CreateEngagementOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +CreateEngagementInvitationOutcome PartnerCentralSellingClient::CreateEngagementInvitation(const CreateEngagementInvitationRequest& request) const +{ + AWS_OPERATION_GUARD(CreateEngagementInvitation); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateEngagementInvitation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateEngagementInvitation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateEngagementInvitation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateEngagementInvitation", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CreateEngagementInvitationOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateEngagementInvitation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return CreateEngagementInvitationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + CreateOpportunityOutcome PartnerCentralSellingClient::CreateOpportunity(const CreateOpportunityRequest& request) const { AWS_OPERATION_GUARD(CreateOpportunity); @@ -256,6 +355,84 @@ CreateOpportunityOutcome PartnerCentralSellingClient::CreateOpportunity(const Cr {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +CreateResourceSnapshotOutcome PartnerCentralSellingClient::CreateResourceSnapshot(const CreateResourceSnapshotRequest& request) const +{ + AWS_OPERATION_GUARD(CreateResourceSnapshot); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateResourceSnapshot, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateResourceSnapshot, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateResourceSnapshot, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateResourceSnapshot", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CreateResourceSnapshotOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateResourceSnapshot, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return CreateResourceSnapshotOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +CreateResourceSnapshotJobOutcome PartnerCentralSellingClient::CreateResourceSnapshotJob(const CreateResourceSnapshotJobRequest& request) const +{ + AWS_OPERATION_GUARD(CreateResourceSnapshotJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateResourceSnapshotJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateResourceSnapshotJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateResourceSnapshotJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateResourceSnapshotJob", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CreateResourceSnapshotJobOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateResourceSnapshotJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return CreateResourceSnapshotJobOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +DeleteResourceSnapshotJobOutcome PartnerCentralSellingClient::DeleteResourceSnapshotJob(const DeleteResourceSnapshotJobRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteResourceSnapshotJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteResourceSnapshotJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteResourceSnapshotJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteResourceSnapshotJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteResourceSnapshotJob", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DeleteResourceSnapshotJobOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteResourceSnapshotJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DeleteResourceSnapshotJobOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + DisassociateOpportunityOutcome PartnerCentralSellingClient::DisassociateOpportunity(const DisassociateOpportunityRequest& request) const { AWS_OPERATION_GUARD(DisassociateOpportunity); @@ -308,6 +485,32 @@ GetAwsOpportunitySummaryOutcome PartnerCentralSellingClient::GetAwsOpportunitySu {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetEngagementOutcome PartnerCentralSellingClient::GetEngagement(const GetEngagementRequest& request) const +{ + AWS_OPERATION_GUARD(GetEngagement); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetEngagement, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetEngagement, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetEngagement, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetEngagement", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetEngagementOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetEngagement, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetEngagementOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + GetEngagementInvitationOutcome PartnerCentralSellingClient::GetEngagementInvitation(const GetEngagementInvitationRequest& request) const { AWS_OPERATION_GUARD(GetEngagementInvitation); @@ -360,6 +563,136 @@ GetOpportunityOutcome PartnerCentralSellingClient::GetOpportunity(const GetOppor {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetResourceSnapshotOutcome PartnerCentralSellingClient::GetResourceSnapshot(const GetResourceSnapshotRequest& request) const +{ + AWS_OPERATION_GUARD(GetResourceSnapshot); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetResourceSnapshot, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetResourceSnapshot, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetResourceSnapshot, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetResourceSnapshot", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetResourceSnapshotOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetResourceSnapshot, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetResourceSnapshotOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetResourceSnapshotJobOutcome PartnerCentralSellingClient::GetResourceSnapshotJob(const GetResourceSnapshotJobRequest& request) const +{ + AWS_OPERATION_GUARD(GetResourceSnapshotJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetResourceSnapshotJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetResourceSnapshotJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetResourceSnapshotJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetResourceSnapshotJob", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetResourceSnapshotJobOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetResourceSnapshotJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetResourceSnapshotJobOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetSellingSystemSettingsOutcome PartnerCentralSellingClient::GetSellingSystemSettings(const GetSellingSystemSettingsRequest& request) const +{ + AWS_OPERATION_GUARD(GetSellingSystemSettings); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetSellingSystemSettings, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetSellingSystemSettings, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetSellingSystemSettings, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetSellingSystemSettings", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetSellingSystemSettingsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetSellingSystemSettings, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetSellingSystemSettingsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListEngagementByAcceptingInvitationTasksOutcome PartnerCentralSellingClient::ListEngagementByAcceptingInvitationTasks(const ListEngagementByAcceptingInvitationTasksRequest& request) const +{ + AWS_OPERATION_GUARD(ListEngagementByAcceptingInvitationTasks); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListEngagementByAcceptingInvitationTasks, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListEngagementByAcceptingInvitationTasks, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListEngagementByAcceptingInvitationTasks, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListEngagementByAcceptingInvitationTasks", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListEngagementByAcceptingInvitationTasksOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListEngagementByAcceptingInvitationTasks, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return ListEngagementByAcceptingInvitationTasksOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListEngagementFromOpportunityTasksOutcome PartnerCentralSellingClient::ListEngagementFromOpportunityTasks(const ListEngagementFromOpportunityTasksRequest& request) const +{ + AWS_OPERATION_GUARD(ListEngagementFromOpportunityTasks); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListEngagementFromOpportunityTasks, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListEngagementFromOpportunityTasks, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListEngagementFromOpportunityTasks, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListEngagementFromOpportunityTasks", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListEngagementFromOpportunityTasksOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListEngagementFromOpportunityTasks, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return ListEngagementFromOpportunityTasksOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ListEngagementInvitationsOutcome PartnerCentralSellingClient::ListEngagementInvitations(const ListEngagementInvitationsRequest& request) const { AWS_OPERATION_GUARD(ListEngagementInvitations); @@ -386,6 +719,84 @@ ListEngagementInvitationsOutcome PartnerCentralSellingClient::ListEngagementInvi {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListEngagementMembersOutcome PartnerCentralSellingClient::ListEngagementMembers(const ListEngagementMembersRequest& request) const +{ + AWS_OPERATION_GUARD(ListEngagementMembers); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListEngagementMembers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListEngagementMembers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListEngagementMembers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListEngagementMembers", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListEngagementMembersOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListEngagementMembers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return ListEngagementMembersOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListEngagementResourceAssociationsOutcome PartnerCentralSellingClient::ListEngagementResourceAssociations(const ListEngagementResourceAssociationsRequest& request) const +{ + AWS_OPERATION_GUARD(ListEngagementResourceAssociations); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListEngagementResourceAssociations, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListEngagementResourceAssociations, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListEngagementResourceAssociations, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListEngagementResourceAssociations", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListEngagementResourceAssociationsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListEngagementResourceAssociations, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return ListEngagementResourceAssociationsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListEngagementsOutcome PartnerCentralSellingClient::ListEngagements(const ListEngagementsRequest& request) const +{ + AWS_OPERATION_GUARD(ListEngagements); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListEngagements, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListEngagements, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListEngagements, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListEngagements", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListEngagementsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListEngagements, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return ListEngagementsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ListOpportunitiesOutcome PartnerCentralSellingClient::ListOpportunities(const ListOpportunitiesRequest& request) const { AWS_OPERATION_GUARD(ListOpportunities); @@ -412,6 +823,58 @@ ListOpportunitiesOutcome PartnerCentralSellingClient::ListOpportunities(const Li {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListResourceSnapshotJobsOutcome PartnerCentralSellingClient::ListResourceSnapshotJobs(const ListResourceSnapshotJobsRequest& request) const +{ + AWS_OPERATION_GUARD(ListResourceSnapshotJobs); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListResourceSnapshotJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListResourceSnapshotJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListResourceSnapshotJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListResourceSnapshotJobs", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListResourceSnapshotJobsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListResourceSnapshotJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return ListResourceSnapshotJobsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListResourceSnapshotsOutcome PartnerCentralSellingClient::ListResourceSnapshots(const ListResourceSnapshotsRequest& request) const +{ + AWS_OPERATION_GUARD(ListResourceSnapshots); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListResourceSnapshots, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListResourceSnapshots, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListResourceSnapshots, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListResourceSnapshots", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListResourceSnapshotsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListResourceSnapshots, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return ListResourceSnapshotsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ListSolutionsOutcome PartnerCentralSellingClient::ListSolutions(const ListSolutionsRequest& request) const { AWS_OPERATION_GUARD(ListSolutions); @@ -438,6 +901,32 @@ ListSolutionsOutcome PartnerCentralSellingClient::ListSolutions(const ListSoluti {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +PutSellingSystemSettingsOutcome PartnerCentralSellingClient::PutSellingSystemSettings(const PutSellingSystemSettingsRequest& request) const +{ + AWS_OPERATION_GUARD(PutSellingSystemSettings); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, PutSellingSystemSettings, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, PutSellingSystemSettings, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, PutSellingSystemSettings, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".PutSellingSystemSettings", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> PutSellingSystemSettingsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, PutSellingSystemSettings, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return PutSellingSystemSettingsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + RejectEngagementInvitationOutcome PartnerCentralSellingClient::RejectEngagementInvitation(const RejectEngagementInvitationRequest& request) const { AWS_OPERATION_GUARD(RejectEngagementInvitation); @@ -516,6 +1005,84 @@ StartEngagementFromOpportunityTaskOutcome PartnerCentralSellingClient::StartEnga {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +StartResourceSnapshotJobOutcome PartnerCentralSellingClient::StartResourceSnapshotJob(const StartResourceSnapshotJobRequest& request) const +{ + AWS_OPERATION_GUARD(StartResourceSnapshotJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartResourceSnapshotJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartResourceSnapshotJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartResourceSnapshotJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartResourceSnapshotJob", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> StartResourceSnapshotJobOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, StartResourceSnapshotJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return StartResourceSnapshotJobOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +StopResourceSnapshotJobOutcome PartnerCentralSellingClient::StopResourceSnapshotJob(const StopResourceSnapshotJobRequest& request) const +{ + AWS_OPERATION_GUARD(StopResourceSnapshotJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StopResourceSnapshotJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StopResourceSnapshotJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StopResourceSnapshotJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StopResourceSnapshotJob", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> StopResourceSnapshotJobOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, StopResourceSnapshotJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return StopResourceSnapshotJobOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +SubmitOpportunityOutcome PartnerCentralSellingClient::SubmitOpportunity(const SubmitOpportunityRequest& request) const +{ + AWS_OPERATION_GUARD(SubmitOpportunity); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, SubmitOpportunity, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, SubmitOpportunity, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, SubmitOpportunity, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".SubmitOpportunity", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> SubmitOpportunityOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, SubmitOpportunity, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return SubmitOpportunityOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdateOpportunityOutcome PartnerCentralSellingClient::UpdateOpportunity(const UpdateOpportunityRequest& request) const { AWS_OPERATION_GUARD(UpdateOpportunity); diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/AcceptEngagementInvitationRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/AcceptEngagementInvitationRequest.cpp new file mode 100644 index 00000000000..05f4a55142e --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/AcceptEngagementInvitationRequest.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +AcceptEngagementInvitationRequest::AcceptEngagementInvitationRequest() : + m_catalogHasBeenSet(false), + m_identifierHasBeenSet(false) +{ +} + +Aws::String AcceptEngagementInvitationRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_identifierHasBeenSet) + { + payload.WithString("Identifier", m_identifier); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection AcceptEngagementInvitationRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.AcceptEngagementInvitation")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateEngagementInvitationRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateEngagementInvitationRequest.cpp new file mode 100644 index 00000000000..b0411a9b9e7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateEngagementInvitationRequest.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateEngagementInvitationRequest::CreateEngagementInvitationRequest() : + m_catalogHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_engagementIdentifierHasBeenSet(false), + m_invitationHasBeenSet(false) +{ +} + +Aws::String CreateEngagementInvitationRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_clientTokenHasBeenSet) + { + payload.WithString("ClientToken", m_clientToken); + + } + + if(m_engagementIdentifierHasBeenSet) + { + payload.WithString("EngagementIdentifier", m_engagementIdentifier); + + } + + if(m_invitationHasBeenSet) + { + payload.WithObject("Invitation", m_invitation.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection CreateEngagementInvitationRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.CreateEngagementInvitation")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateEngagementInvitationResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateEngagementInvitationResult.cpp new file mode 100644 index 00000000000..290010c68eb --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateEngagementInvitationResult.cpp @@ -0,0 +1,54 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateEngagementInvitationResult::CreateEngagementInvitationResult() +{ +} + +CreateEngagementInvitationResult::CreateEngagementInvitationResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateEngagementInvitationResult& CreateEngagementInvitationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Arn")) + { + m_arn = jsonValue.GetString("Arn"); + + } + + if(jsonValue.ValueExists("Id")) + { + m_id = jsonValue.GetString("Id"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateEngagementRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateEngagementRequest.cpp new file mode 100644 index 00000000000..7606f7dbb14 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateEngagementRequest.cpp @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateEngagementRequest::CreateEngagementRequest() : + m_catalogHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_contextsHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_titleHasBeenSet(false) +{ +} + +Aws::String CreateEngagementRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_clientTokenHasBeenSet) + { + payload.WithString("ClientToken", m_clientToken); + + } + + if(m_contextsHasBeenSet) + { + Aws::Utils::Array contextsJsonList(m_contexts.size()); + for(unsigned contextsIndex = 0; contextsIndex < contextsJsonList.GetLength(); ++contextsIndex) + { + contextsJsonList[contextsIndex].AsObject(m_contexts[contextsIndex].Jsonize()); + } + payload.WithArray("Contexts", std::move(contextsJsonList)); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("Description", m_description); + + } + + if(m_titleHasBeenSet) + { + payload.WithString("Title", m_title); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection CreateEngagementRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.CreateEngagement")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateEngagementResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateEngagementResult.cpp new file mode 100644 index 00000000000..e20025c2756 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateEngagementResult.cpp @@ -0,0 +1,54 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateEngagementResult::CreateEngagementResult() +{ +} + +CreateEngagementResult::CreateEngagementResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateEngagementResult& CreateEngagementResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Arn")) + { + m_arn = jsonValue.GetString("Arn"); + + } + + if(jsonValue.ValueExists("Id")) + { + m_id = jsonValue.GetString("Id"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateResourceSnapshotJobRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateResourceSnapshotJobRequest.cpp new file mode 100644 index 00000000000..222e0742a75 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateResourceSnapshotJobRequest.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateResourceSnapshotJobRequest::CreateResourceSnapshotJobRequest() : + m_catalogHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_engagementIdentifierHasBeenSet(false), + m_resourceIdentifierHasBeenSet(false), + m_resourceSnapshotTemplateIdentifierHasBeenSet(false), + m_resourceType(ResourceType::NOT_SET), + m_resourceTypeHasBeenSet(false) +{ +} + +Aws::String CreateResourceSnapshotJobRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_clientTokenHasBeenSet) + { + payload.WithString("ClientToken", m_clientToken); + + } + + if(m_engagementIdentifierHasBeenSet) + { + payload.WithString("EngagementIdentifier", m_engagementIdentifier); + + } + + if(m_resourceIdentifierHasBeenSet) + { + payload.WithString("ResourceIdentifier", m_resourceIdentifier); + + } + + if(m_resourceSnapshotTemplateIdentifierHasBeenSet) + { + payload.WithString("ResourceSnapshotTemplateIdentifier", m_resourceSnapshotTemplateIdentifier); + + } + + if(m_resourceTypeHasBeenSet) + { + payload.WithString("ResourceType", ResourceTypeMapper::GetNameForResourceType(m_resourceType)); + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection CreateResourceSnapshotJobRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.CreateResourceSnapshotJob")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateResourceSnapshotJobResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateResourceSnapshotJobResult.cpp new file mode 100644 index 00000000000..4bf3ad39c4e --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateResourceSnapshotJobResult.cpp @@ -0,0 +1,54 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateResourceSnapshotJobResult::CreateResourceSnapshotJobResult() +{ +} + +CreateResourceSnapshotJobResult::CreateResourceSnapshotJobResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateResourceSnapshotJobResult& CreateResourceSnapshotJobResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Arn")) + { + m_arn = jsonValue.GetString("Arn"); + + } + + if(jsonValue.ValueExists("Id")) + { + m_id = jsonValue.GetString("Id"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateResourceSnapshotRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateResourceSnapshotRequest.cpp new file mode 100644 index 00000000000..dd0ca76650d --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateResourceSnapshotRequest.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateResourceSnapshotRequest::CreateResourceSnapshotRequest() : + m_catalogHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_engagementIdentifierHasBeenSet(false), + m_resourceIdentifierHasBeenSet(false), + m_resourceSnapshotTemplateIdentifierHasBeenSet(false), + m_resourceType(ResourceType::NOT_SET), + m_resourceTypeHasBeenSet(false) +{ +} + +Aws::String CreateResourceSnapshotRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_clientTokenHasBeenSet) + { + payload.WithString("ClientToken", m_clientToken); + + } + + if(m_engagementIdentifierHasBeenSet) + { + payload.WithString("EngagementIdentifier", m_engagementIdentifier); + + } + + if(m_resourceIdentifierHasBeenSet) + { + payload.WithString("ResourceIdentifier", m_resourceIdentifier); + + } + + if(m_resourceSnapshotTemplateIdentifierHasBeenSet) + { + payload.WithString("ResourceSnapshotTemplateIdentifier", m_resourceSnapshotTemplateIdentifier); + + } + + if(m_resourceTypeHasBeenSet) + { + payload.WithString("ResourceType", ResourceTypeMapper::GetNameForResourceType(m_resourceType)); + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection CreateResourceSnapshotRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.CreateResourceSnapshot")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateResourceSnapshotResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateResourceSnapshotResult.cpp new file mode 100644 index 00000000000..645fbb8c1da --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CreateResourceSnapshotResult.cpp @@ -0,0 +1,56 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateResourceSnapshotResult::CreateResourceSnapshotResult() : + m_revision(0) +{ +} + +CreateResourceSnapshotResult::CreateResourceSnapshotResult(const Aws::AmazonWebServiceResult& result) + : CreateResourceSnapshotResult() +{ + *this = result; +} + +CreateResourceSnapshotResult& CreateResourceSnapshotResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Arn")) + { + m_arn = jsonValue.GetString("Arn"); + + } + + if(jsonValue.ValueExists("Revision")) + { + m_revision = jsonValue.GetInteger("Revision"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CustomerProjectsContext.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CustomerProjectsContext.cpp new file mode 100644 index 00000000000..0ba9f514715 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/CustomerProjectsContext.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +CustomerProjectsContext::CustomerProjectsContext() : + m_customerHasBeenSet(false), + m_projectHasBeenSet(false) +{ +} + +CustomerProjectsContext::CustomerProjectsContext(JsonView jsonValue) + : CustomerProjectsContext() +{ + *this = jsonValue; +} + +CustomerProjectsContext& CustomerProjectsContext::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Customer")) + { + m_customer = jsonValue.GetObject("Customer"); + + m_customerHasBeenSet = true; + } + + if(jsonValue.ValueExists("Project")) + { + m_project = jsonValue.GetObject("Project"); + + m_projectHasBeenSet = true; + } + + return *this; +} + +JsonValue CustomerProjectsContext::Jsonize() const +{ + JsonValue payload; + + if(m_customerHasBeenSet) + { + payload.WithObject("Customer", m_customer.Jsonize()); + + } + + if(m_projectHasBeenSet) + { + payload.WithObject("Project", m_project.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/DeleteResourceSnapshotJobRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/DeleteResourceSnapshotJobRequest.cpp new file mode 100644 index 00000000000..1ab3106417e --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/DeleteResourceSnapshotJobRequest.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteResourceSnapshotJobRequest::DeleteResourceSnapshotJobRequest() : + m_catalogHasBeenSet(false), + m_resourceSnapshotJobIdentifierHasBeenSet(false) +{ +} + +Aws::String DeleteResourceSnapshotJobRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_resourceSnapshotJobIdentifierHasBeenSet) + { + payload.WithString("ResourceSnapshotJobIdentifier", m_resourceSnapshotJobIdentifier); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection DeleteResourceSnapshotJobRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.DeleteResourceSnapshotJob")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementContextDetails.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementContextDetails.cpp new file mode 100644 index 00000000000..d26a43b922e --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementContextDetails.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +EngagementContextDetails::EngagementContextDetails() : + m_payloadHasBeenSet(false), + m_type(EngagementContextType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +EngagementContextDetails::EngagementContextDetails(JsonView jsonValue) + : EngagementContextDetails() +{ + *this = jsonValue; +} + +EngagementContextDetails& EngagementContextDetails::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Payload")) + { + m_payload = jsonValue.GetObject("Payload"); + + m_payloadHasBeenSet = true; + } + + if(jsonValue.ValueExists("Type")) + { + m_type = EngagementContextTypeMapper::GetEngagementContextTypeForName(jsonValue.GetString("Type")); + + m_typeHasBeenSet = true; + } + + return *this; +} + +JsonValue EngagementContextDetails::Jsonize() const +{ + JsonValue payload; + + if(m_payloadHasBeenSet) + { + payload.WithObject("Payload", m_payload.Jsonize()); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("Type", EngagementContextTypeMapper::GetNameForEngagementContextType(m_type)); + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementContextPayload.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementContextPayload.cpp new file mode 100644 index 00000000000..b91e7fa5f7e --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementContextPayload.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +EngagementContextPayload::EngagementContextPayload() : + m_customerProjectHasBeenSet(false) +{ +} + +EngagementContextPayload::EngagementContextPayload(JsonView jsonValue) + : EngagementContextPayload() +{ + *this = jsonValue; +} + +EngagementContextPayload& EngagementContextPayload::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("CustomerProject")) + { + m_customerProject = jsonValue.GetObject("CustomerProject"); + + m_customerProjectHasBeenSet = true; + } + + return *this; +} + +JsonValue EngagementContextPayload::Jsonize() const +{ + JsonValue payload; + + if(m_customerProjectHasBeenSet) + { + payload.WithObject("CustomerProject", m_customerProject.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementContextType.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementContextType.cpp new file mode 100644 index 00000000000..2e000cbc3d9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementContextType.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace PartnerCentralSelling + { + namespace Model + { + namespace EngagementContextTypeMapper + { + + static const int CustomerProject_HASH = HashingUtils::HashString("CustomerProject"); + + + EngagementContextType GetEngagementContextTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == CustomerProject_HASH) + { + return EngagementContextType::CustomerProject; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return EngagementContextType::NOT_SET; + } + + Aws::String GetNameForEngagementContextType(EngagementContextType enumValue) + { + switch(enumValue) + { + case EngagementContextType::NOT_SET: + return {}; + case EngagementContextType::CustomerProject: + return "CustomerProject"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace EngagementContextTypeMapper + } // namespace Model + } // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementCustomerProjectDetails.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementCustomerProjectDetails.cpp new file mode 100644 index 00000000000..5f26d81c4a7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementCustomerProjectDetails.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +EngagementCustomerProjectDetails::EngagementCustomerProjectDetails() : + m_businessProblemHasBeenSet(false), + m_targetCompletionDateHasBeenSet(false), + m_titleHasBeenSet(false) +{ +} + +EngagementCustomerProjectDetails::EngagementCustomerProjectDetails(JsonView jsonValue) + : EngagementCustomerProjectDetails() +{ + *this = jsonValue; +} + +EngagementCustomerProjectDetails& EngagementCustomerProjectDetails::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("BusinessProblem")) + { + m_businessProblem = jsonValue.GetString("BusinessProblem"); + + m_businessProblemHasBeenSet = true; + } + + if(jsonValue.ValueExists("TargetCompletionDate")) + { + m_targetCompletionDate = jsonValue.GetString("TargetCompletionDate"); + + m_targetCompletionDateHasBeenSet = true; + } + + if(jsonValue.ValueExists("Title")) + { + m_title = jsonValue.GetString("Title"); + + m_titleHasBeenSet = true; + } + + return *this; +} + +JsonValue EngagementCustomerProjectDetails::Jsonize() const +{ + JsonValue payload; + + if(m_businessProblemHasBeenSet) + { + payload.WithString("BusinessProblem", m_businessProblem); + + } + + if(m_targetCompletionDateHasBeenSet) + { + payload.WithString("TargetCompletionDate", m_targetCompletionDate); + + } + + if(m_titleHasBeenSet) + { + payload.WithString("Title", m_title); + + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementInvitationSummary.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementInvitationSummary.cpp index 7b220cc5c95..f771c393dd0 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementInvitationSummary.cpp +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementInvitationSummary.cpp @@ -21,10 +21,13 @@ namespace Model EngagementInvitationSummary::EngagementInvitationSummary() : m_arnHasBeenSet(false), m_catalogHasBeenSet(false), + m_engagementIdHasBeenSet(false), m_engagementTitleHasBeenSet(false), m_expirationDateHasBeenSet(false), m_idHasBeenSet(false), m_invitationDateHasBeenSet(false), + m_participantType(ParticipantType::NOT_SET), + m_participantTypeHasBeenSet(false), m_payloadType(EngagementInvitationPayloadType::NOT_SET), m_payloadTypeHasBeenSet(false), m_receiverHasBeenSet(false), @@ -57,6 +60,13 @@ EngagementInvitationSummary& EngagementInvitationSummary::operator =(JsonView js m_catalogHasBeenSet = true; } + if(jsonValue.ValueExists("EngagementId")) + { + m_engagementId = jsonValue.GetString("EngagementId"); + + m_engagementIdHasBeenSet = true; + } + if(jsonValue.ValueExists("EngagementTitle")) { m_engagementTitle = jsonValue.GetString("EngagementTitle"); @@ -85,6 +95,13 @@ EngagementInvitationSummary& EngagementInvitationSummary::operator =(JsonView js m_invitationDateHasBeenSet = true; } + if(jsonValue.ValueExists("ParticipantType")) + { + m_participantType = ParticipantTypeMapper::GetParticipantTypeForName(jsonValue.GetString("ParticipantType")); + + m_participantTypeHasBeenSet = true; + } + if(jsonValue.ValueExists("PayloadType")) { m_payloadType = EngagementInvitationPayloadTypeMapper::GetEngagementInvitationPayloadTypeForName(jsonValue.GetString("PayloadType")); @@ -139,6 +156,12 @@ JsonValue EngagementInvitationSummary::Jsonize() const } + if(m_engagementIdHasBeenSet) + { + payload.WithString("EngagementId", m_engagementId); + + } + if(m_engagementTitleHasBeenSet) { payload.WithString("EngagementTitle", m_engagementTitle); @@ -161,6 +184,11 @@ JsonValue EngagementInvitationSummary::Jsonize() const payload.WithString("InvitationDate", m_invitationDate.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } + if(m_participantTypeHasBeenSet) + { + payload.WithString("ParticipantType", ParticipantTypeMapper::GetNameForParticipantType(m_participantType)); + } + if(m_payloadTypeHasBeenSet) { payload.WithString("PayloadType", EngagementInvitationPayloadTypeMapper::GetNameForEngagementInvitationPayloadType(m_payloadType)); diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementMember.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementMember.cpp new file mode 100644 index 00000000000..d9f6f01f87c --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementMember.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +EngagementMember::EngagementMember() : + m_accountIdHasBeenSet(false), + m_companyNameHasBeenSet(false), + m_websiteUrlHasBeenSet(false) +{ +} + +EngagementMember::EngagementMember(JsonView jsonValue) + : EngagementMember() +{ + *this = jsonValue; +} + +EngagementMember& EngagementMember::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("AccountId")) + { + m_accountId = jsonValue.GetString("AccountId"); + + m_accountIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("CompanyName")) + { + m_companyName = jsonValue.GetString("CompanyName"); + + m_companyNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("WebsiteUrl")) + { + m_websiteUrl = jsonValue.GetString("WebsiteUrl"); + + m_websiteUrlHasBeenSet = true; + } + + return *this; +} + +JsonValue EngagementMember::Jsonize() const +{ + JsonValue payload; + + if(m_accountIdHasBeenSet) + { + payload.WithString("AccountId", m_accountId); + + } + + if(m_companyNameHasBeenSet) + { + payload.WithString("CompanyName", m_companyName); + + } + + if(m_websiteUrlHasBeenSet) + { + payload.WithString("WebsiteUrl", m_websiteUrl); + + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementMemberSummary.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementMemberSummary.cpp new file mode 100644 index 00000000000..b08e65dcc5d --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementMemberSummary.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +EngagementMemberSummary::EngagementMemberSummary() : + m_companyNameHasBeenSet(false), + m_websiteUrlHasBeenSet(false) +{ +} + +EngagementMemberSummary::EngagementMemberSummary(JsonView jsonValue) + : EngagementMemberSummary() +{ + *this = jsonValue; +} + +EngagementMemberSummary& EngagementMemberSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("CompanyName")) + { + m_companyName = jsonValue.GetString("CompanyName"); + + m_companyNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("WebsiteUrl")) + { + m_websiteUrl = jsonValue.GetString("WebsiteUrl"); + + m_websiteUrlHasBeenSet = true; + } + + return *this; +} + +JsonValue EngagementMemberSummary::Jsonize() const +{ + JsonValue payload; + + if(m_companyNameHasBeenSet) + { + payload.WithString("CompanyName", m_companyName); + + } + + if(m_websiteUrlHasBeenSet) + { + payload.WithString("WebsiteUrl", m_websiteUrl); + + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementResourceAssociationSummary.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementResourceAssociationSummary.cpp new file mode 100644 index 00000000000..9bfce9b5e8f --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementResourceAssociationSummary.cpp @@ -0,0 +1,115 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +EngagementResourceAssociationSummary::EngagementResourceAssociationSummary() : + m_catalogHasBeenSet(false), + m_createdByHasBeenSet(false), + m_engagementIdHasBeenSet(false), + m_resourceIdHasBeenSet(false), + m_resourceType(ResourceType::NOT_SET), + m_resourceTypeHasBeenSet(false) +{ +} + +EngagementResourceAssociationSummary::EngagementResourceAssociationSummary(JsonView jsonValue) + : EngagementResourceAssociationSummary() +{ + *this = jsonValue; +} + +EngagementResourceAssociationSummary& EngagementResourceAssociationSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Catalog")) + { + m_catalog = jsonValue.GetString("Catalog"); + + m_catalogHasBeenSet = true; + } + + if(jsonValue.ValueExists("CreatedBy")) + { + m_createdBy = jsonValue.GetString("CreatedBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("EngagementId")) + { + m_engagementId = jsonValue.GetString("EngagementId"); + + m_engagementIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("ResourceId")) + { + m_resourceId = jsonValue.GetString("ResourceId"); + + m_resourceIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("ResourceType")) + { + m_resourceType = ResourceTypeMapper::GetResourceTypeForName(jsonValue.GetString("ResourceType")); + + m_resourceTypeHasBeenSet = true; + } + + return *this; +} + +JsonValue EngagementResourceAssociationSummary::Jsonize() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_createdByHasBeenSet) + { + payload.WithString("CreatedBy", m_createdBy); + + } + + if(m_engagementIdHasBeenSet) + { + payload.WithString("EngagementId", m_engagementId); + + } + + if(m_resourceIdHasBeenSet) + { + payload.WithString("ResourceId", m_resourceId); + + } + + if(m_resourceTypeHasBeenSet) + { + payload.WithString("ResourceType", ResourceTypeMapper::GetNameForResourceType(m_resourceType)); + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementSort.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementSort.cpp new file mode 100644 index 00000000000..7035b0334b9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementSort.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +EngagementSort::EngagementSort() : + m_sortBy(EngagementSortName::NOT_SET), + m_sortByHasBeenSet(false), + m_sortOrder(SortOrder::NOT_SET), + m_sortOrderHasBeenSet(false) +{ +} + +EngagementSort::EngagementSort(JsonView jsonValue) + : EngagementSort() +{ + *this = jsonValue; +} + +EngagementSort& EngagementSort::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("SortBy")) + { + m_sortBy = EngagementSortNameMapper::GetEngagementSortNameForName(jsonValue.GetString("SortBy")); + + m_sortByHasBeenSet = true; + } + + if(jsonValue.ValueExists("SortOrder")) + { + m_sortOrder = SortOrderMapper::GetSortOrderForName(jsonValue.GetString("SortOrder")); + + m_sortOrderHasBeenSet = true; + } + + return *this; +} + +JsonValue EngagementSort::Jsonize() const +{ + JsonValue payload; + + if(m_sortByHasBeenSet) + { + payload.WithString("SortBy", EngagementSortNameMapper::GetNameForEngagementSortName(m_sortBy)); + } + + if(m_sortOrderHasBeenSet) + { + payload.WithString("SortOrder", SortOrderMapper::GetNameForSortOrder(m_sortOrder)); + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementSortName.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementSortName.cpp new file mode 100644 index 00000000000..fb388320329 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementSortName.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace PartnerCentralSelling + { + namespace Model + { + namespace EngagementSortNameMapper + { + + static const int CreatedDate_HASH = HashingUtils::HashString("CreatedDate"); + + + EngagementSortName GetEngagementSortNameForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == CreatedDate_HASH) + { + return EngagementSortName::CreatedDate; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return EngagementSortName::NOT_SET; + } + + Aws::String GetNameForEngagementSortName(EngagementSortName enumValue) + { + switch(enumValue) + { + case EngagementSortName::NOT_SET: + return {}; + case EngagementSortName::CreatedDate: + return "CreatedDate"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace EngagementSortNameMapper + } // namespace Model + } // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementSummary.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementSummary.cpp new file mode 100644 index 00000000000..e75764dd7ff --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/EngagementSummary.cpp @@ -0,0 +1,129 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +EngagementSummary::EngagementSummary() : + m_arnHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_idHasBeenSet(false), + m_memberCount(0), + m_memberCountHasBeenSet(false), + m_titleHasBeenSet(false) +{ +} + +EngagementSummary::EngagementSummary(JsonView jsonValue) + : EngagementSummary() +{ + *this = jsonValue; +} + +EngagementSummary& EngagementSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Arn")) + { + m_arn = jsonValue.GetString("Arn"); + + m_arnHasBeenSet = true; + } + + if(jsonValue.ValueExists("CreatedAt")) + { + m_createdAt = jsonValue.GetString("CreatedAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("CreatedBy")) + { + m_createdBy = jsonValue.GetString("CreatedBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("Id")) + { + m_id = jsonValue.GetString("Id"); + + m_idHasBeenSet = true; + } + + if(jsonValue.ValueExists("MemberCount")) + { + m_memberCount = jsonValue.GetInteger("MemberCount"); + + m_memberCountHasBeenSet = true; + } + + if(jsonValue.ValueExists("Title")) + { + m_title = jsonValue.GetString("Title"); + + m_titleHasBeenSet = true; + } + + return *this; +} + +JsonValue EngagementSummary::Jsonize() const +{ + JsonValue payload; + + if(m_arnHasBeenSet) + { + payload.WithString("Arn", m_arn); + + } + + if(m_createdAtHasBeenSet) + { + payload.WithString("CreatedAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("CreatedBy", m_createdBy); + + } + + if(m_idHasBeenSet) + { + payload.WithString("Id", m_id); + + } + + if(m_memberCountHasBeenSet) + { + payload.WithInteger("MemberCount", m_memberCount); + + } + + if(m_titleHasBeenSet) + { + payload.WithString("Title", m_title); + + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ExpectedCustomerSpend.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ExpectedCustomerSpend.cpp index 04be3ad4a03..eca87f09d89 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ExpectedCustomerSpend.cpp +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ExpectedCustomerSpend.cpp @@ -22,6 +22,7 @@ ExpectedCustomerSpend::ExpectedCustomerSpend() : m_amountHasBeenSet(false), m_currencyCode(ExpectedCustomerSpendCurrencyCodeEnum::NOT_SET), m_currencyCodeHasBeenSet(false), + m_estimationUrlHasBeenSet(false), m_frequency(PaymentFrequency::NOT_SET), m_frequencyHasBeenSet(false), m_targetCompanyHasBeenSet(false) @@ -50,6 +51,13 @@ ExpectedCustomerSpend& ExpectedCustomerSpend::operator =(JsonView jsonValue) m_currencyCodeHasBeenSet = true; } + if(jsonValue.ValueExists("EstimationUrl")) + { + m_estimationUrl = jsonValue.GetString("EstimationUrl"); + + m_estimationUrlHasBeenSet = true; + } + if(jsonValue.ValueExists("Frequency")) { m_frequency = PaymentFrequencyMapper::GetPaymentFrequencyForName(jsonValue.GetString("Frequency")); @@ -82,6 +90,12 @@ JsonValue ExpectedCustomerSpend::Jsonize() const payload.WithString("CurrencyCode", ExpectedCustomerSpendCurrencyCodeEnumMapper::GetNameForExpectedCustomerSpendCurrencyCodeEnum(m_currencyCode)); } + if(m_estimationUrlHasBeenSet) + { + payload.WithString("EstimationUrl", m_estimationUrl); + + } + if(m_frequencyHasBeenSet) { payload.WithString("Frequency", PaymentFrequencyMapper::GetNameForPaymentFrequency(m_frequency)); diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetEngagementInvitationResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetEngagementInvitationResult.cpp index 25062b82f16..c26308abeb3 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetEngagementInvitationResult.cpp +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetEngagementInvitationResult.cpp @@ -44,12 +44,33 @@ GetEngagementInvitationResult& GetEngagementInvitationResult::operator =(const A } + if(jsonValue.ValueExists("EngagementDescription")) + { + m_engagementDescription = jsonValue.GetString("EngagementDescription"); + + } + + if(jsonValue.ValueExists("EngagementId")) + { + m_engagementId = jsonValue.GetString("EngagementId"); + + } + if(jsonValue.ValueExists("EngagementTitle")) { m_engagementTitle = jsonValue.GetString("EngagementTitle"); } + if(jsonValue.ValueExists("ExistingMembers")) + { + Aws::Utils::Array existingMembersJsonList = jsonValue.GetArray("ExistingMembers"); + for(unsigned existingMembersIndex = 0; existingMembersIndex < existingMembersJsonList.GetLength(); ++existingMembersIndex) + { + m_existingMembers.push_back(existingMembersJsonList[existingMembersIndex].AsObject()); + } + } + if(jsonValue.ValueExists("ExpirationDate")) { m_expirationDate = jsonValue.GetString("ExpirationDate"); @@ -68,6 +89,12 @@ GetEngagementInvitationResult& GetEngagementInvitationResult::operator =(const A } + if(jsonValue.ValueExists("InvitationMessage")) + { + m_invitationMessage = jsonValue.GetString("InvitationMessage"); + + } + if(jsonValue.ValueExists("Payload")) { m_payload = jsonValue.GetObject("Payload"); diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetEngagementRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetEngagementRequest.cpp new file mode 100644 index 00000000000..23c11784c35 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetEngagementRequest.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetEngagementRequest::GetEngagementRequest() : + m_catalogHasBeenSet(false), + m_identifierHasBeenSet(false) +{ +} + +Aws::String GetEngagementRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_identifierHasBeenSet) + { + payload.WithString("Identifier", m_identifier); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection GetEngagementRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.GetEngagement")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetEngagementResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetEngagementResult.cpp new file mode 100644 index 00000000000..935629d19dd --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetEngagementResult.cpp @@ -0,0 +1,95 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetEngagementResult::GetEngagementResult() : + m_memberCount(0) +{ +} + +GetEngagementResult::GetEngagementResult(const Aws::AmazonWebServiceResult& result) + : GetEngagementResult() +{ + *this = result; +} + +GetEngagementResult& GetEngagementResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Arn")) + { + m_arn = jsonValue.GetString("Arn"); + + } + + if(jsonValue.ValueExists("Contexts")) + { + Aws::Utils::Array contextsJsonList = jsonValue.GetArray("Contexts"); + for(unsigned contextsIndex = 0; contextsIndex < contextsJsonList.GetLength(); ++contextsIndex) + { + m_contexts.push_back(contextsJsonList[contextsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("CreatedAt")) + { + m_createdAt = jsonValue.GetString("CreatedAt"); + + } + + if(jsonValue.ValueExists("CreatedBy")) + { + m_createdBy = jsonValue.GetString("CreatedBy"); + + } + + if(jsonValue.ValueExists("Description")) + { + m_description = jsonValue.GetString("Description"); + + } + + if(jsonValue.ValueExists("Id")) + { + m_id = jsonValue.GetString("Id"); + + } + + if(jsonValue.ValueExists("MemberCount")) + { + m_memberCount = jsonValue.GetInteger("MemberCount"); + + } + + if(jsonValue.ValueExists("Title")) + { + m_title = jsonValue.GetString("Title"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetOpportunityResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetOpportunityResult.cpp index 3990594fcc5..9b266c254e5 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetOpportunityResult.cpp +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetOpportunityResult.cpp @@ -32,6 +32,12 @@ GetOpportunityResult::GetOpportunityResult(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Arn")) + { + m_arn = jsonValue.GetString("Arn"); + + } + if(jsonValue.ValueExists("Catalog")) { m_catalog = jsonValue.GetString("Catalog"); diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetResourceSnapshotJobRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetResourceSnapshotJobRequest.cpp new file mode 100644 index 00000000000..6cf692bee49 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetResourceSnapshotJobRequest.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetResourceSnapshotJobRequest::GetResourceSnapshotJobRequest() : + m_catalogHasBeenSet(false), + m_resourceSnapshotJobIdentifierHasBeenSet(false) +{ +} + +Aws::String GetResourceSnapshotJobRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_resourceSnapshotJobIdentifierHasBeenSet) + { + payload.WithString("ResourceSnapshotJobIdentifier", m_resourceSnapshotJobIdentifier); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection GetResourceSnapshotJobRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.GetResourceSnapshotJob")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetResourceSnapshotJobResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetResourceSnapshotJobResult.cpp new file mode 100644 index 00000000000..4f793dc8307 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetResourceSnapshotJobResult.cpp @@ -0,0 +1,117 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetResourceSnapshotJobResult::GetResourceSnapshotJobResult() : + m_resourceType(ResourceType::NOT_SET), + m_status(ResourceSnapshotJobStatus::NOT_SET) +{ +} + +GetResourceSnapshotJobResult::GetResourceSnapshotJobResult(const Aws::AmazonWebServiceResult& result) + : GetResourceSnapshotJobResult() +{ + *this = result; +} + +GetResourceSnapshotJobResult& GetResourceSnapshotJobResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Arn")) + { + m_arn = jsonValue.GetString("Arn"); + + } + + if(jsonValue.ValueExists("Catalog")) + { + m_catalog = jsonValue.GetString("Catalog"); + + } + + if(jsonValue.ValueExists("CreatedAt")) + { + m_createdAt = jsonValue.GetString("CreatedAt"); + + } + + if(jsonValue.ValueExists("EngagementId")) + { + m_engagementId = jsonValue.GetString("EngagementId"); + + } + + if(jsonValue.ValueExists("Id")) + { + m_id = jsonValue.GetString("Id"); + + } + + if(jsonValue.ValueExists("LastFailure")) + { + m_lastFailure = jsonValue.GetString("LastFailure"); + + } + + if(jsonValue.ValueExists("LastSuccessfulExecutionDate")) + { + m_lastSuccessfulExecutionDate = jsonValue.GetString("LastSuccessfulExecutionDate"); + + } + + if(jsonValue.ValueExists("ResourceArn")) + { + m_resourceArn = jsonValue.GetString("ResourceArn"); + + } + + if(jsonValue.ValueExists("ResourceId")) + { + m_resourceId = jsonValue.GetString("ResourceId"); + + } + + if(jsonValue.ValueExists("ResourceSnapshotTemplateName")) + { + m_resourceSnapshotTemplateName = jsonValue.GetString("ResourceSnapshotTemplateName"); + + } + + if(jsonValue.ValueExists("ResourceType")) + { + m_resourceType = ResourceTypeMapper::GetResourceTypeForName(jsonValue.GetString("ResourceType")); + + } + + if(jsonValue.ValueExists("Status")) + { + m_status = ResourceSnapshotJobStatusMapper::GetResourceSnapshotJobStatusForName(jsonValue.GetString("Status")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetResourceSnapshotRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetResourceSnapshotRequest.cpp new file mode 100644 index 00000000000..a76a57fb18b --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetResourceSnapshotRequest.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetResourceSnapshotRequest::GetResourceSnapshotRequest() : + m_catalogHasBeenSet(false), + m_engagementIdentifierHasBeenSet(false), + m_resourceIdentifierHasBeenSet(false), + m_resourceSnapshotTemplateIdentifierHasBeenSet(false), + m_resourceType(ResourceType::NOT_SET), + m_resourceTypeHasBeenSet(false), + m_revision(0), + m_revisionHasBeenSet(false) +{ +} + +Aws::String GetResourceSnapshotRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_engagementIdentifierHasBeenSet) + { + payload.WithString("EngagementIdentifier", m_engagementIdentifier); + + } + + if(m_resourceIdentifierHasBeenSet) + { + payload.WithString("ResourceIdentifier", m_resourceIdentifier); + + } + + if(m_resourceSnapshotTemplateIdentifierHasBeenSet) + { + payload.WithString("ResourceSnapshotTemplateIdentifier", m_resourceSnapshotTemplateIdentifier); + + } + + if(m_resourceTypeHasBeenSet) + { + payload.WithString("ResourceType", ResourceTypeMapper::GetNameForResourceType(m_resourceType)); + } + + if(m_revisionHasBeenSet) + { + payload.WithInteger("Revision", m_revision); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection GetResourceSnapshotRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.GetResourceSnapshot")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetResourceSnapshotResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetResourceSnapshotResult.cpp new file mode 100644 index 00000000000..aff9edbb7fd --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetResourceSnapshotResult.cpp @@ -0,0 +1,105 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetResourceSnapshotResult::GetResourceSnapshotResult() : + m_resourceType(ResourceType::NOT_SET), + m_revision(0) +{ +} + +GetResourceSnapshotResult::GetResourceSnapshotResult(const Aws::AmazonWebServiceResult& result) + : GetResourceSnapshotResult() +{ + *this = result; +} + +GetResourceSnapshotResult& GetResourceSnapshotResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Arn")) + { + m_arn = jsonValue.GetString("Arn"); + + } + + if(jsonValue.ValueExists("Catalog")) + { + m_catalog = jsonValue.GetString("Catalog"); + + } + + if(jsonValue.ValueExists("CreatedAt")) + { + m_createdAt = jsonValue.GetString("CreatedAt"); + + } + + if(jsonValue.ValueExists("CreatedBy")) + { + m_createdBy = jsonValue.GetString("CreatedBy"); + + } + + if(jsonValue.ValueExists("EngagementId")) + { + m_engagementId = jsonValue.GetString("EngagementId"); + + } + + if(jsonValue.ValueExists("Payload")) + { + m_payload = jsonValue.GetObject("Payload"); + + } + + if(jsonValue.ValueExists("ResourceId")) + { + m_resourceId = jsonValue.GetString("ResourceId"); + + } + + if(jsonValue.ValueExists("ResourceSnapshotTemplateName")) + { + m_resourceSnapshotTemplateName = jsonValue.GetString("ResourceSnapshotTemplateName"); + + } + + if(jsonValue.ValueExists("ResourceType")) + { + m_resourceType = ResourceTypeMapper::GetResourceTypeForName(jsonValue.GetString("ResourceType")); + + } + + if(jsonValue.ValueExists("Revision")) + { + m_revision = jsonValue.GetInteger("Revision"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetSellingSystemSettingsRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetSellingSystemSettingsRequest.cpp new file mode 100644 index 00000000000..15d93f5b460 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetSellingSystemSettingsRequest.cpp @@ -0,0 +1,43 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetSellingSystemSettingsRequest::GetSellingSystemSettingsRequest() : + m_catalogHasBeenSet(false) +{ +} + +Aws::String GetSellingSystemSettingsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection GetSellingSystemSettingsRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.GetSellingSystemSettings")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetSellingSystemSettingsResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetSellingSystemSettingsResult.cpp new file mode 100644 index 00000000000..6448952a7e8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/GetSellingSystemSettingsResult.cpp @@ -0,0 +1,54 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetSellingSystemSettingsResult::GetSellingSystemSettingsResult() +{ +} + +GetSellingSystemSettingsResult::GetSellingSystemSettingsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetSellingSystemSettingsResult& GetSellingSystemSettingsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Catalog")) + { + m_catalog = jsonValue.GetString("Catalog"); + + } + + if(jsonValue.ValueExists("ResourceSnapshotJobRoleArn")) + { + m_resourceSnapshotJobRoleArn = jsonValue.GetString("ResourceSnapshotJobRoleArn"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/Invitation.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/Invitation.cpp new file mode 100644 index 00000000000..23695e205fa --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/Invitation.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +Invitation::Invitation() : + m_messageHasBeenSet(false), + m_payloadHasBeenSet(false), + m_receiverHasBeenSet(false) +{ +} + +Invitation::Invitation(JsonView jsonValue) + : Invitation() +{ + *this = jsonValue; +} + +Invitation& Invitation::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Message")) + { + m_message = jsonValue.GetString("Message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("Payload")) + { + m_payload = jsonValue.GetObject("Payload"); + + m_payloadHasBeenSet = true; + } + + if(jsonValue.ValueExists("Receiver")) + { + m_receiver = jsonValue.GetObject("Receiver"); + + m_receiverHasBeenSet = true; + } + + return *this; +} + +JsonValue Invitation::Jsonize() const +{ + JsonValue payload; + + if(m_messageHasBeenSet) + { + payload.WithString("Message", m_message); + + } + + if(m_payloadHasBeenSet) + { + payload.WithObject("Payload", m_payload.Jsonize()); + + } + + if(m_receiverHasBeenSet) + { + payload.WithObject("Receiver", m_receiver.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/LifeCycleForView.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/LifeCycleForView.cpp new file mode 100644 index 00000000000..308c57dfd56 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/LifeCycleForView.cpp @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +LifeCycleForView::LifeCycleForView() : + m_nextStepsHasBeenSet(false), + m_reviewStatus(ReviewStatus::NOT_SET), + m_reviewStatusHasBeenSet(false), + m_stage(Stage::NOT_SET), + m_stageHasBeenSet(false), + m_targetCloseDateHasBeenSet(false) +{ +} + +LifeCycleForView::LifeCycleForView(JsonView jsonValue) + : LifeCycleForView() +{ + *this = jsonValue; +} + +LifeCycleForView& LifeCycleForView::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("NextSteps")) + { + m_nextSteps = jsonValue.GetString("NextSteps"); + + m_nextStepsHasBeenSet = true; + } + + if(jsonValue.ValueExists("ReviewStatus")) + { + m_reviewStatus = ReviewStatusMapper::GetReviewStatusForName(jsonValue.GetString("ReviewStatus")); + + m_reviewStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("Stage")) + { + m_stage = StageMapper::GetStageForName(jsonValue.GetString("Stage")); + + m_stageHasBeenSet = true; + } + + if(jsonValue.ValueExists("TargetCloseDate")) + { + m_targetCloseDate = jsonValue.GetString("TargetCloseDate"); + + m_targetCloseDateHasBeenSet = true; + } + + return *this; +} + +JsonValue LifeCycleForView::Jsonize() const +{ + JsonValue payload; + + if(m_nextStepsHasBeenSet) + { + payload.WithString("NextSteps", m_nextSteps); + + } + + if(m_reviewStatusHasBeenSet) + { + payload.WithString("ReviewStatus", ReviewStatusMapper::GetNameForReviewStatus(m_reviewStatus)); + } + + if(m_stageHasBeenSet) + { + payload.WithString("Stage", StageMapper::GetNameForStage(m_stage)); + } + + if(m_targetCloseDateHasBeenSet) + { + payload.WithString("TargetCloseDate", m_targetCloseDate); + + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementByAcceptingInvitationTaskSummary.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementByAcceptingInvitationTaskSummary.cpp new file mode 100644 index 00000000000..acfe937e00d --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementByAcceptingInvitationTaskSummary.cpp @@ -0,0 +1,170 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +ListEngagementByAcceptingInvitationTaskSummary::ListEngagementByAcceptingInvitationTaskSummary() : + m_engagementInvitationIdHasBeenSet(false), + m_messageHasBeenSet(false), + m_opportunityIdHasBeenSet(false), + m_reasonCode(ReasonCode::NOT_SET), + m_reasonCodeHasBeenSet(false), + m_resourceSnapshotJobIdHasBeenSet(false), + m_startTimeHasBeenSet(false), + m_taskArnHasBeenSet(false), + m_taskIdHasBeenSet(false), + m_taskStatus(TaskStatus::NOT_SET), + m_taskStatusHasBeenSet(false) +{ +} + +ListEngagementByAcceptingInvitationTaskSummary::ListEngagementByAcceptingInvitationTaskSummary(JsonView jsonValue) + : ListEngagementByAcceptingInvitationTaskSummary() +{ + *this = jsonValue; +} + +ListEngagementByAcceptingInvitationTaskSummary& ListEngagementByAcceptingInvitationTaskSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("EngagementInvitationId")) + { + m_engagementInvitationId = jsonValue.GetString("EngagementInvitationId"); + + m_engagementInvitationIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("Message")) + { + m_message = jsonValue.GetString("Message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("OpportunityId")) + { + m_opportunityId = jsonValue.GetString("OpportunityId"); + + m_opportunityIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("ReasonCode")) + { + m_reasonCode = ReasonCodeMapper::GetReasonCodeForName(jsonValue.GetString("ReasonCode")); + + m_reasonCodeHasBeenSet = true; + } + + if(jsonValue.ValueExists("ResourceSnapshotJobId")) + { + m_resourceSnapshotJobId = jsonValue.GetString("ResourceSnapshotJobId"); + + m_resourceSnapshotJobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("StartTime")) + { + m_startTime = jsonValue.GetString("StartTime"); + + m_startTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("TaskArn")) + { + m_taskArn = jsonValue.GetString("TaskArn"); + + m_taskArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("TaskId")) + { + m_taskId = jsonValue.GetString("TaskId"); + + m_taskIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("TaskStatus")) + { + m_taskStatus = TaskStatusMapper::GetTaskStatusForName(jsonValue.GetString("TaskStatus")); + + m_taskStatusHasBeenSet = true; + } + + return *this; +} + +JsonValue ListEngagementByAcceptingInvitationTaskSummary::Jsonize() const +{ + JsonValue payload; + + if(m_engagementInvitationIdHasBeenSet) + { + payload.WithString("EngagementInvitationId", m_engagementInvitationId); + + } + + if(m_messageHasBeenSet) + { + payload.WithString("Message", m_message); + + } + + if(m_opportunityIdHasBeenSet) + { + payload.WithString("OpportunityId", m_opportunityId); + + } + + if(m_reasonCodeHasBeenSet) + { + payload.WithString("ReasonCode", ReasonCodeMapper::GetNameForReasonCode(m_reasonCode)); + } + + if(m_resourceSnapshotJobIdHasBeenSet) + { + payload.WithString("ResourceSnapshotJobId", m_resourceSnapshotJobId); + + } + + if(m_startTimeHasBeenSet) + { + payload.WithString("StartTime", m_startTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_taskArnHasBeenSet) + { + payload.WithString("TaskArn", m_taskArn); + + } + + if(m_taskIdHasBeenSet) + { + payload.WithString("TaskId", m_taskId); + + } + + if(m_taskStatusHasBeenSet) + { + payload.WithString("TaskStatus", TaskStatusMapper::GetNameForTaskStatus(m_taskStatus)); + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementByAcceptingInvitationTasksRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementByAcceptingInvitationTasksRequest.cpp new file mode 100644 index 00000000000..ca6bec1ba61 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementByAcceptingInvitationTasksRequest.cpp @@ -0,0 +1,113 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListEngagementByAcceptingInvitationTasksRequest::ListEngagementByAcceptingInvitationTasksRequest() : + m_catalogHasBeenSet(false), + m_engagementInvitationIdentifierHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_opportunityIdentifierHasBeenSet(false), + m_sortHasBeenSet(false), + m_taskIdentifierHasBeenSet(false), + m_taskStatusHasBeenSet(false) +{ +} + +Aws::String ListEngagementByAcceptingInvitationTasksRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_engagementInvitationIdentifierHasBeenSet) + { + Aws::Utils::Array engagementInvitationIdentifierJsonList(m_engagementInvitationIdentifier.size()); + for(unsigned engagementInvitationIdentifierIndex = 0; engagementInvitationIdentifierIndex < engagementInvitationIdentifierJsonList.GetLength(); ++engagementInvitationIdentifierIndex) + { + engagementInvitationIdentifierJsonList[engagementInvitationIdentifierIndex].AsString(m_engagementInvitationIdentifier[engagementInvitationIdentifierIndex]); + } + payload.WithArray("EngagementInvitationIdentifier", std::move(engagementInvitationIdentifierJsonList)); + + } + + if(m_maxResultsHasBeenSet) + { + payload.WithInteger("MaxResults", m_maxResults); + + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("NextToken", m_nextToken); + + } + + if(m_opportunityIdentifierHasBeenSet) + { + Aws::Utils::Array opportunityIdentifierJsonList(m_opportunityIdentifier.size()); + for(unsigned opportunityIdentifierIndex = 0; opportunityIdentifierIndex < opportunityIdentifierJsonList.GetLength(); ++opportunityIdentifierIndex) + { + opportunityIdentifierJsonList[opportunityIdentifierIndex].AsString(m_opportunityIdentifier[opportunityIdentifierIndex]); + } + payload.WithArray("OpportunityIdentifier", std::move(opportunityIdentifierJsonList)); + + } + + if(m_sortHasBeenSet) + { + payload.WithObject("Sort", m_sort.Jsonize()); + + } + + if(m_taskIdentifierHasBeenSet) + { + Aws::Utils::Array taskIdentifierJsonList(m_taskIdentifier.size()); + for(unsigned taskIdentifierIndex = 0; taskIdentifierIndex < taskIdentifierJsonList.GetLength(); ++taskIdentifierIndex) + { + taskIdentifierJsonList[taskIdentifierIndex].AsString(m_taskIdentifier[taskIdentifierIndex]); + } + payload.WithArray("TaskIdentifier", std::move(taskIdentifierJsonList)); + + } + + if(m_taskStatusHasBeenSet) + { + Aws::Utils::Array taskStatusJsonList(m_taskStatus.size()); + for(unsigned taskStatusIndex = 0; taskStatusIndex < taskStatusJsonList.GetLength(); ++taskStatusIndex) + { + taskStatusJsonList[taskStatusIndex].AsString(TaskStatusMapper::GetNameForTaskStatus(m_taskStatus[taskStatusIndex])); + } + payload.WithArray("TaskStatus", std::move(taskStatusJsonList)); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection ListEngagementByAcceptingInvitationTasksRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.ListEngagementByAcceptingInvitationTasks")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementByAcceptingInvitationTasksResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementByAcceptingInvitationTasksResult.cpp new file mode 100644 index 00000000000..0573e76edd5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementByAcceptingInvitationTasksResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListEngagementByAcceptingInvitationTasksResult::ListEngagementByAcceptingInvitationTasksResult() +{ +} + +ListEngagementByAcceptingInvitationTasksResult::ListEngagementByAcceptingInvitationTasksResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListEngagementByAcceptingInvitationTasksResult& ListEngagementByAcceptingInvitationTasksResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + if(jsonValue.ValueExists("TaskSummaries")) + { + Aws::Utils::Array taskSummariesJsonList = jsonValue.GetArray("TaskSummaries"); + for(unsigned taskSummariesIndex = 0; taskSummariesIndex < taskSummariesJsonList.GetLength(); ++taskSummariesIndex) + { + m_taskSummaries.push_back(taskSummariesJsonList[taskSummariesIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementFromOpportunityTaskSummary.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementFromOpportunityTaskSummary.cpp new file mode 100644 index 00000000000..2ceb760793c --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementFromOpportunityTaskSummary.cpp @@ -0,0 +1,184 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +ListEngagementFromOpportunityTaskSummary::ListEngagementFromOpportunityTaskSummary() : + m_engagementIdHasBeenSet(false), + m_engagementInvitationIdHasBeenSet(false), + m_messageHasBeenSet(false), + m_opportunityIdHasBeenSet(false), + m_reasonCode(ReasonCode::NOT_SET), + m_reasonCodeHasBeenSet(false), + m_resourceSnapshotJobIdHasBeenSet(false), + m_startTimeHasBeenSet(false), + m_taskArnHasBeenSet(false), + m_taskIdHasBeenSet(false), + m_taskStatus(TaskStatus::NOT_SET), + m_taskStatusHasBeenSet(false) +{ +} + +ListEngagementFromOpportunityTaskSummary::ListEngagementFromOpportunityTaskSummary(JsonView jsonValue) + : ListEngagementFromOpportunityTaskSummary() +{ + *this = jsonValue; +} + +ListEngagementFromOpportunityTaskSummary& ListEngagementFromOpportunityTaskSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("EngagementId")) + { + m_engagementId = jsonValue.GetString("EngagementId"); + + m_engagementIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("EngagementInvitationId")) + { + m_engagementInvitationId = jsonValue.GetString("EngagementInvitationId"); + + m_engagementInvitationIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("Message")) + { + m_message = jsonValue.GetString("Message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("OpportunityId")) + { + m_opportunityId = jsonValue.GetString("OpportunityId"); + + m_opportunityIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("ReasonCode")) + { + m_reasonCode = ReasonCodeMapper::GetReasonCodeForName(jsonValue.GetString("ReasonCode")); + + m_reasonCodeHasBeenSet = true; + } + + if(jsonValue.ValueExists("ResourceSnapshotJobId")) + { + m_resourceSnapshotJobId = jsonValue.GetString("ResourceSnapshotJobId"); + + m_resourceSnapshotJobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("StartTime")) + { + m_startTime = jsonValue.GetString("StartTime"); + + m_startTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("TaskArn")) + { + m_taskArn = jsonValue.GetString("TaskArn"); + + m_taskArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("TaskId")) + { + m_taskId = jsonValue.GetString("TaskId"); + + m_taskIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("TaskStatus")) + { + m_taskStatus = TaskStatusMapper::GetTaskStatusForName(jsonValue.GetString("TaskStatus")); + + m_taskStatusHasBeenSet = true; + } + + return *this; +} + +JsonValue ListEngagementFromOpportunityTaskSummary::Jsonize() const +{ + JsonValue payload; + + if(m_engagementIdHasBeenSet) + { + payload.WithString("EngagementId", m_engagementId); + + } + + if(m_engagementInvitationIdHasBeenSet) + { + payload.WithString("EngagementInvitationId", m_engagementInvitationId); + + } + + if(m_messageHasBeenSet) + { + payload.WithString("Message", m_message); + + } + + if(m_opportunityIdHasBeenSet) + { + payload.WithString("OpportunityId", m_opportunityId); + + } + + if(m_reasonCodeHasBeenSet) + { + payload.WithString("ReasonCode", ReasonCodeMapper::GetNameForReasonCode(m_reasonCode)); + } + + if(m_resourceSnapshotJobIdHasBeenSet) + { + payload.WithString("ResourceSnapshotJobId", m_resourceSnapshotJobId); + + } + + if(m_startTimeHasBeenSet) + { + payload.WithString("StartTime", m_startTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_taskArnHasBeenSet) + { + payload.WithString("TaskArn", m_taskArn); + + } + + if(m_taskIdHasBeenSet) + { + payload.WithString("TaskId", m_taskId); + + } + + if(m_taskStatusHasBeenSet) + { + payload.WithString("TaskStatus", TaskStatusMapper::GetNameForTaskStatus(m_taskStatus)); + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementFromOpportunityTasksRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementFromOpportunityTasksRequest.cpp new file mode 100644 index 00000000000..68dea55d18a --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementFromOpportunityTasksRequest.cpp @@ -0,0 +1,113 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListEngagementFromOpportunityTasksRequest::ListEngagementFromOpportunityTasksRequest() : + m_catalogHasBeenSet(false), + m_engagementIdentifierHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_opportunityIdentifierHasBeenSet(false), + m_sortHasBeenSet(false), + m_taskIdentifierHasBeenSet(false), + m_taskStatusHasBeenSet(false) +{ +} + +Aws::String ListEngagementFromOpportunityTasksRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_engagementIdentifierHasBeenSet) + { + Aws::Utils::Array engagementIdentifierJsonList(m_engagementIdentifier.size()); + for(unsigned engagementIdentifierIndex = 0; engagementIdentifierIndex < engagementIdentifierJsonList.GetLength(); ++engagementIdentifierIndex) + { + engagementIdentifierJsonList[engagementIdentifierIndex].AsString(m_engagementIdentifier[engagementIdentifierIndex]); + } + payload.WithArray("EngagementIdentifier", std::move(engagementIdentifierJsonList)); + + } + + if(m_maxResultsHasBeenSet) + { + payload.WithInteger("MaxResults", m_maxResults); + + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("NextToken", m_nextToken); + + } + + if(m_opportunityIdentifierHasBeenSet) + { + Aws::Utils::Array opportunityIdentifierJsonList(m_opportunityIdentifier.size()); + for(unsigned opportunityIdentifierIndex = 0; opportunityIdentifierIndex < opportunityIdentifierJsonList.GetLength(); ++opportunityIdentifierIndex) + { + opportunityIdentifierJsonList[opportunityIdentifierIndex].AsString(m_opportunityIdentifier[opportunityIdentifierIndex]); + } + payload.WithArray("OpportunityIdentifier", std::move(opportunityIdentifierJsonList)); + + } + + if(m_sortHasBeenSet) + { + payload.WithObject("Sort", m_sort.Jsonize()); + + } + + if(m_taskIdentifierHasBeenSet) + { + Aws::Utils::Array taskIdentifierJsonList(m_taskIdentifier.size()); + for(unsigned taskIdentifierIndex = 0; taskIdentifierIndex < taskIdentifierJsonList.GetLength(); ++taskIdentifierIndex) + { + taskIdentifierJsonList[taskIdentifierIndex].AsString(m_taskIdentifier[taskIdentifierIndex]); + } + payload.WithArray("TaskIdentifier", std::move(taskIdentifierJsonList)); + + } + + if(m_taskStatusHasBeenSet) + { + Aws::Utils::Array taskStatusJsonList(m_taskStatus.size()); + for(unsigned taskStatusIndex = 0; taskStatusIndex < taskStatusJsonList.GetLength(); ++taskStatusIndex) + { + taskStatusJsonList[taskStatusIndex].AsString(TaskStatusMapper::GetNameForTaskStatus(m_taskStatus[taskStatusIndex])); + } + payload.WithArray("TaskStatus", std::move(taskStatusJsonList)); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection ListEngagementFromOpportunityTasksRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.ListEngagementFromOpportunityTasks")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementFromOpportunityTasksResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementFromOpportunityTasksResult.cpp new file mode 100644 index 00000000000..04cccb40ffc --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementFromOpportunityTasksResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListEngagementFromOpportunityTasksResult::ListEngagementFromOpportunityTasksResult() +{ +} + +ListEngagementFromOpportunityTasksResult::ListEngagementFromOpportunityTasksResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListEngagementFromOpportunityTasksResult& ListEngagementFromOpportunityTasksResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + if(jsonValue.ValueExists("TaskSummaries")) + { + Aws::Utils::Array taskSummariesJsonList = jsonValue.GetArray("TaskSummaries"); + for(unsigned taskSummariesIndex = 0; taskSummariesIndex < taskSummariesJsonList.GetLength(); ++taskSummariesIndex) + { + m_taskSummaries.push_back(taskSummariesJsonList[taskSummariesIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementInvitationsRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementInvitationsRequest.cpp index b3423e453f9..3ad8d575f16 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementInvitationsRequest.cpp +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementInvitationsRequest.cpp @@ -14,13 +14,16 @@ using namespace Aws::Utils; ListEngagementInvitationsRequest::ListEngagementInvitationsRequest() : m_catalogHasBeenSet(false), + m_engagementIdentifierHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), m_nextTokenHasBeenSet(false), m_participantType(ParticipantType::NOT_SET), m_participantTypeHasBeenSet(false), m_payloadTypeHasBeenSet(false), - m_sortHasBeenSet(false) + m_senderAwsAccountIdHasBeenSet(false), + m_sortHasBeenSet(false), + m_statusHasBeenSet(false) { } @@ -34,6 +37,17 @@ Aws::String ListEngagementInvitationsRequest::SerializePayload() const } + if(m_engagementIdentifierHasBeenSet) + { + Aws::Utils::Array engagementIdentifierJsonList(m_engagementIdentifier.size()); + for(unsigned engagementIdentifierIndex = 0; engagementIdentifierIndex < engagementIdentifierJsonList.GetLength(); ++engagementIdentifierIndex) + { + engagementIdentifierJsonList[engagementIdentifierIndex].AsString(m_engagementIdentifier[engagementIdentifierIndex]); + } + payload.WithArray("EngagementIdentifier", std::move(engagementIdentifierJsonList)); + + } + if(m_maxResultsHasBeenSet) { payload.WithInteger("MaxResults", m_maxResults); @@ -62,12 +76,34 @@ Aws::String ListEngagementInvitationsRequest::SerializePayload() const } + if(m_senderAwsAccountIdHasBeenSet) + { + Aws::Utils::Array senderAwsAccountIdJsonList(m_senderAwsAccountId.size()); + for(unsigned senderAwsAccountIdIndex = 0; senderAwsAccountIdIndex < senderAwsAccountIdJsonList.GetLength(); ++senderAwsAccountIdIndex) + { + senderAwsAccountIdJsonList[senderAwsAccountIdIndex].AsString(m_senderAwsAccountId[senderAwsAccountIdIndex]); + } + payload.WithArray("SenderAwsAccountId", std::move(senderAwsAccountIdJsonList)); + + } + if(m_sortHasBeenSet) { payload.WithObject("Sort", m_sort.Jsonize()); } + if(m_statusHasBeenSet) + { + Aws::Utils::Array statusJsonList(m_status.size()); + for(unsigned statusIndex = 0; statusIndex < statusJsonList.GetLength(); ++statusIndex) + { + statusJsonList[statusIndex].AsString(InvitationStatusMapper::GetNameForInvitationStatus(m_status[statusIndex])); + } + payload.WithArray("Status", std::move(statusJsonList)); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementMembersRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementMembersRequest.cpp new file mode 100644 index 00000000000..e80600d17e3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementMembersRequest.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListEngagementMembersRequest::ListEngagementMembersRequest() : + m_catalogHasBeenSet(false), + m_identifierHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String ListEngagementMembersRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_identifierHasBeenSet) + { + payload.WithString("Identifier", m_identifier); + + } + + if(m_maxResultsHasBeenSet) + { + payload.WithInteger("MaxResults", m_maxResults); + + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("NextToken", m_nextToken); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection ListEngagementMembersRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.ListEngagementMembers")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementMembersResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementMembersResult.cpp new file mode 100644 index 00000000000..476dae003ac --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementMembersResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListEngagementMembersResult::ListEngagementMembersResult() +{ +} + +ListEngagementMembersResult::ListEngagementMembersResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListEngagementMembersResult& ListEngagementMembersResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("EngagementMemberList")) + { + Aws::Utils::Array engagementMemberListJsonList = jsonValue.GetArray("EngagementMemberList"); + for(unsigned engagementMemberListIndex = 0; engagementMemberListIndex < engagementMemberListJsonList.GetLength(); ++engagementMemberListIndex) + { + m_engagementMemberList.push_back(engagementMemberListJsonList[engagementMemberListIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementResourceAssociationsRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementResourceAssociationsRequest.cpp new file mode 100644 index 00000000000..b9a8839e3dc --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementResourceAssociationsRequest.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListEngagementResourceAssociationsRequest::ListEngagementResourceAssociationsRequest() : + m_catalogHasBeenSet(false), + m_createdByHasBeenSet(false), + m_engagementIdentifierHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_resourceIdentifierHasBeenSet(false), + m_resourceType(ResourceType::NOT_SET), + m_resourceTypeHasBeenSet(false) +{ +} + +Aws::String ListEngagementResourceAssociationsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_createdByHasBeenSet) + { + payload.WithString("CreatedBy", m_createdBy); + + } + + if(m_engagementIdentifierHasBeenSet) + { + payload.WithString("EngagementIdentifier", m_engagementIdentifier); + + } + + if(m_maxResultsHasBeenSet) + { + payload.WithInteger("MaxResults", m_maxResults); + + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("NextToken", m_nextToken); + + } + + if(m_resourceIdentifierHasBeenSet) + { + payload.WithString("ResourceIdentifier", m_resourceIdentifier); + + } + + if(m_resourceTypeHasBeenSet) + { + payload.WithString("ResourceType", ResourceTypeMapper::GetNameForResourceType(m_resourceType)); + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection ListEngagementResourceAssociationsRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.ListEngagementResourceAssociations")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementResourceAssociationsResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementResourceAssociationsResult.cpp new file mode 100644 index 00000000000..bd109ce5d08 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementResourceAssociationsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListEngagementResourceAssociationsResult::ListEngagementResourceAssociationsResult() +{ +} + +ListEngagementResourceAssociationsResult::ListEngagementResourceAssociationsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListEngagementResourceAssociationsResult& ListEngagementResourceAssociationsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("EngagementResourceAssociationSummaries")) + { + Aws::Utils::Array engagementResourceAssociationSummariesJsonList = jsonValue.GetArray("EngagementResourceAssociationSummaries"); + for(unsigned engagementResourceAssociationSummariesIndex = 0; engagementResourceAssociationSummariesIndex < engagementResourceAssociationSummariesJsonList.GetLength(); ++engagementResourceAssociationSummariesIndex) + { + m_engagementResourceAssociationSummaries.push_back(engagementResourceAssociationSummariesJsonList[engagementResourceAssociationSummariesIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementsRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementsRequest.cpp new file mode 100644 index 00000000000..3948c1695b9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementsRequest.cpp @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListEngagementsRequest::ListEngagementsRequest() : + m_catalogHasBeenSet(false), + m_createdByHasBeenSet(false), + m_engagementIdentifierHasBeenSet(false), + m_excludeCreatedByHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_sortHasBeenSet(false) +{ +} + +Aws::String ListEngagementsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_createdByHasBeenSet) + { + Aws::Utils::Array createdByJsonList(m_createdBy.size()); + for(unsigned createdByIndex = 0; createdByIndex < createdByJsonList.GetLength(); ++createdByIndex) + { + createdByJsonList[createdByIndex].AsString(m_createdBy[createdByIndex]); + } + payload.WithArray("CreatedBy", std::move(createdByJsonList)); + + } + + if(m_engagementIdentifierHasBeenSet) + { + Aws::Utils::Array engagementIdentifierJsonList(m_engagementIdentifier.size()); + for(unsigned engagementIdentifierIndex = 0; engagementIdentifierIndex < engagementIdentifierJsonList.GetLength(); ++engagementIdentifierIndex) + { + engagementIdentifierJsonList[engagementIdentifierIndex].AsString(m_engagementIdentifier[engagementIdentifierIndex]); + } + payload.WithArray("EngagementIdentifier", std::move(engagementIdentifierJsonList)); + + } + + if(m_excludeCreatedByHasBeenSet) + { + Aws::Utils::Array excludeCreatedByJsonList(m_excludeCreatedBy.size()); + for(unsigned excludeCreatedByIndex = 0; excludeCreatedByIndex < excludeCreatedByJsonList.GetLength(); ++excludeCreatedByIndex) + { + excludeCreatedByJsonList[excludeCreatedByIndex].AsString(m_excludeCreatedBy[excludeCreatedByIndex]); + } + payload.WithArray("ExcludeCreatedBy", std::move(excludeCreatedByJsonList)); + + } + + if(m_maxResultsHasBeenSet) + { + payload.WithInteger("MaxResults", m_maxResults); + + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("NextToken", m_nextToken); + + } + + if(m_sortHasBeenSet) + { + payload.WithObject("Sort", m_sort.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection ListEngagementsRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.ListEngagements")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementsResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementsResult.cpp new file mode 100644 index 00000000000..af0f83687e2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListEngagementsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListEngagementsResult::ListEngagementsResult() +{ +} + +ListEngagementsResult::ListEngagementsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListEngagementsResult& ListEngagementsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("EngagementSummaryList")) + { + Aws::Utils::Array engagementSummaryListJsonList = jsonValue.GetArray("EngagementSummaryList"); + for(unsigned engagementSummaryListIndex = 0; engagementSummaryListIndex < engagementSummaryListJsonList.GetLength(); ++engagementSummaryListIndex) + { + m_engagementSummaryList.push_back(engagementSummaryListJsonList[engagementSummaryListIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListResourceSnapshotJobsRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListResourceSnapshotJobsRequest.cpp new file mode 100644 index 00000000000..18bcaf8ad66 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListResourceSnapshotJobsRequest.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListResourceSnapshotJobsRequest::ListResourceSnapshotJobsRequest() : + m_catalogHasBeenSet(false), + m_engagementIdentifierHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_sortHasBeenSet(false), + m_status(ResourceSnapshotJobStatus::NOT_SET), + m_statusHasBeenSet(false) +{ +} + +Aws::String ListResourceSnapshotJobsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_engagementIdentifierHasBeenSet) + { + payload.WithString("EngagementIdentifier", m_engagementIdentifier); + + } + + if(m_maxResultsHasBeenSet) + { + payload.WithInteger("MaxResults", m_maxResults); + + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("NextToken", m_nextToken); + + } + + if(m_sortHasBeenSet) + { + payload.WithObject("Sort", m_sort.Jsonize()); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("Status", ResourceSnapshotJobStatusMapper::GetNameForResourceSnapshotJobStatus(m_status)); + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection ListResourceSnapshotJobsRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.ListResourceSnapshotJobs")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListResourceSnapshotJobsResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListResourceSnapshotJobsResult.cpp new file mode 100644 index 00000000000..48c45cac3dd --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListResourceSnapshotJobsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListResourceSnapshotJobsResult::ListResourceSnapshotJobsResult() +{ +} + +ListResourceSnapshotJobsResult::ListResourceSnapshotJobsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListResourceSnapshotJobsResult& ListResourceSnapshotJobsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + if(jsonValue.ValueExists("ResourceSnapshotJobSummaries")) + { + Aws::Utils::Array resourceSnapshotJobSummariesJsonList = jsonValue.GetArray("ResourceSnapshotJobSummaries"); + for(unsigned resourceSnapshotJobSummariesIndex = 0; resourceSnapshotJobSummariesIndex < resourceSnapshotJobSummariesJsonList.GetLength(); ++resourceSnapshotJobSummariesIndex) + { + m_resourceSnapshotJobSummaries.push_back(resourceSnapshotJobSummariesJsonList[resourceSnapshotJobSummariesIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListResourceSnapshotsRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListResourceSnapshotsRequest.cpp new file mode 100644 index 00000000000..c2c4687b622 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListResourceSnapshotsRequest.cpp @@ -0,0 +1,93 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListResourceSnapshotsRequest::ListResourceSnapshotsRequest() : + m_catalogHasBeenSet(false), + m_createdByHasBeenSet(false), + m_engagementIdentifierHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_resourceIdentifierHasBeenSet(false), + m_resourceSnapshotTemplateIdentifierHasBeenSet(false), + m_resourceType(ResourceType::NOT_SET), + m_resourceTypeHasBeenSet(false) +{ +} + +Aws::String ListResourceSnapshotsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_createdByHasBeenSet) + { + payload.WithString("CreatedBy", m_createdBy); + + } + + if(m_engagementIdentifierHasBeenSet) + { + payload.WithString("EngagementIdentifier", m_engagementIdentifier); + + } + + if(m_maxResultsHasBeenSet) + { + payload.WithInteger("MaxResults", m_maxResults); + + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("NextToken", m_nextToken); + + } + + if(m_resourceIdentifierHasBeenSet) + { + payload.WithString("ResourceIdentifier", m_resourceIdentifier); + + } + + if(m_resourceSnapshotTemplateIdentifierHasBeenSet) + { + payload.WithString("ResourceSnapshotTemplateIdentifier", m_resourceSnapshotTemplateIdentifier); + + } + + if(m_resourceTypeHasBeenSet) + { + payload.WithString("ResourceType", ResourceTypeMapper::GetNameForResourceType(m_resourceType)); + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection ListResourceSnapshotsRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.ListResourceSnapshots")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListResourceSnapshotsResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListResourceSnapshotsResult.cpp new file mode 100644 index 00000000000..05c954d2338 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListResourceSnapshotsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListResourceSnapshotsResult::ListResourceSnapshotsResult() +{ +} + +ListResourceSnapshotsResult::ListResourceSnapshotsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListResourceSnapshotsResult& ListResourceSnapshotsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + if(jsonValue.ValueExists("ResourceSnapshotSummaries")) + { + Aws::Utils::Array resourceSnapshotSummariesJsonList = jsonValue.GetArray("ResourceSnapshotSummaries"); + for(unsigned resourceSnapshotSummariesIndex = 0; resourceSnapshotSummariesIndex < resourceSnapshotSummariesJsonList.GetLength(); ++resourceSnapshotSummariesIndex) + { + m_resourceSnapshotSummaries.push_back(resourceSnapshotSummariesJsonList[resourceSnapshotSummariesIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListTasksSortBase.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListTasksSortBase.cpp new file mode 100644 index 00000000000..34a94250783 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListTasksSortBase.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +ListTasksSortBase::ListTasksSortBase() : + m_sortBy(ListTasksSortName::NOT_SET), + m_sortByHasBeenSet(false), + m_sortOrder(SortOrder::NOT_SET), + m_sortOrderHasBeenSet(false) +{ +} + +ListTasksSortBase::ListTasksSortBase(JsonView jsonValue) + : ListTasksSortBase() +{ + *this = jsonValue; +} + +ListTasksSortBase& ListTasksSortBase::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("SortBy")) + { + m_sortBy = ListTasksSortNameMapper::GetListTasksSortNameForName(jsonValue.GetString("SortBy")); + + m_sortByHasBeenSet = true; + } + + if(jsonValue.ValueExists("SortOrder")) + { + m_sortOrder = SortOrderMapper::GetSortOrderForName(jsonValue.GetString("SortOrder")); + + m_sortOrderHasBeenSet = true; + } + + return *this; +} + +JsonValue ListTasksSortBase::Jsonize() const +{ + JsonValue payload; + + if(m_sortByHasBeenSet) + { + payload.WithString("SortBy", ListTasksSortNameMapper::GetNameForListTasksSortName(m_sortBy)); + } + + if(m_sortOrderHasBeenSet) + { + payload.WithString("SortOrder", SortOrderMapper::GetNameForSortOrder(m_sortOrder)); + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListTasksSortName.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListTasksSortName.cpp new file mode 100644 index 00000000000..0265a0cfdea --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ListTasksSortName.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace PartnerCentralSelling + { + namespace Model + { + namespace ListTasksSortNameMapper + { + + static const int StartTime_HASH = HashingUtils::HashString("StartTime"); + + + ListTasksSortName GetListTasksSortNameForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == StartTime_HASH) + { + return ListTasksSortName::StartTime; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ListTasksSortName::NOT_SET; + } + + Aws::String GetNameForListTasksSortName(ListTasksSortName enumValue) + { + switch(enumValue) + { + case ListTasksSortName::NOT_SET: + return {}; + case ListTasksSortName::StartTime: + return "StartTime"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ListTasksSortNameMapper + } // namespace Model + } // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/OpportunitySummary.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/OpportunitySummary.cpp index 0a572939da0..615f09e7249 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/OpportunitySummary.cpp +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/OpportunitySummary.cpp @@ -19,6 +19,7 @@ namespace Model { OpportunitySummary::OpportunitySummary() : + m_arnHasBeenSet(false), m_catalogHasBeenSet(false), m_createdDateHasBeenSet(false), m_customerHasBeenSet(false), @@ -40,6 +41,13 @@ OpportunitySummary::OpportunitySummary(JsonView jsonValue) OpportunitySummary& OpportunitySummary::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("Arn")) + { + m_arn = jsonValue.GetString("Arn"); + + m_arnHasBeenSet = true; + } + if(jsonValue.ValueExists("Catalog")) { m_catalog = jsonValue.GetString("Catalog"); @@ -110,6 +118,12 @@ JsonValue OpportunitySummary::Jsonize() const { JsonValue payload; + if(m_arnHasBeenSet) + { + payload.WithString("Arn", m_arn); + + } + if(m_catalogHasBeenSet) { payload.WithString("Catalog", m_catalog); diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/OpportunitySummaryView.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/OpportunitySummaryView.cpp new file mode 100644 index 00000000000..d2a2cdfa6f7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/OpportunitySummaryView.cpp @@ -0,0 +1,159 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +OpportunitySummaryView::OpportunitySummaryView() : + m_customerHasBeenSet(false), + m_lifecycleHasBeenSet(false), + m_opportunityTeamHasBeenSet(false), + m_opportunityType(OpportunityType::NOT_SET), + m_opportunityTypeHasBeenSet(false), + m_primaryNeedsFromAwsHasBeenSet(false), + m_projectHasBeenSet(false), + m_relatedEntityIdentifiersHasBeenSet(false) +{ +} + +OpportunitySummaryView::OpportunitySummaryView(JsonView jsonValue) + : OpportunitySummaryView() +{ + *this = jsonValue; +} + +OpportunitySummaryView& OpportunitySummaryView::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Customer")) + { + m_customer = jsonValue.GetObject("Customer"); + + m_customerHasBeenSet = true; + } + + if(jsonValue.ValueExists("Lifecycle")) + { + m_lifecycle = jsonValue.GetObject("Lifecycle"); + + m_lifecycleHasBeenSet = true; + } + + if(jsonValue.ValueExists("OpportunityTeam")) + { + Aws::Utils::Array opportunityTeamJsonList = jsonValue.GetArray("OpportunityTeam"); + for(unsigned opportunityTeamIndex = 0; opportunityTeamIndex < opportunityTeamJsonList.GetLength(); ++opportunityTeamIndex) + { + m_opportunityTeam.push_back(opportunityTeamJsonList[opportunityTeamIndex].AsObject()); + } + m_opportunityTeamHasBeenSet = true; + } + + if(jsonValue.ValueExists("OpportunityType")) + { + m_opportunityType = OpportunityTypeMapper::GetOpportunityTypeForName(jsonValue.GetString("OpportunityType")); + + m_opportunityTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("PrimaryNeedsFromAws")) + { + Aws::Utils::Array primaryNeedsFromAwsJsonList = jsonValue.GetArray("PrimaryNeedsFromAws"); + for(unsigned primaryNeedsFromAwsIndex = 0; primaryNeedsFromAwsIndex < primaryNeedsFromAwsJsonList.GetLength(); ++primaryNeedsFromAwsIndex) + { + m_primaryNeedsFromAws.push_back(PrimaryNeedFromAwsMapper::GetPrimaryNeedFromAwsForName(primaryNeedsFromAwsJsonList[primaryNeedsFromAwsIndex].AsString())); + } + m_primaryNeedsFromAwsHasBeenSet = true; + } + + if(jsonValue.ValueExists("Project")) + { + m_project = jsonValue.GetObject("Project"); + + m_projectHasBeenSet = true; + } + + if(jsonValue.ValueExists("RelatedEntityIdentifiers")) + { + m_relatedEntityIdentifiers = jsonValue.GetObject("RelatedEntityIdentifiers"); + + m_relatedEntityIdentifiersHasBeenSet = true; + } + + return *this; +} + +JsonValue OpportunitySummaryView::Jsonize() const +{ + JsonValue payload; + + if(m_customerHasBeenSet) + { + payload.WithObject("Customer", m_customer.Jsonize()); + + } + + if(m_lifecycleHasBeenSet) + { + payload.WithObject("Lifecycle", m_lifecycle.Jsonize()); + + } + + if(m_opportunityTeamHasBeenSet) + { + Aws::Utils::Array opportunityTeamJsonList(m_opportunityTeam.size()); + for(unsigned opportunityTeamIndex = 0; opportunityTeamIndex < opportunityTeamJsonList.GetLength(); ++opportunityTeamIndex) + { + opportunityTeamJsonList[opportunityTeamIndex].AsObject(m_opportunityTeam[opportunityTeamIndex].Jsonize()); + } + payload.WithArray("OpportunityTeam", std::move(opportunityTeamJsonList)); + + } + + if(m_opportunityTypeHasBeenSet) + { + payload.WithString("OpportunityType", OpportunityTypeMapper::GetNameForOpportunityType(m_opportunityType)); + } + + if(m_primaryNeedsFromAwsHasBeenSet) + { + Aws::Utils::Array primaryNeedsFromAwsJsonList(m_primaryNeedsFromAws.size()); + for(unsigned primaryNeedsFromAwsIndex = 0; primaryNeedsFromAwsIndex < primaryNeedsFromAwsJsonList.GetLength(); ++primaryNeedsFromAwsIndex) + { + primaryNeedsFromAwsJsonList[primaryNeedsFromAwsIndex].AsString(PrimaryNeedFromAwsMapper::GetNameForPrimaryNeedFromAws(m_primaryNeedsFromAws[primaryNeedsFromAwsIndex])); + } + payload.WithArray("PrimaryNeedsFromAws", std::move(primaryNeedsFromAwsJsonList)); + + } + + if(m_projectHasBeenSet) + { + payload.WithObject("Project", m_project.Jsonize()); + + } + + if(m_relatedEntityIdentifiersHasBeenSet) + { + payload.WithObject("RelatedEntityIdentifiers", m_relatedEntityIdentifiers.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ParticipantType.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ParticipantType.cpp index 0006863900d..e20af74894f 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ParticipantType.cpp +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ParticipantType.cpp @@ -20,13 +20,18 @@ namespace Aws namespace ParticipantTypeMapper { + static const int SENDER_HASH = HashingUtils::HashString("SENDER"); static const int RECEIVER_HASH = HashingUtils::HashString("RECEIVER"); ParticipantType GetParticipantTypeForName(const Aws::String& name) { int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == RECEIVER_HASH) + if (hashCode == SENDER_HASH) + { + return ParticipantType::SENDER; + } + else if (hashCode == RECEIVER_HASH) { return ParticipantType::RECEIVER; } @@ -46,6 +51,8 @@ namespace Aws { case ParticipantType::NOT_SET: return {}; + case ParticipantType::SENDER: + return "SENDER"; case ParticipantType::RECEIVER: return "RECEIVER"; default: diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ProjectView.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ProjectView.cpp new file mode 100644 index 00000000000..412602166a0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ProjectView.cpp @@ -0,0 +1,139 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +ProjectView::ProjectView() : + m_customerUseCaseHasBeenSet(false), + m_deliveryModelsHasBeenSet(false), + m_expectedCustomerSpendHasBeenSet(false), + m_otherSolutionDescriptionHasBeenSet(false), + m_salesActivitiesHasBeenSet(false) +{ +} + +ProjectView::ProjectView(JsonView jsonValue) + : ProjectView() +{ + *this = jsonValue; +} + +ProjectView& ProjectView::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("CustomerUseCase")) + { + m_customerUseCase = jsonValue.GetString("CustomerUseCase"); + + m_customerUseCaseHasBeenSet = true; + } + + if(jsonValue.ValueExists("DeliveryModels")) + { + Aws::Utils::Array deliveryModelsJsonList = jsonValue.GetArray("DeliveryModels"); + for(unsigned deliveryModelsIndex = 0; deliveryModelsIndex < deliveryModelsJsonList.GetLength(); ++deliveryModelsIndex) + { + m_deliveryModels.push_back(DeliveryModelMapper::GetDeliveryModelForName(deliveryModelsJsonList[deliveryModelsIndex].AsString())); + } + m_deliveryModelsHasBeenSet = true; + } + + if(jsonValue.ValueExists("ExpectedCustomerSpend")) + { + Aws::Utils::Array expectedCustomerSpendJsonList = jsonValue.GetArray("ExpectedCustomerSpend"); + for(unsigned expectedCustomerSpendIndex = 0; expectedCustomerSpendIndex < expectedCustomerSpendJsonList.GetLength(); ++expectedCustomerSpendIndex) + { + m_expectedCustomerSpend.push_back(expectedCustomerSpendJsonList[expectedCustomerSpendIndex].AsObject()); + } + m_expectedCustomerSpendHasBeenSet = true; + } + + if(jsonValue.ValueExists("OtherSolutionDescription")) + { + m_otherSolutionDescription = jsonValue.GetString("OtherSolutionDescription"); + + m_otherSolutionDescriptionHasBeenSet = true; + } + + if(jsonValue.ValueExists("SalesActivities")) + { + Aws::Utils::Array salesActivitiesJsonList = jsonValue.GetArray("SalesActivities"); + for(unsigned salesActivitiesIndex = 0; salesActivitiesIndex < salesActivitiesJsonList.GetLength(); ++salesActivitiesIndex) + { + m_salesActivities.push_back(SalesActivityMapper::GetSalesActivityForName(salesActivitiesJsonList[salesActivitiesIndex].AsString())); + } + m_salesActivitiesHasBeenSet = true; + } + + return *this; +} + +JsonValue ProjectView::Jsonize() const +{ + JsonValue payload; + + if(m_customerUseCaseHasBeenSet) + { + payload.WithString("CustomerUseCase", m_customerUseCase); + + } + + if(m_deliveryModelsHasBeenSet) + { + Aws::Utils::Array deliveryModelsJsonList(m_deliveryModels.size()); + for(unsigned deliveryModelsIndex = 0; deliveryModelsIndex < deliveryModelsJsonList.GetLength(); ++deliveryModelsIndex) + { + deliveryModelsJsonList[deliveryModelsIndex].AsString(DeliveryModelMapper::GetNameForDeliveryModel(m_deliveryModels[deliveryModelsIndex])); + } + payload.WithArray("DeliveryModels", std::move(deliveryModelsJsonList)); + + } + + if(m_expectedCustomerSpendHasBeenSet) + { + Aws::Utils::Array expectedCustomerSpendJsonList(m_expectedCustomerSpend.size()); + for(unsigned expectedCustomerSpendIndex = 0; expectedCustomerSpendIndex < expectedCustomerSpendJsonList.GetLength(); ++expectedCustomerSpendIndex) + { + expectedCustomerSpendJsonList[expectedCustomerSpendIndex].AsObject(m_expectedCustomerSpend[expectedCustomerSpendIndex].Jsonize()); + } + payload.WithArray("ExpectedCustomerSpend", std::move(expectedCustomerSpendJsonList)); + + } + + if(m_otherSolutionDescriptionHasBeenSet) + { + payload.WithString("OtherSolutionDescription", m_otherSolutionDescription); + + } + + if(m_salesActivitiesHasBeenSet) + { + Aws::Utils::Array salesActivitiesJsonList(m_salesActivities.size()); + for(unsigned salesActivitiesIndex = 0; salesActivitiesIndex < salesActivitiesJsonList.GetLength(); ++salesActivitiesIndex) + { + salesActivitiesJsonList[salesActivitiesIndex].AsString(SalesActivityMapper::GetNameForSalesActivity(m_salesActivities[salesActivitiesIndex])); + } + payload.WithArray("SalesActivities", std::move(salesActivitiesJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/PutSellingSystemSettingsRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/PutSellingSystemSettingsRequest.cpp new file mode 100644 index 00000000000..34aefee7a49 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/PutSellingSystemSettingsRequest.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +PutSellingSystemSettingsRequest::PutSellingSystemSettingsRequest() : + m_catalogHasBeenSet(false), + m_resourceSnapshotJobRoleIdentifierHasBeenSet(false) +{ +} + +Aws::String PutSellingSystemSettingsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_resourceSnapshotJobRoleIdentifierHasBeenSet) + { + payload.WithString("ResourceSnapshotJobRoleIdentifier", m_resourceSnapshotJobRoleIdentifier); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection PutSellingSystemSettingsRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.PutSellingSystemSettings")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/PutSellingSystemSettingsResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/PutSellingSystemSettingsResult.cpp new file mode 100644 index 00000000000..2cc18a1c7ed --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/PutSellingSystemSettingsResult.cpp @@ -0,0 +1,54 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +PutSellingSystemSettingsResult::PutSellingSystemSettingsResult() +{ +} + +PutSellingSystemSettingsResult::PutSellingSystemSettingsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +PutSellingSystemSettingsResult& PutSellingSystemSettingsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Catalog")) + { + m_catalog = jsonValue.GetString("Catalog"); + + } + + if(jsonValue.ValueExists("ResourceSnapshotJobRoleArn")) + { + m_resourceSnapshotJobRoleArn = jsonValue.GetString("ResourceSnapshotJobRoleArn"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ReasonCode.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ReasonCode.cpp index 03c817c9136..bb2da346211 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ReasonCode.cpp +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ReasonCode.cpp @@ -21,16 +21,24 @@ namespace Aws { static const int InvitationAccessDenied_HASH = HashingUtils::HashString("InvitationAccessDenied"); + static const int InvitationValidationFailed_HASH = HashingUtils::HashString("InvitationValidationFailed"); static const int EngagementAccessDenied_HASH = HashingUtils::HashString("EngagementAccessDenied"); static const int OpportunityAccessDenied_HASH = HashingUtils::HashString("OpportunityAccessDenied"); static const int ResourceSnapshotJobAccessDenied_HASH = HashingUtils::HashString("ResourceSnapshotJobAccessDenied"); + static const int ResourceSnapshotJobValidationFailed_HASH = HashingUtils::HashString("ResourceSnapshotJobValidationFailed"); + static const int ResourceSnapshotJobConflict_HASH = HashingUtils::HashString("ResourceSnapshotJobConflict"); static const int EngagementValidationFailed_HASH = HashingUtils::HashString("EngagementValidationFailed"); + static const int EngagementConflict_HASH = HashingUtils::HashString("EngagementConflict"); static const int OpportunitySubmissionFailed_HASH = HashingUtils::HashString("OpportunitySubmissionFailed"); static const int EngagementInvitationConflict_HASH = HashingUtils::HashString("EngagementInvitationConflict"); - static const int InternalError_HASH = HashingUtils::HashString("InternalError"); static const int OpportunityValidationFailed_HASH = HashingUtils::HashString("OpportunityValidationFailed"); static const int OpportunityConflict_HASH = HashingUtils::HashString("OpportunityConflict"); static const int ResourceSnapshotAccessDenied_HASH = HashingUtils::HashString("ResourceSnapshotAccessDenied"); + static const int ResourceSnapshotValidationFailed_HASH = HashingUtils::HashString("ResourceSnapshotValidationFailed"); + static const int ResourceSnapshotConflict_HASH = HashingUtils::HashString("ResourceSnapshotConflict"); + static const int InternalError_HASH = HashingUtils::HashString("InternalError"); + static const int ServiceQuotaExceeded_HASH = HashingUtils::HashString("ServiceQuotaExceeded"); + static const int RequestThrottled_HASH = HashingUtils::HashString("RequestThrottled"); ReasonCode GetReasonCodeForName(const Aws::String& name) @@ -40,6 +48,10 @@ namespace Aws { return ReasonCode::InvitationAccessDenied; } + else if (hashCode == InvitationValidationFailed_HASH) + { + return ReasonCode::InvitationValidationFailed; + } else if (hashCode == EngagementAccessDenied_HASH) { return ReasonCode::EngagementAccessDenied; @@ -52,10 +64,22 @@ namespace Aws { return ReasonCode::ResourceSnapshotJobAccessDenied; } + else if (hashCode == ResourceSnapshotJobValidationFailed_HASH) + { + return ReasonCode::ResourceSnapshotJobValidationFailed; + } + else if (hashCode == ResourceSnapshotJobConflict_HASH) + { + return ReasonCode::ResourceSnapshotJobConflict; + } else if (hashCode == EngagementValidationFailed_HASH) { return ReasonCode::EngagementValidationFailed; } + else if (hashCode == EngagementConflict_HASH) + { + return ReasonCode::EngagementConflict; + } else if (hashCode == OpportunitySubmissionFailed_HASH) { return ReasonCode::OpportunitySubmissionFailed; @@ -64,10 +88,6 @@ namespace Aws { return ReasonCode::EngagementInvitationConflict; } - else if (hashCode == InternalError_HASH) - { - return ReasonCode::InternalError; - } else if (hashCode == OpportunityValidationFailed_HASH) { return ReasonCode::OpportunityValidationFailed; @@ -80,6 +100,26 @@ namespace Aws { return ReasonCode::ResourceSnapshotAccessDenied; } + else if (hashCode == ResourceSnapshotValidationFailed_HASH) + { + return ReasonCode::ResourceSnapshotValidationFailed; + } + else if (hashCode == ResourceSnapshotConflict_HASH) + { + return ReasonCode::ResourceSnapshotConflict; + } + else if (hashCode == InternalError_HASH) + { + return ReasonCode::InternalError; + } + else if (hashCode == ServiceQuotaExceeded_HASH) + { + return ReasonCode::ServiceQuotaExceeded; + } + else if (hashCode == RequestThrottled_HASH) + { + return ReasonCode::RequestThrottled; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -98,26 +138,42 @@ namespace Aws return {}; case ReasonCode::InvitationAccessDenied: return "InvitationAccessDenied"; + case ReasonCode::InvitationValidationFailed: + return "InvitationValidationFailed"; case ReasonCode::EngagementAccessDenied: return "EngagementAccessDenied"; case ReasonCode::OpportunityAccessDenied: return "OpportunityAccessDenied"; case ReasonCode::ResourceSnapshotJobAccessDenied: return "ResourceSnapshotJobAccessDenied"; + case ReasonCode::ResourceSnapshotJobValidationFailed: + return "ResourceSnapshotJobValidationFailed"; + case ReasonCode::ResourceSnapshotJobConflict: + return "ResourceSnapshotJobConflict"; case ReasonCode::EngagementValidationFailed: return "EngagementValidationFailed"; + case ReasonCode::EngagementConflict: + return "EngagementConflict"; case ReasonCode::OpportunitySubmissionFailed: return "OpportunitySubmissionFailed"; case ReasonCode::EngagementInvitationConflict: return "EngagementInvitationConflict"; - case ReasonCode::InternalError: - return "InternalError"; case ReasonCode::OpportunityValidationFailed: return "OpportunityValidationFailed"; case ReasonCode::OpportunityConflict: return "OpportunityConflict"; case ReasonCode::ResourceSnapshotAccessDenied: return "ResourceSnapshotAccessDenied"; + case ReasonCode::ResourceSnapshotValidationFailed: + return "ResourceSnapshotValidationFailed"; + case ReasonCode::ResourceSnapshotConflict: + return "ResourceSnapshotConflict"; + case ReasonCode::InternalError: + return "InternalError"; + case ReasonCode::ServiceQuotaExceeded: + return "ServiceQuotaExceeded"; + case ReasonCode::RequestThrottled: + return "RequestThrottled"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceSnapshotJobStatus.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceSnapshotJobStatus.cpp new file mode 100644 index 00000000000..d8ce355a1bc --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceSnapshotJobStatus.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace PartnerCentralSelling + { + namespace Model + { + namespace ResourceSnapshotJobStatusMapper + { + + static const int Running_HASH = HashingUtils::HashString("Running"); + static const int Stopped_HASH = HashingUtils::HashString("Stopped"); + + + ResourceSnapshotJobStatus GetResourceSnapshotJobStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == Running_HASH) + { + return ResourceSnapshotJobStatus::Running; + } + else if (hashCode == Stopped_HASH) + { + return ResourceSnapshotJobStatus::Stopped; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ResourceSnapshotJobStatus::NOT_SET; + } + + Aws::String GetNameForResourceSnapshotJobStatus(ResourceSnapshotJobStatus enumValue) + { + switch(enumValue) + { + case ResourceSnapshotJobStatus::NOT_SET: + return {}; + case ResourceSnapshotJobStatus::Running: + return "Running"; + case ResourceSnapshotJobStatus::Stopped: + return "Stopped"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ResourceSnapshotJobStatusMapper + } // namespace Model + } // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceSnapshotJobSummary.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceSnapshotJobSummary.cpp new file mode 100644 index 00000000000..1dc16900391 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceSnapshotJobSummary.cpp @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +ResourceSnapshotJobSummary::ResourceSnapshotJobSummary() : + m_arnHasBeenSet(false), + m_engagementIdHasBeenSet(false), + m_idHasBeenSet(false), + m_status(ResourceSnapshotJobStatus::NOT_SET), + m_statusHasBeenSet(false) +{ +} + +ResourceSnapshotJobSummary::ResourceSnapshotJobSummary(JsonView jsonValue) + : ResourceSnapshotJobSummary() +{ + *this = jsonValue; +} + +ResourceSnapshotJobSummary& ResourceSnapshotJobSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Arn")) + { + m_arn = jsonValue.GetString("Arn"); + + m_arnHasBeenSet = true; + } + + if(jsonValue.ValueExists("EngagementId")) + { + m_engagementId = jsonValue.GetString("EngagementId"); + + m_engagementIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("Id")) + { + m_id = jsonValue.GetString("Id"); + + m_idHasBeenSet = true; + } + + if(jsonValue.ValueExists("Status")) + { + m_status = ResourceSnapshotJobStatusMapper::GetResourceSnapshotJobStatusForName(jsonValue.GetString("Status")); + + m_statusHasBeenSet = true; + } + + return *this; +} + +JsonValue ResourceSnapshotJobSummary::Jsonize() const +{ + JsonValue payload; + + if(m_arnHasBeenSet) + { + payload.WithString("Arn", m_arn); + + } + + if(m_engagementIdHasBeenSet) + { + payload.WithString("EngagementId", m_engagementId); + + } + + if(m_idHasBeenSet) + { + payload.WithString("Id", m_id); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("Status", ResourceSnapshotJobStatusMapper::GetNameForResourceSnapshotJobStatus(m_status)); + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceSnapshotPayload.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceSnapshotPayload.cpp new file mode 100644 index 00000000000..708bf743b8a --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceSnapshotPayload.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +ResourceSnapshotPayload::ResourceSnapshotPayload() : + m_opportunitySummaryHasBeenSet(false) +{ +} + +ResourceSnapshotPayload::ResourceSnapshotPayload(JsonView jsonValue) + : ResourceSnapshotPayload() +{ + *this = jsonValue; +} + +ResourceSnapshotPayload& ResourceSnapshotPayload::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("OpportunitySummary")) + { + m_opportunitySummary = jsonValue.GetObject("OpportunitySummary"); + + m_opportunitySummaryHasBeenSet = true; + } + + return *this; +} + +JsonValue ResourceSnapshotPayload::Jsonize() const +{ + JsonValue payload; + + if(m_opportunitySummaryHasBeenSet) + { + payload.WithObject("OpportunitySummary", m_opportunitySummary.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceSnapshotSummary.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceSnapshotSummary.cpp new file mode 100644 index 00000000000..639c496dcde --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceSnapshotSummary.cpp @@ -0,0 +1,130 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +ResourceSnapshotSummary::ResourceSnapshotSummary() : + m_arnHasBeenSet(false), + m_createdByHasBeenSet(false), + m_resourceIdHasBeenSet(false), + m_resourceSnapshotTemplateNameHasBeenSet(false), + m_resourceType(ResourceType::NOT_SET), + m_resourceTypeHasBeenSet(false), + m_revision(0), + m_revisionHasBeenSet(false) +{ +} + +ResourceSnapshotSummary::ResourceSnapshotSummary(JsonView jsonValue) + : ResourceSnapshotSummary() +{ + *this = jsonValue; +} + +ResourceSnapshotSummary& ResourceSnapshotSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Arn")) + { + m_arn = jsonValue.GetString("Arn"); + + m_arnHasBeenSet = true; + } + + if(jsonValue.ValueExists("CreatedBy")) + { + m_createdBy = jsonValue.GetString("CreatedBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("ResourceId")) + { + m_resourceId = jsonValue.GetString("ResourceId"); + + m_resourceIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("ResourceSnapshotTemplateName")) + { + m_resourceSnapshotTemplateName = jsonValue.GetString("ResourceSnapshotTemplateName"); + + m_resourceSnapshotTemplateNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("ResourceType")) + { + m_resourceType = ResourceTypeMapper::GetResourceTypeForName(jsonValue.GetString("ResourceType")); + + m_resourceTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("Revision")) + { + m_revision = jsonValue.GetInteger("Revision"); + + m_revisionHasBeenSet = true; + } + + return *this; +} + +JsonValue ResourceSnapshotSummary::Jsonize() const +{ + JsonValue payload; + + if(m_arnHasBeenSet) + { + payload.WithString("Arn", m_arn); + + } + + if(m_createdByHasBeenSet) + { + payload.WithString("CreatedBy", m_createdBy); + + } + + if(m_resourceIdHasBeenSet) + { + payload.WithString("ResourceId", m_resourceId); + + } + + if(m_resourceSnapshotTemplateNameHasBeenSet) + { + payload.WithString("ResourceSnapshotTemplateName", m_resourceSnapshotTemplateName); + + } + + if(m_resourceTypeHasBeenSet) + { + payload.WithString("ResourceType", ResourceTypeMapper::GetNameForResourceType(m_resourceType)); + } + + if(m_revisionHasBeenSet) + { + payload.WithInteger("Revision", m_revision); + + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceType.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceType.cpp new file mode 100644 index 00000000000..6168ba9c8ee --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/ResourceType.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace PartnerCentralSelling + { + namespace Model + { + namespace ResourceTypeMapper + { + + static const int Opportunity_HASH = HashingUtils::HashString("Opportunity"); + + + ResourceType GetResourceTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == Opportunity_HASH) + { + return ResourceType::Opportunity; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ResourceType::NOT_SET; + } + + Aws::String GetNameForResourceType(ResourceType enumValue) + { + switch(enumValue) + { + case ResourceType::NOT_SET: + return {}; + case ResourceType::Opportunity: + return "Opportunity"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ResourceTypeMapper + } // namespace Model + } // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/SolutionBase.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/SolutionBase.cpp index 47bc0a40e04..14f11f0c516 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/SolutionBase.cpp +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/SolutionBase.cpp @@ -19,6 +19,7 @@ namespace Model { SolutionBase::SolutionBase() : + m_arnHasBeenSet(false), m_catalogHasBeenSet(false), m_categoryHasBeenSet(false), m_createdDateHasBeenSet(false), @@ -37,6 +38,13 @@ SolutionBase::SolutionBase(JsonView jsonValue) SolutionBase& SolutionBase::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("Arn")) + { + m_arn = jsonValue.GetString("Arn"); + + m_arnHasBeenSet = true; + } + if(jsonValue.ValueExists("Catalog")) { m_catalog = jsonValue.GetString("Catalog"); @@ -86,6 +94,12 @@ JsonValue SolutionBase::Jsonize() const { JsonValue payload; + if(m_arnHasBeenSet) + { + payload.WithString("Arn", m_arn); + + } + if(m_catalogHasBeenSet) { payload.WithString("Catalog", m_catalog); diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/SortBy.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/SortBy.cpp new file mode 100644 index 00000000000..e3ccf6b9589 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/SortBy.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace PartnerCentralSelling + { + namespace Model + { + namespace SortByMapper + { + + static const int CreatedDate_HASH = HashingUtils::HashString("CreatedDate"); + + + SortBy GetSortByForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == CreatedDate_HASH) + { + return SortBy::CreatedDate; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return SortBy::NOT_SET; + } + + Aws::String GetNameForSortBy(SortBy enumValue) + { + switch(enumValue) + { + case SortBy::NOT_SET: + return {}; + case SortBy::CreatedDate: + return "CreatedDate"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace SortByMapper + } // namespace Model + } // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/SortObject.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/SortObject.cpp new file mode 100644 index 00000000000..e5b688a6c69 --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/SortObject.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace PartnerCentralSelling +{ +namespace Model +{ + +SortObject::SortObject() : + m_sortBy(SortBy::NOT_SET), + m_sortByHasBeenSet(false), + m_sortOrder(SortOrder::NOT_SET), + m_sortOrderHasBeenSet(false) +{ +} + +SortObject::SortObject(JsonView jsonValue) + : SortObject() +{ + *this = jsonValue; +} + +SortObject& SortObject::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("SortBy")) + { + m_sortBy = SortByMapper::GetSortByForName(jsonValue.GetString("SortBy")); + + m_sortByHasBeenSet = true; + } + + if(jsonValue.ValueExists("SortOrder")) + { + m_sortOrder = SortOrderMapper::GetSortOrderForName(jsonValue.GetString("SortOrder")); + + m_sortOrderHasBeenSet = true; + } + + return *this; +} + +JsonValue SortObject::Jsonize() const +{ + JsonValue payload; + + if(m_sortByHasBeenSet) + { + payload.WithString("SortBy", SortByMapper::GetNameForSortBy(m_sortBy)); + } + + if(m_sortOrderHasBeenSet) + { + payload.WithString("SortOrder", SortOrderMapper::GetNameForSortOrder(m_sortOrder)); + } + + return payload; +} + +} // namespace Model +} // namespace PartnerCentralSelling +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/StartEngagementByAcceptingInvitationTaskResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/StartEngagementByAcceptingInvitationTaskResult.cpp index 370fb256e5b..a96b7f5817c 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/StartEngagementByAcceptingInvitationTaskResult.cpp +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/StartEngagementByAcceptingInvitationTaskResult.cpp @@ -56,6 +56,12 @@ StartEngagementByAcceptingInvitationTaskResult& StartEngagementByAcceptingInvita } + if(jsonValue.ValueExists("ResourceSnapshotJobId")) + { + m_resourceSnapshotJobId = jsonValue.GetString("ResourceSnapshotJobId"); + + } + if(jsonValue.ValueExists("StartTime")) { m_startTime = jsonValue.GetString("StartTime"); diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/StartEngagementFromOpportunityTaskResult.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/StartEngagementFromOpportunityTaskResult.cpp index d689027f235..90b546e621c 100644 --- a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/StartEngagementFromOpportunityTaskResult.cpp +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/StartEngagementFromOpportunityTaskResult.cpp @@ -32,6 +32,18 @@ StartEngagementFromOpportunityTaskResult::StartEngagementFromOpportunityTaskResu StartEngagementFromOpportunityTaskResult& StartEngagementFromOpportunityTaskResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("EngagementId")) + { + m_engagementId = jsonValue.GetString("EngagementId"); + + } + + if(jsonValue.ValueExists("EngagementInvitationId")) + { + m_engagementInvitationId = jsonValue.GetString("EngagementInvitationId"); + + } + if(jsonValue.ValueExists("Message")) { m_message = jsonValue.GetString("Message"); @@ -50,6 +62,12 @@ StartEngagementFromOpportunityTaskResult& StartEngagementFromOpportunityTaskResu } + if(jsonValue.ValueExists("ResourceSnapshotJobId")) + { + m_resourceSnapshotJobId = jsonValue.GetString("ResourceSnapshotJobId"); + + } + if(jsonValue.ValueExists("StartTime")) { m_startTime = jsonValue.GetString("StartTime"); diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/StartResourceSnapshotJobRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/StartResourceSnapshotJobRequest.cpp new file mode 100644 index 00000000000..48c2d89a35e --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/StartResourceSnapshotJobRequest.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +StartResourceSnapshotJobRequest::StartResourceSnapshotJobRequest() : + m_catalogHasBeenSet(false), + m_resourceSnapshotJobIdentifierHasBeenSet(false) +{ +} + +Aws::String StartResourceSnapshotJobRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_resourceSnapshotJobIdentifierHasBeenSet) + { + payload.WithString("ResourceSnapshotJobIdentifier", m_resourceSnapshotJobIdentifier); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection StartResourceSnapshotJobRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.StartResourceSnapshotJob")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/StopResourceSnapshotJobRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/StopResourceSnapshotJobRequest.cpp new file mode 100644 index 00000000000..421c59ae3de --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/StopResourceSnapshotJobRequest.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +StopResourceSnapshotJobRequest::StopResourceSnapshotJobRequest() : + m_catalogHasBeenSet(false), + m_resourceSnapshotJobIdentifierHasBeenSet(false) +{ +} + +Aws::String StopResourceSnapshotJobRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_resourceSnapshotJobIdentifierHasBeenSet) + { + payload.WithString("ResourceSnapshotJobIdentifier", m_resourceSnapshotJobIdentifier); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection StopResourceSnapshotJobRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.StopResourceSnapshotJob")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/SubmitOpportunityRequest.cpp b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/SubmitOpportunityRequest.cpp new file mode 100644 index 00000000000..dd55f622f6e --- /dev/null +++ b/generated/src/aws-cpp-sdk-partnercentral-selling/source/model/SubmitOpportunityRequest.cpp @@ -0,0 +1,64 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::PartnerCentralSelling::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +SubmitOpportunityRequest::SubmitOpportunityRequest() : + m_catalogHasBeenSet(false), + m_identifierHasBeenSet(false), + m_involvementType(SalesInvolvementType::NOT_SET), + m_involvementTypeHasBeenSet(false), + m_visibility(Visibility::NOT_SET), + m_visibilityHasBeenSet(false) +{ +} + +Aws::String SubmitOpportunityRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogHasBeenSet) + { + payload.WithString("Catalog", m_catalog); + + } + + if(m_identifierHasBeenSet) + { + payload.WithString("Identifier", m_identifier); + + } + + if(m_involvementTypeHasBeenSet) + { + payload.WithString("InvolvementType", SalesInvolvementTypeMapper::GetNameForSalesInvolvementType(m_involvementType)); + } + + if(m_visibilityHasBeenSet) + { + payload.WithString("Visibility", VisibilityMapper::GetNameForVisibility(m_visibility)); + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection SubmitOpportunityRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSPartnerCentralSelling.SubmitOpportunity")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/QBusinessClient.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/QBusinessClient.h index 48277bc86ae..b0fdfb99047 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/QBusinessClient.h +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/QBusinessClient.h @@ -1615,11 +1615,11 @@ namespace QBusiness /** *

            Searches for relevant content in a Q Business application based on a query. * This operation takes a search query text, the Q Business application identifier, - * and optional filters (such as user ID, user groups, content source, and maximum - * results) as input. It returns a list of relevant content items, where each item - * includes the content text, the unique document identifier, the document title, - * the document URI, any relevant document attributes, and score attributes - * indicating the confidence level of the relevance.

            See Also:

            See Also:

            AWS * API Reference

            */ diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/SearchRelevantContentRequest.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/SearchRelevantContentRequest.h index 89f4b5b860f..98b0d457dcc 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/SearchRelevantContentRequest.h +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/SearchRelevantContentRequest.h @@ -7,17 +7,12 @@ #include #include #include -#include #include #include #include namespace Aws { -namespace Http -{ - class URI; -} //namespace Http namespace QBusiness { namespace Model @@ -38,8 +33,6 @@ namespace Model AWS_QBUSINESS_API Aws::String SerializePayload() const override; - AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - ///@{ /** @@ -55,35 +48,6 @@ namespace Model inline SearchRelevantContentRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} ///@} - ///@{ - /** - *

            The ID of the user performing the search. Used for access control.

            - */ - inline const Aws::String& GetUserId() const{ return m_userId; } - inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } - inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } - inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } - inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } - inline SearchRelevantContentRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} - inline SearchRelevantContentRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} - inline SearchRelevantContentRequest& WithUserId(const char* value) { SetUserId(value); return *this;} - ///@} - - ///@{ - /** - *

            The groups the user belongs to. Used for access control.

            - */ - inline const Aws::Vector& GetUserGroups() const{ return m_userGroups; } - inline bool UserGroupsHasBeenSet() const { return m_userGroupsHasBeenSet; } - inline void SetUserGroups(const Aws::Vector& value) { m_userGroupsHasBeenSet = true; m_userGroups = value; } - inline void SetUserGroups(Aws::Vector&& value) { m_userGroupsHasBeenSet = true; m_userGroups = std::move(value); } - inline SearchRelevantContentRequest& WithUserGroups(const Aws::Vector& value) { SetUserGroups(value); return *this;} - inline SearchRelevantContentRequest& WithUserGroups(Aws::Vector&& value) { SetUserGroups(std::move(value)); return *this;} - inline SearchRelevantContentRequest& AddUserGroups(const Aws::String& value) { m_userGroupsHasBeenSet = true; m_userGroups.push_back(value); return *this; } - inline SearchRelevantContentRequest& AddUserGroups(Aws::String&& value) { m_userGroupsHasBeenSet = true; m_userGroups.push_back(std::move(value)); return *this; } - inline SearchRelevantContentRequest& AddUserGroups(const char* value) { m_userGroupsHasBeenSet = true; m_userGroups.push_back(value); return *this; } - ///@} - ///@{ /** *

            The text to search for.

            @@ -149,12 +113,6 @@ namespace Model Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; - Aws::String m_userId; - bool m_userIdHasBeenSet = false; - - Aws::Vector m_userGroups; - bool m_userGroupsHasBeenSet = false; - Aws::String m_queryText; bool m_queryTextHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/SearchRelevantContentRequest.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/SearchRelevantContentRequest.cpp index fffffccbb5a..d690e34704d 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/source/model/SearchRelevantContentRequest.cpp +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/SearchRelevantContentRequest.cpp @@ -5,20 +5,15 @@ #include #include -#include -#include #include using namespace Aws::QBusiness::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; -using namespace Aws::Http; SearchRelevantContentRequest::SearchRelevantContentRequest() : m_applicationIdHasBeenSet(false), - m_userIdHasBeenSet(false), - m_userGroupsHasBeenSet(false), m_queryTextHasBeenSet(false), m_contentSourceHasBeenSet(false), m_attributeFilterHasBeenSet(false), @@ -65,27 +60,6 @@ Aws::String SearchRelevantContentRequest::SerializePayload() const return payload.View().WriteReadable(); } -void SearchRelevantContentRequest::AddQueryStringParameters(URI& uri) const -{ - Aws::StringStream ss; - if(m_userIdHasBeenSet) - { - ss << m_userId; - uri.AddQueryStringParameter("userId", ss.str()); - ss.str(""); - } - - if(m_userGroupsHasBeenSet) - { - for(const auto& item : m_userGroups) - { - ss << item; - uri.AddQueryStringParameter("userGroups", ss.str()); - ss.str(""); - } - } - -} diff --git a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h index b8b07dbeded..6c237de2f85 100644 --- a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h +++ b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h @@ -4,7 +4,7 @@ */ #pragma once -#define AWS_SDK_VERSION_STRING "1.11.461" +#define AWS_SDK_VERSION_STRING "1.11.462" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 461 +#define AWS_SDK_VERSION_PATCH 462 diff --git a/tools/code-generation/api-descriptions/partnercentral-selling-2022-07-26.normal.json b/tools/code-generation/api-descriptions/partnercentral-selling-2022-07-26.normal.json index e7a980d02f3..5f6f7dfe23c 100644 --- a/tools/code-generation/api-descriptions/partnercentral-selling-2022-07-26.normal.json +++ b/tools/code-generation/api-descriptions/partnercentral-selling-2022-07-26.normal.json @@ -15,6 +15,22 @@ "auth":["aws.auth#sigv4"] }, "operations":{ + "AcceptEngagementInvitation":{ + "name":"AcceptEngagementInvitation", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"AcceptEngagementInvitationRequest"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            Use the AcceptEngagementInvitation action to accept an engagement invitation shared by AWS. Accepting the invitation indicates your willingness to participate in the engagement, granting you access to all engagement-related data.

            " + }, "AssignOpportunity":{ "name":"AssignOpportunity", "http":{ @@ -29,7 +45,7 @@ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], - "documentation":"

            Enables you to reassign an existing Opportunity to another user within your Partner Central account. The specified user receives the opportunity, and it appears on their Partner Central dashboard, allowing them to take necessary actions or proceed with the opportunity.

            This is useful for distributing opportunities to the appropriate team members or departments within your organization, ensuring that each opportunity is handled by the right person. By default, the opportunity owner is the one who creates it. Currently, there's no API to enumerate the list of available users.

            " + "documentation":"

            Enables you to reassign an existing Opportunity to another user within your Partner Central account. The specified user receives the opportunity, and it appears on their Partner Central dashboard, allowing them to take necessary actions or proceed with the opportunity.

            This is useful for distributing opportunities to the appropriate team members or departments within your organization, ensuring that each opportunity is handled by the right person. By default, the opportunity owner is the one who creates it. Currently, there's no API to enumerate the list of available users.

            " }, "AssociateOpportunity":{ "name":"AssociateOpportunity", @@ -45,7 +61,45 @@ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], - "documentation":"

            Enables you to create a formal association between an Opportunity and various related entities, enriching the context and details of the opportunity for better collaboration and decision making. You can associate an opportunity with the following entity types:

            • Partner Solution: A software product or consulting practice created and delivered by Partners. Partner Solutions help customers address business challenges using Amazon Web Services services.

            • Amazon Web Services Products: Amazon Web Services offers many products and services that provide scalable, reliable, and cost-effective infrastructure solutions. For the latest list of Amazon Web Services products, see Amazon Web Services products.

            • Amazon Web Services Marketplace private offer: Allows Amazon Web Services Marketplace sellers to extend custom pricing and terms to individual Amazon Web Services customers. Sellers can negotiate custom prices, payment schedules, and end user license terms through private offers, enabling Amazon Web Services customers to acquire software solutions tailored to their specific needs. For more information, see Private offers in Amazon Web Services Marketplace.

            To obtain identifiers for these entities, use the following methods:

            " + "documentation":"

            Enables you to create a formal association between an Opportunity and various related entities, enriching the context and details of the opportunity for better collaboration and decision making. You can associate an opportunity with the following entity types:

            • Partner Solution: A software product or consulting practice created and delivered by Partners. Partner Solutions help customers address business challenges using Amazon Web Services services.

            • Amazon Web Services Products: Amazon Web Services offers many products and services that provide scalable, reliable, and cost-effective infrastructure solutions. For the latest list of Amazon Web Services products, see Amazon Web Services products.

            • Amazon Web Services Marketplace private offer: Allows Amazon Web Services Marketplace sellers to extend custom pricing and terms to individual Amazon Web Services customers. Sellers can negotiate custom prices, payment schedules, and end user license terms through private offers, enabling Amazon Web Services customers to acquire software solutions tailored to their specific needs. For more information, see Private offers in Amazon Web Services Marketplace.

            To obtain identifiers for these entities, use the following methods:

            " + }, + "CreateEngagement":{ + "name":"CreateEngagement", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateEngagementRequest"}, + "output":{"shape":"CreateEngagementResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            The CreateEngagement action allows you to create an Engagement, which serves as a collaborative space between different parties such as AWS Partners and AWS Sellers. This action automatically adds the caller's AWS account as an active member of the newly created Engagement.

            ", + "idempotent":true + }, + "CreateEngagementInvitation":{ + "name":"CreateEngagementInvitation", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateEngagementInvitationRequest"}, + "output":{"shape":"CreateEngagementInvitationResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            This action creates an invitation from a sender to a single receiver to join an engagement.

            ", + "idempotent":true }, "CreateOpportunity":{ "name":"CreateOpportunity", @@ -63,7 +117,61 @@ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], - "documentation":"

            Creates an Opportunity record in Partner Central. Use this operation to create a potential business opportunity for submission to Amazon Web Services. Creating an opportunity sets Lifecycle.ReviewStatus to Pending Submission.

            To submit an opportunity, follow these steps:

            1. To create the opportunity, use CreateOpportunity.

            2. To associate a solution with the opportunity, use AssociateOpportunity.

            3. To submit the opportunity, use StartEngagementFromOpportunityTask.

            After submission, you can't edit the opportunity until the review is complete. But opportunities in the Pending Submission state must have complete details. You can update the opportunity while it's in the Pending Submission state.

            There's a set of mandatory fields to create opportunities, but consider providing optional fields to enrich the opportunity record.

            ", + "documentation":"

            Creates an Opportunity record in Partner Central. Use this operation to create a potential business opportunity for submission to Amazon Web Services. Creating an opportunity sets Lifecycle.ReviewStatus to Pending Submission.

            To submit an opportunity, follow these steps:

            1. To create the opportunity, use CreateOpportunity.

            2. To associate a solution with the opportunity, use AssociateOpportunity.

            3. To submit the opportunity, use StartEngagementFromOpportunityTask.

            After submission, you can't edit the opportunity until the review is complete. But opportunities in the Pending Submission state must have complete details. You can update the opportunity while it's in the Pending Submission state.

            There's a set of mandatory fields to create opportunities, but consider providing optional fields to enrich the opportunity record.

            ", + "idempotent":true + }, + "CreateResourceSnapshot":{ + "name":"CreateResourceSnapshot", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateResourceSnapshotRequest"}, + "output":{"shape":"CreateResourceSnapshotResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            This action allows you to create an immutable snapshot of a specific resource, such as an opportunity, within the context of an engagement. The snapshot captures a subset of the resource's data based on the schema defined by the provided template.

            ", + "idempotent":true + }, + "CreateResourceSnapshotJob":{ + "name":"CreateResourceSnapshotJob", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateResourceSnapshotJobRequest"}, + "output":{"shape":"CreateResourceSnapshotJobResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            Use this action to create a job to generate a snapshot of the specified resource within an engagement. It initiates an asynchronous process to create a resource snapshot. The job creates a new snapshot only if the resource state has changed, adhering to the same access control and immutability rules as direct snapshot creation.

            ", + "idempotent":true + }, + "DeleteResourceSnapshotJob":{ + "name":"DeleteResourceSnapshotJob", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteResourceSnapshotJobRequest"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            Use this action to deletes a previously created resource snapshot job. The job must be in a stopped state before it can be deleted.

            ", "idempotent":true }, "DisassociateOpportunity":{ @@ -80,7 +188,7 @@ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], - "documentation":"

            Allows you to remove an existing association between an Opportunity and related entities, such as a Partner Solution, Amazon Web Services product, or an Amazon Web Services Marketplace offer. This operation is the counterpart to AssociateOpportunity, and it provides flexibility to manage associations as business needs change.

            Use this operation to update the associations of an Opportunity due to changes in the related entities, or if an association was made in error. Ensuring accurate associations helps maintain clarity and accuracy to track and manage business opportunities. When you replace an entity, first attach the new entity and then disassociate the one to be removed, especially if it's the last remaining entity that's required.

            " + "documentation":"

            Allows you to remove an existing association between an Opportunity and related entities, such as a Partner Solution, Amazon Web Services product, or an Amazon Web Services Marketplace offer. This operation is the counterpart to AssociateOpportunity, and it provides flexibility to manage associations as business needs change.

            Use this operation to update the associations of an Opportunity due to changes in the related entities, or if an association was made in error. Ensuring accurate associations helps maintain clarity and accuracy to track and manage business opportunities. When you replace an entity, first attach the new entity and then disassociate the one to be removed, especially if it's the last remaining entity that's required.

            " }, "GetAwsOpportunitySummary":{ "name":"GetAwsOpportunitySummary", @@ -97,7 +205,23 @@ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], - "documentation":"

            Retrieves a summary of an AWS Opportunity. This summary includes high-level details about the opportunity sourced from AWS, such as lifecycle information, customer details, and involvement type. It is useful for tracking updates on the AWS opportunity corresponding to an opportunity in the partner's account.

            " + "documentation":"

            Retrieves a summary of an AWS Opportunity. This summary includes high-level details about the opportunity sourced from AWS, such as lifecycle information, customer details, and involvement type. It is useful for tracking updates on the AWS opportunity corresponding to an opportunity in the partner's account.

            " + }, + "GetEngagement":{ + "name":"GetEngagement", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetEngagementRequest"}, + "output":{"shape":"GetEngagementResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            Use this action to retrieve the engagement record for a given EngagementIdentifier.

            " }, "GetEngagementInvitation":{ "name":"GetEngagementInvitation", @@ -131,7 +255,87 @@ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], - "documentation":"

            Fetches the Opportunity record from Partner Central by a given Identifier.

            Use the ListOpportunities action or the event notification (from Amazon EventBridge) to obtain this identifier.

            " + "documentation":"

            Fetches the Opportunity record from Partner Central by a given Identifier.

            Use the ListOpportunities action or the event notification (from Amazon EventBridge) to obtain this identifier.

            " + }, + "GetResourceSnapshot":{ + "name":"GetResourceSnapshot", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetResourceSnapshotRequest"}, + "output":{"shape":"GetResourceSnapshotResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            Use this action to retrieve a specific snapshot record.

            " + }, + "GetResourceSnapshotJob":{ + "name":"GetResourceSnapshotJob", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetResourceSnapshotJobRequest"}, + "output":{"shape":"GetResourceSnapshotJobResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            Use this action to retrieves information about a specific resource snapshot job.

            " + }, + "GetSellingSystemSettings":{ + "name":"GetSellingSystemSettings", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetSellingSystemSettingsRequest"}, + "output":{"shape":"GetSellingSystemSettingsResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            Retrieves the currently set system settings, which include the IAM Role used for resource snapshot jobs.

            " + }, + "ListEngagementByAcceptingInvitationTasks":{ + "name":"ListEngagementByAcceptingInvitationTasks", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListEngagementByAcceptingInvitationTasksRequest"}, + "output":{"shape":"ListEngagementByAcceptingInvitationTasksResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            Lists all in-progress, completed, or failed StartEngagementByAcceptingInvitationTask tasks that were initiated by the caller's account.

            " + }, + "ListEngagementFromOpportunityTasks":{ + "name":"ListEngagementFromOpportunityTasks", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListEngagementFromOpportunityTasksRequest"}, + "output":{"shape":"ListEngagementFromOpportunityTasksResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            Lists all in-progress, completed, or failed EngagementFromOpportunity tasks that were initiated by the caller's account.

            " }, "ListEngagementInvitations":{ "name":"ListEngagementInvitations", @@ -150,6 +354,54 @@ ], "documentation":"

            Retrieves a list of engagement invitations sent to the partner. This allows partners to view all pending or past engagement invitations, helping them track opportunities shared by AWS.

            " }, + "ListEngagementMembers":{ + "name":"ListEngagementMembers", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListEngagementMembersRequest"}, + "output":{"shape":"ListEngagementMembersResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            Retrieves the details of member partners in an engagement. This operation can only be invoked by members of the engagement. The ListEngagementMembers operation allows you to fetch information about the members of a specific engagement. This action is restricted to members of the engagement being queried.

            " + }, + "ListEngagementResourceAssociations":{ + "name":"ListEngagementResourceAssociations", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListEngagementResourceAssociationsRequest"}, + "output":{"shape":"ListEngagementResourceAssociationsResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            Lists the associations between resources and engagements where the caller is a member and has at least one snapshot in the engagement.

            " + }, + "ListEngagements":{ + "name":"ListEngagements", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListEngagementsRequest"}, + "output":{"shape":"ListEngagementsResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            This action allows users to retrieve a list of engagement records from Partner Central. This action can be used to manage and track various engagements across different stages of the partner selling process.

            " + }, "ListOpportunities":{ "name":"ListOpportunities", "http":{ @@ -165,7 +417,38 @@ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], - "documentation":"

            This request accepts a list of filters that retrieve opportunity subsets as well as sort options. This feature is available to partners from Partner Central using the ListOpportunities API action.

            To synchronize your system with Amazon Web Services, only list the opportunities that were newly created or updated. We recommend you rely on events emitted by the service into your Amazon Web Services account’s Amazon EventBridge default event bus, you can also use the ListOpportunities action.

            We recommend the following approach:

            1. Find the latest LastModifiedDate that you stored, and only use the values that came from Amazon Web Services. Don’t use values generated by your system.

            2. When you send a ListOpportunities request, submit the date in ISO 8601 format in the AfterLastModifiedDate filter.

            3. Amazon Web Services only returns opportunities created or updated on or after that date and time. Use NextToken to iterate over all pages.

            " + "documentation":"

            This request accepts a list of filters that retrieve opportunity subsets as well as sort options. This feature is available to partners from Partner Central using the ListOpportunities API action.

            To synchronize your system with Amazon Web Services, only list the opportunities that were newly created or updated. We recommend you rely on events emitted by the service into your Amazon Web Services account’s Amazon EventBridge default event bus, you can also use the ListOpportunities action.

            We recommend the following approach:

            1. Find the latest LastModifiedDate that you stored, and only use the values that came from Amazon Web Services. Don’t use values generated by your system.

            2. When you send a ListOpportunities request, submit the date in ISO 8601 format in the AfterLastModifiedDate filter.

            3. Amazon Web Services only returns opportunities created or updated on or after that date and time. Use NextToken to iterate over all pages.

            " + }, + "ListResourceSnapshotJobs":{ + "name":"ListResourceSnapshotJobs", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListResourceSnapshotJobsRequest"}, + "output":{"shape":"ListResourceSnapshotJobsResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"} + ], + "documentation":"

            Lists resource snapshot jobs owned by the customer. This operation supports various filtering scenarios, including listing all jobs owned by the caller, jobs for a specific engagement, jobs with a specific status, or any combination of these filters.

            " + }, + "ListResourceSnapshots":{ + "name":"ListResourceSnapshots", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListResourceSnapshotsRequest"}, + "output":{"shape":"ListResourceSnapshotsResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            Retrieves a list of resource view snapshots based on specified criteria.

            " }, "ListSolutions":{ "name":"ListSolutions", @@ -181,7 +464,24 @@ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], - "documentation":"

            Retrieves a list of Partner Solutions that the partner registered on Partner Central. This API is used to generate a list of solutions that an end user selects from for association with an opportunity.

            " + "documentation":"

            Retrieves a list of Partner Solutions that the partner registered on Partner Central. This API is used to generate a list of solutions that an end user selects from for association with an opportunity.

            " + }, + "PutSellingSystemSettings":{ + "name":"PutSellingSystemSettings", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"PutSellingSystemSettingsRequest"}, + "output":{"shape":"PutSellingSystemSettingsResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            Updates the currently set system settings, which include the IAM Role used for resource snapshot jobs.

            ", + "idempotent":true }, "RejectEngagementInvitation":{ "name":"RejectEngagementInvitation", @@ -237,6 +537,54 @@ ], "documentation":"

            This action initiates the engagement process from an existing opportunity by accepting the engagement invitation and creating a corresponding opportunity in the partner’s system. Similar to StartEngagementByAcceptingInvitationTask, this action is asynchronous and performs multiple steps before completion.

            " }, + "StartResourceSnapshotJob":{ + "name":"StartResourceSnapshotJob", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"StartResourceSnapshotJobRequest"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            Starts a resource snapshot job that has been previously created.

            ", + "idempotent":true + }, + "StopResourceSnapshotJob":{ + "name":"StopResourceSnapshotJob", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"StopResourceSnapshotJobRequest"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            Stops a resource snapshot job. The job must be started prior to being stopped.

            ", + "idempotent":true + }, + "SubmitOpportunity":{ + "name":"SubmitOpportunity", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"SubmitOpportunityRequest"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

            Use this action to submit an opportunity that was previously created by partner for AWS review. After you perform this action, the opportunity becomes non-editable until it is reviewed by AWS and has LifeCycle.ReviewStatus as either Approved or Action Required.

            " + }, "UpdateOpportunity":{ "name":"UpdateOpportunity", "http":{ @@ -253,52 +601,69 @@ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], - "documentation":"

            Updates the Opportunity record identified by a given Identifier. This operation allows you to modify the details of an existing opportunity to reflect the latest information and progress. Use this action to keep the opportunity record up-to-date and accurate.

            When you perform updates, include the entire payload with each request. If any field is omitted, the API assumes that the field is set to null. The best practice is to always perform a GetOpportunity to retrieve the latest values, then send the complete payload with the updated values to be changed.

            " + "documentation":"

            Updates the Opportunity record identified by a given Identifier. This operation allows you to modify the details of an existing opportunity to reflect the latest information and progress. Use this action to keep the opportunity record up-to-date and accurate.

            When you perform updates, include the entire payload with each request. If any field is omitted, the API assumes that the field is set to null. The best practice is to always perform a GetOpportunity to retrieve the latest values, then send the complete payload with the updated values to be changed.

            " } }, "shapes":{ - "AccessDeniedException":{ + "AcceptEngagementInvitationRequest":{ "type":"structure", + "required":[ + "Catalog", + "Identifier" + ], "members":{ - "Message":{"shape":"String"} - }, - "documentation":"

            This error occurs when you don't have permission to perform the requested action.

            You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.

            ", - "exception":true - }, + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            The CatalogType parameter specifies the catalog associated with the engagement invitation. Accepted values are AWS and Sandbox, which determine the environment in which the engagement invitation is managed.

            " + }, + "Identifier":{ + "shape":"EngagementInvitationArnOrIdentifier", + "documentation":"

            The Identifier parameter in the AcceptEngagementInvitationRequest specifies the unique identifier of the EngagementInvitation to be accepted. Providing the correct identifier ensures that the intended invitation is accepted.

            " + } + } + }, + "AccessDeniedException":{ + "type":"structure", + "members":{ + "Message":{"shape":"String"} + }, + "documentation":"

            This error occurs when you don't have permission to perform the requested action.

            You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.

            ", + "exception":true + }, "Account":{ "type":"structure", "required":["CompanyName"], "members":{ "Address":{ "shape":"Address", - "documentation":"

            Specifies the end Customer's address details associated with the Opportunity.

            " + "documentation":"

            Specifies the end Customer's address details associated with the Opportunity.

            " }, "AwsAccountId":{ "shape":"AwsAccount", - "documentation":"

            Specifies the Customer Amazon Web Services account ID associated with the Opportunity.

            " + "documentation":"

            Specifies the Customer Amazon Web Services account ID associated with the Opportunity.

            " }, "CompanyName":{ "shape":"AccountCompanyNameString", - "documentation":"

            Specifies the end Customer's company name associated with the Opportunity.

            " + "documentation":"

            Specifies the end Customer's company name associated with the Opportunity.

            " }, "Duns":{ "shape":"DunsNumber", - "documentation":"

            Indicates the Customer DUNS number, if available.

            " + "documentation":"

            Indicates the Customer DUNS number, if available.

            " }, "Industry":{ "shape":"Industry", - "documentation":"

            Specifies the industry the end Customer belongs to that's associated with the Opportunity. It refers to the category or sector where the customer's business operates. This is a required field.

            " + "documentation":"

            Specifies the industry the end Customer belongs to that's associated with the Opportunity. It refers to the category or sector where the customer's business operates. This is a required field.

            " }, "OtherIndustry":{ "shape":"AccountOtherIndustryString", - "documentation":"

            Specifies the end Customer's industry associated with the Opportunity, when the selected value in the Industry field is Other.

            " + "documentation":"

            Specifies the end Customer's industry associated with the Opportunity, when the selected value in the Industry field is Other.

            " }, "WebsiteUrl":{ "shape":"WebsiteUrl", - "documentation":"

            Specifies the end customer's company website URL associated with the Opportunity. This value is crucial to map the customer within the Amazon Web Services CRM system. This field is required in all cases except when the opportunity is related to national security.

            " + "documentation":"

            Specifies the end customer's company website URL associated with the Opportunity. This value is crucial to map the customer within the Amazon Web Services CRM system. This field is required in all cases except when the opportunity is related to national security.

            " } }, - "documentation":"

            Specifies the Customer's account details associated with the Opportunity.

            " + "documentation":"

            Specifies the Customer's account details associated with the Opportunity.

            " }, "AccountCompanyNameString":{ "type":"string", @@ -332,26 +697,26 @@ "members":{ "Address":{ "shape":"AddressSummary", - "documentation":"

            Specifies the end Customer's address details associated with the Opportunity.

            " + "documentation":"

            Specifies the end Customer's address details associated with the Opportunity.

            " }, "CompanyName":{ "shape":"AccountSummaryCompanyNameString", - "documentation":"

            Specifies the end Customer's company name associated with the Opportunity.

            " + "documentation":"

            Specifies the end Customer's company name associated with the Opportunity.

            " }, "Industry":{ "shape":"Industry", - "documentation":"

            Specifies which industry the end Customer belongs to associated with the Opportunity. It refers to the category or sector that the customer's business operates in.

            To submit a value outside the picklist, use Other.

            Conditionally mandatory if Other is selected for Industry Vertical in LOVs.

            " + "documentation":"

            Specifies which industry the end Customer belongs to associated with the Opportunity. It refers to the category or sector that the customer's business operates in.

            To submit a value outside the picklist, use Other.

            Conditionally mandatory if Other is selected for Industry Vertical in LOVs.

            " }, "OtherIndustry":{ "shape":"AccountSummaryOtherIndustryString", - "documentation":"

            Specifies the end Customer's industry associated with the Opportunity, when the selected value in the Industry field is Other. This field is relevant when the customer's industry doesn't fall under the predefined picklist values and requires a custom description.

            " + "documentation":"

            Specifies the end Customer's industry associated with the Opportunity, when the selected value in the Industry field is Other. This field is relevant when the customer's industry doesn't fall under the predefined picklist values and requires a custom description.

            " }, "WebsiteUrl":{ "shape":"WebsiteUrl", - "documentation":"

            Specifies the end customer's company website URL associated with the Opportunity. This value is crucial to map the customer within the Amazon Web Services CRM system.

            " + "documentation":"

            Specifies the end customer's company website URL associated with the Opportunity. This value is crucial to map the customer within the Amazon Web Services CRM system.

            " } }, - "documentation":"

            An object that contains an Account's subset of fields.

            " + "documentation":"

            An object that contains an Account's subset of fields.

            " }, "AccountSummaryCompanyNameString":{ "type":"string", @@ -369,26 +734,26 @@ "members":{ "City":{ "shape":"AddressCityString", - "documentation":"

            Specifies the end Customer's city associated with the Opportunity.

            " + "documentation":"

            Specifies the end Customer's city associated with the Opportunity.

            " }, "CountryCode":{ "shape":"CountryCode", - "documentation":"

            Specifies the end Customer's country associated with the Opportunity.

            " + "documentation":"

            Specifies the end Customer's country associated with the Opportunity.

            " }, "PostalCode":{ "shape":"AddressPostalCodeString", - "documentation":"

            Specifies the end Customer's postal code associated with the Opportunity.

            " + "documentation":"

            Specifies the end Customer's postal code associated with the Opportunity.

            " }, "StateOrRegion":{ "shape":"AddressPart", - "documentation":"

            Specifies the end Customer's state or region associated with the Opportunity.

            Valid values: Alabama | Alaska | American Samoa | Arizona | Arkansas | California | Colorado | Connecticut | Delaware | Dist. of Columbia | Federated States of Micronesia | Florida | Georgia | Guam | Hawaii | Idaho | Illinois | Indiana | Iowa | Kansas | Kentucky | Louisiana | Maine | Marshall Islands | Maryland | Massachusetts | Michigan | Minnesota | Mississippi | Missouri | Montana | Nebraska | Nevada | New Hampshire | New Jersey | New Mexico | New York | North Carolina | North Dakota | Northern Mariana Islands | Ohio | Oklahoma | Oregon | Palau | Pennsylvania | Puerto Rico | Rhode Island | South Carolina | South Dakota | Tennessee | Texas | Utah | Vermont | Virginia | Virgin Islands | Washington | West Virginia | Wisconsin | Wyoming | APO/AE | AFO/FPO | FPO, AP

            " + "documentation":"

            Specifies the end Customer's state or region associated with the Opportunity.

            Valid values: Alabama | Alaska | American Samoa | Arizona | Arkansas | California | Colorado | Connecticut | Delaware | Dist. of Columbia | Federated States of Micronesia | Florida | Georgia | Guam | Hawaii | Idaho | Illinois | Indiana | Iowa | Kansas | Kentucky | Louisiana | Maine | Marshall Islands | Maryland | Massachusetts | Michigan | Minnesota | Mississippi | Missouri | Montana | Nebraska | Nevada | New Hampshire | New Jersey | New Mexico | New York | North Carolina | North Dakota | Northern Mariana Islands | Ohio | Oklahoma | Oregon | Palau | Pennsylvania | Puerto Rico | Rhode Island | South Carolina | South Dakota | Tennessee | Texas | Utah | Vermont | Virginia | Virgin Islands | Washington | West Virginia | Wisconsin | Wyoming | APO/AE | AFO/FPO | FPO, AP

            " }, "StreetAddress":{ "shape":"AddressStreetAddressString", - "documentation":"

            Specifies the end Customer's street address associated with the Opportunity.

            " + "documentation":"

            Specifies the end Customer's street address associated with the Opportunity.

            " } }, - "documentation":"

            Specifies the end Customer's address details associated with the Opportunity.

            " + "documentation":"

            Specifies the end Customer's address details associated with the Opportunity.

            " }, "AddressCityString":{ "type":"string", @@ -417,22 +782,22 @@ "members":{ "City":{ "shape":"AddressSummaryCityString", - "documentation":"

            Specifies the end Customer's city associated with the Opportunity.

            " + "documentation":"

            Specifies the end Customer's city associated with the Opportunity.

            " }, "CountryCode":{ "shape":"CountryCode", - "documentation":"

            Specifies the end Customer's country associated with the Opportunity.

            " + "documentation":"

            Specifies the end Customer's country associated with the Opportunity.

            " }, "PostalCode":{ "shape":"AddressSummaryPostalCodeString", - "documentation":"

            Specifies the end Customer's postal code associated with the Opportunity.

            " + "documentation":"

            Specifies the end Customer's postal code associated with the Opportunity.

            " }, "StateOrRegion":{ "shape":"AddressPart", - "documentation":"

            Specifies the end Customer's state or region associated with the Opportunity.

            Valid values: Alabama | Alaska | American Samoa | Arizona | Arkansas | California | Colorado | Connecticut | Delaware | Dist. of Columbia | Federated States of Micronesia | Florida | Georgia | Guam | Hawaii | Idaho | Illinois | Indiana | Iowa | Kansas | Kentucky | Louisiana | Maine | Marshall Islands | Maryland | Massachusetts | Michigan | Minnesota | Mississippi | Missouri | Montana | Nebraska | Nevada | New Hampshire | New Jersey | New Mexico | New York | North Carolina | North Dakota | Northern Mariana Islands | Ohio | Oklahoma | Oregon | Palau | Pennsylvania | Puerto Rico | Rhode Island | South Carolina | South Dakota | Tennessee | Texas | Utah | Vermont | Virginia | Virgin Islands | Washington | West Virginia | Wisconsin | Wyoming | APO/AE | AFO/FPO | FPO, AP

            " + "documentation":"

            Specifies the end Customer's state or region associated with the Opportunity.

            Valid values: Alabama | Alaska | American Samoa | Arizona | Arkansas | California | Colorado | Connecticut | Delaware | Dist. of Columbia | Federated States of Micronesia | Florida | Georgia | Guam | Hawaii | Idaho | Illinois | Indiana | Iowa | Kansas | Kentucky | Louisiana | Maine | Marshall Islands | Maryland | Massachusetts | Michigan | Minnesota | Mississippi | Missouri | Montana | Nebraska | Nevada | New Hampshire | New Jersey | New Mexico | New York | North Carolina | North Dakota | Northern Mariana Islands | Ohio | Oklahoma | Oregon | Palau | Pennsylvania | Puerto Rico | Rhode Island | South Carolina | South Dakota | Tennessee | Texas | Utah | Vermont | Virginia | Virgin Islands | Washington | West Virginia | Wisconsin | Wyoming | APO/AE | AFO/FPO | FPO, AP

            " } }, - "documentation":"

            An object that contains an Address object's subset of fields.

            " + "documentation":"

            An object that contains an Address object's subset of fields.

            " }, "AddressSummaryCityString":{ "type":"string", @@ -470,11 +835,11 @@ }, "Catalog":{ "shape":"CatalogIdentifier", - "documentation":"

            Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity is assigned in. Use AWS to assign real opportunities in the Amazon Web Services catalog, and Sandbox for testing in secure, isolated environments.

            " + "documentation":"

            Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity is assigned in. Use AWS to assign real opportunities in the Amazon Web Services catalog, and Sandbox for testing in secure, isolated environments.

            " }, "Identifier":{ "shape":"OpportunityIdentifier", - "documentation":"

            Requires the Opportunity's unique identifier when you want to assign it to another user. Provide the correct identifier so the intended opportunity is reassigned.

            " + "documentation":"

            Requires the Opportunity's unique identifier when you want to assign it to another user. Provide the correct identifier so the intended opportunity is reassigned.

            " } } }, @@ -529,19 +894,19 @@ "members":{ "Catalog":{ "shape":"CatalogIdentifier", - "documentation":"

            Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity association is made in. Use AWS to associate opportunities in the Amazon Web Services catalog, and Sandbox for testing in secure, isolated environments.

            " + "documentation":"

            Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity association is made in. Use AWS to associate opportunities in the Amazon Web Services catalog, and Sandbox for testing in secure, isolated environments.

            " }, "OpportunityIdentifier":{ "shape":"OpportunityIdentifier", - "documentation":"

            Requires the Opportunity's unique identifier when you want to associate it with a related entity. Provide the correct identifier so the intended opportunity is updated with the association.

            " + "documentation":"

            Requires the Opportunity's unique identifier when you want to associate it with a related entity. Provide the correct identifier so the intended opportunity is updated with the association.

            " }, "RelatedEntityIdentifier":{ "shape":"AssociateOpportunityRequestRelatedEntityIdentifierString", - "documentation":"

            Requires the related entity's unique identifier when you want to associate it with the Opportunity. For Amazon Web Services Marketplace entities, provide the Amazon Resource Name (ARN). Use the Amazon Web Services Marketplace API to obtain the ARN.

            " + "documentation":"

            Requires the related entity's unique identifier when you want to associate it with the Opportunity. For Amazon Web Services Marketplace entities, provide the Amazon Resource Name (ARN). Use the Amazon Web Services Marketplace API to obtain the ARN.

            " }, "RelatedEntityType":{ "shape":"RelatedEntityType", - "documentation":"

            Specifies the entity type that you're associating with the Opportunity. This helps to categorize and properly process the association.

            " + "documentation":"

            Specifies the entity type that you're associating with the Opportunity. This helps to categorize and properly process the association.

            " } } }, @@ -552,13 +917,20 @@ }, "AwsAccount":{ "type":"string", - "pattern":"^[0-9]{12}$", + "pattern":"^([0-9]{12}|\\w{1,12})$", "sensitive":true }, - "AwsAccountIdOrLabel":{ - "type":"string", - "pattern":"^(aws|[0-9]{12})$", - "sensitive":true + "AwsAccountIdOrAliasList":{ + "type":"list", + "member":{"shape":"AwsAccount"}, + "max":10, + "min":1 + }, + "AwsAccountList":{ + "type":"list", + "member":{"shape":"AwsAccount"}, + "max":10, + "min":1 }, "AwsClosedLostReason":{ "type":"string", @@ -783,22 +1155,22 @@ "members":{ "BusinessTitle":{ "shape":"AwsMemberBusinessTitle", - "documentation":"

            Specifies the Amazon Web Services team member's business title and indicates their organizational role.

            " + "documentation":"

            Specifies the Amazon Web Services team member's business title and indicates their organizational role.

            " }, "Email":{ "shape":"Email", - "documentation":"

            Provides the Amazon Web Services team member's email address.

            " + "documentation":"

            Provides the Amazon Web Services team member's email address.

            " }, "FirstName":{ "shape":"AwsTeamMemberFirstNameString", - "documentation":"

            Provides the Amazon Web Services team member's first name.

            " + "documentation":"

            Provides the Amazon Web Services team member's first name.

            " }, "LastName":{ "shape":"AwsTeamMemberLastNameString", - "documentation":"

            Provides the Amazon Web Services team member's last name.

            " + "documentation":"

            Provides the Amazon Web Services team member's last name.

            " } }, - "documentation":"

            Represents an Amazon Web Services team member for the engagement. This structure includes details such as name, email, and business title.

            " + "documentation":"

            Represents an Amazon Web Services team member for the engagement. This structure includes details such as name, email, and business title.

            " }, "AwsTeamMemberFirstNameString":{ "type":"string", @@ -838,6 +1210,10 @@ "type":"list", "member":{"shape":"Channel"} }, + "ClientToken":{ + "type":"string", + "pattern":"^[!-~]{1,64}$" + }, "ClosedLostReason":{ "type":"string", "enum":[ @@ -896,7 +1272,7 @@ "members":{ "Message":{"shape":"String"} }, - "documentation":"

            This error occurs when the request can’t be processed due to a conflict with the target resource's current state, which could result from updating or deleting the resource.

            Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.

            ", + "documentation":"

            This error occurs when the request can’t be processed due to a conflict with the target resource's current state, which could result from updating or deleting the resource.

            Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.

            ", "exception":true }, "Contact":{ @@ -904,26 +1280,26 @@ "members":{ "BusinessTitle":{ "shape":"JobTitle", - "documentation":"

            The partner contact's title (job title or role) associated with the Opportunity. BusinessTitle supports either PartnerAccountManager or OpportunityOwner.

            " + "documentation":"

            The partner contact's title (job title or role) associated with the Opportunity. BusinessTitle supports either PartnerAccountManager or OpportunityOwner.

            " }, "Email":{ "shape":"Email", - "documentation":"

            The contact's email address associated with the Opportunity.

            " + "documentation":"

            The contact's email address associated with the Opportunity.

            " }, "FirstName":{ "shape":"ContactFirstNameString", - "documentation":"

            The contact's first name associated with the Opportunity.

            " + "documentation":"

            The contact's first name associated with the Opportunity.

            " }, "LastName":{ "shape":"ContactLastNameString", - "documentation":"

            The contact's last name associated with the Opportunity.

            " + "documentation":"

            The contact's last name associated with the Opportunity.

            " }, "Phone":{ "shape":"PhoneNumber", - "documentation":"

            The contact's phone number associated with the Opportunity.

            " + "documentation":"

            The contact's phone number associated with the Opportunity.

            " } }, - "documentation":"

            An object that contains a Customer Partner's contact details.

            " + "documentation":"

            An object that contains a Customer Partner's contact details.

            " }, "ContactFirstNameString":{ "type":"string", @@ -1192,6 +1568,100 @@ ], "sensitive":true }, + "CreateEngagementInvitationRequest":{ + "type":"structure", + "required":[ + "Catalog", + "ClientToken", + "EngagementIdentifier", + "Invitation" + ], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog related to the engagement. Accepted values are AWS and Sandbox, which determine the environment in which the engagement is managed.

            " + }, + "ClientToken":{ + "shape":"ClientToken", + "documentation":"

            Specifies a unique, client-generated UUID to ensure that the request is handled exactly once. This token helps prevent duplicate invitation creations.

            ", + "idempotencyToken":true + }, + "EngagementIdentifier":{ + "shape":"EngagementIdentifier", + "documentation":"

            The unique identifier of the Engagement associated with the invitation. This parameter ensures the invitation is created within the correct Engagement context.

            " + }, + "Invitation":{ + "shape":"Invitation", + "documentation":"

            The Invitation object all information necessary to initiate an engagement invitation to a partner. It contains a personalized message from the sender, the invitation's receiver, and a payload. The Payload can be the OpportunityInvitation, which includes detailed structures for sender contacts, partner responsibilities, customer information, and project details.

            " + } + } + }, + "CreateEngagementInvitationResponse":{ + "type":"structure", + "required":[ + "Arn", + "Id" + ], + "members":{ + "Arn":{ + "shape":"EngagementInvitationArn", + "documentation":"

            The Amazon Resource Name (ARN) that uniquely identifies the engagement invitation.

            " + }, + "Id":{ + "shape":"EngagementInvitationIdentifier", + "documentation":"

            Unique identifier assigned to the newly created engagement invitation.

            " + } + } + }, + "CreateEngagementRequest":{ + "type":"structure", + "required":[ + "Catalog", + "ClientToken", + "Description", + "Title" + ], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            The CreateEngagementRequest$Catalog parameter specifies the catalog related to the engagement. Accepted values are AWS and Sandbox, which determine the environment in which the engagement is managed.

            " + }, + "ClientToken":{ + "shape":"CreateEngagementRequestClientTokenString", + "documentation":"

            The CreateEngagementRequest$ClientToken parameter specifies a unique, case-sensitive identifier to ensure that the request is handled exactly once. The value must not exceed sixty-four alphanumeric characters.

            ", + "idempotencyToken":true + }, + "Contexts":{ + "shape":"EngagementContexts", + "documentation":"

            The Contexts field is a required array of objects, with a maximum of 5 contexts allowed, specifying detailed information about customer projects associated with the Engagement. Each context object contains a Type field indicating the context type, which must be CustomerProject in this version, and a Payload field containing the CustomerProject details. The CustomerProject object is composed of two main components: Customer and Project. The Customer object includes information such as CompanyName, WebsiteUrl, Industry, and CountryCode, providing essential details about the customer. The Project object contains Title, BusinessProblem, and TargetCompletionDate, offering insights into the specific project associated with the customer. This structure allows comprehensive context to be included within the Engagement, facilitating effective collaboration between parties by providing relevant customer and project information.

            " + }, + "Description":{ + "shape":"EngagementDescription", + "documentation":"

            Provides a description of the Engagement.

            " + }, + "Title":{ + "shape":"EngagementTitle", + "documentation":"

            Specifies the title of the Engagement.

            " + } + } + }, + "CreateEngagementRequestClientTokenString":{ + "type":"string", + "pattern":"^[!-~]{1,64}$" + }, + "CreateEngagementResponse":{ + "type":"structure", + "members":{ + "Arn":{ + "shape":"EngagementArn", + "documentation":"

            The Amazon Resource Name (ARN) that identifies the engagement.

            " + }, + "Id":{ + "shape":"EngagementIdentifier", + "documentation":"

            Unique identifier assigned to the newly created engagement.

            " + } + } + }, "CreateOpportunityRequest":{ "type":"structure", "required":[ @@ -1201,20 +1671,20 @@ "members":{ "Catalog":{ "shape":"CatalogIdentifier", - "documentation":"

            Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity is created in. Use AWS to create opportunities in the Amazon Web Services catalog, and Sandbox for testing in secure, isolated environments.

            " + "documentation":"

            Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity is created in. Use AWS to create opportunities in the Amazon Web Services catalog, and Sandbox for testing in secure, isolated environments.

            " }, "ClientToken":{ "shape":"CreateOpportunityRequestClientTokenString", - "documentation":"

            Required to be unique, and should be unchanging, it can be randomly generated or a meaningful string.

            Default: None

            Best practice: To help ensure uniqueness and avoid conflicts, use a Universally Unique Identifier (UUID) as the ClientToken. You can use standard libraries from most programming languages to generate this. If you use the same client token, the API returns the following error: \"Conflicting client token submitted for a new request body.\"

            ", + "documentation":"

            Required to be unique, and should be unchanging, it can be randomly generated or a meaningful string.

            Default: None

            Best practice: To help ensure uniqueness and avoid conflicts, use a Universally Unique Identifier (UUID) as the ClientToken. You can use standard libraries from most programming languages to generate this. If you use the same client token, the API returns the following error: \"Conflicting client token submitted for a new request body.\"

            ", "idempotencyToken":true }, "Customer":{ "shape":"Customer", - "documentation":"

            Specifies customer details associated with the Opportunity.

            " + "documentation":"

            Specifies customer details associated with the Opportunity.

            " }, "LifeCycle":{ "shape":"LifeCycle", - "documentation":"

            An object that contains lifecycle details for the Opportunity.

            " + "documentation":"

            An object that contains lifecycle details for the Opportunity.

            " }, "Marketing":{ "shape":"Marketing", @@ -1230,23 +1700,23 @@ }, "OpportunityType":{ "shape":"OpportunityType", - "documentation":"

            Specifies the opportunity type as a renewal, new, or expansion.

            Opportunity types:

            • New opportunity: Represents a new business opportunity with a potential customer that's not previously engaged with your solutions or services.

            • Renewal opportunity: Represents an opportunity to renew an existing contract or subscription with a current customer, ensuring continuity of service.

            • Expansion opportunity: Represents an opportunity to expand the scope of an existing contract or subscription, either by adding new services or increasing the volume of existing services for a current customer.

            " + "documentation":"

            Specifies the opportunity type as a renewal, new, or expansion.

            Opportunity types:

            • New opportunity: Represents a new business opportunity with a potential customer that's not previously engaged with your solutions or services.

            • Renewal opportunity: Represents an opportunity to renew an existing contract or subscription with a current customer, ensuring continuity of service.

            • Expansion opportunity: Represents an opportunity to expand the scope of an existing contract or subscription, either by adding new services or increasing the volume of existing services for a current customer.

            " }, "Origin":{ "shape":"OpportunityOrigin", - "documentation":"

            Specifies the origin of the opportunity, indicating if it was sourced from Amazon Web Services or the partner. For all opportunities created with Catalog: AWS, this field must only be Partner Referral. However, when using Catalog: Sandbox, you can set this field to AWS Referral to simulate Amazon Web Services referral creation. This allows Amazon Web Services-originated flows testing in the sandbox catalog.

            " + "documentation":"

            Specifies the origin of the opportunity, indicating if it was sourced from Amazon Web Services or the partner. For all opportunities created with Catalog: AWS, this field must only be Partner Referral. However, when using Catalog: Sandbox, you can set this field to AWS Referral to simulate Amazon Web Services referral creation. This allows Amazon Web Services-originated flows testing in the sandbox catalog.

            " }, "PartnerOpportunityIdentifier":{ "shape":"CreateOpportunityRequestPartnerOpportunityIdentifierString", - "documentation":"

            Specifies the opportunity's unique identifier in the partner's CRM system. This value is essential to track and reconcile because it's included in the outbound payload to the partner.

            This field allows partners to link an opportunity to their CRM, which helps to ensure seamless integration and accurate synchronization between the Partner Central API and the partner's internal systems.

            " + "documentation":"

            Specifies the opportunity's unique identifier in the partner's CRM system. This value is essential to track and reconcile because it's included in the outbound payload to the partner.

            This field allows partners to link an opportunity to their CRM, which helps to ensure seamless integration and accurate synchronization between the Partner Central API and the partner's internal systems.

            " }, "PrimaryNeedsFromAws":{ "shape":"PrimaryNeedsFromAws", - "documentation":"

            Identifies the type of support the partner needs from Amazon Web Services.

            Valid values:

            • Cosell—Architectural Validation: Confirmation from Amazon Web Services that the partner's proposed solution architecture is aligned with Amazon Web Services best practices and poses minimal architectural risks.

            • Cosell—Business Presentation: Request Amazon Web Services seller's participation in a joint customer presentation.

            • Cosell—Competitive Information: Access to Amazon Web Services competitive resources and support for the partner's proposed solution.

            • Cosell—Pricing Assistance: Connect with an Amazon Web Services seller for support situations where a partner may be receiving an upfront discount on a service (for example: EDP deals).

            • Cosell—Technical Consultation: Connect with an Amazon Web Services Solutions Architect to address the partner's questions about the proposed solution.

            • Cosell—Total Cost of Ownership Evaluation: Assistance with quoting different cost savings of proposed solutions on Amazon Web Services versus on-premises or a traditional hosting environment.

            • Cosell—Deal Support: Request Amazon Web Services seller's support to progress the opportunity (for example: joint customer call, strategic positioning).

            • Cosell—Support for Public Tender/RFx: Opportunity related to the public sector where the partner needs Amazon Web Services RFx support.

            • Do Not Need Support from AWS Sales Rep: Indicates that a partner doesn't need support from an Amazon Web Services sales representative, and the partner solely manages the opportunity. It's possible to request coselling support on these opportunities at any stage during their lifecycles. This is also known as a for-visibility-only (FVO) opportunity.

            " + "documentation":"

            Identifies the type of support the partner needs from Amazon Web Services.

            Valid values:

            • Cosell—Architectural Validation: Confirmation from Amazon Web Services that the partner's proposed solution architecture is aligned with Amazon Web Services best practices and poses minimal architectural risks.

            • Cosell—Business Presentation: Request Amazon Web Services seller's participation in a joint customer presentation.

            • Cosell—Competitive Information: Access to Amazon Web Services competitive resources and support for the partner's proposed solution.

            • Cosell—Pricing Assistance: Connect with an Amazon Web Services seller for support situations where a partner may be receiving an upfront discount on a service (for example: EDP deals).

            • Cosell—Technical Consultation: Connect with an Amazon Web Services Solutions Architect to address the partner's questions about the proposed solution.

            • Cosell—Total Cost of Ownership Evaluation: Assistance with quoting different cost savings of proposed solutions on Amazon Web Services versus on-premises or a traditional hosting environment.

            • Cosell—Deal Support: Request Amazon Web Services seller's support to progress the opportunity (for example: joint customer call, strategic positioning).

            • Cosell—Support for Public Tender/RFx: Opportunity related to the public sector where the partner needs Amazon Web Services RFx support.

            • Do Not Need Support from AWS Sales Rep: Indicates that a partner doesn't need support from an Amazon Web Services sales representative, and the partner solely manages the opportunity. It's possible to request coselling support on these opportunities at any stage during their lifecycles. This is also known as a for-visibility-only (FVO) opportunity.

            " }, "Project":{ "shape":"Project", - "documentation":"

            An object that contains project details for the Opportunity.

            " + "documentation":"

            An object that contains project details for the Opportunity.

            " }, "SoftwareRevenue":{ "shape":"SoftwareRevenue", @@ -1269,15 +1739,125 @@ "members":{ "Id":{ "shape":"OpportunityIdentifier", - "documentation":"

            Read-only, system-generated Opportunity unique identifier. Amazon Web Services creates this identifier, and it's used for all subsequent opportunity actions, such as updates, associations, and submissions. It helps to ensure that each opportunity is accurately tracked and managed.

            " + "documentation":"

            Read-only, system-generated Opportunity unique identifier. Amazon Web Services creates this identifier, and it's used for all subsequent opportunity actions, such as updates, associations, and submissions. It helps to ensure that each opportunity is accurately tracked and managed.

            " }, "LastModifiedDate":{ "shape":"DateTime", - "documentation":"

            DateTime when the opportunity was last modified. When the Opportunity is created, its value is CreatedDate.

            " + "documentation":"

            DateTime when the opportunity was last modified. When the Opportunity is created, its value is CreatedDate.

            " }, "PartnerOpportunityIdentifier":{ "shape":"String", - "documentation":"

            Specifies the opportunity's unique identifier in the partner's CRM system. This value is essential to track and reconcile because it's included in the outbound payload sent back to the partner.

            " + "documentation":"

            Specifies the opportunity's unique identifier in the partner's CRM system. This value is essential to track and reconcile because it's included in the outbound payload sent back to the partner.

            " + } + } + }, + "CreateResourceSnapshotJobRequest":{ + "type":"structure", + "required":[ + "Catalog", + "ClientToken", + "EngagementIdentifier", + "ResourceIdentifier", + "ResourceSnapshotTemplateIdentifier", + "ResourceType" + ], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog in which to create the snapshot job. Valid values are AWS and Sandbox.

            " + }, + "ClientToken":{ + "shape":"CreateResourceSnapshotJobRequestClientTokenString", + "documentation":"

            Specifies a unique, client-generated UUID to ensure that the request is handled exactly once. This token helps prevent duplicate snapshot job creations.

            ", + "idempotencyToken":true + }, + "EngagementIdentifier":{ + "shape":"EngagementIdentifier", + "documentation":"

            Specifies the identifier of the engagement associated with the resource to be snapshotted.

            " + }, + "ResourceIdentifier":{ + "shape":"ResourceIdentifier", + "documentation":"

            Specifies the identifier of the specific resource to be snapshotted. The format depends on the ResourceType.

            " + }, + "ResourceSnapshotTemplateIdentifier":{ + "shape":"ResourceTemplateName", + "documentation":"

            Specifies the name of the template that defines the schema for the snapshot.

            " + }, + "ResourceType":{ + "shape":"ResourceType", + "documentation":"

            The type of resource for which the snapshot job is being created. Must be one of the supported resource types Opportunity.

            " + } + } + }, + "CreateResourceSnapshotJobRequestClientTokenString":{ + "type":"string", + "pattern":"^[!-~]{1,64}$" + }, + "CreateResourceSnapshotJobResponse":{ + "type":"structure", + "members":{ + "Arn":{ + "shape":"ResourceSnapshotJobArn", + "documentation":"

            The Amazon Resource Name (ARN) of the created snapshot job.

            " + }, + "Id":{ + "shape":"ResourceSnapshotJobIdentifier", + "documentation":"

            The unique identifier for the created snapshot job.

            " + } + } + }, + "CreateResourceSnapshotRequest":{ + "type":"structure", + "required":[ + "Catalog", + "ClientToken", + "EngagementIdentifier", + "ResourceIdentifier", + "ResourceSnapshotTemplateIdentifier", + "ResourceType" + ], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog where the snapshot is created. Valid values are AWS and Sandbox.

            " + }, + "ClientToken":{ + "shape":"CreateResourceSnapshotRequestClientTokenString", + "documentation":"

            Specifies a unique, client-generated UUID to ensure that the request is handled exactly once. This token helps prevent duplicate snapshot creations.

            ", + "idempotencyToken":true + }, + "EngagementIdentifier":{ + "shape":"EngagementIdentifier", + "documentation":"

            The unique identifier of the engagement associated with this snapshot. This field links the snapshot to a specific engagement context.

            " + }, + "ResourceIdentifier":{ + "shape":"ResourceIdentifier", + "documentation":"

            The unique identifier of the specific resource to be snapshotted. The format and constraints of this identifier depend on the ResourceType specified. For example: For Opportunity type, it will be an opportunity ID.

            " + }, + "ResourceSnapshotTemplateIdentifier":{ + "shape":"ResourceTemplateName", + "documentation":"

            The name of the template that defines the schema for the snapshot. This template determines which subset of the resource data will be included in the snapshot. Must correspond to an existing and valid template for the specified ResourceType.

            " + }, + "ResourceType":{ + "shape":"ResourceType", + "documentation":"

            Specifies the type of resource for which the snapshot is being created. This field determines the structure and content of the snapshot. Must be one of the supported resource types, such as: Opportunity.

            " + } + } + }, + "CreateResourceSnapshotRequestClientTokenString":{ + "type":"string", + "pattern":"^[!-~]{1,64}$" + }, + "CreateResourceSnapshotResponse":{ + "type":"structure", + "members":{ + "Arn":{ + "shape":"ResourceArn", + "documentation":"

            Specifies the Amazon Resource Name (ARN) that uniquely identifies the snapshot created.

            " + }, + "Revision":{ + "shape":"ResourceSnapshotRevision", + "documentation":"

            Specifies the revision number of the created snapshot. This field provides important information about the snapshot's place in the sequence of snapshots for the given resource.

            " } } }, @@ -1467,12 +2047,23 @@ "documentation":"

            Represents the contact details for individuals associated with the customer of the Opportunity. This field captures relevant contacts, including decision-makers, influencers, and technical stakeholders within the customer organization. These contacts are key to progressing the opportunity.

            " } }, - "documentation":"

            An object that contains the customer's Account and Contact.

            " + "documentation":"

            An object that contains the customer's Account and Contact.

            " }, "CustomerContactsList":{ "type":"list", "member":{"shape":"Contact"} }, + "CustomerProjectsContext":{ + "type":"structure", + "members":{ + "Customer":{"shape":"EngagementCustomer"}, + "Project":{ + "shape":"EngagementCustomerProjectDetails", + "documentation":"

            Information about the customer project associated with the Engagement.

            " + } + }, + "documentation":"

            The CustomerProjects structure in Engagements offers a flexible framework for managing customer-project relationships. It supports multiple customers per Engagement and multiple projects per customer, while also allowing for customers without projects and projects without specific customers.

            All Engagement members have full visibility of customers and their associated projects, enabling the capture of relevant context even when project details are not fully defined. This structure also facilitates targeted invitations, allowing partners to focus on specific customers and their business problems when sending Engagement invitations.

            " + }, "CustomerSummary":{ "type":"structure", "members":{ @@ -1481,7 +2072,7 @@ "documentation":"

            An object that contains a customer's account details.

            " } }, - "documentation":"

            An object that contains a Customer object's subset of fields.

            " + "documentation":"

            An object that contains a Customer object's subset of fields.

            " }, "Date":{ "type":"string", @@ -1491,6 +2082,23 @@ "type":"timestamp", "timestampFormat":"iso8601" }, + "DeleteResourceSnapshotJobRequest":{ + "type":"structure", + "required":[ + "Catalog", + "ResourceSnapshotJobIdentifier" + ], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog from which to delete the snapshot job. Valid values are AWS and Sandbox.

            " + }, + "ResourceSnapshotJobIdentifier":{ + "shape":"ResourceSnapshotJobIdentifier", + "documentation":"

            The unique identifier of the resource snapshot job to be deleted.

            " + } + } + }, "DeliveryModel":{ "type":"string", "enum":[ @@ -1517,19 +2125,19 @@ "members":{ "Catalog":{ "shape":"CatalogIdentifier", - "documentation":"

            Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity disassociation is made in. Use AWS to disassociate opportunities in the Amazon Web Services catalog, and Sandbox for testing in secure, isolated environments.

            " + "documentation":"

            Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity disassociation is made in. Use AWS to disassociate opportunities in the Amazon Web Services catalog, and Sandbox for testing in secure, isolated environments.

            " }, "OpportunityIdentifier":{ "shape":"OpportunityIdentifier", - "documentation":"

            The opportunity's unique identifier for when you want to disassociate it from related entities. This identifier helps to ensure that the correct opportunity is updated.

            Validation: Ensure that the provided identifier corresponds to an existing opportunity in the Amazon Web Services system because incorrect identifiers result in an error and no changes are made.

            " + "documentation":"

            The opportunity's unique identifier for when you want to disassociate it from related entities. This identifier helps to ensure that the correct opportunity is updated.

            Validation: Ensure that the provided identifier corresponds to an existing opportunity in the Amazon Web Services system because incorrect identifiers result in an error and no changes are made.

            " }, "RelatedEntityIdentifier":{ "shape":"DisassociateOpportunityRequestRelatedEntityIdentifierString", - "documentation":"

            The related entity's identifier that you want to disassociate from the opportunity. Depending on the type of entity, this could be a simple identifier or an Amazon Resource Name (ARN) for entities managed through Amazon Web Services Marketplace.

            For Amazon Web Services Marketplace entities, use the Amazon Web Services Marketplace API to obtain the necessary ARNs. For guidance on retrieving these ARNs, see Amazon Web Services MarketplaceUsing the Amazon Web Services Marketplace Catalog API.

            Validation: Ensure the identifier or ARN is valid and corresponds to an existing entity. An incorrect or invalid identifier results in an error.

            " + "documentation":"

            The related entity's identifier that you want to disassociate from the opportunity. Depending on the type of entity, this could be a simple identifier or an Amazon Resource Name (ARN) for entities managed through Amazon Web Services Marketplace.

            For Amazon Web Services Marketplace entities, use the Amazon Web Services Marketplace API to obtain the necessary ARNs. For guidance on retrieving these ARNs, see Amazon Web Services MarketplaceUsing the Amazon Web Services Marketplace Catalog API.

            Validation: Ensure the identifier or ARN is valid and corresponds to an existing entity. An incorrect or invalid identifier results in an error.

            " }, "RelatedEntityType":{ "shape":"RelatedEntityType", - "documentation":"

            The type of the entity that you're disassociating from the opportunity. When you specify the entity type, it helps the system correctly process the disassociation request to ensure that the right connections are removed.

            Examples of entity types include Partner Solution, Amazon Web Services product, and Amazon Web Services Marketplaceoffer. Ensure that the value matches one of the expected entity types.

            Validation: Provide a valid entity type to help ensure successful disassociation. An invalid or incorrect entity type results in an error.

            " + "documentation":"

            The type of the entity that you're disassociating from the opportunity. When you specify the entity type, it helps the system correctly process the disassociation request to ensure that the right connections are removed.

            Examples of entity types include Partner Solution, Amazon Web Services product, and Amazon Web Services Marketplaceoffer. Ensure that the value matches one of the expected entity types.

            Validation: Provide a valid entity type to help ensure successful disassociation. An invalid or incorrect entity type results in an error.

            " } } }, @@ -1550,6 +2158,50 @@ "pattern":"^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", "sensitive":true }, + "EngagementArn":{ + "type":"string", + "pattern":"^arn:.*" + }, + "EngagementArnOrIdentifier":{ + "type":"string", + "pattern":"^(arn:.*|eng-[0-9a-z]{14})$" + }, + "EngagementContextDetails":{ + "type":"structure", + "required":["Type"], + "members":{ + "Payload":{ + "shape":"EngagementContextPayload", + "documentation":"

            Contains the specific details of the Engagement context. The structure of this payload varies depending on the Type field.

            " + }, + "Type":{ + "shape":"EngagementContextType", + "documentation":"

            Specifies the type of Engagement context. Valid values are \"CustomerProject\" or \"Document\", indicating whether the context relates to a customer project or a document respectively.

            " + } + }, + "documentation":"

            Provides detailed context information for an Engagement. This structure allows for specifying the type of context and its associated payload.

            " + }, + "EngagementContextPayload":{ + "type":"structure", + "members":{ + "CustomerProject":{ + "shape":"CustomerProjectsContext", + "documentation":"

            Contains detailed information about a customer project when the context type is \"CustomerProject\". This field is present only when the Type in EngagementContextDetails is set to \"CustomerProject\".

            " + } + }, + "documentation":"

            Represents the payload of an Engagement context. The structure of this payload varies based on the context type specified in the EngagementContextDetails.

            ", + "union":true + }, + "EngagementContextType":{ + "type":"string", + "enum":["CustomerProject"] + }, + "EngagementContexts":{ + "type":"list", + "member":{"shape":"EngagementContextDetails"}, + "max":5, + "min":0 + }, "EngagementCustomer":{ "type":"structure", "required":[ @@ -1584,6 +2236,57 @@ "min":20, "sensitive":true }, + "EngagementCustomerProjectDetails":{ + "type":"structure", + "required":[ + "BusinessProblem", + "TargetCompletionDate", + "Title" + ], + "members":{ + "BusinessProblem":{ + "shape":"EngagementCustomerBusinessProblem", + "documentation":"

            A description of the business problem the project aims to solve.

            " + }, + "TargetCompletionDate":{ + "shape":"EngagementCustomerProjectDetailsTargetCompletionDateString", + "documentation":"

            The target completion date for the customer's project.

            " + }, + "Title":{ + "shape":"EngagementCustomerProjectTitle", + "documentation":"

            The title of the project.

            " + } + }, + "documentation":"

            Provides comprehensive details about a customer project associated with an Engagement. This may include information such as project goals, timelines, and specific customer requirements.

            " + }, + "EngagementCustomerProjectDetailsTargetCompletionDateString":{ + "type":"string", + "pattern":"^[1-9][0-9]{3}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$" + }, + "EngagementCustomerProjectTitle":{ + "type":"string", + "max":255, + "min":1 + }, + "EngagementDescription":{ + "type":"string", + "max":255, + "min":0 + }, + "EngagementIdentifier":{ + "type":"string", + "pattern":"^eng-[0-9a-z]{14}$" + }, + "EngagementIdentifiers":{ + "type":"list", + "member":{"shape":"EngagementArnOrIdentifier"}, + "max":10, + "min":1 + }, + "EngagementInvitationArn":{ + "type":"string", + "pattern":"^arn:aws:partnercentral::[0-9]{12}:[a-zA-Z]+/engagement-invitation/engi-[0-9,a-z]{13}$" + }, "EngagementInvitationArnOrIdentifier":{ "type":"string", "max":255, @@ -1594,6 +2297,12 @@ "type":"string", "pattern":"^engi-[0-9,a-z]{13}$" }, + "EngagementInvitationIdentifiers":{ + "type":"list", + "member":{"shape":"EngagementInvitationArnOrIdentifier"}, + "max":10, + "min":1 + }, "EngagementInvitationPayloadType":{ "type":"string", "enum":["OpportunityInvitation"] @@ -1617,6 +2326,10 @@ "shape":"CatalogIdentifier", "documentation":"

            Specifies the catalog in which the Engagement Invitation resides. This can be either the AWS or Sandbox catalog, indicating whether the opportunity is live or being tested.

            " }, + "EngagementId":{ + "shape":"EngagementIdentifier", + "documentation":"

            The identifier of the Engagement associated with this invitation. This links the invitation to its parent Engagement.

            " + }, "EngagementTitle":{ "shape":"EngagementTitle", "documentation":"

            Provides a short title or description of the Engagement Invitation. This title helps partners quickly identify and differentiate between multiple engagement opportunities.

            " @@ -1633,6 +2346,10 @@ "shape":"DateTime", "documentation":"

            Indicates the date when the Engagement Invitation was sent to the partner. This provides context for when the opportunity was shared and helps in tracking the timeline for engagement.

            " }, + "ParticipantType":{ + "shape":"ParticipantType", + "documentation":"

            Identifies the role of the caller in the engagement invitation.

            " + }, "PayloadType":{ "shape":"EngagementInvitationPayloadType", "documentation":"

            Describes the type of payload associated with the Engagement Invitation, such as Opportunity or MarketplaceOffer. This helps partners understand the nature of the engagement request from AWS.

            " @@ -1642,7 +2359,7 @@ "documentation":"

            Specifies the partner company or individual that received the Engagement Invitation. This field is important for tracking who the invitation was sent to within the partner organization.

            " }, "SenderAwsAccountId":{ - "shape":"AwsAccountIdOrLabel", + "shape":"AwsAccount", "documentation":"

            Specifies the AWS account ID of the sender who initiated the Engagement Invitation. This allows the partner to identify the AWS entity or representative responsible for sharing the opportunity.

            " }, "SenderCompanyName":{ @@ -1665,37 +2382,176 @@ "type":"list", "member":{"shape":"EngagementInvitationPayloadType"} }, - "EngagementScore":{ - "type":"string", - "enum":[ - "High", - "Medium", - "Low" - ] - }, - "EngagementTitle":{ - "type":"string", - "max":40, - "min":1 - }, - "ExpectedCustomerSpend":{ + "EngagementMember":{ "type":"structure", - "required":[ - "Amount", - "CurrencyCode", - "Frequency", - "TargetCompany" - ], "members":{ - "Amount":{ - "shape":"String", - "documentation":"

            Represents the estimated monthly revenue that the partner expects to earn from the opportunity. This helps in forecasting financial returns.

            " + "AccountId":{ + "shape":"AwsAccount", + "documentation":"

            This is the unique identifier for the AWS account associated with the member organization. It's used for AWS-related operations and identity verification.

            " }, - "CurrencyCode":{ - "shape":"ExpectedCustomerSpendCurrencyCodeEnum", - "documentation":"

            Indicates the currency in which the revenue estimate is provided. This helps in understanding the financial impact across different markets.

            " + "CompanyName":{ + "shape":"MemberCompanyName", + "documentation":"

            The official name of the member's company or organization.

            " }, - "Frequency":{ + "WebsiteUrl":{ + "shape":"String", + "documentation":"

            The URL of the member company's website. This offers a way to find more information about the member organization and serves as an additional identifier.

            " + } + }, + "documentation":"

            Engagement members are the participants in an Engagement, which is likely a collaborative project or business opportunity within the AWS partner network. Members can be different partner organizations or AWS accounts that are working together on a specific engagement.

            Each member is represented by their AWS Account ID, Company Name, and associated details. Members have a status within the Engagement (PENDING, ACCEPTED, REJECTED, or WITHDRAWN), indicating their current state of participation. Only existing members of an Engagement can view the list of other members. This implies a level of privacy and access control within the Engagement structure.

            " + }, + "EngagementMemberSummaries":{ + "type":"list", + "member":{"shape":"EngagementMemberSummary"} + }, + "EngagementMemberSummary":{ + "type":"structure", + "members":{ + "CompanyName":{ + "shape":"MemberCompanyName", + "documentation":"

            The official name of the member's company or organization.

            " + }, + "WebsiteUrl":{ + "shape":"String", + "documentation":"

            The URL of the member company's website. This offers a way to find more information about the member organization and serves as an additional identifier.

            " + } + }, + "documentation":"

            The EngagementMemberSummary provides a snapshot of essential information about participants in an AWS Partner Central Engagement. This compact data structure encapsulates key details of each member, facilitating efficient collaboration and management within the Engagement.

            " + }, + "EngagementMembers":{ + "type":"list", + "member":{"shape":"EngagementMember"}, + "max":10, + "min":0 + }, + "EngagementPageSize":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, + "EngagementResourceAssociationSummary":{ + "type":"structure", + "required":["Catalog"], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Indicates the environment in which the resource and engagement exist.

            " + }, + "CreatedBy":{ + "shape":"AwsAccount", + "documentation":"

            The AWS account ID of the entity that created the association.

            " + }, + "EngagementId":{ + "shape":"EngagementIdentifier", + "documentation":"

            A unique identifier for the engagement associated with the resource.

            " + }, + "ResourceId":{ + "shape":"ResourceIdentifier", + "documentation":"

            A unique identifier for the specific resource. Varies depending on the resource type.

            " + }, + "ResourceType":{ + "shape":"ResourceType", + "documentation":"

            Categorizes the type of resource associated with the engagement.

            " + } + }, + "documentation":"

            This provide a streamlined view of the relationships between engagements and resources. These summaries offer a crucial link between collaborative engagements and the specific resources involved, such as opportunities.These summaries are particularly valuable for partners navigating complex engagements with multiple resources. They enable quick insights into resource distribution across engagements, support efficient resource management, and help maintain a clear overview of collaborative activities.

            " + }, + "EngagementResourceAssociationSummaryList":{ + "type":"list", + "member":{"shape":"EngagementResourceAssociationSummary"} + }, + "EngagementScore":{ + "type":"string", + "enum":[ + "High", + "Medium", + "Low" + ] + }, + "EngagementSort":{ + "type":"structure", + "required":[ + "SortBy", + "SortOrder" + ], + "members":{ + "SortBy":{ + "shape":"EngagementSortName", + "documentation":"

            The field by which to sort the results.

            " + }, + "SortOrder":{ + "shape":"SortOrder", + "documentation":"

            The order in which to sort the results.

            " + } + }, + "documentation":"

            Specifies the sorting parameters for listing Engagements.

            " + }, + "EngagementSortName":{ + "type":"string", + "enum":["CreatedDate"] + }, + "EngagementSummary":{ + "type":"structure", + "members":{ + "Arn":{ + "shape":"EngagementArn", + "documentation":"

            The Amazon Resource Name (ARN) of the created engagement.

            " + }, + "CreatedAt":{ + "shape":"DateTime", + "documentation":"

            The date and time when the engagement was created.

            " + }, + "CreatedBy":{ + "shape":"AwsAccount", + "documentation":"

            The AWS account ID of the engagement creator.

            " + }, + "Id":{ + "shape":"EngagementIdentifier", + "documentation":"

            The unique identifier for the engagement.

            " + }, + "MemberCount":{ + "shape":"Integer", + "documentation":"

            The number of members in the engagement.

            " + }, + "Title":{ + "shape":"EngagementTitle", + "documentation":"

            The title of the engagement.

            " + } + }, + "documentation":"

            An object that contains an Engagement's subset of fields.

            " + }, + "EngagementSummaryList":{ + "type":"list", + "member":{"shape":"EngagementSummary"} + }, + "EngagementTitle":{ + "type":"string", + "max":40, + "min":1 + }, + "ExpectedCustomerSpend":{ + "type":"structure", + "required":[ + "Amount", + "CurrencyCode", + "Frequency", + "TargetCompany" + ], + "members":{ + "Amount":{ + "shape":"String", + "documentation":"

            Represents the estimated monthly revenue that the partner expects to earn from the opportunity. This helps in forecasting financial returns.

            " + }, + "CurrencyCode":{ + "shape":"ExpectedCustomerSpendCurrencyCodeEnum", + "documentation":"

            Indicates the currency in which the revenue estimate is provided. This helps in understanding the financial impact across different markets.

            " + }, + "EstimationUrl":{ + "shape":"WebsiteUrl", + "documentation":"

            A URL providing additional information or context about the spend estimation.

            " + }, + "Frequency":{ "shape":"PaymentFrequency", "documentation":"

            Indicates how frequently the customer is expected to spend the projected amount. This can include values such as Monthly, Quarterly, or Annually. The default value is Monthly, representing recurring monthly spend.

            " }, @@ -1900,11 +2756,11 @@ "members":{ "Catalog":{ "shape":"CatalogIdentifier", - "documentation":"

            Specifies the catalog in which the AWS Opportunity is located. Accepted values include AWS for production opportunities or Sandbox for testing purposes. The catalog determines which environment the opportunity data is pulled from.

            " + "documentation":"

            Specifies the catalog in which the AWS Opportunity is located. Accepted values include AWS for production opportunities or Sandbox for testing purposes. The catalog determines which environment the opportunity data is pulled from.

            " }, "RelatedOpportunityIdentifier":{ "shape":"OpportunityIdentifier", - "documentation":"

            The unique identifier for the related partner opportunity. Use this field to correlate an AWS opportunity with its corresponding partner opportunity.

            " + "documentation":"

            The unique identifier for the related partner opportunity. Use this field to correlate an AWS opportunity with its corresponding partner opportunity.

            " } } }, @@ -1914,51 +2770,51 @@ "members":{ "Catalog":{ "shape":"CatalogIdentifier", - "documentation":"

            Specifies the catalog in which the AWS Opportunity exists. This is the environment (e.g., AWS or Sandbox) where the opportunity is being managed.

            " + "documentation":"

            Specifies the catalog in which the AWS Opportunity exists. This is the environment (e.g., AWS or Sandbox) where the opportunity is being managed.

            " }, "Customer":{ "shape":"AwsOpportunityCustomer", - "documentation":"

            Provides details about the customer associated with the AWS Opportunity, including account information, industry, and other customer data. These details help partners understand the business context of the opportunity.

            " + "documentation":"

            Provides details about the customer associated with the AWS Opportunity, including account information, industry, and other customer data. These details help partners understand the business context of the opportunity.

            " }, "Insights":{ "shape":"AwsOpportunityInsights", - "documentation":"

            Provides insights into the AWS Opportunity, including engagement score and recommended actions that AWS suggests for the partner.

            " + "documentation":"

            Provides insights into the AWS Opportunity, including engagement score and recommended actions that AWS suggests for the partner.

            " }, "InvolvementType":{ "shape":"SalesInvolvementType", - "documentation":"

            Specifies the type of involvement AWS has in the opportunity, such as direct cosell or advisory support. This field helps partners understand the role AWS plays in advancing the opportunity.

            " + "documentation":"

            Specifies the type of involvement AWS has in the opportunity, such as direct cosell or advisory support. This field helps partners understand the role AWS plays in advancing the opportunity.

            " }, "InvolvementTypeChangeReason":{ "shape":"InvolvementTypeChangeReason", - "documentation":"

            Provides a reason for any changes in the involvement type of AWS in the opportunity. This field is used to track why the level of AWS engagement has changed from For Visibility Only to Co-sell offering transparency into the partnership dynamics.

            " + "documentation":"

            Provides a reason for any changes in the involvement type of AWS in the opportunity. This field is used to track why the level of AWS engagement has changed from For Visibility Only to Co-sell offering transparency into the partnership dynamics.

            " }, "LifeCycle":{ "shape":"AwsOpportunityLifeCycle", - "documentation":"

            Contains lifecycle information for the AWS Opportunity, including review status, stage, and target close date. This field is crucial for partners to monitor the progression of the opportunity.

            " + "documentation":"

            Contains lifecycle information for the AWS Opportunity, including review status, stage, and target close date. This field is crucial for partners to monitor the progression of the opportunity.

            " }, "OpportunityTeam":{ "shape":"AwsOpportunityTeamMembersList", - "documentation":"

            Details the AWS opportunity team, including members involved. This information helps partners know who from AWS is engaged and what their role is.

            " + "documentation":"

            Details the AWS opportunity team, including members involved. This information helps partners know who from AWS is engaged and what their role is.

            " }, "Origin":{ "shape":"OpportunityOrigin", - "documentation":"

            Specifies whether the AWS Opportunity originated from AWS or the partner. This helps distinguish between opportunities that were sourced by AWS and those referred by the partner.

            " + "documentation":"

            Specifies whether the AWS Opportunity originated from AWS or the partner. This helps distinguish between opportunities that were sourced by AWS and those referred by the partner.

            " }, "Project":{ "shape":"AwsOpportunityProject", - "documentation":"

            Provides details about the project associated with the AWS Opportunity, including the customer’s business problem, expected outcomes, and project scope. This information is crucial for understanding the broader context of the opportunity.

            " + "documentation":"

            Provides details about the project associated with the AWS Opportunity, including the customer’s business problem, expected outcomes, and project scope. This information is crucial for understanding the broader context of the opportunity.

            " }, "RelatedEntityIds":{ "shape":"AwsOpportunityRelatedEntities", - "documentation":"

            Lists related entity identifiers, such as AWS products or partner solutions, associated with the AWS Opportunity. These identifiers provide additional context and help partners understand which AWS services are involved.

            " + "documentation":"

            Lists related entity identifiers, such as AWS products or partner solutions, associated with the AWS Opportunity. These identifiers provide additional context and help partners understand which AWS services are involved.

            " }, "RelatedOpportunityId":{ "shape":"OpportunityIdentifier", - "documentation":"

            Provides the unique identifier of the related partner opportunity, allowing partners to link the AWS Opportunity to their corresponding opportunity in their CRM system.

            " + "documentation":"

            Provides the unique identifier of the related partner opportunity, allowing partners to link the AWS Opportunity to their corresponding opportunity in their CRM system.

            " }, "Visibility":{ "shape":"Visibility", - "documentation":"

            Defines the visibility level for the AWS Opportunity. Use Full visibility for most cases, while Limited visibility is reserved for special programs or sensitive opportunities.

            " + "documentation":"

            Defines the visibility level for the AWS Opportunity. Use Full visibility for most cases, while Limited visibility is reserved for special programs or sensitive opportunities.

            " } } }, @@ -1994,10 +2850,22 @@ "shape":"CatalogIdentifier", "documentation":"

            Indicates the catalog from which the engagement invitation details are retrieved. This field helps in identifying the appropriate catalog (e.g., AWS or Sandbox) used in the request.

            " }, + "EngagementDescription":{ + "shape":"EngagementDescription", + "documentation":"

            The description of the engagement associated with this invitation.

            " + }, + "EngagementId":{ + "shape":"EngagementIdentifier", + "documentation":"

            The identifier of the engagement associated with this invitation.This ID links the invitation to its corresponding engagement.

            " + }, "EngagementTitle":{ "shape":"EngagementTitle", "documentation":"

            The title of the engagement invitation, summarizing the purpose or objectives of the opportunity shared by AWS.

            " }, + "ExistingMembers":{ + "shape":"EngagementMemberSummaries", + "documentation":"

            A list of active members currently part of the Engagement. This array contains a maximum of 10 members, each represented by an object with the following properties.

            • CompanyName: The name of the member's company.

            • WebsiteUrl: The website URL of the member's company.

            " + }, "ExpirationDate":{ "shape":"DateTime", "documentation":"

            Indicates the date on which the engagement invitation will expire if not accepted by the partner.

            " @@ -2010,6 +2878,10 @@ "shape":"DateTime", "documentation":"

            The date when the engagement invitation was sent to the partner.

            " }, + "InvitationMessage":{ + "shape":"InvitationMessage", + "documentation":"

            The message sent to the invited partner when the invitation was created.

            " + }, "Payload":{ "shape":"Payload", "documentation":"

            Details of the engagement invitation payload, including specific data relevant to the invitation's contents, such as customer information and opportunity insights.

            " @@ -2027,8 +2899,8 @@ "documentation":"

            If the engagement invitation was rejected, this field specifies the reason provided by the partner for the rejection.

            " }, "SenderAwsAccountId":{ - "shape":"AwsAccountIdOrLabel", - "documentation":"

            Specifies the AWS Account ID of the sender, which identifies the AWS team responsible for sharing the engagement invitation.

            " + "shape":"AwsAccount", + "documentation":"

            Specifies the AWS Account ID of the sender, which identifies the AWS team responsible for sharing the engagement invitation.

            " }, "SenderCompanyName":{ "shape":"GetEngagementInvitationResponseSenderCompanyNameString", @@ -2045,6 +2917,60 @@ "max":120, "min":0 }, + "GetEngagementRequest":{ + "type":"structure", + "required":[ + "Catalog", + "Identifier" + ], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog related to the engagement request. Valid values are AWS and Sandbox.

            " + }, + "Identifier":{ + "shape":"EngagementArnOrIdentifier", + "documentation":"

            Specifies the identifier of the Engagement record to retrieve.

            " + } + } + }, + "GetEngagementResponse":{ + "type":"structure", + "members":{ + "Arn":{ + "shape":"EngagementArn", + "documentation":"

            The Amazon Resource Name (ARN) of the engagement retrieved.

            " + }, + "Contexts":{ + "shape":"EngagementContexts", + "documentation":"

            A list of context objects associated with the engagement. Each context provides additional information related to the Engagement, such as customer projects or documents.

            " + }, + "CreatedAt":{ + "shape":"DateTime", + "documentation":"

            The date and time when the Engagement was created, presented in ISO 8601 format (UTC). For example: \"2023-05-01T20:37:46Z\". This timestamp helps track the lifecycle of the Engagement.

            " + }, + "CreatedBy":{ + "shape":"AwsAccount", + "documentation":"

            The AWS account ID of the user who originally created the engagement. This field helps in tracking the origin of the engagement.

            " + }, + "Description":{ + "shape":"EngagementDescription", + "documentation":"

            A more detailed description of the engagement. This provides additional context or information about the engagement's purpose or scope.

            " + }, + "Id":{ + "shape":"EngagementIdentifier", + "documentation":"

            The unique resource identifier of the engagement retrieved.

            " + }, + "MemberCount":{ + "shape":"Integer", + "documentation":"

            Specifies the current count of members participating in the Engagement. This count includes all active members regardless of their roles or permissions within the Engagement.

            " + }, + "Title":{ + "shape":"EngagementTitle", + "documentation":"

            The title of the engagement. It provides a brief, descriptive name for the engagement that is meaningful and easily recognizable.

            " + } + } + }, "GetOpportunityRequest":{ "type":"structure", "required":[ @@ -2054,11 +2980,11 @@ "members":{ "Catalog":{ "shape":"CatalogIdentifier", - "documentation":"

            Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity is fetched from. Use AWS to retrieve opportunities in the Amazon Web Services catalog, and Sandbox to retrieve opportunities in a secure, isolated testing environment.

            " + "documentation":"

            Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity is fetched from. Use AWS to retrieve opportunities in the Amazon Web Services catalog, and Sandbox to retrieve opportunities in a secure, isolated testing environment.

            " }, "Identifier":{ "shape":"OpportunityIdentifier", - "documentation":"

            Read-only, system generated Opportunity unique identifier.

            " + "documentation":"

            Read-only, system generated Opportunity unique identifier.

            " } } }, @@ -2072,33 +2998,37 @@ "RelatedEntityIdentifiers" ], "members":{ + "Arn":{ + "shape":"OpportunityArn", + "documentation":"

            The Amazon Resource Name (ARN) that uniquely identifies the opportunity.

            " + }, "Catalog":{ "shape":"CatalogIdentifier", - "documentation":"

            Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity information is retrieved from. Use AWS to retrieve opportunities in the Amazon Web Services catalog, and Sandbox to retrieve opportunities in a secure and isolated testing environment.

            " + "documentation":"

            Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity information is retrieved from. Use AWS to retrieve opportunities in the Amazon Web Services catalog, and Sandbox to retrieve opportunities in a secure and isolated testing environment.

            " }, "CreatedDate":{ "shape":"DateTime", - "documentation":"

            DateTime when the Opportunity was last created.

            " + "documentation":"

            DateTime when the Opportunity was last created.

            " }, "Customer":{ "shape":"Customer", - "documentation":"

            Specifies details of the customer associated with the Opportunity.

            " + "documentation":"

            Specifies details of the customer associated with the Opportunity.

            " }, "Id":{ "shape":"OpportunityIdentifier", - "documentation":"

            Read-only, system generated Opportunity unique identifier.

            " + "documentation":"

            Read-only, system generated Opportunity unique identifier.

            " }, "LastModifiedDate":{ "shape":"DateTime", - "documentation":"

            DateTime when the opportunity was last modified.

            " + "documentation":"

            DateTime when the opportunity was last modified.

            " }, "LifeCycle":{ "shape":"LifeCycle", - "documentation":"

            An object that contains lifecycle details for the Opportunity.

            " + "documentation":"

            An object that contains lifecycle details for the Opportunity.

            " }, "Marketing":{ "shape":"Marketing", - "documentation":"

            An object that contains marketing details for the Opportunity.

            " + "documentation":"

            An object that contains marketing details for the Opportunity.

            " }, "NationalSecurity":{ "shape":"NationalSecurity", @@ -2110,23 +3040,23 @@ }, "OpportunityType":{ "shape":"OpportunityType", - "documentation":"

            Specifies the opportunity type as renewal, new, or expansion.

            Opportunity types:

            • New opportunity: Represents a new business opportunity with a potential customer that's not previously engaged with your solutions or services.

            • Renewal opportunity: Represents an opportunity to renew an existing contract or subscription with a current customer, which helps to ensure service continuity.

            • Expansion opportunity: Represents an opportunity to expand the scope of a customer's contract or subscription, either by adding new services or increasing the volume of existing services.

            " + "documentation":"

            Specifies the opportunity type as renewal, new, or expansion.

            Opportunity types:

            • New opportunity: Represents a new business opportunity with a potential customer that's not previously engaged with your solutions or services.

            • Renewal opportunity: Represents an opportunity to renew an existing contract or subscription with a current customer, which helps to ensure service continuity.

            • Expansion opportunity: Represents an opportunity to expand the scope of a customer's contract or subscription, either by adding new services or increasing the volume of existing services.

            " }, "PartnerOpportunityIdentifier":{ "shape":"GetOpportunityResponsePartnerOpportunityIdentifierString", - "documentation":"

            Specifies the opportunity's unique identifier in the partner's CRM system. This value is essential to track and reconcile because it's included in the outbound payload sent back to the partner.

            " + "documentation":"

            Specifies the opportunity's unique identifier in the partner's CRM system. This value is essential to track and reconcile because it's included in the outbound payload sent back to the partner.

            " }, "PrimaryNeedsFromAws":{ "shape":"PrimaryNeedsFromAws", - "documentation":"

            Identifies the type of support the partner needs from Amazon Web Services.

            Valid values:

            • Cosell—Architectural Validation: Confirmation from Amazon Web Services that the partner's proposed solution architecture is aligned with Amazon Web Services best practices and poses minimal architectural risks.

            • Cosell—Business Presentation: Request Amazon Web Services seller's participation in a joint customer presentation.

            • Cosell—Competitive Information: Access to Amazon Web Services competitive resources and support for the partner's proposed solution.

            • Cosell—Pricing Assistance: Connect with an Amazon Web Services seller for support situations where a partner may be receiving an upfront discount on a service (for example: EDP deals).

            • Cosell—Technical Consultation: Connect with an Amazon Web Services Solutions Architect to address the partner's questions about the proposed solution.

            • Cosell—Total Cost of Ownership Evaluation: Assistance with quoting different cost savings of proposed solutions on Amazon Web Services versus on-premises or a traditional hosting environment.

            • Cosell—Deal Support: Request Amazon Web Services seller's support to progress the opportunity (for example: joint customer call, strategic positioning).

            • Cosell—Support for Public Tender/RFx: Opportunity related to the public sector where the partner needs Amazon Web Services RFx support.

            • Do Not Need Support from Amazon Web Services Sales Rep: Indicates that a partner doesn't need support from an Amazon Web Services sales representative, and the partner solely manages the opportunity. It's possible to request coselling support on these opportunities at any stage during their lifecycle. Also known as, for-visibility-only (FVO) opportunity.

            " + "documentation":"

            Identifies the type of support the partner needs from Amazon Web Services.

            Valid values:

            • Cosell—Architectural Validation: Confirmation from Amazon Web Services that the partner's proposed solution architecture is aligned with Amazon Web Services best practices and poses minimal architectural risks.

            • Cosell—Business Presentation: Request Amazon Web Services seller's participation in a joint customer presentation.

            • Cosell—Competitive Information: Access to Amazon Web Services competitive resources and support for the partner's proposed solution.

            • Cosell—Pricing Assistance: Connect with an Amazon Web Services seller for support situations where a partner may be receiving an upfront discount on a service (for example: EDP deals).

            • Cosell—Technical Consultation: Connect with an Amazon Web Services Solutions Architect to address the partner's questions about the proposed solution.

            • Cosell—Total Cost of Ownership Evaluation: Assistance with quoting different cost savings of proposed solutions on Amazon Web Services versus on-premises or a traditional hosting environment.

            • Cosell—Deal Support: Request Amazon Web Services seller's support to progress the opportunity (for example: joint customer call, strategic positioning).

            • Cosell—Support for Public Tender/RFx: Opportunity related to the public sector where the partner needs Amazon Web Services RFx support.

            • Do Not Need Support from Amazon Web Services Sales Rep: Indicates that a partner doesn't need support from an Amazon Web Services sales representative, and the partner solely manages the opportunity. It's possible to request coselling support on these opportunities at any stage during their lifecycle. Also known as, for-visibility-only (FVO) opportunity.

            " }, "Project":{ "shape":"Project", - "documentation":"

            An object that contains project details summary for the Opportunity.

            " + "documentation":"

            An object that contains project details summary for the Opportunity.

            " }, "RelatedEntityIdentifiers":{ "shape":"RelatedEntityIdentifiers", - "documentation":"

            Provides information about the associations of other entities with the opportunity. These entities include identifiers for AWSProducts, Partner Solutions, and AWSMarketplaceOffers.

            " + "documentation":"

            Provides information about the associations of other entities with the opportunity. These entities include identifiers for AWSProducts, Partner Solutions, and AWSMarketplaceOffers.

            " }, "SoftwareRevenue":{ "shape":"SoftwareRevenue", @@ -2139,6 +3069,180 @@ "max":64, "min":0 }, + "GetResourceSnapshotJobRequest":{ + "type":"structure", + "required":[ + "Catalog", + "ResourceSnapshotJobIdentifier" + ], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog related to the request. Valid values are:

            • AWS: Retrieves the snapshot job from the production AWS environment.

            • Sandbox: Retrieves the snapshot job from a sandbox environment used for testing or development purposes.

            " + }, + "ResourceSnapshotJobIdentifier":{ + "shape":"ResourceSnapshotJobIdentifier", + "documentation":"

            The unique identifier of the resource snapshot job to be retrieved. This identifier is crucial for pinpointing the specific job you want to query.

            " + } + } + }, + "GetResourceSnapshotJobResponse":{ + "type":"structure", + "required":["Catalog"], + "members":{ + "Arn":{ + "shape":"ResourceSnapshotJobArn", + "documentation":"

            he Amazon Resource Name (ARN) of the snapshot job. This globally unique identifier can be used for resource-specific operations across AWS services.

            " + }, + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            The catalog in which the snapshot job was created. This will match the catalog specified in the request.

            " + }, + "CreatedAt":{ + "shape":"DateTime", + "documentation":"

            The date and time when the snapshot job was created, in ISO 8601 format (UTC). Example: \"2023-05-01T20:37:46Z\"

            " + }, + "EngagementId":{ + "shape":"EngagementIdentifier", + "documentation":"

            The identifier of the engagement associated with this snapshot job. This links the job to a specific engagement context.

            " + }, + "Id":{ + "shape":"ResourceSnapshotJobIdentifier", + "documentation":"

            The unique identifier of the snapshot job. This matches the ResourceSnapshotJobIdentifier provided in the request.

            " + }, + "LastFailure":{ + "shape":"String", + "documentation":"

            If the job has encountered any failures, this field contains the error message from the most recent failure. This can be useful for troubleshooting issues with the job.

            " + }, + "LastSuccessfulExecutionDate":{ + "shape":"DateTime", + "documentation":"

            The date and time of the last successful execution of the job, in ISO 8601 format (UTC). Example: \"2023-05-01T20:37:46Z\"

            " + }, + "ResourceArn":{ + "shape":"ResourceArn", + "documentation":"

            The Amazon Resource Name (ARN) of the resource being snapshotted. This provides a globally unique identifier for the resource across AWS.

            " + }, + "ResourceId":{ + "shape":"ResourceIdentifier", + "documentation":"

            The identifier of the specific resource being snapshotted. The format may vary depending on the ResourceType.

            " + }, + "ResourceSnapshotTemplateName":{ + "shape":"ResourceTemplateName", + "documentation":"

            The name of the template used for creating the snapshot. This is the same as the template name. It defines the structure and content of the snapshot.

            " + }, + "ResourceType":{ + "shape":"ResourceType", + "documentation":"

            The type of resource being snapshotted. This would have Opportunity as a value as it is dependent on the supported resource type.

            " + }, + "Status":{ + "shape":"ResourceSnapshotJobStatus", + "documentation":"

            The current status of the snapshot job. Valid values:

            • STOPPED: The job is not currently running.

            • RUNNING: The job is actively executing.

            " + } + } + }, + "GetResourceSnapshotRequest":{ + "type":"structure", + "required":[ + "Catalog", + "EngagementIdentifier", + "ResourceIdentifier", + "ResourceSnapshotTemplateIdentifier", + "ResourceType" + ], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog related to the request. Valid values are:

            • AWS: Retrieves the snapshot from the production AWS environment.

            • Sandbox: Retrieves the snapshot from a sandbox environment used for testing or development purposes.

            " + }, + "EngagementIdentifier":{ + "shape":"EngagementIdentifier", + "documentation":"

            The unique identifier of the engagement associated with the snapshot. This field links the snapshot to a specific engagement context.

            " + }, + "ResourceIdentifier":{ + "shape":"ResourceIdentifier", + "documentation":"

            The unique identifier of the specific resource that was snapshotted. The format and constraints of this identifier depend on the ResourceType specified. For Opportunity type, it will be an opportunity ID

            " + }, + "ResourceSnapshotTemplateIdentifier":{ + "shape":"ResourceTemplateName", + "documentation":"

            he name of the template that defines the schema for the snapshot. This template determines which subset of the resource data is included in the snapshot and must correspond to an existing and valid template for the specified ResourceType.

            " + }, + "ResourceType":{ + "shape":"ResourceType", + "documentation":"

            Specifies the type of resource that was snapshotted. This field determines the structure and content of the snapshot payload. Valid value includes:Opportunity: For opportunity-related data.

            " + }, + "Revision":{ + "shape":"ResourceSnapshotRevision", + "documentation":"

            Specifies which revision of the snapshot to retrieve. If omitted returns the latest revision.

            " + } + } + }, + "GetResourceSnapshotResponse":{ + "type":"structure", + "required":["Catalog"], + "members":{ + "Arn":{ + "shape":"ResourceArn", + "documentation":"

            The Amazon Resource Name (ARN) of the snapshot. This globally unique identifier can be used for resource-specific operations across AWS services.

            " + }, + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            The catalog in which the snapshot was created. Matches the Catalog specified in the request.

            " + }, + "CreatedAt":{ + "shape":"DateTime", + "documentation":"

            The timestamp when the snapshot was created, in ISO 8601 format (e.g., \"2023-06-01T14:30:00Z\"). This allows for precise tracking of when the snapshot was taken.

            " + }, + "CreatedBy":{ + "shape":"AwsAccount", + "documentation":"

            The AWS account ID of the principal (user or role) who created the snapshot. This helps in tracking the origin of the snapshot.

            " + }, + "EngagementId":{ + "shape":"EngagementIdentifier", + "documentation":"

            The identifier of the engagement associated with this snapshot. Matches the EngagementIdentifier specified in the request.

            " + }, + "Payload":{"shape":"ResourceSnapshotPayload"}, + "ResourceId":{ + "shape":"ResourceIdentifier", + "documentation":"

            The identifier of the specific resource that was snapshotted. Matches the ResourceIdentifier specified in the request.

            " + }, + "ResourceSnapshotTemplateName":{ + "shape":"ResourceTemplateName", + "documentation":"

            The name of the view used for this snapshot. This is the same as the template name.

            " + }, + "ResourceType":{ + "shape":"ResourceType", + "documentation":"

            The type of the resource that was snapshotted. Matches the ResourceType specified in the request.

            " + }, + "Revision":{ + "shape":"ResourceSnapshotRevision", + "documentation":"

            The revision number of this snapshot. This is a positive integer that is sequential and unique within the context of a resource view.

            " + } + } + }, + "GetSellingSystemSettingsRequest":{ + "type":"structure", + "required":["Catalog"], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog in which the settings are defined. Acceptable values include AWS for production and Sandbox for testing environments.

            " + } + } + }, + "GetSellingSystemSettingsResponse":{ + "type":"structure", + "required":["Catalog"], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog in which the settings are defined. Acceptable values include AWS for production and Sandbox for testing environments.

            " + }, + "ResourceSnapshotJobRoleArn":{ + "shape":"ResourceSnapshotJobRoleArn", + "documentation":"

            Specifies the ARN of the IAM Role used for resource snapshot job executions.

            " + } + } + }, "Industry":{ "type":"string", "enum":[ @@ -2172,15 +3276,41 @@ "Other" ] }, + "Integer":{ + "type":"integer", + "box":true + }, "InternalServerException":{ "type":"structure", "members":{ "Message":{"shape":"String"} }, - "documentation":"

            This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.

            Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.

            ", + "documentation":"

            This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.

            Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.

            ", "exception":true, "fault":true }, + "Invitation":{ + "type":"structure", + "required":[ + "Message", + "Payload", + "Receiver" + ], + "members":{ + "Message":{ + "shape":"InvitationMessage", + "documentation":"

            A message accompanying the invitation.

            " + }, + "Payload":{"shape":"Payload"}, + "Receiver":{"shape":"Receiver"} + }, + "documentation":"

            The Invitation structure represents an invitation exchanged between partners and AWS. It includes a message, receiver information, and a payload providing context for the invitation.

            " + }, + "InvitationMessage":{ + "type":"string", + "max":255, + "min":1 + }, "InvitationStatus":{ "type":"string", "enum":[ @@ -2190,6 +3320,12 @@ "EXPIRED" ] }, + "InvitationStatusList":{ + "type":"list", + "member":{"shape":"InvitationStatus"}, + "max":10, + "min":1 + }, "InvolvementTypeChangeReason":{ "type":"string", "enum":[ @@ -2225,15 +3361,15 @@ "members":{ "ClosedLostReason":{ "shape":"ClosedLostReason", - "documentation":"

            Specifies the reason code when an opportunity is marked as Closed Lost. When you select an appropriate reason code, you communicate the context for closing the Opportunity, and aid in accurate reports and analysis of opportunity outcomes. The possible values are:

            • Customer Deficiency: The customer lacked necessary resources or capabilities.

            • Delay/Cancellation of Project: The project was delayed or canceled.

            • Legal/Tax/Regulatory: Legal, tax, or regulatory issues prevented progress.

            • Lost to Competitor—Google: The opportunity was lost to Google.

            • Lost to Competitor—Microsoft: The opportunity was lost to Microsoft.

            • Lost to Competitor—SoftLayer: The opportunity was lost to SoftLayer.

            • Lost to Competitor—VMWare: The opportunity was lost to VMWare.

            • Lost to Competitor—Other: The opportunity was lost to a competitor not listed above.

            • No Opportunity: There was no opportunity to pursue.

            • On Premises Deployment: The customer chose an on-premises solution.

            • Partner Gap: The partner lacked necessary resources or capabilities.

            • Price: The price was not competitive or acceptable to the customer.

            • Security/Compliance: Security or compliance issues prevented progress.

            • Technical Limitations: Technical limitations prevented progress.

            • Customer Experience: Issues related to the customer's experience impacted the decision.

            • Other: Any reason not covered by the other values.

            • People/Relationship/Governance: Issues related to people, relationships, or governance.

            • Product/Technology: Issues related to the product or technology.

            • Financial/Commercial: Financial or commercial issues impacted the decision.

            " + "documentation":"

            Specifies the reason code when an opportunity is marked as Closed Lost. When you select an appropriate reason code, you communicate the context for closing the Opportunity, and aid in accurate reports and analysis of opportunity outcomes. The possible values are:

            • Customer Deficiency: The customer lacked necessary resources or capabilities.

            • Delay/Cancellation of Project: The project was delayed or canceled.

            • Legal/Tax/Regulatory: Legal, tax, or regulatory issues prevented progress.

            • Lost to Competitor—Google: The opportunity was lost to Google.

            • Lost to Competitor—Microsoft: The opportunity was lost to Microsoft.

            • Lost to Competitor—SoftLayer: The opportunity was lost to SoftLayer.

            • Lost to Competitor—VMWare: The opportunity was lost to VMWare.

            • Lost to Competitor—Other: The opportunity was lost to a competitor not listed above.

            • No Opportunity: There was no opportunity to pursue.

            • On Premises Deployment: The customer chose an on-premises solution.

            • Partner Gap: The partner lacked necessary resources or capabilities.

            • Price: The price was not competitive or acceptable to the customer.

            • Security/Compliance: Security or compliance issues prevented progress.

            • Technical Limitations: Technical limitations prevented progress.

            • Customer Experience: Issues related to the customer's experience impacted the decision.

            • Other: Any reason not covered by the other values.

            • People/Relationship/Governance: Issues related to people, relationships, or governance.

            • Product/Technology: Issues related to the product or technology.

            • Financial/Commercial: Financial or commercial issues impacted the decision.

            " }, "NextSteps":{ "shape":"LifeCycleNextStepsString", - "documentation":"

            Specifies the upcoming actions or tasks for the Opportunity. Use this field to communicate with Amazon Web Services about the next actions required for the Opportunity.

            " + "documentation":"

            Specifies the upcoming actions or tasks for the Opportunity. Use this field to communicate with Amazon Web Services about the next actions required for the Opportunity.

            " }, "NextStepsHistory":{ "shape":"LifeCycleNextStepsHistoryList", - "documentation":"

            Captures a chronological record of the next steps or actions planned or taken for the current opportunity, along with the timestamp.

            " + "documentation":"

            Captures a chronological record of the next steps or actions planned or taken for the current opportunity, along with the timestamp.

            " }, "ReviewComments":{ "shape":"String", @@ -2241,28 +3377,56 @@ }, "ReviewStatus":{ "shape":"ReviewStatus", - "documentation":"

            Indicates the review status of an opportunity referred by a partner. This field is read-only and only applicable for partner referrals. The possible values are:

            • Pending Submission: Not submitted for validation (editable).

            • Submitted: Submitted for validation, and Amazon Web Services hasn't reviewed it (read-only).

            • In Review: Amazon Web Services is validating (read-only).

            • Action Required: Issues that Amazon Web Services highlights need to be addressed. Partners should use the UpdateOpportunity API action to update the opportunity and helps to ensure that all required changes are made. Only the following fields are editable when the Lifecycle.ReviewStatus is Action Required:

              • Customer.Account.Address.City

              • Customer.Account.Address.CountryCode

              • Customer.Account.Address.PostalCode

              • Customer.Account.Address.StateOrRegion

              • Customer.Account.Address.StreetAddress

              • Customer.Account.WebsiteUrl

              • LifeCycle.TargetCloseDate

              • Project.ExpectedMonthlyAWSRevenue.Amount

              • Project.ExpectedMonthlyAWSRevenue.CurrencyCode

              • Project.CustomerBusinessProblem

              • PartnerOpportunityIdentifier

              After updates, the opportunity re-enters the validation phase. This process repeats until all issues are resolved, and the opportunity's Lifecycle.ReviewStatus is set to Approved or Rejected.

            • Approved: Validated and converted into the Amazon Web Services seller's pipeline (editable).

            • Rejected: Disqualified (read-only).

            " + "documentation":"

            Indicates the review status of an opportunity referred by a partner. This field is read-only and only applicable for partner referrals. The possible values are:

            • Pending Submission: Not submitted for validation (editable).

            • Submitted: Submitted for validation, and Amazon Web Services hasn't reviewed it (read-only).

            • In Review: Amazon Web Services is validating (read-only).

            • Action Required: Issues that Amazon Web Services highlights need to be addressed. Partners should use the UpdateOpportunity API action to update the opportunity and helps to ensure that all required changes are made. Only the following fields are editable when the Lifecycle.ReviewStatus is Action Required:

              • Customer.Account.Address.City

              • Customer.Account.Address.CountryCode

              • Customer.Account.Address.PostalCode

              • Customer.Account.Address.StateOrRegion

              • Customer.Account.Address.StreetAddress

              • Customer.Account.WebsiteUrl

              • LifeCycle.TargetCloseDate

              • Project.ExpectedMonthlyAWSRevenue.Amount

              • Project.ExpectedMonthlyAWSRevenue.CurrencyCode

              • Project.CustomerBusinessProblem

              • PartnerOpportunityIdentifier

              After updates, the opportunity re-enters the validation phase. This process repeats until all issues are resolved, and the opportunity's Lifecycle.ReviewStatus is set to Approved or Rejected.

            • Approved: Validated and converted into the Amazon Web Services seller's pipeline (editable).

            • Rejected: Disqualified (read-only).

            " }, "ReviewStatusReason":{ "shape":"String", - "documentation":"

            Indicates the reason a decision was made during the opportunity review process. This field combines the reasons for both disqualified and action required statuses, and provide clarity for why an opportunity was disqualified or requires further action.

            " + "documentation":"

            Indicates the reason a decision was made during the opportunity review process. This field combines the reasons for both disqualified and action required statuses, and provide clarity for why an opportunity was disqualified or requires further action.

            " }, "Stage":{ "shape":"Stage", - "documentation":"

            Specifies the current stage of the Opportunity's lifecycle as it maps to Amazon Web Services stages from the current stage in the partner CRM. This field provides a translated value of the stage, and offers insight into the Opportunity's progression in the sales cycle, according to Amazon Web Services definitions.

            A lead and a prospect must be further matured to a Qualified opportunity before submission. Opportunities that were closed/lost before submission aren't suitable for submission.

            The descriptions of each sales stage are:

            • Prospect: Amazon Web Services identifies the opportunity. It can be active (Comes directly from the end customer through a lead) or latent (Your account team believes it exists based on research, account plans, sales plays).

            • Qualified: Your account team engaged with the customer to discuss viability and requirements. The customer agreed that the opportunity is real, of interest, and may solve business/technical needs.

            • Technical Validation: All parties understand the implementation plan.

            • Business Validation: Pricing was proposed, and all parties agree to the steps to close.

            • Committed: The customer signed the contract, but Amazon Web Services hasn't started billing.

            • Launched: The workload is complete, and Amazon Web Services has started billing.

            • Closed Lost: The opportunity is lost, and there are no steps to move forward.

            " + "documentation":"

            Specifies the current stage of the Opportunity's lifecycle as it maps to Amazon Web Services stages from the current stage in the partner CRM. This field provides a translated value of the stage, and offers insight into the Opportunity's progression in the sales cycle, according to Amazon Web Services definitions.

            A lead and a prospect must be further matured to a Qualified opportunity before submission. Opportunities that were closed/lost before submission aren't suitable for submission.

            The descriptions of each sales stage are:

            • Prospect: Amazon Web Services identifies the opportunity. It can be active (Comes directly from the end customer through a lead) or latent (Your account team believes it exists based on research, account plans, sales plays).

            • Qualified: Your account team engaged with the customer to discuss viability and requirements. The customer agreed that the opportunity is real, of interest, and may solve business/technical needs.

            • Technical Validation: All parties understand the implementation plan.

            • Business Validation: Pricing was proposed, and all parties agree to the steps to close.

            • Committed: The customer signed the contract, but Amazon Web Services hasn't started billing.

            • Launched: The workload is complete, and Amazon Web Services has started billing.

            • Closed Lost: The opportunity is lost, and there are no steps to move forward.

            " }, "TargetCloseDate":{ "shape":"Date", - "documentation":"

            Specifies the date when Amazon Web Services expects to start significant billing, when the project finishes, and when it moves into production. This field informs the Amazon Web Services seller about when the opportunity launches and starts to incur Amazon Web Services usage.

            Ensure the Target Close Date isn't in the past.

            " + "documentation":"

            Specifies the date when Amazon Web Services expects to start significant billing, when the project finishes, and when it moves into production. This field informs the Amazon Web Services seller about when the opportunity launches and starts to incur Amazon Web Services usage.

            Ensure the Target Close Date isn't in the past.

            " } }, - "documentation":"

            An object that contains the Opportunity lifecycle's details.

            " - }, - "LifeCycleNextStepsHistoryList":{ - "type":"list", - "member":{"shape":"NextStepsHistory"}, - "max":50, - "min":0 + "documentation":"

            An object that contains the Opportunity lifecycle's details.

            " + }, + "LifeCycleForView":{ + "type":"structure", + "members":{ + "NextSteps":{ + "shape":"LifeCycleForViewNextStepsString", + "documentation":"

            Describes the next steps for the opportunity shared through a snapshot.

            " + }, + "ReviewStatus":{ + "shape":"ReviewStatus", + "documentation":"

            Defines the approval status of the opportunity shared through a snapshot.

            " + }, + "Stage":{ + "shape":"Stage", + "documentation":"

            Defines the current stage of the opportunity shared through a snapshot.

            " + }, + "TargetCloseDate":{ + "shape":"Date", + "documentation":"

            The projected launch date of the opportunity shared through a snapshot.

            " + } + }, + "documentation":"

            Provides the lifecycle view of an opportunity resource shared through a snapshot.

            " + }, + "LifeCycleForViewNextStepsString":{ + "type":"string", + "max":255, + "min":0, + "sensitive":true + }, + "LifeCycleNextStepsHistoryList":{ + "type":"list", + "member":{"shape":"NextStepsHistory"}, + "max":50, + "min":0 }, "LifeCycleNextStepsString":{ "type":"string", @@ -2275,11 +3439,11 @@ "members":{ "ClosedLostReason":{ "shape":"ClosedLostReason", - "documentation":"

            Specifies the reason code when an opportunity is marked as Closed Lost. When you select an appropriate reason code, you communicate the context for closing the Opportunity, and aid in accurate reports and analysis of opportunity outcomes.

            " + "documentation":"

            Specifies the reason code when an opportunity is marked as Closed Lost. When you select an appropriate reason code, you communicate the context for closing the Opportunity, and aid in accurate reports and analysis of opportunity outcomes.

            " }, "NextSteps":{ "shape":"LifeCycleSummaryNextStepsString", - "documentation":"

            Specifies the upcoming actions or tasks for the Opportunity. This field is utilized to communicate to Amazon Web Services the next actions required for the Opportunity.

            " + "documentation":"

            Specifies the upcoming actions or tasks for the Opportunity. This field is utilized to communicate to Amazon Web Services the next actions required for the Opportunity.

            " }, "ReviewComments":{ "shape":"String", @@ -2287,22 +3451,22 @@ }, "ReviewStatus":{ "shape":"ReviewStatus", - "documentation":"

            Indicates the review status of a partner referred opportunity. This field is read-only and only applicable for partner referrals. Valid values:

            • Pending Submission: Not submitted for validation (editable).

            • Submitted: Submitted for validation and not yet Amazon Web Services reviewed (read-only).

            • In Review: Undergoing Amazon Web Services validation (read-only).

            • Action Required: Address any issues Amazon Web Services highlights. Use the UpdateOpportunity API action to update the opportunity, and ensure you make all required changes. Only these fields are editable when the Lifecycle.ReviewStatus is Action Required:

              • Customer.Account.Address.City

              • Customer.Account.Address.CountryCode

              • Customer.Account.Address.PostalCode

              • Customer.Account.Address.StateOrRegion

              • Customer.Account.Address.StreetAddress

              • Customer.Account.WebsiteUrl

              • LifeCycle.TargetCloseDate

              • Project.ExpectedCustomerSpend.Amount

              • Project.ExpectedCustomerSpend.CurrencyCode

              • Project.CustomerBusinessProblem

              • PartnerOpportunityIdentifier

              After updates, the opportunity re-enters the validation phase. This process repeats until all issues are resolved, and the opportunity's Lifecycle.ReviewStatus is set to Approved or Rejected.

            • Approved: Validated and converted into the Amazon Web Services seller's pipeline (editable).

            • Rejected: Disqualified (read-only).

            " + "documentation":"

            Indicates the review status of a partner referred opportunity. This field is read-only and only applicable for partner referrals. Valid values:

            • Pending Submission: Not submitted for validation (editable).

            • Submitted: Submitted for validation and not yet Amazon Web Services reviewed (read-only).

            • In Review: Undergoing Amazon Web Services validation (read-only).

            • Action Required: Address any issues Amazon Web Services highlights. Use the UpdateOpportunity API action to update the opportunity, and ensure you make all required changes. Only these fields are editable when the Lifecycle.ReviewStatus is Action Required:

              • Customer.Account.Address.City

              • Customer.Account.Address.CountryCode

              • Customer.Account.Address.PostalCode

              • Customer.Account.Address.StateOrRegion

              • Customer.Account.Address.StreetAddress

              • Customer.Account.WebsiteUrl

              • LifeCycle.TargetCloseDate

              • Project.ExpectedCustomerSpend.Amount

              • Project.ExpectedCustomerSpend.CurrencyCode

              • Project.CustomerBusinessProblem

              • PartnerOpportunityIdentifier

              After updates, the opportunity re-enters the validation phase. This process repeats until all issues are resolved, and the opportunity's Lifecycle.ReviewStatus is set to Approved or Rejected.

            • Approved: Validated and converted into the Amazon Web Services seller's pipeline (editable).

            • Rejected: Disqualified (read-only).

            " }, "ReviewStatusReason":{ "shape":"String", - "documentation":"

            Indicates the reason a specific decision was taken during the opportunity review process. This field combines the reasons for both disqualified and action required statuses, and provides clarity for why an opportunity was disqualified or required further action.

            " + "documentation":"

            Indicates the reason a specific decision was taken during the opportunity review process. This field combines the reasons for both disqualified and action required statuses, and provides clarity for why an opportunity was disqualified or required further action.

            " }, "Stage":{ "shape":"Stage", - "documentation":"

            Specifies the current stage of the Opportunity's lifecycle as it maps to Amazon Web Services stages from the current stage in the partner CRM. This field provides a translated value of the stage, and offers insight into the Opportunity's progression in the sales cycle, according to Amazon Web Services definitions.

            A lead and a prospect must be further matured to a Qualified opportunity before submission. Opportunities that were closed/lost before submission aren't suitable for submission.

            The descriptions of each sales stage are:

            • Prospect: Amazon Web Services identifies the opportunity. It can be active (Comes directly from the end customer through a lead) or latent (Your account team believes it exists based on research, account plans, sales plays).

            • Qualified: Your account team engaged with the customer to discuss viability and understand requirements. The customer agreed that the opportunity is real, of interest, and may solve business/technical needs.

            • Technical Validation: All parties understand the implementation plan.

            • Business Validation: Pricing was proposed, and all parties agree to the steps to close.

            • Committed: The customer signed the contract, but Amazon Web Services hasn't started billing.

            • Launched: The workload is complete, and Amazon Web Services has started billing.

            • Closed Lost: The opportunity is lost, and there are no steps to move forward.

            " + "documentation":"

            Specifies the current stage of the Opportunity's lifecycle as it maps to Amazon Web Services stages from the current stage in the partner CRM. This field provides a translated value of the stage, and offers insight into the Opportunity's progression in the sales cycle, according to Amazon Web Services definitions.

            A lead and a prospect must be further matured to a Qualified opportunity before submission. Opportunities that were closed/lost before submission aren't suitable for submission.

            The descriptions of each sales stage are:

            • Prospect: Amazon Web Services identifies the opportunity. It can be active (Comes directly from the end customer through a lead) or latent (Your account team believes it exists based on research, account plans, sales plays).

            • Qualified: Your account team engaged with the customer to discuss viability and understand requirements. The customer agreed that the opportunity is real, of interest, and may solve business/technical needs.

            • Technical Validation: All parties understand the implementation plan.

            • Business Validation: Pricing was proposed, and all parties agree to the steps to close.

            • Committed: The customer signed the contract, but Amazon Web Services hasn't started billing.

            • Launched: The workload is complete, and Amazon Web Services has started billing.

            • Closed Lost: The opportunity is lost, and there are no steps to move forward.

            " }, "TargetCloseDate":{ "shape":"Date", - "documentation":"

            Specifies the date when Amazon Web Services expects to start significant billing, when the project finishes, and when it moves into production. This field informs the Amazon Web Services seller about when the opportunity launches and starts to incur Amazon Web Services usage.

            Ensure the Target Close Date isn't in the past.

            " + "documentation":"

            Specifies the date when Amazon Web Services expects to start significant billing, when the project finishes, and when it moves into production. This field informs the Amazon Web Services seller about when the opportunity launches and starts to incur Amazon Web Services usage.

            Ensure the Target Close Date isn't in the past.

            " } }, - "documentation":"

            An object that contains a LifeCycle object's subset of fields.

            " + "documentation":"

            An object that contains a LifeCycle object's subset of fields.

            " }, "LifeCycleSummaryNextStepsString":{ "type":"string", @@ -2310,6 +3474,226 @@ "min":0, "sensitive":true }, + "ListEngagementByAcceptingInvitationTaskSummaries":{ + "type":"list", + "member":{"shape":"ListEngagementByAcceptingInvitationTaskSummary"} + }, + "ListEngagementByAcceptingInvitationTaskSummary":{ + "type":"structure", + "members":{ + "EngagementInvitationId":{ + "shape":"EngagementInvitationIdentifier", + "documentation":"

            The unique identifier of the engagement invitation that was accepted.

            " + }, + "Message":{ + "shape":"String", + "documentation":"

            Detailed message describing the failure and possible recovery steps.

            " + }, + "OpportunityId":{ + "shape":"OpportunityIdentifier", + "documentation":"

            Unique identifier of opportunity that was created.

            " + }, + "ReasonCode":{ + "shape":"ReasonCode", + "documentation":"

            A code pointing to the specific reason for the failure.

            " + }, + "ResourceSnapshotJobId":{ + "shape":"ResourceSnapshotJobIdentifier", + "documentation":"

            Unique identifier of the resource snapshot job that was created.

            " + }, + "StartTime":{ + "shape":"DateTime", + "documentation":"

            Task start timestamp.

            " + }, + "TaskArn":{ + "shape":"TaskArn", + "documentation":"

            The Amazon Resource Name (ARN) that uniquely identifies the task.

            " + }, + "TaskId":{ + "shape":"TaskIdentifier", + "documentation":"

            Unique identifier of the task.

            " + }, + "TaskStatus":{ + "shape":"TaskStatus", + "documentation":"

            Status of the task.

            " + } + }, + "documentation":"

            Specifies a subset of fields associated with tasks related to accepting an engagement invitation.

            " + }, + "ListEngagementByAcceptingInvitationTasksRequest":{ + "type":"structure", + "required":["Catalog"], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog related to the request. Valid values are:

            • AWS: Retrieves the request from the production AWS environment.

            • Sandbox: Retrieves the request from a sandbox environment used for testing or development purposes.

            " + }, + "EngagementInvitationIdentifier":{ + "shape":"EngagementInvitationIdentifiers", + "documentation":"

            Filters tasks by the identifiers of the engagement invitations they are processing.

            " + }, + "MaxResults":{ + "shape":"ListEngagementByAcceptingInvitationTasksRequestMaxResultsInteger", + "documentation":"

            Use this parameter to control the number of items returned in each request, which can be useful for performance tuning and managing large result sets.

            " + }, + "NextToken":{ + "shape":"ListEngagementByAcceptingInvitationTasksRequestNextTokenString", + "documentation":"

            Use this parameter for pagination when the result set spans multiple pages. This value is obtained from the NextToken field in the response of a previous call to this API.

            " + }, + "OpportunityIdentifier":{ + "shape":"OpportunityIdentifiers", + "documentation":"

            Filters tasks by the identifiers of the opportunities they created or are associated with.

            " + }, + "Sort":{ + "shape":"ListTasksSortBase", + "documentation":"

            Specifies the sorting criteria for the returned results. This allows you to order the tasks based on specific attributes.

            " + }, + "TaskIdentifier":{ + "shape":"TaskIdentifiers", + "documentation":"

            Filters tasks by their unique identifiers. Use this when you want to retrieve information about specific tasks.

            " + }, + "TaskStatus":{ + "shape":"TaskStatuses", + "documentation":"

            Filters the tasks based on their current status. This allows you to focus on tasks in specific states.

            " + } + } + }, + "ListEngagementByAcceptingInvitationTasksRequestMaxResultsInteger":{ + "type":"integer", + "box":true, + "max":1000, + "min":1 + }, + "ListEngagementByAcceptingInvitationTasksRequestNextTokenString":{ + "type":"string", + "max":2048, + "min":1 + }, + "ListEngagementByAcceptingInvitationTasksResponse":{ + "type":"structure", + "members":{ + "NextToken":{ + "shape":"String", + "documentation":"

            A token used for pagination to retrieve the next page of results.If there are more results available, this field will contain a token that can be used in a subsequent API call to retrieve the next page. If there are no more results, this field will be null or an empty string.

            " + }, + "TaskSummaries":{ + "shape":"ListEngagementByAcceptingInvitationTaskSummaries", + "documentation":"

            An array of EngagementByAcceptingInvitationTaskSummary objects, each representing a task that matches the specified filters. The array may be empty if no tasks match the criteria.

            " + } + } + }, + "ListEngagementFromOpportunityTaskSummaries":{ + "type":"list", + "member":{"shape":"ListEngagementFromOpportunityTaskSummary"} + }, + "ListEngagementFromOpportunityTaskSummary":{ + "type":"structure", + "members":{ + "EngagementId":{ + "shape":"EngagementIdentifier", + "documentation":"

            The unique identifier of the engagement created as a result of the task. This field is populated when the task is completed successfully.

            " + }, + "EngagementInvitationId":{ + "shape":"EngagementInvitationIdentifier", + "documentation":"

            The unique identifier of the engagement identifier created as a result of the task. This field is populated when the task is completed successfully.

            " + }, + "Message":{ + "shape":"String", + "documentation":"

            A detailed message providing additional information about the task, especially useful in case of failures. This field may contain error details or other relevant information about the task's execution

            " + }, + "OpportunityId":{ + "shape":"OpportunityIdentifier", + "documentation":"

            The unique identifier of the original Opportunity from which the Engagement is being created. This field helps track the source of the Engagement creation task.

            " + }, + "ReasonCode":{ + "shape":"ReasonCode", + "documentation":"

            A code indicating the specific reason for a task failure. This field is populated when the task status is FAILED and provides a categorized reason for the failure.

            " + }, + "ResourceSnapshotJobId":{ + "shape":"ResourceSnapshotJobIdentifier", + "documentation":"

            The identifier of the resource snapshot job associated with this task, if a snapshot was created as part of the Engagement creation process.

            " + }, + "StartTime":{ + "shape":"DateTime", + "documentation":"

            The timestamp indicating when the task was initiated, in RFC 3339 5.6 date-time format.

            " + }, + "TaskArn":{ + "shape":"TaskArn", + "documentation":"

            The Amazon Resource Name (ARN) uniquely identifying this task within AWS. This ARN can be used for referencing the task in other AWS services or APIs.

            " + }, + "TaskId":{ + "shape":"TaskIdentifier", + "documentation":"

            A unique identifier for a specific task.

            " + }, + "TaskStatus":{ + "shape":"TaskStatus", + "documentation":"

            The current status of the task.

            " + } + }, + "documentation":"

            Provides a summary of a task related to creating an engagement from an opportunity. This structure contains key information about the task's status, associated identifiers, and any failure details.

            " + }, + "ListEngagementFromOpportunityTasksRequest":{ + "type":"structure", + "required":["Catalog"], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog related to the request. Valid values are:

            • AWS: Retrieves the request from the production AWS environment.

            • Sandbox: Retrieves the request from a sandbox environment used for testing or development purposes.

            " + }, + "EngagementIdentifier":{ + "shape":"EngagementIdentifiers", + "documentation":"

            Filters tasks by the identifiers of the engagements they created or are associated with.

            " + }, + "MaxResults":{ + "shape":"ListEngagementFromOpportunityTasksRequestMaxResultsInteger", + "documentation":"

            Specifies the maximum number of results to return in a single page of the response.Use this parameter to control the number of items returned in each request, which can be useful for performance tuning and managing large result sets.

            " + }, + "NextToken":{ + "shape":"ListEngagementFromOpportunityTasksRequestNextTokenString", + "documentation":"

            The token for requesting the next page of results. This value is obtained from the NextToken field in the response of a previous call to this API. Use this parameter for pagination when the result set spans multiple pages.

            " + }, + "OpportunityIdentifier":{ + "shape":"OpportunityIdentifiers", + "documentation":"

            The identifier of the original opportunity associated with this task.

            " + }, + "Sort":{ + "shape":"ListTasksSortBase", + "documentation":"

            Specifies the sorting criteria for the returned results. This allows you to order the tasks based on specific attributes.

            " + }, + "TaskIdentifier":{ + "shape":"TaskIdentifiers", + "documentation":"

            Filters tasks by their unique identifiers. Use this when you want to retrieve information about specific tasks.

            " + }, + "TaskStatus":{ + "shape":"TaskStatuses", + "documentation":"

            Filters the tasks based on their current status. This allows you to focus on tasks in specific states.

            " + } + } + }, + "ListEngagementFromOpportunityTasksRequestMaxResultsInteger":{ + "type":"integer", + "box":true, + "max":1000, + "min":1 + }, + "ListEngagementFromOpportunityTasksRequestNextTokenString":{ + "type":"string", + "max":2048, + "min":1 + }, + "ListEngagementFromOpportunityTasksResponse":{ + "type":"structure", + "members":{ + "NextToken":{ + "shape":"String", + "documentation":"

            A token used for pagination to retrieve the next page of results. If there are more results available, this field will contain a token that can be used in a subsequent API call to retrieve the next page. If there are no more results, this field will be null or an empty string.

            " + }, + "TaskSummaries":{ + "shape":"ListEngagementFromOpportunityTaskSummaries", + "documentation":"

            TaskSummaries An array of TaskSummary objects containing details about each task.

            " + } + } + }, "ListEngagementInvitationsRequest":{ "type":"structure", "required":[ @@ -2321,6 +3705,10 @@ "shape":"CatalogIdentifier", "documentation":"

            Specifies the catalog from which to list the engagement invitations. Use AWS for production invitations or Sandbox for testing environments.

            " }, + "EngagementIdentifier":{ + "shape":"EngagementIdentifiers", + "documentation":"

            Retrieves a list of engagement invitation summaries based on specified filters. The ListEngagementInvitations operation allows you to view all invitations that you have sent or received. You must specify the ParticipantType to filter invitations where you are either the SENDER or the RECEIVER. Invitations will automatically expire if not accepted within 15 days.

            " + }, "MaxResults":{ "shape":"PageSize", "documentation":"

            Specifies the maximum number of engagement invitations to return in the response. If more results are available, a pagination token will be provided.

            " @@ -2337,9 +3725,17 @@ "shape":"EngagementInvitationsPayloadType", "documentation":"

            Defines the type of payload associated with the engagement invitations to be listed. The attributes in this payload help decide on acceptance or rejection of the invitation.

            " }, + "SenderAwsAccountId":{ + "shape":"AwsAccountIdOrAliasList", + "documentation":"

            List of sender AWS account IDs to filter the invitations.

            " + }, "Sort":{ "shape":"OpportunityEngagementInvitationSort", "documentation":"

            Specifies the sorting options for listing engagement invitations. Invitations can be sorted by fields such as InvitationDate or Status to help partners view results in their preferred order.

            " + }, + "Status":{ + "shape":"InvitationStatusList", + "documentation":"

            Status values to filter the invitations.

            " } } }, @@ -2356,13 +3752,154 @@ } } }, + "ListEngagementMembersRequest":{ + "type":"structure", + "required":[ + "Catalog", + "Identifier" + ], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            The catalog related to the request.

            " + }, + "Identifier":{ + "shape":"EngagementArnOrIdentifier", + "documentation":"

            Identifier of the engagement record to retrieve members from.

            " + }, + "MaxResults":{ + "shape":"MemberPageSize", + "documentation":"

            The maximum number of results to return in a single call.

            " + }, + "NextToken":{ + "shape":"String", + "documentation":"

            The token for the next set of results.

            " + } + } + }, + "ListEngagementMembersResponse":{ + "type":"structure", + "required":["EngagementMemberList"], + "members":{ + "EngagementMemberList":{ + "shape":"EngagementMembers", + "documentation":"

            Provides a list of engagement members.

            " + }, + "NextToken":{ + "shape":"String", + "documentation":"

            A pagination token used to retrieve the next set of results. If there are more results available than can be returned in a single response, this token will be present. Use this token in a subsequent request to retrieve the next page of results. If there are no more results, this value will be null.

            " + } + } + }, + "ListEngagementResourceAssociationsRequest":{ + "type":"structure", + "required":["Catalog"], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog in which to search for engagement-resource associations.

            " + }, + "CreatedBy":{ + "shape":"AwsAccount", + "documentation":"

            Filters the results to include only associations with resources owned by the specified AWS account. Use this when you want to find associations related to resources owned by a particular account.

            " + }, + "EngagementIdentifier":{ + "shape":"EngagementIdentifier", + "documentation":"

            Filters the results to include only associations related to the specified engagement. Use this when you want to find all resources associated with a specific engagement.

            " + }, + "MaxResults":{ + "shape":"ListEngagementResourceAssociationsRequestMaxResultsInteger", + "documentation":"

            Limits the number of results returned in a single call. Use this to control the number of results returned, especially useful for pagination.

            " + }, + "NextToken":{ + "shape":"String", + "documentation":"

            A token used for pagination of results. Include this token in subsequent requests to retrieve the next set of results.

            " + }, + "ResourceIdentifier":{ + "shape":"ResourceIdentifier", + "documentation":"

            Filters the results to include only associations with the specified resource. Varies depending on the resource type. Use this when you want to find all engagements associated with a specific resource.

            " + }, + "ResourceType":{ + "shape":"ResourceType", + "documentation":"

            Filters the results to include only associations with resources of the specified type.

            " + } + } + }, + "ListEngagementResourceAssociationsRequestMaxResultsInteger":{ + "type":"integer", + "box":true, + "max":1000, + "min":1 + }, + "ListEngagementResourceAssociationsResponse":{ + "type":"structure", + "required":["EngagementResourceAssociationSummaries"], + "members":{ + "EngagementResourceAssociationSummaries":{ + "shape":"EngagementResourceAssociationSummaryList", + "documentation":"

            A list of engagement-resource association summaries.

            " + }, + "NextToken":{ + "shape":"String", + "documentation":"

            A token to retrieve the next set of results. Use this token in a subsequent request to retrieve additional results if the response was truncated.

            " + } + } + }, + "ListEngagementsRequest":{ + "type":"structure", + "required":["Catalog"], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog related to the request.

            " + }, + "CreatedBy":{ + "shape":"AwsAccountList", + "documentation":"

            A list of AWS account IDs. When specified, the response includes engagements created by these accounts. This filter is useful for finding engagements created by specific team members.

            " + }, + "EngagementIdentifier":{ + "shape":"EngagementIdentifiers", + "documentation":"

            An array of strings representing engagement identifiers to retrieve.

            " + }, + "ExcludeCreatedBy":{ + "shape":"AwsAccountList", + "documentation":"

            An array of strings representing AWS Account IDs. Use this to exclude engagements created by specific users.

            " + }, + "MaxResults":{ + "shape":"EngagementPageSize", + "documentation":"

            The maximum number of results to return in a single call.

            " + }, + "NextToken":{ + "shape":"String", + "documentation":"

            The token for the next set of results. This value is returned from a previous call.

            " + }, + "Sort":{ + "shape":"EngagementSort", + "documentation":"

            An object that specifies the sort order of the results.

            " + } + } + }, + "ListEngagementsResponse":{ + "type":"structure", + "required":["EngagementSummaryList"], + "members":{ + "EngagementSummaryList":{ + "shape":"EngagementSummaryList", + "documentation":"

            An array of engagement summary objects.

            " + }, + "NextToken":{ + "shape":"String", + "documentation":"

            The token to retrieve the next set of results. This field will be null if there are no more results.

            " + } + } + }, "ListOpportunitiesRequest":{ "type":"structure", "required":["Catalog"], "members":{ "Catalog":{ "shape":"CatalogIdentifier", - "documentation":"

            Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunities are listed in. Use AWS for listing real opportunities in the Amazon Web Services catalog, and Sandbox for testing in secure, isolated environments.

            " + "documentation":"

            Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunities are listed in. Use AWS for listing real opportunities in the Amazon Web Services catalog, and Sandbox for testing in secure, isolated environments.

            " }, "CustomerCompanyName":{ "shape":"ListOpportunitiesRequestCustomerCompanyNameList", @@ -2386,15 +3923,15 @@ }, "MaxResults":{ "shape":"PageSize", - "documentation":"

            Specifies the maximum number of results to return in a single call. This limits the number of opportunities returned in the response to avoid providing too many results at once.

            Default: 20

            " + "documentation":"

            Specifies the maximum number of results to return in a single call. This limits the number of opportunities returned in the response to avoid providing too many results at once.

            Default: 20

            " }, "NextToken":{ "shape":"String", - "documentation":"

            A pagination token used to retrieve the next set of results in subsequent calls. This token is included in the response only if there are additional result pages available.

            " + "documentation":"

            A pagination token used to retrieve the next set of results in subsequent calls. This token is included in the response only if there are additional result pages available.

            " }, "Sort":{ "shape":"OpportunitySort", - "documentation":"

            An object that specifies how the response is sorted. The default Sort.SortBy value is LastModifiedDate.

            " + "documentation":"

            An object that specifies how the response is sorted. The default Sort.SortBy value is LastModifiedDate.

            " } } }, @@ -2416,23 +3953,134 @@ "max":10, "min":0 }, - "ListOpportunitiesRequestLifeCycleStageList":{ - "type":"list", - "member":{"shape":"Stage"}, - "max":10, - "min":0 + "ListOpportunitiesRequestLifeCycleStageList":{ + "type":"list", + "member":{"shape":"Stage"}, + "max":10, + "min":0 + }, + "ListOpportunitiesResponse":{ + "type":"structure", + "required":["OpportunitySummaries"], + "members":{ + "NextToken":{ + "shape":"String", + "documentation":"

            A pagination token used to retrieve the next set of results in subsequent calls. This token is included in the response only if there are additional result pages available.

            " + }, + "OpportunitySummaries":{ + "shape":"OpportunitySummaries", + "documentation":"

            An array that contains minimal details for opportunities that match the request criteria. This summary view provides a quick overview of relevant opportunities.

            " + } + } + }, + "ListResourceSnapshotJobsRequest":{ + "type":"structure", + "required":["Catalog"], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog related to the request.

            " + }, + "EngagementIdentifier":{ + "shape":"EngagementIdentifier", + "documentation":"

            The identifier of the engagement to filter the response.

            " + }, + "MaxResults":{ + "shape":"ListResourceSnapshotJobsRequestMaxResultsInteger", + "documentation":"

            The maximum number of results to return in a single call. If omitted, defaults to 50.

            " + }, + "NextToken":{ + "shape":"String", + "documentation":"

            The token for the next set of results.

            " + }, + "Sort":{ + "shape":"SortObject", + "documentation":"

            Configures the sorting of the response. If omitted, results are sorted by CreatedDate in descending order.

            " + }, + "Status":{ + "shape":"ResourceSnapshotJobStatus", + "documentation":"

            The status of the jobs to filter the response.

            " + } + } + }, + "ListResourceSnapshotJobsRequestMaxResultsInteger":{ + "type":"integer", + "box":true, + "max":1000, + "min":1 + }, + "ListResourceSnapshotJobsResponse":{ + "type":"structure", + "required":["ResourceSnapshotJobSummaries"], + "members":{ + "NextToken":{ + "shape":"String", + "documentation":"

            The token to retrieve the next set of results. If there are no additional results, this value is null.

            " + }, + "ResourceSnapshotJobSummaries":{ + "shape":"ResourceSnapshotJobSummaryList", + "documentation":"

            An array of resource snapshot job summary objects.

            " + } + } + }, + "ListResourceSnapshotsRequest":{ + "type":"structure", + "required":[ + "Catalog", + "EngagementIdentifier" + ], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog related to the request.

            " + }, + "CreatedBy":{ + "shape":"AwsAccount", + "documentation":"

            Filters the response to include only snapshots of resources created by the specified AWS account.

            " + }, + "EngagementIdentifier":{ + "shape":"EngagementIdentifier", + "documentation":"

            The unique identifier of the engagement associated with the snapshots.

            " + }, + "MaxResults":{ + "shape":"ListResourceSnapshotsRequestMaxResultsInteger", + "documentation":"

            The maximum number of results to return in a single call.

            " + }, + "NextToken":{ + "shape":"String", + "documentation":"

            The token for the next set of results.

            " + }, + "ResourceIdentifier":{ + "shape":"ResourceIdentifier", + "documentation":"

            Filters the response to include only snapshots of the specified resource.

            " + }, + "ResourceSnapshotTemplateIdentifier":{ + "shape":"ResourceTemplateName", + "documentation":"

            Filters the response to include only snapshots created using the specified template.

            " + }, + "ResourceType":{ + "shape":"ResourceType", + "documentation":"

            Filters the response to include only snapshots of the specified resource type.

            " + } + } + }, + "ListResourceSnapshotsRequestMaxResultsInteger":{ + "type":"integer", + "box":true, + "max":1000, + "min":1 }, - "ListOpportunitiesResponse":{ + "ListResourceSnapshotsResponse":{ "type":"structure", - "required":["OpportunitySummaries"], + "required":["ResourceSnapshotSummaries"], "members":{ "NextToken":{ "shape":"String", - "documentation":"

            A pagination token used to retrieve the next set of results in subsequent calls. This token is included in the response only if there are additional result pages available.

            " + "documentation":"

            The token to retrieve the next set of results. If there are no additional results, this value is null.

            " }, - "OpportunitySummaries":{ - "shape":"OpportunitySummaries", - "documentation":"

            An array that contains minimal details for opportunities that match the request criteria. This summary view provides a quick overview of relevant opportunities.

            " + "ResourceSnapshotSummaries":{ + "shape":"ResourceSnapshotSummaryList", + "documentation":"

            An array of resource snapshot summary objects.

            " } } }, @@ -2442,7 +4090,7 @@ "members":{ "Catalog":{ "shape":"CatalogIdentifier", - "documentation":"

            Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the solutions are listed in. Use AWS to list solutions in the Amazon Web Services catalog, and Sandbox to list solutions in a secure and isolated testing environment.

            " + "documentation":"

            Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the solutions are listed in. Use AWS to list solutions in the Amazon Web Services catalog, and Sandbox to list solutions in a secure and isolated testing environment.

            " }, "Category":{ "shape":"ListSolutionsRequestCategoryList", @@ -2454,15 +4102,15 @@ }, "MaxResults":{ "shape":"PageSize", - "documentation":"

            The maximum number of results returned by a single call. This value must be provided in the next call to retrieve the next set of results.

            Default: 20

            " + "documentation":"

            The maximum number of results returned by a single call. This value must be provided in the next call to retrieve the next set of results.

            Default: 20

            " }, "NextToken":{ "shape":"String", - "documentation":"

            A pagination token used to retrieve the next set of results in subsequent calls. This token is included in the response only if there are additional result pages available.

            " + "documentation":"

            A pagination token used to retrieve the next set of results in subsequent calls. This token is included in the response only if there are additional result pages available.

            " }, "Sort":{ "shape":"SolutionSort", - "documentation":"

            Object that configures sorting done on the response. Default Sort.SortBy is Identifier.

            " + "documentation":"

            Object that configures sorting done on the response. Default Sort.SortBy is Identifier.

            " }, "Status":{ "shape":"ListSolutionsRequestStatusList", @@ -2494,7 +4142,7 @@ "members":{ "NextToken":{ "shape":"String", - "documentation":"

            A pagination token used to retrieve the next set of results in subsequent calls. This token is included in the response only if there are additional result pages available.

            " + "documentation":"

            A pagination token used to retrieve the next set of results in subsequent calls. This token is included in the response only if there are additional result pages available.

            " }, "SolutionSummaries":{ "shape":"SolutionList", @@ -2502,31 +4150,53 @@ } } }, + "ListTasksSortBase":{ + "type":"structure", + "required":[ + "SortBy", + "SortOrder" + ], + "members":{ + "SortBy":{ + "shape":"ListTasksSortName", + "documentation":"

            Specifies the field by which the task list should be sorted.

            " + }, + "SortOrder":{ + "shape":"SortOrder", + "documentation":"

            Determines the order in which the sorted results are presented.

            " + } + }, + "documentation":"

            Defines the sorting parameters for listing tasks. This structure allows for specifying the field to sort by and the order of sorting.

            " + }, + "ListTasksSortName":{ + "type":"string", + "enum":["StartTime"] + }, "Marketing":{ "type":"structure", "members":{ "AwsFundingUsed":{ "shape":"AwsFundingUsed", - "documentation":"

            Indicates if the Opportunity is a marketing development fund (MDF) funded activity.

            " + "documentation":"

            Indicates if the Opportunity is a marketing development fund (MDF) funded activity.

            " }, "CampaignName":{ "shape":"String", - "documentation":"

            Specifies the Opportunity marketing campaign code. The Amazon Web Services campaign code is a reference to specific marketing initiatives, promotions, or activities. This field captures the identifier used to track and categorize the Opportunity within marketing campaigns. If you don't have a campaign code, contact your Amazon Web Services point of contact to obtain one.

            " + "documentation":"

            Specifies the Opportunity marketing campaign code. The Amazon Web Services campaign code is a reference to specific marketing initiatives, promotions, or activities. This field captures the identifier used to track and categorize the Opportunity within marketing campaigns. If you don't have a campaign code, contact your Amazon Web Services point of contact to obtain one.

            " }, "Channels":{ "shape":"Channels", - "documentation":"

            Specifies the Opportunity's channel that the marketing activity is associated with or was contacted through. This field provides information about the specific marketing channel that contributed to the generation of the lead or contact.

            " + "documentation":"

            Specifies the Opportunity's channel that the marketing activity is associated with or was contacted through. This field provides information about the specific marketing channel that contributed to the generation of the lead or contact.

            " }, "Source":{ "shape":"MarketingSource", - "documentation":"

            Indicates if the Opportunity was sourced from an Amazon Web Services marketing activity. Use the value Marketing Activity. Use None if it's not associated with an Amazon Web Services marketing activity. This field helps Amazon Web Services track the return on marketing investments and enables better distribution of marketing budgets among partners.

            " + "documentation":"

            Indicates if the Opportunity was sourced from an Amazon Web Services marketing activity. Use the value Marketing Activity. Use None if it's not associated with an Amazon Web Services marketing activity. This field helps Amazon Web Services track the return on marketing investments and enables better distribution of marketing budgets among partners.

            " }, "UseCases":{ "shape":"UseCases", - "documentation":"

            Specifies the marketing activity use case or purpose that led to the Opportunity's creation or contact. This field captures the context or marketing activity's execution's intention and the direct correlation to the generated opportunity or contact. Must be empty when Marketing.AWSFundingUsed = No.

            Valid values: AI/ML | Analytics | Application Integration | Blockchain | Business Applications | Cloud Financial Management | Compute | Containers | Customer Engagement | Databases | Developer Tools | End User Computing | Front End Web & Mobile | Game Tech | IoT | Management & Governance | Media Services | Migration & Transfer | Networking & Content Delivery | Quantum Technologies | Robotics | Satellite | Security | Serverless | Storage | VR & AR

            " + "documentation":"

            Specifies the marketing activity use case or purpose that led to the Opportunity's creation or contact. This field captures the context or marketing activity's execution's intention and the direct correlation to the generated opportunity or contact. Must be empty when Marketing.AWSFundingUsed = No.

            Valid values: AI/ML | Analytics | Application Integration | Blockchain | Business Applications | Cloud Financial Management | Compute | Containers | Customer Engagement | Databases | Developer Tools | End User Computing | Front End Web & Mobile | Game Tech | IoT | Management & Governance | Media Services | Migration & Transfer | Networking & Content Delivery | Quantum Technologies | Robotics | Satellite | Security | Serverless | Storage | VR & AR

            " } }, - "documentation":"

            An object that contains marketing details for the Opportunity.

            " + "documentation":"

            An object that contains marketing details for the Opportunity.

            " }, "MarketingSource":{ "type":"string", @@ -2535,6 +4205,17 @@ "None" ] }, + "MemberCompanyName":{ + "type":"string", + "max":120, + "min":1 + }, + "MemberPageSize":{ + "type":"integer", + "box":true, + "max":10, + "min":1 + }, "MonetaryValue":{ "type":"structure", "required":[ @@ -2588,6 +4269,10 @@ }, "documentation":"

            Read-only; shows the last 50 values and change dates for the NextSteps field.

            " }, + "OpportunityArn":{ + "type":"string", + "pattern":"^arn:.*$" + }, "OpportunityEngagementInvitationSort":{ "type":"structure", "required":[ @@ -2614,6 +4299,12 @@ "type":"string", "pattern":"^O[0-9]{1,19}$" }, + "OpportunityIdentifiers":{ + "type":"list", + "member":{"shape":"OpportunityIdentifier"}, + "max":10, + "min":1 + }, "OpportunityInvitationPayload":{ "type":"structure", "required":[ @@ -2682,44 +4373,76 @@ "type":"structure", "required":["Catalog"], "members":{ + "Arn":{ + "shape":"OpportunityArn", + "documentation":"

            The Amazon Resource Name (ARN) for the opportunity. This globally unique identifier can be used for IAM policies and cross-service references.

            " + }, "Catalog":{ "shape":"CatalogIdentifier", "documentation":"

            Specifies the catalog associated with the opportunity, either AWS or Sandbox. This indicates the environment in which the opportunity is managed.

            " }, "CreatedDate":{ "shape":"DateTime", - "documentation":"

            DateTime when the Opportunity was last created.

            " + "documentation":"

            DateTime when the Opportunity was last created.

            " }, "Customer":{ "shape":"CustomerSummary", - "documentation":"

            An object that contains the Opportunity's customer details.

            " + "documentation":"

            An object that contains the Opportunity's customer details.

            " }, "Id":{ "shape":"OpportunityIdentifier", - "documentation":"

            Read-only, system-generated Opportunity unique identifier.

            " + "documentation":"

            Read-only, system-generated Opportunity unique identifier.

            " }, "LastModifiedDate":{ "shape":"DateTime", - "documentation":"

            DateTime when the Opportunity was last modified.

            " + "documentation":"

            DateTime when the Opportunity was last modified.

            " }, "LifeCycle":{ "shape":"LifeCycleSummary", - "documentation":"

            An object that contains the Opportunity's lifecycle details.

            " + "documentation":"

            An object that contains the Opportunity's lifecycle details.

            " }, "OpportunityType":{ "shape":"OpportunityType", - "documentation":"

            Specifies opportunity type as a renewal, new, or expansion.

            Opportunity types:

            • New Opportunity: Represents a new business opportunity with a potential customer that's not previously engaged with your solutions or services.

            • Renewal Opportunity: Represents an opportunity to renew an existing contract or subscription with a current customer, ensuring continuity of service.

            • Expansion Opportunity: Represents an opportunity to expand the scope of an existing contract or subscription, either by adding new services or increasing the volume of existing services for a current customer.

            " + "documentation":"

            Specifies opportunity type as a renewal, new, or expansion.

            Opportunity types:

            • New Opportunity: Represents a new business opportunity with a potential customer that's not previously engaged with your solutions or services.

            • Renewal Opportunity: Represents an opportunity to renew an existing contract or subscription with a current customer, ensuring continuity of service.

            • Expansion Opportunity: Represents an opportunity to expand the scope of an existing contract or subscription, either by adding new services or increasing the volume of existing services for a current customer.

            " }, "PartnerOpportunityIdentifier":{ "shape":"String", - "documentation":"

            Specifies the Opportunity's unique identifier in the partner's CRM system. This value is essential to track and reconcile because it's included in the outbound payload sent back to the partner. It allows partners to link an opportunity to their CRM.

            " + "documentation":"

            Specifies the Opportunity's unique identifier in the partner's CRM system. This value is essential to track and reconcile because it's included in the outbound payload sent back to the partner. It allows partners to link an opportunity to their CRM.

            " }, "Project":{ "shape":"ProjectSummary", - "documentation":"

            An object that contains the Opportunity's project details summary.

            " + "documentation":"

            An object that contains the Opportunity's project details summary.

            " } }, - "documentation":"

            An object that contains an Opportunity's subset of fields.

            " + "documentation":"

            An object that contains an Opportunity's subset of fields.

            " + }, + "OpportunitySummaryView":{ + "type":"structure", + "members":{ + "Customer":{"shape":"Customer"}, + "Lifecycle":{ + "shape":"LifeCycleForView", + "documentation":"

            Contains information about the opportunity's lifecycle, including its current stage, status, and important dates such as creation and last modification times.

            " + }, + "OpportunityTeam":{ + "shape":"PartnerOpportunityTeamMembersList", + "documentation":"

            Represents the internal team handling the opportunity. Specify the members involved in collaborating on an opportunity within the partner's organization.

            " + }, + "OpportunityType":{ + "shape":"OpportunityType", + "documentation":"

            Specifies the opportunity type.

            " + }, + "PrimaryNeedsFromAws":{ + "shape":"PrimaryNeedsFromAws", + "documentation":"

            Identifies the type of support the partner needs from AWS.

            " + }, + "Project":{ + "shape":"ProjectView", + "documentation":"

            Contains summary information about the project associated with the opportunity, including project name, description, timeline, and other relevant details.

            " + }, + "RelatedEntityIdentifiers":{"shape":"RelatedEntityIdentifiers"} + }, + "documentation":"

            Provides a comprehensive view of an opportunity summary, including lifecycle information, team details, opportunity type, primary needs from AWS, and associated project information.

            " }, "OpportunityType":{ "type":"string", @@ -2737,7 +4460,10 @@ }, "ParticipantType":{ "type":"string", - "enum":["RECEIVER"] + "enum":[ + "SENDER", + "RECEIVER" + ] }, "PartnerOpportunityTeamMembersList":{ "type":"list", @@ -2807,27 +4533,27 @@ "members":{ "AdditionalComments":{ "shape":"ProjectAdditionalCommentsString", - "documentation":"

            Captures additional comments or information for the Opportunity that weren't captured in other fields.

            " + "documentation":"

            Captures additional comments or information for the Opportunity that weren't captured in other fields.

            " }, "ApnPrograms":{ "shape":"ApnPrograms", - "documentation":"

            Specifies the Amazon Partner Network (APN) program that influenced the Opportunity. APN programs refer to specific partner programs or initiatives that can impact the Opportunity.

            Valid values: APN Immersion Days | APN Solution Space | ATO (Authority to Operate) | AWS Marketplace Campaign | IS Immersion Day SFID Program | ISV Workload Migration | Migration Acceleration Program | P3 | Partner Launch Initiative | Partner Opportunity Acceleration Funded | The Next Smart | VMware Cloud on AWS | Well-Architected | Windows | Workspaces/AppStream Accelerator Program | WWPS NDPP

            " + "documentation":"

            Specifies the Amazon Partner Network (APN) program that influenced the Opportunity. APN programs refer to specific partner programs or initiatives that can impact the Opportunity.

            Valid values: APN Immersion Days | APN Solution Space | ATO (Authority to Operate) | AWS Marketplace Campaign | IS Immersion Day SFID Program | ISV Workload Migration | Migration Acceleration Program | P3 | Partner Launch Initiative | Partner Opportunity Acceleration Funded | The Next Smart | VMware Cloud on AWS | Well-Architected | Windows | Workspaces/AppStream Accelerator Program | WWPS NDPP

            " }, "CompetitorName":{ "shape":"CompetitorName", - "documentation":"

            Name of the Opportunity's competitor (if any). Use Other to submit a value not in the picklist.

            " + "documentation":"

            Name of the Opportunity's competitor (if any). Use Other to submit a value not in the picklist.

            " }, "CustomerBusinessProblem":{ "shape":"ProjectCustomerBusinessProblemString", - "documentation":"

            Describes the problem the end customer has, and how the partner is helping. Utilize this field to provide a concise narrative that outlines the customer's business challenge or issue. Elaborate on how the partner's solution or offerings align to resolve the customer's business problem. Include relevant information about the partner's value proposition, unique selling points, and expertise to tackle the issue. Offer insights on how the proposed solution meets the customer's needs and provides value. Use concise language and precise descriptions to convey the context and significance of the Opportunity. The content in this field helps Amazon Web Services understand the nature of the Opportunity and the strategic fit of the partner's solution.

            " + "documentation":"

            Describes the problem the end customer has, and how the partner is helping. Utilize this field to provide a concise narrative that outlines the customer's business challenge or issue. Elaborate on how the partner's solution or offerings align to resolve the customer's business problem. Include relevant information about the partner's value proposition, unique selling points, and expertise to tackle the issue. Offer insights on how the proposed solution meets the customer's needs and provides value. Use concise language and precise descriptions to convey the context and significance of the Opportunity. The content in this field helps Amazon Web Services understand the nature of the Opportunity and the strategic fit of the partner's solution.

            " }, "CustomerUseCase":{ "shape":"String", - "documentation":"

            Specifies the proposed solution focus or type of workload for the Opportunity. This field captures the primary use case or objective of the proposed solution, and provides context and clarity to the addressed workload.

            Valid values: AI Machine Learning and Analytics | Archiving | Big Data: Data Warehouse/Data Integration/ETL/Data Lake/BI | Blockchain | Business Applications: Mainframe Modernization | Business Applications & Contact Center | Business Applications & SAP Production | Centralized Operations Management | Cloud Management Tools | Cloud Management Tools & DevOps with Continuous Integration & Continuous Delivery (CICD) | Configuration, Compliance & Auditing | Connected Services | Containers & Serverless | Content Delivery & Edge Services | Database | Edge Computing/End User Computing | Energy | Enterprise Governance & Controls | Enterprise Resource Planning | Financial Services | Healthcare and Life Sciences | High Performance Computing | Hybrid Application Platform | Industrial Software | IOT | Manufacturing, Supply Chain and Operations | Media & High performance computing (HPC) | Migration/Database Migration | Monitoring, logging and performance | Monitoring & Observability | Networking | Outpost | SAP | Security & Compliance | Storage & Backup | Training | VMC | VMWare | Web development & DevOps

            " + "documentation":"

            Specifies the proposed solution focus or type of workload for the Opportunity. This field captures the primary use case or objective of the proposed solution, and provides context and clarity to the addressed workload.

            Valid values: AI Machine Learning and Analytics | Archiving | Big Data: Data Warehouse/Data Integration/ETL/Data Lake/BI | Blockchain | Business Applications: Mainframe Modernization | Business Applications & Contact Center | Business Applications & SAP Production | Centralized Operations Management | Cloud Management Tools | Cloud Management Tools & DevOps with Continuous Integration & Continuous Delivery (CICD) | Configuration, Compliance & Auditing | Connected Services | Containers & Serverless | Content Delivery & Edge Services | Database | Edge Computing/End User Computing | Energy | Enterprise Governance & Controls | Enterprise Resource Planning | Financial Services | Healthcare and Life Sciences | High Performance Computing | Hybrid Application Platform | Industrial Software | IOT | Manufacturing, Supply Chain and Operations | Media & High performance computing (HPC) | Migration/Database Migration | Monitoring, logging and performance | Monitoring & Observability | Networking | Outpost | SAP | Security & Compliance | Storage & Backup | Training | VMC | VMWare | Web development & DevOps

            " }, "DeliveryModels":{ "shape":"DeliveryModels", - "documentation":"

            Specifies the deployment or consumption model for your solution or service in the Opportunity's context. You can select multiple options.

            Options' descriptions from the Delivery Model field are:

            • SaaS or PaaS: Your Amazon Web Services based solution deployed as SaaS or PaaS in your Amazon Web Services environment.

            • BYOL or AMI: Your Amazon Web Services based solution deployed as BYOL or AMI in the end customer's Amazon Web Services environment.

            • Managed Services: The end customer's Amazon Web Services business management (For example: Consulting, design, implementation, billing support, cost optimization, technical support).

            • Professional Services: Offerings to help enterprise end customers achieve specific business outcomes for enterprise cloud adoption (For example: Advisory or transformation planning).

            • Resell: Amazon Web Services accounts and billing management for your customers.

            • Other: Delivery model not described above.

            " + "documentation":"

            Specifies the deployment or consumption model for your solution or service in the Opportunity's context. You can select multiple options.

            Options' descriptions from the Delivery Model field are:

            • SaaS or PaaS: Your Amazon Web Services based solution deployed as SaaS or PaaS in your Amazon Web Services environment.

            • BYOL or AMI: Your Amazon Web Services based solution deployed as BYOL or AMI in the end customer's Amazon Web Services environment.

            • Managed Services: The end customer's Amazon Web Services business management (For example: Consulting, design, implementation, billing support, cost optimization, technical support).

            • Professional Services: Offerings to help enterprise end customers achieve specific business outcomes for enterprise cloud adoption (For example: Advisory or transformation planning).

            • Resell: Amazon Web Services accounts and billing management for your customers.

            • Other: Delivery model not described above.

            " }, "ExpectedCustomerSpend":{ "shape":"ExpectedCustomerSpendList", @@ -2835,26 +4561,26 @@ }, "OtherCompetitorNames":{ "shape":"ProjectOtherCompetitorNamesString", - "documentation":"

            Only allowed when CompetitorNames has Other selected.

            " + "documentation":"

            Only allowed when CompetitorNames has Other selected.

            " }, "OtherSolutionDescription":{ "shape":"ProjectOtherSolutionDescriptionString", - "documentation":"

            Specifies the offered solution for the customer's business problem when the RelatedEntityIdentifiers.Solutions field value is Other.

            " + "documentation":"

            Specifies the offered solution for the customer's business problem when the RelatedEntityIdentifiers.Solutions field value is Other.

            " }, "RelatedOpportunityIdentifier":{ "shape":"OpportunityIdentifier", - "documentation":"

            Specifies the current opportunity's parent opportunity identifier.

            " + "documentation":"

            Specifies the current opportunity's parent opportunity identifier.

            " }, "SalesActivities":{ "shape":"SalesActivities", - "documentation":"

            Specifies the Opportunity's sales activities conducted with the end customer. These activities help drive Amazon Web Services assignment priority.

            Valid values:

            • Initialized discussions with customer: Initial conversations with the customer to understand their needs and introduce your solution.

            • Customer has shown interest in solution: After initial discussions, the customer is interested in your solution.

            • Conducted POC/demo: You conducted a proof of concept (POC) or demonstration of the solution for the customer.

            • In evaluation/planning stage: The customer is evaluating the solution and planning potential implementation.

            • Agreed on solution to Business Problem: Both parties agree on how the solution addresses the customer's business problem.

            • Completed Action Plan: A detailed action plan is complete and outlines the steps for implementation.

            • Finalized Deployment Need: Both parties agree with and finalized the deployment needs.

            • SOW Signed: Both parties signed a statement of work (SOW), and formalize the agreement and detail the project scope and deliverables.

            " + "documentation":"

            Specifies the Opportunity's sales activities conducted with the end customer. These activities help drive Amazon Web Services assignment priority.

            Valid values:

            • Initialized discussions with customer: Initial conversations with the customer to understand their needs and introduce your solution.

            • Customer has shown interest in solution: After initial discussions, the customer is interested in your solution.

            • Conducted POC/demo: You conducted a proof of concept (POC) or demonstration of the solution for the customer.

            • In evaluation/planning stage: The customer is evaluating the solution and planning potential implementation.

            • Agreed on solution to Business Problem: Both parties agree on how the solution addresses the customer's business problem.

            • Completed Action Plan: A detailed action plan is complete and outlines the steps for implementation.

            • Finalized Deployment Need: Both parties agree with and finalized the deployment needs.

            • SOW Signed: Both parties signed a statement of work (SOW), and formalize the agreement and detail the project scope and deliverables.

            " }, "Title":{ "shape":"ProjectTitleString", - "documentation":"

            Specifies the Opportunity's title or name.

            " + "documentation":"

            Specifies the Opportunity's title or name.

            " } }, - "documentation":"

            An object that contains the Opportunity's project details.

            " + "documentation":"

            An object that contains the Opportunity's project details.

            " }, "ProjectAdditionalCommentsString":{ "type":"string", @@ -2916,14 +4642,14 @@ "members":{ "DeliveryModels":{ "shape":"DeliveryModels", - "documentation":"

            Specifies your solution or service's deployment or consumption model in the Opportunity's context. You can select multiple options.

            Options' descriptions from the Delivery Model field are:

            • SaaS or PaaS: Your Amazon Web Services based solution deployed as SaaS or PaaS in your Amazon Web Services environment.

            • BYOL or AMI: Your Amazon Web Services based solution deployed as BYOL or AMI in the end customer's Amazon Web Services environment.

            • Managed Services: The end customer's Amazon Web Services business management (For example: Consulting, design, implementation, billing support, cost optimization, technical support).

            • Professional Services: Offerings to help enterprise end customers achieve specific business outcomes for enterprise cloud adoption (For example: Advisory or transformation planning).

            • Resell: Amazon Web Services accounts and billing management for your customers.

            • Other: Delivery model not described above.

            " + "documentation":"

            Specifies your solution or service's deployment or consumption model in the Opportunity's context. You can select multiple options.

            Options' descriptions from the Delivery Model field are:

            • SaaS or PaaS: Your Amazon Web Services based solution deployed as SaaS or PaaS in your Amazon Web Services environment.

            • BYOL or AMI: Your Amazon Web Services based solution deployed as BYOL or AMI in the end customer's Amazon Web Services environment.

            • Managed Services: The end customer's Amazon Web Services business management (For example: Consulting, design, implementation, billing support, cost optimization, technical support).

            • Professional Services: Offerings to help enterprise end customers achieve specific business outcomes for enterprise cloud adoption (For example: Advisory or transformation planning).

            • Resell: Amazon Web Services accounts and billing management for your customers.

            • Other: Delivery model not described above.

            " }, "ExpectedCustomerSpend":{ "shape":"ExpectedCustomerSpendList", "documentation":"

            Provides a summary of the expected customer spend for the project, offering a high-level view of the potential financial impact.

            " } }, - "documentation":"

            An object that contains a Project object's subset of fields.

            " + "documentation":"

            An object that contains a Project object's subset of fields.

            " }, "ProjectTitleString":{ "type":"string", @@ -2931,20 +4657,88 @@ "min":0, "sensitive":true }, + "ProjectView":{ + "type":"structure", + "members":{ + "CustomerUseCase":{ + "shape":"String", + "documentation":"

            Specifies the proposed solution focus or type of workload for the project.

            " + }, + "DeliveryModels":{ + "shape":"DeliveryModels", + "documentation":"

            Describes the deployment or consumption model for the partner solution or offering. This field indicates how the project's solution will be delivered or implemented for the customer.

            " + }, + "ExpectedCustomerSpend":{ + "shape":"ExpectedCustomerSpendList", + "documentation":"

            Provides information about the anticipated customer spend related to this project. This may include details such as amount, frequency, and currency of expected expenditure.

            " + }, + "OtherSolutionDescription":{ + "shape":"ProjectViewOtherSolutionDescriptionString", + "documentation":"

            Offers a description of other solutions if the standard solutions do not adequately cover the project's scope.

            " + }, + "SalesActivities":{ + "shape":"SalesActivities", + "documentation":"

            Lists the pre-sales activities that have occurred with the end-customer related to the opportunity. This field is conditionally mandatory when the project is qualified for Co-Sell and helps drive assignment priority on the AWS side. It provides insight into the engagement level with the customer.

            " + } + }, + "documentation":"

            Provides the project view of an opportunity resource shared through a snapshot.

            " + }, + "ProjectViewOtherSolutionDescriptionString":{ + "type":"string", + "max":255, + "min":0, + "sensitive":true + }, + "PutSellingSystemSettingsRequest":{ + "type":"structure", + "required":["Catalog"], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog in which the settings will be updated. Acceptable values include AWS for production and Sandbox for testing environments.

            " + }, + "ResourceSnapshotJobRoleIdentifier":{ + "shape":"ResourceSnapshotJobRoleIdentifier", + "documentation":"

            Specifies the ARN of the IAM Role used for resource snapshot job executions.

            " + } + } + }, + "PutSellingSystemSettingsResponse":{ + "type":"structure", + "required":["Catalog"], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog in which the settings are defined. Acceptable values include AWS for production and Sandbox for testing environments.

            " + }, + "ResourceSnapshotJobRoleArn":{ + "shape":"ResourceSnapshotJobRoleArn", + "documentation":"

            Specifies the ARN of the IAM Role used for resource snapshot job executions.

            " + } + } + }, "ReasonCode":{ "type":"string", "enum":[ "InvitationAccessDenied", + "InvitationValidationFailed", "EngagementAccessDenied", "OpportunityAccessDenied", "ResourceSnapshotJobAccessDenied", + "ResourceSnapshotJobValidationFailed", + "ResourceSnapshotJobConflict", "EngagementValidationFailed", + "EngagementConflict", "OpportunitySubmissionFailed", "EngagementInvitationConflict", - "InternalError", "OpportunityValidationFailed", "OpportunityConflict", - "ResourceSnapshotAccessDenied" + "ResourceSnapshotAccessDenied", + "ResourceSnapshotValidationFailed", + "ResourceSnapshotConflict", + "InternalError", + "ServiceQuotaExceeded", + "RequestThrottled" ] }, "Receiver":{ @@ -3006,18 +4800,18 @@ "members":{ "AwsMarketplaceOffers":{ "shape":"AwsMarketplaceOfferIdentifiers", - "documentation":"

            Takes one value per opportunity. Each value is an Amazon Resource Name (ARN), in this format: \"offers\": [\"arn:aws:aws-marketplace:us-east-1:999999999999:AWSMarketplace/Offer/offer-sampleOffer32\"].

            Use the ListEntities action in the Marketplace Catalog APIs for a list of offers in the associated Marketplace seller account.

            " + "documentation":"

            Takes one value per opportunity. Each value is an Amazon Resource Name (ARN), in this format: \"offers\": [\"arn:aws:aws-marketplace:us-east-1:999999999999:AWSMarketplace/Offer/offer-sampleOffer32\"].

            Use the ListEntities action in the Marketplace Catalog APIs for a list of offers in the associated Marketplace seller account.

            " }, "AwsProducts":{ "shape":"AwsProductIdentifiers", - "documentation":"

            Enables the association of specific Amazon Web Services products with the Opportunity. Partners can indicate the relevant Amazon Web Services products for the Opportunity's solution and align with the customer's needs. Returns multiple values separated by commas. For example, \"AWSProducts\" : [\"AmazonRedshift\", \"AWSAppFabric\", \"AWSCleanRooms\"].

            Use the file with the list of Amazon Web Services products hosted on GitHub: Amazon Web Services products.

            " + "documentation":"

            Enables the association of specific Amazon Web Services products with the Opportunity. Partners can indicate the relevant Amazon Web Services products for the Opportunity's solution and align with the customer's needs. Returns multiple values separated by commas. For example, \"AWSProducts\" : [\"AmazonRedshift\", \"AWSAppFabric\", \"AWSCleanRooms\"].

            Use the file with the list of Amazon Web Services products hosted on GitHub: Amazon Web Services products.

            " }, "Solutions":{ "shape":"SolutionIdentifiers", - "documentation":"

            Enables partner solutions or offerings' association with an opportunity. To associate a solution, provide the solution's unique identifier, which you can obtain with the ListSolutions operation.

            If the specific solution identifier is not available, you can use the value Other and provide details about the solution in the otherSolutionOffered field. But when the opportunity reaches the Committed stage or beyond, the Other value cannot be used, and a valid solution identifier must be provided.

            By associating the relevant solutions with the opportunity, you can communicate the offerings that are being considered or implemented to address the customer's business problem.

            " + "documentation":"

            Enables partner solutions or offerings' association with an opportunity. To associate a solution, provide the solution's unique identifier, which you can obtain with the ListSolutions operation.

            If the specific solution identifier is not available, you can use the value Other and provide details about the solution in the otherSolutionOffered field. But when the opportunity reaches the Committed stage or beyond, the Other value cannot be used, and a valid solution identifier must be provided.

            By associating the relevant solutions with the opportunity, you can communicate the offerings that are being considered or implemented to address the customer's business problem.

            " } }, - "documentation":"

            This field provides the associations' information for other entities with the opportunity. These entities include identifiers for AWSProducts, Partner Solutions, and AWSMarketplaceOffers.

            " + "documentation":"

            This field provides the associations' information for other entities with the opportunity. These entities include identifiers for AWSProducts, Partner Solutions, and AWSMarketplaceOffers.

            " }, "RelatedEntityType":{ "type":"string", @@ -3027,14 +4821,137 @@ "AwsMarketplaceOffers" ] }, + "ResourceArn":{ + "type":"string", + "pattern":"^arn:.*" + }, + "ResourceIdentifier":{ + "type":"string", + "pattern":"^O[0-9]{1,19}$" + }, "ResourceNotFoundException":{ "type":"structure", "members":{ "Message":{"shape":"String"} }, - "documentation":"

            This error occurs when the specified resource can't be found. The resource might not exist, or isn't visible with the current credentials.

            Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.

            ", + "documentation":"

            This error occurs when the specified resource can't be found. The resource might not exist, or isn't visible with the current credentials.

            Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.

            ", "exception":true }, + "ResourceSnapshotArn":{ + "type":"string", + "pattern":"^arn:.*" + }, + "ResourceSnapshotJobArn":{ + "type":"string", + "pattern":"^arn:.*" + }, + "ResourceSnapshotJobIdentifier":{ + "type":"string", + "pattern":"^job-[0-9a-z]{13}$" + }, + "ResourceSnapshotJobRoleArn":{ + "type":"string", + "max":2048, + "min":0, + "pattern":"^arn:aws:iam::\\d{12}:role/([-+=,.@_a-zA-Z0-9]+/)*[-+=,.@_a-zA-Z0-9]{1,64}$" + }, + "ResourceSnapshotJobRoleIdentifier":{ + "type":"string", + "max":2048, + "min":0, + "pattern":"^(arn:aws:iam::\\d{12}:role/([-+=,.@_a-zA-Z0-9]+/)*)?[-+=,.@_a-zA-Z0-9]{1,64}$" + }, + "ResourceSnapshotJobStatus":{ + "type":"string", + "enum":[ + "Running", + "Stopped" + ] + }, + "ResourceSnapshotJobSummary":{ + "type":"structure", + "members":{ + "Arn":{ + "shape":"ResourceSnapshotJobArn", + "documentation":"

            The Amazon Resource Name (ARN) for the resource snapshot job.

            " + }, + "EngagementId":{ + "shape":"EngagementIdentifier", + "documentation":"

            The unique identifier for the engagement within the AWS Partner Central system. This ID is used for direct references to the engagement within the service.

            " + }, + "Id":{ + "shape":"ResourceSnapshotJobIdentifier", + "documentation":"

            The unique identifier for the resource snapshot job within the AWS Partner Central system. This ID is used for direct references to the job within the service.

            " + }, + "Status":{ + "shape":"ResourceSnapshotJobStatus", + "documentation":"

            Represents the current status of the resource snapshot job.

            " + } + }, + "documentation":"

            An object that contains a Resource Snapshot Job's subset of fields.

            " + }, + "ResourceSnapshotJobSummaryList":{ + "type":"list", + "member":{"shape":"ResourceSnapshotJobSummary"} + }, + "ResourceSnapshotPayload":{ + "type":"structure", + "members":{ + "OpportunitySummary":{ + "shape":"OpportunitySummaryView", + "documentation":"

            An object that contains an opportunity's subset of fields.

            " + } + }, + "documentation":"

            Represents the payload of a resource snapshot. This structure is designed to accommodate different types of resource snapshots, currently supporting opportunity summaries.

            ", + "union":true + }, + "ResourceSnapshotRevision":{ + "type":"integer", + "box":true, + "min":1 + }, + "ResourceSnapshotSummary":{ + "type":"structure", + "members":{ + "Arn":{ + "shape":"ResourceSnapshotArn", + "documentation":"

            The Amazon Resource Name (ARN) of the snapshot. This globally unique identifier can be used for cross-service references and in IAM policies.

            " + }, + "CreatedBy":{ + "shape":"AwsAccount", + "documentation":"

            The AWS account ID of the principal (user or role) who created the snapshot. This helps in tracking the origin of the snapshot.

            " + }, + "ResourceId":{ + "shape":"ResourceIdentifier", + "documentation":"

            The identifier of the specific resource snapshotted. The format might vary depending on the ResourceType.

            " + }, + "ResourceSnapshotTemplateName":{ + "shape":"ResourceTemplateName", + "documentation":"

            The name of the template used to create the snapshot.

            " + }, + "ResourceType":{ + "shape":"ResourceType", + "documentation":"

            The type of resource snapshotted.

            " + }, + "Revision":{ + "shape":"ResourceSnapshotRevision", + "documentation":"

            The revision number of the snapshot. This integer value is incremented each time the snapshot is updated, allowing for version tracking of the resource snapshot.

            " + } + }, + "documentation":"

            Provides a concise summary of a resource snapshot, including its unique identifier and version information. This structure is used to quickly reference and identify specific versions of resource snapshots.

            " + }, + "ResourceSnapshotSummaryList":{ + "type":"list", + "member":{"shape":"ResourceSnapshotSummary"} + }, + "ResourceTemplateName":{ + "type":"string", + "pattern":"^[a-zA-Z0-9]{3,80}$" + }, + "ResourceType":{ + "type":"string", + "enum":["Opportunity"] + }, "RevenueModel":{ "type":"string", "enum":[ @@ -3084,26 +5001,26 @@ "members":{ "BusinessTitle":{ "shape":"JobTitle", - "documentation":"

            The sender-provided contact's title (job title or role) associated with the EngagementInvitation.

            " + "documentation":"

            The sender-provided contact's title (job title or role) associated with the EngagementInvitation.

            " }, "Email":{ "shape":"SenderContactEmail", - "documentation":"

            The sender-provided contact's email address associated with the EngagementInvitation.

            " + "documentation":"

            The sender-provided contact's email address associated with the EngagementInvitation.

            " }, "FirstName":{ "shape":"Name", - "documentation":"

            The sender-provided contact's last name associated with the EngagementInvitation.

            " + "documentation":"

            The sender-provided contact's last name associated with the EngagementInvitation.

            " }, "LastName":{ "shape":"Name", - "documentation":"

            The sender-provided contact's first name associated with the EngagementInvitation.

            " + "documentation":"

            The sender-provided contact's first name associated with the EngagementInvitation.

            " }, "Phone":{ "shape":"PhoneNumber", - "documentation":"

            The sender-provided contact's phone number associated with the EngagementInvitation.

            " + "documentation":"

            The sender-provided contact's phone number associated with the EngagementInvitation.

            " } }, - "documentation":"

            An object that contains the details of the sender-provided contact person for the EngagementInvitation.

            " + "documentation":"

            An object that contains the details of the sender-provided contact person for the EngagementInvitation.

            " }, "SenderContactEmail":{ "type":"string", @@ -3123,7 +5040,7 @@ "members":{ "Message":{"shape":"String"} }, - "documentation":"

            This error occurs when the request would cause a service quota to be exceeded. Service quotas represent the maximum allowed use of a specific resource, and this error indicates that the request would surpass that limit.

            Suggested action: Review the Quotas for the resource, and either reduce usage or request a quota increase.

            ", + "documentation":"

            This error occurs when the request would cause a service quota to be exceeded. Service quotas represent the maximum allowed use of a specific resource, and this error indicates that the request would surpass that limit.

            Suggested action: Review the Quotas for the resource, and either reduce usage or request a quota increase.

            ", "exception":true }, "SoftwareRevenue":{ @@ -3131,15 +5048,15 @@ "members":{ "DeliveryModel":{ "shape":"RevenueModel", - "documentation":"

            Specifies the customer's intended payment type agreement or procurement method to acquire the solution or service outlined in the Opportunity.

            " + "documentation":"

            Specifies the customer's intended payment type agreement or procurement method to acquire the solution or service outlined in the Opportunity.

            " }, "EffectiveDate":{ "shape":"Date", - "documentation":"

            Specifies the Opportunity's customer engagement start date for the contract's effectiveness.

            " + "documentation":"

            Specifies the Opportunity's customer engagement start date for the contract's effectiveness.

            " }, "ExpirationDate":{ "shape":"Date", - "documentation":"

            Specifies the expiration date for the contract between the customer and Amazon Web Services partner. It signifies the termination date of the agreed-upon engagement period between both parties.

            " + "documentation":"

            Specifies the expiration date for the contract between the customer and Amazon Web Services partner. It signifies the termination date of the agreed-upon engagement period between both parties.

            " }, "Value":{ "shape":"MonetaryValue", @@ -3148,6 +5065,10 @@ }, "documentation":"

            Specifies a customer's procurement terms details. Required only for partners in eligible programs.

            " }, + "SolutionArn":{ + "type":"string", + "pattern":"^S-[0-9]{1,19}$" + }, "SolutionBase":{ "type":"structure", "required":[ @@ -3159,13 +5080,17 @@ "Status" ], "members":{ + "Arn":{ + "shape":"SolutionArn", + "documentation":"

            The SolutionBase structure provides essential information about a solution.

            " + }, "Catalog":{ "shape":"CatalogIdentifier", "documentation":"

            Specifies the catalog in which the solution is hosted, either AWS or Sandbox. This helps partners differentiate between live solutions and those in testing environments.

            " }, "Category":{ "shape":"String", - "documentation":"

            Specifies the solution category, which helps to categorize and organize the solutions partners offer. Valid values: Software Product | Consulting Service | Hardware Product | Communications Product | Professional Service | Managed Service | Value-Added Resale Amazon Web Services Service | Distribution Service | Training Service | Merger and Acquisition Advising Service.

            " + "documentation":"

            Specifies the solution category, which helps to categorize and organize the solutions partners offer. Valid values: Software Product | Consulting Service | Hardware Product | Communications Product | Professional Service | Managed Service | Value-Added Resale Amazon Web Services Service | Distribution Service | Training Service | Merger and Acquisition Advising Service.

            " }, "CreatedDate":{ "shape":"DateTime", @@ -3181,7 +5106,7 @@ }, "Status":{ "shape":"SolutionStatus", - "documentation":"

            Specifies the solution's current status, which indicates its state in the system. Valid values: Active | Inactive | Draft. The status helps partners and Amazon Web Services track the solution's lifecycle and availability. Filter for Active solutions for association to an opportunity.

            " + "documentation":"

            Specifies the solution's current status, which indicates its state in the system. Valid values: Active | Inactive | Draft. The status helps partners and Amazon Web Services track the solution's lifecycle and availability. Filter for Active solutions for association to an opportunity.

            " } }, "documentation":"

            Specifies minimal information for the solution offered to solve the customer's business problem.

            " @@ -3207,14 +5132,14 @@ "members":{ "SortBy":{ "shape":"SolutionSortName", - "documentation":"

            Specifies the attribute to sort by, such as Name, CreatedDate, or Status.

            " + "documentation":"

            Specifies the attribute to sort by, such as Name, CreatedDate, or Status.

            " }, "SortOrder":{ "shape":"SortOrder", - "documentation":"

            Specifies the sorting order, either Ascending or Descending. The default is Descending.

            " + "documentation":"

            Specifies the sorting order, either Ascending or Descending. The default is Descending.

            " } }, - "documentation":"

            Configures the solutions' response sorting that enables partners to order solutions based on specified attributes.

            " + "documentation":"

            Configures the solutions' response sorting that enables partners to order solutions based on specified attributes.

            " }, "SolutionSortName":{ "type":"string", @@ -3234,6 +5159,24 @@ "Draft" ] }, + "SortBy":{ + "type":"string", + "enum":["CreatedDate"] + }, + "SortObject":{ + "type":"structure", + "members":{ + "SortBy":{ + "shape":"SortBy", + "documentation":"

            Specifies the field by which to sort the resource snapshot jobs.

            " + }, + "SortOrder":{ + "shape":"SortOrder", + "documentation":"

            Determines the order in which the sorted results are presented.

            " + } + }, + "documentation":"

            Defines the sorting parameters for listing resource snapshot jobs. This structure allows you to specify the field to sort by and the order of sorting.

            " + }, "SortOrder":{ "type":"string", "enum":[ @@ -3300,6 +5243,10 @@ "shape":"ReasonCode", "documentation":"

            Indicates the reason for task failure using an enumerated code.

            " }, + "ResourceSnapshotJobId":{ + "shape":"ResourceSnapshotJobIdentifier", + "documentation":"

            The identifier of the resource snapshot job created as part of this task.

            " + }, "StartTime":{ "shape":"DateTime", "documentation":"

            The timestamp indicating when the task was initiated. The format follows RFC 3339 section 5.6.

            " @@ -3351,6 +5298,14 @@ "StartEngagementFromOpportunityTaskResponse":{ "type":"structure", "members":{ + "EngagementId":{ + "shape":"EngagementIdentifier", + "documentation":"

            The identifier of the newly created engagement. Only populated if TaskStatus is COMPLETE.

            " + }, + "EngagementInvitationId":{ + "shape":"EngagementInvitationIdentifier", + "documentation":"

            The identifier of the new engagement invitation. Only populated if TaskStatus is COMPLETE.

            " + }, "Message":{ "shape":"String", "documentation":"

            If the task fails, this field contains a detailed message describing the failure and possible recovery steps.

            " @@ -3363,6 +5318,10 @@ "shape":"ReasonCode", "documentation":"

            Indicates the reason for task failure using an enumerated code.

            " }, + "ResourceSnapshotJobId":{ + "shape":"ResourceSnapshotJobIdentifier", + "documentation":"

            The identifier of the resource snapshot job created to add the opportunity resource snapshot to the Engagement. Only populated if TaskStatus is COMPLETE.

            " + }, "StartTime":{ "shape":"DateTime", "documentation":"

            The timestamp indicating when the task was initiated. The format follows RFC 3339 section 5.6.

            " @@ -3381,15 +5340,85 @@ } } }, + "StartResourceSnapshotJobRequest":{ + "type":"structure", + "required":[ + "Catalog", + "ResourceSnapshotJobIdentifier" + ], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog related to the request.

            " + }, + "ResourceSnapshotJobIdentifier":{ + "shape":"ResourceSnapshotJobIdentifier", + "documentation":"

            The identifier of the resource snapshot job to start.

            " + } + } + }, + "StopResourceSnapshotJobRequest":{ + "type":"structure", + "required":[ + "Catalog", + "ResourceSnapshotJobIdentifier" + ], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog related to the request.

            " + }, + "ResourceSnapshotJobIdentifier":{ + "shape":"ResourceSnapshotJobIdentifier", + "documentation":"

            The identifier of the job to stop.

            " + } + } + }, "String":{"type":"string"}, + "SubmitOpportunityRequest":{ + "type":"structure", + "required":[ + "Catalog", + "Identifier", + "InvolvementType" + ], + "members":{ + "Catalog":{ + "shape":"CatalogIdentifier", + "documentation":"

            Specifies the catalog related to the request.

            " + }, + "Identifier":{ + "shape":"OpportunityIdentifier", + "documentation":"

            The identifier of the opportunity previously created by partner and needs to be submitted.

            " + }, + "InvolvementType":{ + "shape":"SalesInvolvementType", + "documentation":"

            Specifies the level of AWS sellers' involvement on the opportunity.

            " + }, + "Visibility":{ + "shape":"Visibility", + "documentation":"

            Determines whether to restrict visibility of the opportunity from AWS sales. Default value is Full.

            " + } + } + }, "TaskArn":{ "type":"string", "pattern":"^arn:.*" }, + "TaskArnOrIdentifier":{ + "type":"string", + "pattern":"^(arn:.*|task-[0-9a-z]{13})$" + }, "TaskIdentifier":{ "type":"string", "pattern":"task-[0-9a-z]{13}$" }, + "TaskIdentifiers":{ + "type":"list", + "member":{"shape":"TaskArnOrIdentifier"}, + "max":10, + "min":1 + }, "TaskStatus":{ "type":"string", "enum":[ @@ -3398,12 +5427,18 @@ "FAILED" ] }, + "TaskStatuses":{ + "type":"list", + "member":{"shape":"TaskStatus"}, + "max":3, + "min":1 + }, "ThrottlingException":{ "type":"structure", "members":{ "Message":{"shape":"String"} }, - "documentation":"

            This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling.

            This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.

            ", + "documentation":"

            This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling.

            This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.

            ", "exception":true }, "UpdateOpportunityRequest":{ @@ -3416,27 +5451,27 @@ "members":{ "Catalog":{ "shape":"CatalogIdentifier", - "documentation":"

            Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity is updated in. Use AWS to update real opportunities in the production environment, and Sandbox for testing in secure, isolated environments. When you use the Sandbox catalog, it allows you to simulate and validate your interactions with Amazon Web Services services without affecting live data or operations.

            " + "documentation":"

            Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity is updated in. Use AWS to update real opportunities in the production environment, and Sandbox for testing in secure, isolated environments. When you use the Sandbox catalog, it allows you to simulate and validate your interactions with Amazon Web Services services without affecting live data or operations.

            " }, "Customer":{ "shape":"Customer", - "documentation":"

            Specifies details of the customer associated with the Opportunity.

            " + "documentation":"

            Specifies details of the customer associated with the Opportunity.

            " }, "Identifier":{ "shape":"OpportunityIdentifier", - "documentation":"

            Read-only, system generated Opportunity unique identifier.

            " + "documentation":"

            Read-only, system generated Opportunity unique identifier.

            " }, "LastModifiedDate":{ "shape":"DateTime", - "documentation":"

            DateTime when the opportunity was last modified.

            " + "documentation":"

            DateTime when the opportunity was last modified.

            " }, "LifeCycle":{ "shape":"LifeCycle", - "documentation":"

            An object that contains lifecycle details for the Opportunity.

            " + "documentation":"

            An object that contains lifecycle details for the Opportunity.

            " }, "Marketing":{ "shape":"Marketing", - "documentation":"

            An object that contains marketing details for the Opportunity.

            " + "documentation":"

            An object that contains marketing details for the Opportunity.

            " }, "NationalSecurity":{ "shape":"NationalSecurity", @@ -3444,19 +5479,19 @@ }, "OpportunityType":{ "shape":"OpportunityType", - "documentation":"

            Specifies the opportunity type as a renewal, new, or expansion.

            Opportunity types:

            • New opportunity: Represents a new business opportunity with a potential customer that's not previously engaged with your solutions or services.

            • Renewal opportunity: Represents an opportunity to renew an existing contract or subscription with a current customer, ensuring continuity of service.

            • Expansion opportunity: Represents an opportunity to expand the scope of an existing contract or subscription, either by adding new services or increasing the volume of existing services for a current customer.

            " + "documentation":"

            Specifies the opportunity type as a renewal, new, or expansion.

            Opportunity types:

            • New opportunity: Represents a new business opportunity with a potential customer that's not previously engaged with your solutions or services.

            • Renewal opportunity: Represents an opportunity to renew an existing contract or subscription with a current customer, ensuring continuity of service.

            • Expansion opportunity: Represents an opportunity to expand the scope of an existing contract or subscription, either by adding new services or increasing the volume of existing services for a current customer.

            " }, "PartnerOpportunityIdentifier":{ "shape":"UpdateOpportunityRequestPartnerOpportunityIdentifierString", - "documentation":"

            Specifies the opportunity's unique identifier in the partner's CRM system. This value is essential to track and reconcile because it's included in the outbound payload sent back to the partner.

            " + "documentation":"

            Specifies the opportunity's unique identifier in the partner's CRM system. This value is essential to track and reconcile because it's included in the outbound payload sent back to the partner.

            " }, "PrimaryNeedsFromAws":{ "shape":"PrimaryNeedsFromAws", - "documentation":"

            Identifies the type of support the partner needs from Amazon Web Services.

            Valid values:

            • Cosell—Architectural Validation: Confirmation from Amazon Web Services that the partner's proposed solution architecture is aligned with Amazon Web Services best practices and poses minimal architectural risks.

            • Cosell—Business Presentation: Request Amazon Web Services seller's participation in a joint customer presentation.

            • Cosell—Competitive Information: Access to Amazon Web Services competitive resources and support for the partner's proposed solution.

            • Cosell—Pricing Assistance: Connect with an AWS seller for support situations where a partner may be receiving an upfront discount on a service (for example: EDP deals).

            • Cosell—Technical Consultation: Connection with an Amazon Web Services Solutions Architect to address the partner's questions about the proposed solution.

            • Cosell—Total Cost of Ownership Evaluation: Assistance with quoting different cost savings of proposed solutions on Amazon Web Services versus on-premises or a traditional hosting environment.

            • Cosell—Deal Support: Request Amazon Web Services seller's support to progress the opportunity (for example: joint customer call, strategic positioning).

            • Cosell—Support for Public Tender/RFx: Opportunity related to the public sector where the partner needs RFx support from Amazon Web Services.

            • Do Not Need Support from AWS Sales Rep: Indicates that a partner doesn't need support from an Amazon Web Services Sales representative. The opportunity is managed solely by the partner. It's possible to request coselling support on these opportunities at any stage during their lifecycle. Also known as, for-visibility-only (FVO) opportunity.

            " + "documentation":"

            Identifies the type of support the partner needs from Amazon Web Services.

            Valid values:

            • Cosell—Architectural Validation: Confirmation from Amazon Web Services that the partner's proposed solution architecture is aligned with Amazon Web Services best practices and poses minimal architectural risks.

            • Cosell—Business Presentation: Request Amazon Web Services seller's participation in a joint customer presentation.

            • Cosell—Competitive Information: Access to Amazon Web Services competitive resources and support for the partner's proposed solution.

            • Cosell—Pricing Assistance: Connect with an AWS seller for support situations where a partner may be receiving an upfront discount on a service (for example: EDP deals).

            • Cosell—Technical Consultation: Connection with an Amazon Web Services Solutions Architect to address the partner's questions about the proposed solution.

            • Cosell—Total Cost of Ownership Evaluation: Assistance with quoting different cost savings of proposed solutions on Amazon Web Services versus on-premises or a traditional hosting environment.

            • Cosell—Deal Support: Request Amazon Web Services seller's support to progress the opportunity (for example: joint customer call, strategic positioning).

            • Cosell—Support for Public Tender/RFx: Opportunity related to the public sector where the partner needs RFx support from Amazon Web Services.

            • Do Not Need Support from AWS Sales Rep: Indicates that a partner doesn't need support from an Amazon Web Services Sales representative. The opportunity is managed solely by the partner. It's possible to request coselling support on these opportunities at any stage during their lifecycle. Also known as, for-visibility-only (FVO) opportunity.

            " }, "Project":{ "shape":"Project", - "documentation":"

            An object that contains project details summary for the Opportunity.

            " + "documentation":"

            An object that contains project details summary for the Opportunity.

            " }, "SoftwareRevenue":{ "shape":"SoftwareRevenue", @@ -3478,11 +5513,11 @@ "members":{ "Id":{ "shape":"OpportunityIdentifier", - "documentation":"

            Read-only, system generated Opportunity unique identifier.

            " + "documentation":"

            Read-only, system generated Opportunity unique identifier.

            " }, "LastModifiedDate":{ "shape":"DateTime", - "documentation":"

            DateTime when the opportunity was last modified.

            " + "documentation":"

            DateTime when the opportunity was last modified.

            " } } }, @@ -3499,15 +5534,15 @@ "members":{ "ErrorList":{ "shape":"ValidationExceptionErrorList", - "documentation":"

            A list of issues that were discovered in the submitted request or the resource state.

            " + "documentation":"

            A list of issues that were discovered in the submitted request or the resource state.

            " }, "Message":{"shape":"String"}, "Reason":{ "shape":"ValidationExceptionReason", - "documentation":"

            The primary reason for this validation exception to occur.

            • REQUEST_VALIDATION_FAILED: The request format is not valid.

              Fix: Verify your request payload includes all required fields, uses correct data types and string formats.

            • BUSINESS_VALIDATION_FAILED: The requested change doesn't pass the business validation rules.

              Fix: Check that your change aligns with the business rules defined by AWS Partner Central.

            " + "documentation":"

            The primary reason for this validation exception to occur.

            • REQUEST_VALIDATION_FAILED: The request format is not valid.

              Fix: Verify your request payload includes all required fields, uses correct data types and string formats.

            • BUSINESS_VALIDATION_FAILED: The requested change doesn't pass the business validation rules.

              Fix: Check that your change aligns with the business rules defined by AWS Partner Central.

            " } }, - "documentation":"

            The input fails to satisfy the constraints specified by the service or business validation rules.

            Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.

            ", + "documentation":"

            The input fails to satisfy the constraints specified by the service or business validation rules.

            Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.

            ", "exception":true }, "ValidationExceptionError":{ @@ -3530,7 +5565,7 @@ "documentation":"

            Specifies the detailed error message for the invalid field value.

            " } }, - "documentation":"

            Indicates an invalid value for a field.

            • REQUIRED_FIELD_MISSING: The request is missing a required field.

              Fix: Verify your request payload includes all required fields.

            • INVALID_ENUM_VALUE: The enum field value isn't an accepted values.

              Fix: Check the documentation for the list of valid enum values, and update your request with a valid value.

            • INVALID_STRING_FORMAT: The string format is invalid.

              Fix: Confirm that the string is in the expected format (For example: email address, date).

            • INVALID_VALUE: The value isn't valid.

              Fix: Confirm that the value meets the expected criteria and is within the allowable range or set.

            • TOO_MANY_VALUES: There are too many values in a field that expects fewer entries.

              Fix: Reduce the number of values to match the expected limit.

            • ACTION_NOT_PERMITTED: The action isn't permitted due to current state or permissions.

              Fix: Verify that the action is appropriate for the current state, and that you have the necessary permissions to perform it.

            • DUPLICATE_KEY_VALUE: The value in a field duplicates a value that must be unique.

              Fix: Verify that the value is unique and doesn't duplicate an existing value in the system.

            " + "documentation":"

            Indicates an invalid value for a field.

            • REQUIRED_FIELD_MISSING: The request is missing a required field.

              Fix: Verify your request payload includes all required fields.

            • INVALID_ENUM_VALUE: The enum field value isn't an accepted values.

              Fix: Check the documentation for the list of valid enum values, and update your request with a valid value.

            • INVALID_STRING_FORMAT: The string format is invalid.

              Fix: Confirm that the string is in the expected format (For example: email address, date).

            • INVALID_VALUE: The value isn't valid.

              Fix: Confirm that the value meets the expected criteria and is within the allowable range or set.

            • TOO_MANY_VALUES: There are too many values in a field that expects fewer entries.

              Fix: Reduce the number of values to match the expected limit.

            • ACTION_NOT_PERMITTED: The action isn't permitted due to current state or permissions.

              Fix: Verify that the action is appropriate for the current state, and that you have the necessary permissions to perform it.

            • DUPLICATE_KEY_VALUE: The value in a field duplicates a value that must be unique.

              Fix: Verify that the value is unique and doesn't duplicate an existing value in the system.

            " }, "ValidationExceptionErrorCode":{ "type":"string", diff --git a/tools/code-generation/api-descriptions/qbusiness-2023-11-27.normal.json b/tools/code-generation/api-descriptions/qbusiness-2023-11-27.normal.json index cad3f65daf3..da91069559d 100644 --- a/tools/code-generation/api-descriptions/qbusiness-2023-11-27.normal.json +++ b/tools/code-generation/api-descriptions/qbusiness-2023-11-27.normal.json @@ -1102,7 +1102,7 @@ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

            Searches for relevant content in a Q Business application based on a query. This operation takes a search query text, the Q Business application identifier, and optional filters (such as user ID, user groups, content source, and maximum results) as input. It returns a list of relevant content items, where each item includes the content text, the unique document identifier, the document title, the document URI, any relevant document attributes, and score attributes indicating the confidence level of the relevance.

            " + "documentation":"

            Searches for relevant content in a Q Business application based on a query. This operation takes a search query text, the Q Business application identifier, and optional filters (such as content source and maximum results) as input. It returns a list of relevant content items, where each item includes the content text, the unique document identifier, the document title, the document URI, any relevant document attributes, and score attributes indicating the confidence level of the relevance.

            " }, "StartDataSourceSyncJob":{ "name":"StartDataSourceSyncJob", @@ -7289,18 +7289,6 @@ "location":"uri", "locationName":"applicationId" }, - "userId":{ - "shape":"UserId", - "documentation":"

            The ID of the user performing the search. Used for access control.

            ", - "location":"querystring", - "locationName":"userId" - }, - "userGroups":{ - "shape":"UserGroups", - "documentation":"

            The groups the user belongs to. Used for access control.

            ", - "location":"querystring", - "locationName":"userGroups" - }, "queryText":{ "shape":"QueryText", "documentation":"

            The text to search for.

            "