/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::MediaConvert::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateQueueRequest::UpdateQueueRequest() : m_descriptionHasBeenSet(false), m_nameHasBeenSet(false), m_reservationPlanSettingsHasBeenSet(false), m_status(QueueStatus::NOT_SET), m_statusHasBeenSet(false) { } Aws::String UpdateQueueRequest::SerializePayload() const { JsonValue payload; if(m_descriptionHasBeenSet) { payload.WithString("description", m_description); } if(m_reservationPlanSettingsHasBeenSet) { payload.WithObject("reservationPlanSettings", m_reservationPlanSettings.Jsonize()); } if(m_statusHasBeenSet) { payload.WithString("status", QueueStatusMapper::GetNameForQueueStatus(m_status)); } return payload.View().WriteReadable(); }