/** * 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; AuthorizeVpcEndpointAccessRequest::AuthorizeVpcEndpointAccessRequest() : m_domainNameHasBeenSet(false), m_accountHasBeenSet(false) { } Aws::String AuthorizeVpcEndpointAccessRequest::SerializePayload() const { JsonValue payload; if(m_accountHasBeenSet) { payload.WithString("Account", m_account); } return payload.View().WriteReadable(); }