/** * 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; UpdateClusterVersionRequest::UpdateClusterVersionRequest() : m_nameHasBeenSet(false), m_versionHasBeenSet(false), m_clientRequestToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientRequestTokenHasBeenSet(true) { } Aws::String UpdateClusterVersionRequest::SerializePayload() const { JsonValue payload; if(m_versionHasBeenSet) { payload.WithString("version", m_version); } if(m_clientRequestTokenHasBeenSet) { payload.WithString("clientRequestToken", m_clientRequestToken); } return payload.View().WriteReadable(); }