/** * 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 UpdateControlRequest : public AuditManagerRequest { public: AWS_AUDITMANAGER_API UpdateControlRequest(); // 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 "UpdateControl"; } AWS_AUDITMANAGER_API Aws::String SerializePayload() const override; /** *

The identifier for the control.

*/ inline const Aws::String& GetControlId() const{ return m_controlId; } /** *

The identifier for the control.

*/ inline bool ControlIdHasBeenSet() const { return m_controlIdHasBeenSet; } /** *

The identifier for the control.

*/ inline void SetControlId(const Aws::String& value) { m_controlIdHasBeenSet = true; m_controlId = value; } /** *

The identifier for the control.

*/ inline void SetControlId(Aws::String&& value) { m_controlIdHasBeenSet = true; m_controlId = std::move(value); } /** *

The identifier for the control.

*/ inline void SetControlId(const char* value) { m_controlIdHasBeenSet = true; m_controlId.assign(value); } /** *

The identifier for the control.

*/ inline UpdateControlRequest& WithControlId(const Aws::String& value) { SetControlId(value); return *this;} /** *

The identifier for the control.

*/ inline UpdateControlRequest& WithControlId(Aws::String&& value) { SetControlId(std::move(value)); return *this;} /** *

The identifier for the control.

*/ inline UpdateControlRequest& WithControlId(const char* value) { SetControlId(value); return *this;} /** *

The name of the updated control.

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

The name of the updated control.

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

The name of the updated control.

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

The name of the updated control.

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

The name of the updated control.

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

The name of the updated control.

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

The name of the updated control.

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

The name of the updated control.

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

The optional description of the control.

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

The optional description of the control.

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

The optional description of the control.

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

The optional description of the control.

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

The optional description of the control.

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

The optional description of the control.

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

The optional description of the control.

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

The optional description of the control.

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

The steps that you should follow to determine if the control is met.

*/ inline const Aws::String& GetTestingInformation() const{ return m_testingInformation; } /** *

The steps that you should follow to determine if the control is met.

*/ inline bool TestingInformationHasBeenSet() const { return m_testingInformationHasBeenSet; } /** *

The steps that you should follow to determine if the control is met.

*/ inline void SetTestingInformation(const Aws::String& value) { m_testingInformationHasBeenSet = true; m_testingInformation = value; } /** *

The steps that you should follow to determine if the control is met.

*/ inline void SetTestingInformation(Aws::String&& value) { m_testingInformationHasBeenSet = true; m_testingInformation = std::move(value); } /** *

The steps that you should follow to determine if the control is met.

*/ inline void SetTestingInformation(const char* value) { m_testingInformationHasBeenSet = true; m_testingInformation.assign(value); } /** *

The steps that you should follow to determine if the control is met.

*/ inline UpdateControlRequest& WithTestingInformation(const Aws::String& value) { SetTestingInformation(value); return *this;} /** *

The steps that you should follow to determine if the control is met.

*/ inline UpdateControlRequest& WithTestingInformation(Aws::String&& value) { SetTestingInformation(std::move(value)); return *this;} /** *

The steps that you should follow to determine if the control is met.

*/ inline UpdateControlRequest& WithTestingInformation(const char* value) { SetTestingInformation(value); return *this;} /** *

The title of the action plan for remediating the control.

*/ inline const Aws::String& GetActionPlanTitle() const{ return m_actionPlanTitle; } /** *

The title of the action plan for remediating the control.

*/ inline bool ActionPlanTitleHasBeenSet() const { return m_actionPlanTitleHasBeenSet; } /** *

The title of the action plan for remediating the control.

*/ inline void SetActionPlanTitle(const Aws::String& value) { m_actionPlanTitleHasBeenSet = true; m_actionPlanTitle = value; } /** *

The title of the action plan for remediating the control.

*/ inline void SetActionPlanTitle(Aws::String&& value) { m_actionPlanTitleHasBeenSet = true; m_actionPlanTitle = std::move(value); } /** *

The title of the action plan for remediating the control.

*/ inline void SetActionPlanTitle(const char* value) { m_actionPlanTitleHasBeenSet = true; m_actionPlanTitle.assign(value); } /** *

The title of the action plan for remediating the control.

*/ inline UpdateControlRequest& WithActionPlanTitle(const Aws::String& value) { SetActionPlanTitle(value); return *this;} /** *

The title of the action plan for remediating the control.

*/ inline UpdateControlRequest& WithActionPlanTitle(Aws::String&& value) { SetActionPlanTitle(std::move(value)); return *this;} /** *

The title of the action plan for remediating the control.

*/ inline UpdateControlRequest& WithActionPlanTitle(const char* value) { SetActionPlanTitle(value); return *this;} /** *

The recommended actions to carry out if the control isn't fulfilled.

*/ inline const Aws::String& GetActionPlanInstructions() const{ return m_actionPlanInstructions; } /** *

The recommended actions to carry out if the control isn't fulfilled.

*/ inline bool ActionPlanInstructionsHasBeenSet() const { return m_actionPlanInstructionsHasBeenSet; } /** *

The recommended actions to carry out if the control isn't fulfilled.

*/ inline void SetActionPlanInstructions(const Aws::String& value) { m_actionPlanInstructionsHasBeenSet = true; m_actionPlanInstructions = value; } /** *

The recommended actions to carry out if the control isn't fulfilled.

*/ inline void SetActionPlanInstructions(Aws::String&& value) { m_actionPlanInstructionsHasBeenSet = true; m_actionPlanInstructions = std::move(value); } /** *

The recommended actions to carry out if the control isn't fulfilled.

*/ inline void SetActionPlanInstructions(const char* value) { m_actionPlanInstructionsHasBeenSet = true; m_actionPlanInstructions.assign(value); } /** *

The recommended actions to carry out if the control isn't fulfilled.

*/ inline UpdateControlRequest& WithActionPlanInstructions(const Aws::String& value) { SetActionPlanInstructions(value); return *this;} /** *

The recommended actions to carry out if the control isn't fulfilled.

*/ inline UpdateControlRequest& WithActionPlanInstructions(Aws::String&& value) { SetActionPlanInstructions(std::move(value)); return *this;} /** *

The recommended actions to carry out if the control isn't fulfilled.

*/ inline UpdateControlRequest& WithActionPlanInstructions(const char* value) { SetActionPlanInstructions(value); return *this;} /** *

The data mapping sources for the control.

*/ inline const Aws::Vector& GetControlMappingSources() const{ return m_controlMappingSources; } /** *

The data mapping sources for the control.

*/ inline bool ControlMappingSourcesHasBeenSet() const { return m_controlMappingSourcesHasBeenSet; } /** *

The data mapping sources for the control.

*/ inline void SetControlMappingSources(const Aws::Vector& value) { m_controlMappingSourcesHasBeenSet = true; m_controlMappingSources = value; } /** *

The data mapping sources for the control.

*/ inline void SetControlMappingSources(Aws::Vector&& value) { m_controlMappingSourcesHasBeenSet = true; m_controlMappingSources = std::move(value); } /** *

The data mapping sources for the control.

*/ inline UpdateControlRequest& WithControlMappingSources(const Aws::Vector& value) { SetControlMappingSources(value); return *this;} /** *

The data mapping sources for the control.

*/ inline UpdateControlRequest& WithControlMappingSources(Aws::Vector&& value) { SetControlMappingSources(std::move(value)); return *this;} /** *

The data mapping sources for the control.

*/ inline UpdateControlRequest& AddControlMappingSources(const ControlMappingSource& value) { m_controlMappingSourcesHasBeenSet = true; m_controlMappingSources.push_back(value); return *this; } /** *

The data mapping sources for the control.

*/ inline UpdateControlRequest& AddControlMappingSources(ControlMappingSource&& value) { m_controlMappingSourcesHasBeenSet = true; m_controlMappingSources.push_back(std::move(value)); return *this; } private: Aws::String m_controlId; bool m_controlIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_testingInformation; bool m_testingInformationHasBeenSet = false; Aws::String m_actionPlanTitle; bool m_actionPlanTitleHasBeenSet = false; Aws::String m_actionPlanInstructions; bool m_actionPlanInstructionsHasBeenSet = false; Aws::Vector m_controlMappingSources; bool m_controlMappingSourcesHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws