/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::EKS::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateClusterConfigRequest::UpdateClusterConfigRequest() : m_nameHasBeenSet(false), m_resourcesVpcConfigHasBeenSet(false), m_loggingHasBeenSet(false), m_clientRequestToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientRequestTokenHasBeenSet(true) { } Aws::String UpdateClusterConfigRequest::SerializePayload() const { JsonValue payload; if(m_resourcesVpcConfigHasBeenSet) { payload.WithObject("resourcesVpcConfig", m_resourcesVpcConfig.Jsonize()); } if(m_loggingHasBeenSet) { payload.WithObject("logging", m_logging.Jsonize()); } if(m_clientRequestTokenHasBeenSet) { payload.WithString("clientRequestToken", m_clientRequestToken); } return payload.View().WriteReadable(); }