/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::ElasticsearchService::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateVpcEndpointRequest::UpdateVpcEndpointRequest() : m_vpcEndpointIdHasBeenSet(false), m_vpcOptionsHasBeenSet(false) { } Aws::String UpdateVpcEndpointRequest::SerializePayload() const { JsonValue payload; if(m_vpcEndpointIdHasBeenSet) { payload.WithString("VpcEndpointId", m_vpcEndpointId); } if(m_vpcOptionsHasBeenSet) { payload.WithObject("VpcOptions", m_vpcOptions.Jsonize()); } return payload.View().WriteReadable(); }