/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::DatabaseMigrationService::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; DescribeSchemasRequest::DescribeSchemasRequest() : m_endpointArnHasBeenSet(false), m_maxRecords(0), m_maxRecordsHasBeenSet(false), m_markerHasBeenSet(false) { } Aws::String DescribeSchemasRequest::SerializePayload() const { JsonValue payload; if(m_endpointArnHasBeenSet) { payload.WithString("EndpointArn", m_endpointArn); } if(m_maxRecordsHasBeenSet) { payload.WithInteger("MaxRecords", m_maxRecords); } if(m_markerHasBeenSet) { payload.WithString("Marker", m_marker); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection DescribeSchemasRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AmazonDMSv20160101.DescribeSchemas")); return headers; }