/** * 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 LookoutEquipment { namespace Model { /** */ class DeleteLabelRequest : public LookoutEquipmentRequest { public: AWS_LOOKOUTEQUIPMENT_API DeleteLabelRequest(); // 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 "DeleteLabel"; } AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override; AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the label group that contains the label that you want to delete. * Data in this field will be retained for service usage. Follow best practices for * the security of your data.

*/ inline const Aws::String& GetLabelGroupName() const{ return m_labelGroupName; } /** *

The name of the label group that contains the label that you want to delete. * Data in this field will be retained for service usage. Follow best practices for * the security of your data.

*/ inline bool LabelGroupNameHasBeenSet() const { return m_labelGroupNameHasBeenSet; } /** *

The name of the label group that contains the label that you want to delete. * Data in this field will be retained for service usage. Follow best practices for * the security of your data.

*/ inline void SetLabelGroupName(const Aws::String& value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName = value; } /** *

The name of the label group that contains the label that you want to delete. * Data in this field will be retained for service usage. Follow best practices for * the security of your data.

*/ inline void SetLabelGroupName(Aws::String&& value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName = std::move(value); } /** *

The name of the label group that contains the label that you want to delete. * Data in this field will be retained for service usage. Follow best practices for * the security of your data.

*/ inline void SetLabelGroupName(const char* value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName.assign(value); } /** *

The name of the label group that contains the label that you want to delete. * Data in this field will be retained for service usage. Follow best practices for * the security of your data.

*/ inline DeleteLabelRequest& WithLabelGroupName(const Aws::String& value) { SetLabelGroupName(value); return *this;} /** *

The name of the label group that contains the label that you want to delete. * Data in this field will be retained for service usage. Follow best practices for * the security of your data.

*/ inline DeleteLabelRequest& WithLabelGroupName(Aws::String&& value) { SetLabelGroupName(std::move(value)); return *this;} /** *

The name of the label group that contains the label that you want to delete. * Data in this field will be retained for service usage. Follow best practices for * the security of your data.

*/ inline DeleteLabelRequest& WithLabelGroupName(const char* value) { SetLabelGroupName(value); return *this;} /** *

The ID of the label that you want to delete.

*/ inline const Aws::String& GetLabelId() const{ return m_labelId; } /** *

The ID of the label that you want to delete.

*/ inline bool LabelIdHasBeenSet() const { return m_labelIdHasBeenSet; } /** *

The ID of the label that you want to delete.

*/ inline void SetLabelId(const Aws::String& value) { m_labelIdHasBeenSet = true; m_labelId = value; } /** *

The ID of the label that you want to delete.

*/ inline void SetLabelId(Aws::String&& value) { m_labelIdHasBeenSet = true; m_labelId = std::move(value); } /** *

The ID of the label that you want to delete.

*/ inline void SetLabelId(const char* value) { m_labelIdHasBeenSet = true; m_labelId.assign(value); } /** *

The ID of the label that you want to delete.

*/ inline DeleteLabelRequest& WithLabelId(const Aws::String& value) { SetLabelId(value); return *this;} /** *

The ID of the label that you want to delete.

*/ inline DeleteLabelRequest& WithLabelId(Aws::String&& value) { SetLabelId(std::move(value)); return *this;} /** *

The ID of the label that you want to delete.

*/ inline DeleteLabelRequest& WithLabelId(const char* value) { SetLabelId(value); return *this;} private: Aws::String m_labelGroupName; bool m_labelGroupNameHasBeenSet = false; Aws::String m_labelId; bool m_labelIdHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws