/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/devicefarm/model/DeleteRunRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::DeviceFarm::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; DeleteRunRequest::DeleteRunRequest() : m_arnHasBeenSet(false) { } Aws::String DeleteRunRequest::SerializePayload() const { JsonValue payload; if(m_arnHasBeenSet) { payload.WithString("arn", m_arn); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection DeleteRunRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "DeviceFarm_20150623.DeleteRun")); return headers; }