/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::VerifiedPermissions::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; DeleteIdentitySourceRequest::DeleteIdentitySourceRequest() : m_policyStoreIdHasBeenSet(false), m_identitySourceIdHasBeenSet(false) { } Aws::String DeleteIdentitySourceRequest::SerializePayload() const { JsonValue payload; if(m_policyStoreIdHasBeenSet) { payload.WithString("policyStoreId", m_policyStoreId); } if(m_identitySourceIdHasBeenSet) { payload.WithString("identitySourceId", m_identitySourceId); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection DeleteIdentitySourceRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "VerifiedPermissions.DeleteIdentitySource")); return headers; }