/** * 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 DescribeLabelRequest : public LookoutEquipmentRequest { public: AWS_LOOKOUTEQUIPMENT_API DescribeLabelRequest(); // 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 "DescribeLabel"; } AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override; AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Returns the name of the group containing the label.

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

Returns the name of the group containing the label.

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

Returns the name of the group containing the label.

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

Returns the name of the group containing the label.

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

Returns the name of the group containing the label.

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

Returns the name of the group containing the label.

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

Returns the name of the group containing the label.

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

Returns the name of the group containing the label.

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

Returns the ID of the label.

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

Returns the ID of the label.

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

Returns the ID of the label.

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

Returns the ID of the label.

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

Returns the ID of the label.

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

Returns the ID of the label.

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

Returns the ID of the label.

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

Returns the ID of the label.

*/ inline DescribeLabelRequest& 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