/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::LookoutEquipment::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; DeleteLabelRequest::DeleteLabelRequest() : m_labelGroupNameHasBeenSet(false), m_labelIdHasBeenSet(false) { } Aws::String DeleteLabelRequest::SerializePayload() const { JsonValue payload; if(m_labelGroupNameHasBeenSet) { payload.WithString("LabelGroupName", m_labelGroupName); } if(m_labelIdHasBeenSet) { payload.WithString("LabelId", m_labelId); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection DeleteLabelRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSLookoutEquipmentFrontendService.DeleteLabel")); return headers; }