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

The unique identifier for the framework.

*/ inline const Aws::String& GetFrameworkId() const{ return m_frameworkId; } /** *

The unique identifier for the framework.

*/ inline bool FrameworkIdHasBeenSet() const { return m_frameworkIdHasBeenSet; } /** *

The unique identifier for the framework.

*/ inline void SetFrameworkId(const Aws::String& value) { m_frameworkIdHasBeenSet = true; m_frameworkId = value; } /** *

The unique identifier for the framework.

*/ inline void SetFrameworkId(Aws::String&& value) { m_frameworkIdHasBeenSet = true; m_frameworkId = std::move(value); } /** *

The unique identifier for the framework.

*/ inline void SetFrameworkId(const char* value) { m_frameworkIdHasBeenSet = true; m_frameworkId.assign(value); } /** *

The unique identifier for the framework.

*/ inline UpdateAssessmentFrameworkRequest& WithFrameworkId(const Aws::String& value) { SetFrameworkId(value); return *this;} /** *

The unique identifier for the framework.

*/ inline UpdateAssessmentFrameworkRequest& WithFrameworkId(Aws::String&& value) { SetFrameworkId(std::move(value)); return *this;} /** *

The unique identifier for the framework.

*/ inline UpdateAssessmentFrameworkRequest& WithFrameworkId(const char* value) { SetFrameworkId(value); return *this;} /** *

The name of the framework to be updated.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the framework to be updated.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the framework to be updated.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the framework to be updated.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the framework to be updated.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the framework to be updated.

*/ inline UpdateAssessmentFrameworkRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the framework to be updated.

*/ inline UpdateAssessmentFrameworkRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the framework to be updated.

*/ inline UpdateAssessmentFrameworkRequest& WithName(const char* value) { SetName(value); return *this;} /** *

The description of the updated framework.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the updated framework.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the updated framework.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the updated framework.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the updated framework.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the updated framework.

*/ inline UpdateAssessmentFrameworkRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the updated framework.

*/ inline UpdateAssessmentFrameworkRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the updated framework.

*/ inline UpdateAssessmentFrameworkRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The compliance type that the new custom framework supports, such as CIS or * HIPAA.

*/ inline const Aws::String& GetComplianceType() const{ return m_complianceType; } /** *

The compliance type that the new custom framework supports, such as CIS or * HIPAA.

*/ inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; } /** *

The compliance type that the new custom framework supports, such as CIS or * HIPAA.

*/ inline void SetComplianceType(const Aws::String& value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; } /** *

The compliance type that the new custom framework supports, such as CIS or * HIPAA.

*/ inline void SetComplianceType(Aws::String&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::move(value); } /** *

The compliance type that the new custom framework supports, such as CIS or * HIPAA.

*/ inline void SetComplianceType(const char* value) { m_complianceTypeHasBeenSet = true; m_complianceType.assign(value); } /** *

The compliance type that the new custom framework supports, such as CIS or * HIPAA.

*/ inline UpdateAssessmentFrameworkRequest& WithComplianceType(const Aws::String& value) { SetComplianceType(value); return *this;} /** *

The compliance type that the new custom framework supports, such as CIS or * HIPAA.

*/ inline UpdateAssessmentFrameworkRequest& WithComplianceType(Aws::String&& value) { SetComplianceType(std::move(value)); return *this;} /** *

The compliance type that the new custom framework supports, such as CIS or * HIPAA.

*/ inline UpdateAssessmentFrameworkRequest& WithComplianceType(const char* value) { SetComplianceType(value); return *this;} /** *

The control sets that are associated with the framework.

*/ inline const Aws::Vector& GetControlSets() const{ return m_controlSets; } /** *

The control sets that are associated with the framework.

*/ inline bool ControlSetsHasBeenSet() const { return m_controlSetsHasBeenSet; } /** *

The control sets that are associated with the framework.

*/ inline void SetControlSets(const Aws::Vector& value) { m_controlSetsHasBeenSet = true; m_controlSets = value; } /** *

The control sets that are associated with the framework.

*/ inline void SetControlSets(Aws::Vector&& value) { m_controlSetsHasBeenSet = true; m_controlSets = std::move(value); } /** *

The control sets that are associated with the framework.

*/ inline UpdateAssessmentFrameworkRequest& WithControlSets(const Aws::Vector& value) { SetControlSets(value); return *this;} /** *

The control sets that are associated with the framework.

*/ inline UpdateAssessmentFrameworkRequest& WithControlSets(Aws::Vector&& value) { SetControlSets(std::move(value)); return *this;} /** *

The control sets that are associated with the framework.

*/ inline UpdateAssessmentFrameworkRequest& AddControlSets(const UpdateAssessmentFrameworkControlSet& value) { m_controlSetsHasBeenSet = true; m_controlSets.push_back(value); return *this; } /** *

The control sets that are associated with the framework.

*/ inline UpdateAssessmentFrameworkRequest& AddControlSets(UpdateAssessmentFrameworkControlSet&& value) { m_controlSetsHasBeenSet = true; m_controlSets.push_back(std::move(value)); return *this; } private: Aws::String m_frameworkId; bool m_frameworkIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_complianceType; bool m_complianceTypeHasBeenSet = false; Aws::Vector m_controlSets; bool m_controlSetsHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws