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

The name of the label group to be updated.

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

The name of the label group to be updated.

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

The name of the label group to be updated.

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

The name of the label group to be updated.

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

The name of the label group to be updated.

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

The name of the label group to be updated.

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

The name of the label group to be updated.

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

The name of the label group to be updated.

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

Updates the code indicating the type of anomaly associated with the label. *

Data in this field will be retained for service usage. Follow best * practices for the security of your data.

*/ inline const Aws::Vector& GetFaultCodes() const{ return m_faultCodes; } /** *

Updates the code indicating the type of anomaly associated with the label. *

Data in this field will be retained for service usage. Follow best * practices for the security of your data.

*/ inline bool FaultCodesHasBeenSet() const { return m_faultCodesHasBeenSet; } /** *

Updates the code indicating the type of anomaly associated with the label. *

Data in this field will be retained for service usage. Follow best * practices for the security of your data.

*/ inline void SetFaultCodes(const Aws::Vector& value) { m_faultCodesHasBeenSet = true; m_faultCodes = value; } /** *

Updates the code indicating the type of anomaly associated with the label. *

Data in this field will be retained for service usage. Follow best * practices for the security of your data.

*/ inline void SetFaultCodes(Aws::Vector&& value) { m_faultCodesHasBeenSet = true; m_faultCodes = std::move(value); } /** *

Updates the code indicating the type of anomaly associated with the label. *

Data in this field will be retained for service usage. Follow best * practices for the security of your data.

*/ inline UpdateLabelGroupRequest& WithFaultCodes(const Aws::Vector& value) { SetFaultCodes(value); return *this;} /** *

Updates the code indicating the type of anomaly associated with the label. *

Data in this field will be retained for service usage. Follow best * practices for the security of your data.

*/ inline UpdateLabelGroupRequest& WithFaultCodes(Aws::Vector&& value) { SetFaultCodes(std::move(value)); return *this;} /** *

Updates the code indicating the type of anomaly associated with the label. *

Data in this field will be retained for service usage. Follow best * practices for the security of your data.

*/ inline UpdateLabelGroupRequest& AddFaultCodes(const Aws::String& value) { m_faultCodesHasBeenSet = true; m_faultCodes.push_back(value); return *this; } /** *

Updates the code indicating the type of anomaly associated with the label. *

Data in this field will be retained for service usage. Follow best * practices for the security of your data.

*/ inline UpdateLabelGroupRequest& AddFaultCodes(Aws::String&& value) { m_faultCodesHasBeenSet = true; m_faultCodes.push_back(std::move(value)); return *this; } /** *

Updates the code indicating the type of anomaly associated with the label. *

Data in this field will be retained for service usage. Follow best * practices for the security of your data.

*/ inline UpdateLabelGroupRequest& AddFaultCodes(const char* value) { m_faultCodesHasBeenSet = true; m_faultCodes.push_back(value); return *this; } private: Aws::String m_labelGroupName; bool m_labelGroupNameHasBeenSet = false; Aws::Vector m_faultCodes; bool m_faultCodesHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws