/** * 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 AuditManager { namespace Model { /** */ class BatchDeleteDelegationByAssessmentRequest : public AuditManagerRequest { public: AWS_AUDITMANAGER_API BatchDeleteDelegationByAssessmentRequest(); // 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 "BatchDeleteDelegationByAssessment"; } AWS_AUDITMANAGER_API Aws::String SerializePayload() const override; /** *

The identifiers for the delegations.

*/ inline const Aws::Vector& GetDelegationIds() const{ return m_delegationIds; } /** *

The identifiers for the delegations.

*/ inline bool DelegationIdsHasBeenSet() const { return m_delegationIdsHasBeenSet; } /** *

The identifiers for the delegations.

*/ inline void SetDelegationIds(const Aws::Vector& value) { m_delegationIdsHasBeenSet = true; m_delegationIds = value; } /** *

The identifiers for the delegations.

*/ inline void SetDelegationIds(Aws::Vector&& value) { m_delegationIdsHasBeenSet = true; m_delegationIds = std::move(value); } /** *

The identifiers for the delegations.

*/ inline BatchDeleteDelegationByAssessmentRequest& WithDelegationIds(const Aws::Vector& value) { SetDelegationIds(value); return *this;} /** *

The identifiers for the delegations.

*/ inline BatchDeleteDelegationByAssessmentRequest& WithDelegationIds(Aws::Vector&& value) { SetDelegationIds(std::move(value)); return *this;} /** *

The identifiers for the delegations.

*/ inline BatchDeleteDelegationByAssessmentRequest& AddDelegationIds(const Aws::String& value) { m_delegationIdsHasBeenSet = true; m_delegationIds.push_back(value); return *this; } /** *

The identifiers for the delegations.

*/ inline BatchDeleteDelegationByAssessmentRequest& AddDelegationIds(Aws::String&& value) { m_delegationIdsHasBeenSet = true; m_delegationIds.push_back(std::move(value)); return *this; } /** *

The identifiers for the delegations.

*/ inline BatchDeleteDelegationByAssessmentRequest& AddDelegationIds(const char* value) { m_delegationIdsHasBeenSet = true; m_delegationIds.push_back(value); return *this; } /** *

The identifier for the assessment.

*/ inline const Aws::String& GetAssessmentId() const{ return m_assessmentId; } /** *

The identifier for the assessment.

*/ inline bool AssessmentIdHasBeenSet() const { return m_assessmentIdHasBeenSet; } /** *

The identifier for the assessment.

*/ inline void SetAssessmentId(const Aws::String& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = value; } /** *

The identifier for the assessment.

*/ inline void SetAssessmentId(Aws::String&& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = std::move(value); } /** *

The identifier for the assessment.

*/ inline void SetAssessmentId(const char* value) { m_assessmentIdHasBeenSet = true; m_assessmentId.assign(value); } /** *

The identifier for the assessment.

*/ inline BatchDeleteDelegationByAssessmentRequest& WithAssessmentId(const Aws::String& value) { SetAssessmentId(value); return *this;} /** *

The identifier for the assessment.

*/ inline BatchDeleteDelegationByAssessmentRequest& WithAssessmentId(Aws::String&& value) { SetAssessmentId(std::move(value)); return *this;} /** *

The identifier for the assessment.

*/ inline BatchDeleteDelegationByAssessmentRequest& WithAssessmentId(const char* value) { SetAssessmentId(value); return *this;} private: Aws::Vector m_delegationIds; bool m_delegationIdsHasBeenSet = false; Aws::String m_assessmentId; bool m_assessmentIdHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws