/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Glue::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateRegistryRequest::UpdateRegistryRequest() : m_registryIdHasBeenSet(false), m_descriptionHasBeenSet(false) { } Aws::String UpdateRegistryRequest::SerializePayload() const { JsonValue payload; if(m_registryIdHasBeenSet) { payload.WithObject("RegistryId", m_registryId.Jsonize()); } if(m_descriptionHasBeenSet) { payload.WithString("Description", m_description); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection UpdateRegistryRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.UpdateRegistry")); return headers; }