/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::ivsrealtime::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; ListParticipantEventsRequest::ListParticipantEventsRequest() : m_maxResults(0), m_maxResultsHasBeenSet(false), m_nextTokenHasBeenSet(false), m_participantIdHasBeenSet(false), m_sessionIdHasBeenSet(false), m_stageArnHasBeenSet(false) { } Aws::String ListParticipantEventsRequest::SerializePayload() const { JsonValue payload; if(m_maxResultsHasBeenSet) { payload.WithInteger("maxResults", m_maxResults); } if(m_nextTokenHasBeenSet) { payload.WithString("nextToken", m_nextToken); } if(m_participantIdHasBeenSet) { payload.WithString("participantId", m_participantId); } if(m_sessionIdHasBeenSet) { payload.WithString("sessionId", m_sessionId); } if(m_stageArnHasBeenSet) { payload.WithString("stageArn", m_stageArn); } return payload.View().WriteReadable(); }