/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::DataSync::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; DeleteAgentRequest::DeleteAgentRequest() : m_agentArnHasBeenSet(false) { } Aws::String DeleteAgentRequest::SerializePayload() const { JsonValue payload; if(m_agentArnHasBeenSet) { payload.WithString("AgentArn", m_agentArn); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection DeleteAgentRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "FmrsService.DeleteAgent")); return headers; }