/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::ServiceCatalog::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; DeletePortfolioShareRequest::DeletePortfolioShareRequest() : m_acceptLanguageHasBeenSet(false), m_portfolioIdHasBeenSet(false), m_accountIdHasBeenSet(false), m_organizationNodeHasBeenSet(false) { } Aws::String DeletePortfolioShareRequest::SerializePayload() const { JsonValue payload; if(m_acceptLanguageHasBeenSet) { payload.WithString("AcceptLanguage", m_acceptLanguage); } if(m_portfolioIdHasBeenSet) { payload.WithString("PortfolioId", m_portfolioId); } if(m_accountIdHasBeenSet) { payload.WithString("AccountId", m_accountId); } if(m_organizationNodeHasBeenSet) { payload.WithObject("OrganizationNode", m_organizationNode.Jsonize()); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection DeletePortfolioShareRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWS242ServiceCatalogService.DeletePortfolioShare")); return headers; }