/** * 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; DescribeLocationFsxLustreRequest::DescribeLocationFsxLustreRequest() : m_locationArnHasBeenSet(false) { } Aws::String DescribeLocationFsxLustreRequest::SerializePayload() const { JsonValue payload; if(m_locationArnHasBeenSet) { payload.WithString("LocationArn", m_locationArn); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection DescribeLocationFsxLustreRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "FmrsService.DescribeLocationFsxLustre")); return headers; }