/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::APIGateway::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateDocumentationPartRequest::CreateDocumentationPartRequest() : m_restApiIdHasBeenSet(false), m_locationHasBeenSet(false), m_propertiesHasBeenSet(false) { } Aws::String CreateDocumentationPartRequest::SerializePayload() const { JsonValue payload; if(m_locationHasBeenSet) { payload.WithObject("location", m_location.Jsonize()); } if(m_propertiesHasBeenSet) { payload.WithString("properties", m_properties); } return payload.View().WriteReadable(); }