/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Kafka::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; PutClusterPolicyRequest::PutClusterPolicyRequest() : m_clusterArnHasBeenSet(false), m_currentVersionHasBeenSet(false), m_policyHasBeenSet(false) { } Aws::String PutClusterPolicyRequest::SerializePayload() const { JsonValue payload; if(m_currentVersionHasBeenSet) { payload.WithString("currentVersion", m_currentVersion); } if(m_policyHasBeenSet) { payload.WithString("policy", m_policy); } return payload.View().WriteReadable(); }