/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace ivsrealtime { namespace Model { /** */ class ListParticipantEventsRequest : public IvsrealtimeRequest { public: AWS_IVSREALTIME_API ListParticipantEventsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListParticipantEvents"; } AWS_IVSREALTIME_API Aws::String SerializePayload() const override; /** *

Maximum number of results to return. Default: 50.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

Maximum number of results to return. Default: 50.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

Maximum number of results to return. Default: 50.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

Maximum number of results to return. Default: 50.

*/ inline ListParticipantEventsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

The first participant to retrieve. This is used for pagination; see the * nextToken response field.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The first participant to retrieve. This is used for pagination; see the * nextToken response field.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

The first participant to retrieve. This is used for pagination; see the * nextToken response field.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

The first participant to retrieve. This is used for pagination; see the * nextToken response field.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

The first participant to retrieve. This is used for pagination; see the * nextToken response field.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

The first participant to retrieve. This is used for pagination; see the * nextToken response field.

*/ inline ListParticipantEventsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The first participant to retrieve. This is used for pagination; see the * nextToken response field.

*/ inline ListParticipantEventsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The first participant to retrieve. This is used for pagination; see the * nextToken response field.

*/ inline ListParticipantEventsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Unique identifier for this participant. This is assigned by IVS and returned * by CreateParticipantToken.

*/ inline const Aws::String& GetParticipantId() const{ return m_participantId; } /** *

Unique identifier for this participant. This is assigned by IVS and returned * by CreateParticipantToken.

*/ inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; } /** *

Unique identifier for this participant. This is assigned by IVS and returned * by CreateParticipantToken.

*/ inline void SetParticipantId(const Aws::String& value) { m_participantIdHasBeenSet = true; m_participantId = value; } /** *

Unique identifier for this participant. This is assigned by IVS and returned * by CreateParticipantToken.

*/ inline void SetParticipantId(Aws::String&& value) { m_participantIdHasBeenSet = true; m_participantId = std::move(value); } /** *

Unique identifier for this participant. This is assigned by IVS and returned * by CreateParticipantToken.

*/ inline void SetParticipantId(const char* value) { m_participantIdHasBeenSet = true; m_participantId.assign(value); } /** *

Unique identifier for this participant. This is assigned by IVS and returned * by CreateParticipantToken.

*/ inline ListParticipantEventsRequest& WithParticipantId(const Aws::String& value) { SetParticipantId(value); return *this;} /** *

Unique identifier for this participant. This is assigned by IVS and returned * by CreateParticipantToken.

*/ inline ListParticipantEventsRequest& WithParticipantId(Aws::String&& value) { SetParticipantId(std::move(value)); return *this;} /** *

Unique identifier for this participant. This is assigned by IVS and returned * by CreateParticipantToken.

*/ inline ListParticipantEventsRequest& WithParticipantId(const char* value) { SetParticipantId(value); return *this;} /** *

ID of a session within the stage.

*/ inline const Aws::String& GetSessionId() const{ return m_sessionId; } /** *

ID of a session within the stage.

*/ inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } /** *

ID of a session within the stage.

*/ inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } /** *

ID of a session within the stage.

*/ inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } /** *

ID of a session within the stage.

*/ inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } /** *

ID of a session within the stage.

*/ inline ListParticipantEventsRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} /** *

ID of a session within the stage.

*/ inline ListParticipantEventsRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} /** *

ID of a session within the stage.

*/ inline ListParticipantEventsRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;} /** *

Stage ARN.

*/ inline const Aws::String& GetStageArn() const{ return m_stageArn; } /** *

Stage ARN.

*/ inline bool StageArnHasBeenSet() const { return m_stageArnHasBeenSet; } /** *

Stage ARN.

*/ inline void SetStageArn(const Aws::String& value) { m_stageArnHasBeenSet = true; m_stageArn = value; } /** *

Stage ARN.

*/ inline void SetStageArn(Aws::String&& value) { m_stageArnHasBeenSet = true; m_stageArn = std::move(value); } /** *

Stage ARN.

*/ inline void SetStageArn(const char* value) { m_stageArnHasBeenSet = true; m_stageArn.assign(value); } /** *

Stage ARN.

*/ inline ListParticipantEventsRequest& WithStageArn(const Aws::String& value) { SetStageArn(value); return *this;} /** *

Stage ARN.

*/ inline ListParticipantEventsRequest& WithStageArn(Aws::String&& value) { SetStageArn(std::move(value)); return *this;} /** *

Stage ARN.

*/ inline ListParticipantEventsRequest& WithStageArn(const char* value) { SetStageArn(value); return *this;} private: int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_participantId; bool m_participantIdHasBeenSet = false; Aws::String m_sessionId; bool m_sessionIdHasBeenSet = false; Aws::String m_stageArn; bool m_stageArnHasBeenSet = false; }; } // namespace Model } // namespace ivsrealtime } // namespace Aws