AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListParticipantEventsRequest.h
1
6#pragma once
7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/ivs-realtime/IvsrealtimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ivsrealtime
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_IVSREALTIME_API ListParticipantEventsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ListParticipantEvents"; }
31
32 AWS_IVSREALTIME_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetStageArn() const { return m_stageArn; }
40 inline bool StageArnHasBeenSet() const { return m_stageArnHasBeenSet; }
41 template<typename StageArnT = Aws::String>
42 void SetStageArn(StageArnT&& value) { m_stageArnHasBeenSet = true; m_stageArn = std::forward<StageArnT>(value); }
43 template<typename StageArnT = Aws::String>
44 ListParticipantEventsRequest& WithStageArn(StageArnT&& value) { SetStageArn(std::forward<StageArnT>(value)); return *this;}
46
48
51 inline const Aws::String& GetSessionId() const { return m_sessionId; }
52 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
53 template<typename SessionIdT = Aws::String>
54 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
55 template<typename SessionIdT = Aws::String>
56 ListParticipantEventsRequest& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
58
60
64 inline const Aws::String& GetParticipantId() const { return m_participantId; }
65 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
66 template<typename ParticipantIdT = Aws::String>
67 void SetParticipantId(ParticipantIdT&& value) { m_participantIdHasBeenSet = true; m_participantId = std::forward<ParticipantIdT>(value); }
68 template<typename ParticipantIdT = Aws::String>
69 ListParticipantEventsRequest& WithParticipantId(ParticipantIdT&& value) { SetParticipantId(std::forward<ParticipantIdT>(value)); return *this;}
71
73
77 inline const Aws::String& GetNextToken() const { return m_nextToken; }
78 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
79 template<typename NextTokenT = Aws::String>
80 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
81 template<typename NextTokenT = Aws::String>
82 ListParticipantEventsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
84
86
89 inline int GetMaxResults() const { return m_maxResults; }
90 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
91 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
92 inline ListParticipantEventsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
94 private:
95
96 Aws::String m_stageArn;
97 bool m_stageArnHasBeenSet = false;
98
99 Aws::String m_sessionId;
100 bool m_sessionIdHasBeenSet = false;
101
102 Aws::String m_participantId;
103 bool m_participantIdHasBeenSet = false;
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107
108 int m_maxResults{0};
109 bool m_maxResultsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace ivsrealtime
114} // namespace Aws
ListParticipantEventsRequest & WithStageArn(StageArnT &&value)
ListParticipantEventsRequest & WithNextToken(NextTokenT &&value)
ListParticipantEventsRequest & WithParticipantId(ParticipantIdT &&value)
ListParticipantEventsRequest & WithSessionId(SessionIdT &&value)
AWS_IVSREALTIME_API ListParticipantEventsRequest()=default
AWS_IVSREALTIME_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String