/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::SSMIncidents::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; DeleteResourcePolicyRequest::DeleteResourcePolicyRequest() : m_policyIdHasBeenSet(false), m_resourceArnHasBeenSet(false) { } Aws::String DeleteResourcePolicyRequest::SerializePayload() const { JsonValue payload; if(m_policyIdHasBeenSet) { payload.WithString("policyId", m_policyId); } if(m_resourceArnHasBeenSet) { payload.WithString("resourceArn", m_resourceArn); } return payload.View().WriteReadable(); }