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

The unique identifier for the control.

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

The unique identifier for the control.

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

The unique identifier for the control.

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

The unique identifier for the control.

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

The unique identifier for the control.

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

The unique identifier for the control.

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

The unique identifier for the control.

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

The unique identifier for the control.

*/ inline DeleteControlRequest& WithControlId(const char* value) { SetControlId(value); return *this;} private: Aws::String m_controlId; bool m_controlIdHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws