/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::FraudDetector::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; DeleteDetectorRequest::DeleteDetectorRequest() : m_detectorIdHasBeenSet(false) { } Aws::String DeleteDetectorRequest::SerializePayload() const { JsonValue payload; if(m_detectorIdHasBeenSet) { payload.WithString("detectorId", m_detectorId); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection DeleteDetectorRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSHawksNestServiceFacade.DeleteDetector")); return headers; }