AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListParticipantsRequest.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 <aws/ivs-realtime/model/ParticipantState.h>
11#include <aws/ivs-realtime/model/ParticipantRecordingFilterByRecordingState.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ivsrealtime
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IVSREALTIME_API ListParticipantsRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ListParticipants"; }
33
34 AWS_IVSREALTIME_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetStageArn() const{ return m_stageArn; }
42 inline bool StageArnHasBeenSet() const { return m_stageArnHasBeenSet; }
43 inline void SetStageArn(const Aws::String& value) { m_stageArnHasBeenSet = true; m_stageArn = value; }
44 inline void SetStageArn(Aws::String&& value) { m_stageArnHasBeenSet = true; m_stageArn = std::move(value); }
45 inline void SetStageArn(const char* value) { m_stageArnHasBeenSet = true; m_stageArn.assign(value); }
46 inline ListParticipantsRequest& WithStageArn(const Aws::String& value) { SetStageArn(value); return *this;}
47 inline ListParticipantsRequest& WithStageArn(Aws::String&& value) { SetStageArn(std::move(value)); return *this;}
48 inline ListParticipantsRequest& WithStageArn(const char* value) { SetStageArn(value); return *this;}
50
52
55 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
56 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
57 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
58 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
59 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
60 inline ListParticipantsRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
61 inline ListParticipantsRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
62 inline ListParticipantsRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;}
64
66
74 inline const Aws::String& GetFilterByUserId() const{ return m_filterByUserId; }
75 inline bool FilterByUserIdHasBeenSet() const { return m_filterByUserIdHasBeenSet; }
76 inline void SetFilterByUserId(const Aws::String& value) { m_filterByUserIdHasBeenSet = true; m_filterByUserId = value; }
77 inline void SetFilterByUserId(Aws::String&& value) { m_filterByUserIdHasBeenSet = true; m_filterByUserId = std::move(value); }
78 inline void SetFilterByUserId(const char* value) { m_filterByUserIdHasBeenSet = true; m_filterByUserId.assign(value); }
79 inline ListParticipantsRequest& WithFilterByUserId(const Aws::String& value) { SetFilterByUserId(value); return *this;}
80 inline ListParticipantsRequest& WithFilterByUserId(Aws::String&& value) { SetFilterByUserId(std::move(value)); return *this;}
81 inline ListParticipantsRequest& WithFilterByUserId(const char* value) { SetFilterByUserId(value); return *this;}
83
85
91 inline bool GetFilterByPublished() const{ return m_filterByPublished; }
92 inline bool FilterByPublishedHasBeenSet() const { return m_filterByPublishedHasBeenSet; }
93 inline void SetFilterByPublished(bool value) { m_filterByPublishedHasBeenSet = true; m_filterByPublished = value; }
94 inline ListParticipantsRequest& WithFilterByPublished(bool value) { SetFilterByPublished(value); return *this;}
96
98
104 inline const ParticipantState& GetFilterByState() const{ return m_filterByState; }
105 inline bool FilterByStateHasBeenSet() const { return m_filterByStateHasBeenSet; }
106 inline void SetFilterByState(const ParticipantState& value) { m_filterByStateHasBeenSet = true; m_filterByState = value; }
107 inline void SetFilterByState(ParticipantState&& value) { m_filterByStateHasBeenSet = true; m_filterByState = std::move(value); }
108 inline ListParticipantsRequest& WithFilterByState(const ParticipantState& value) { SetFilterByState(value); return *this;}
109 inline ListParticipantsRequest& WithFilterByState(ParticipantState&& value) { SetFilterByState(std::move(value)); return *this;}
111
113
117 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
118 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
119 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
120 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
121 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
122 inline ListParticipantsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
123 inline ListParticipantsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
124 inline ListParticipantsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
126
128
131 inline int GetMaxResults() const{ return m_maxResults; }
132 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
133 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
134 inline ListParticipantsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
136
138
144 inline const ParticipantRecordingFilterByRecordingState& GetFilterByRecordingState() const{ return m_filterByRecordingState; }
145 inline bool FilterByRecordingStateHasBeenSet() const { return m_filterByRecordingStateHasBeenSet; }
146 inline void SetFilterByRecordingState(const ParticipantRecordingFilterByRecordingState& value) { m_filterByRecordingStateHasBeenSet = true; m_filterByRecordingState = value; }
147 inline void SetFilterByRecordingState(ParticipantRecordingFilterByRecordingState&& value) { m_filterByRecordingStateHasBeenSet = true; m_filterByRecordingState = std::move(value); }
151 private:
152
153 Aws::String m_stageArn;
154 bool m_stageArnHasBeenSet = false;
155
156 Aws::String m_sessionId;
157 bool m_sessionIdHasBeenSet = false;
158
159 Aws::String m_filterByUserId;
160 bool m_filterByUserIdHasBeenSet = false;
161
162 bool m_filterByPublished;
163 bool m_filterByPublishedHasBeenSet = false;
164
165 ParticipantState m_filterByState;
166 bool m_filterByStateHasBeenSet = false;
167
168 Aws::String m_nextToken;
169 bool m_nextTokenHasBeenSet = false;
170
171 int m_maxResults;
172 bool m_maxResultsHasBeenSet = false;
173
174 ParticipantRecordingFilterByRecordingState m_filterByRecordingState;
175 bool m_filterByRecordingStateHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace ivsrealtime
180} // namespace Aws
ListParticipantsRequest & WithFilterByUserId(const char *value)
ListParticipantsRequest & WithNextToken(const Aws::String &value)
ListParticipantsRequest & WithNextToken(const char *value)
ListParticipantsRequest & WithFilterByState(ParticipantState &&value)
virtual const char * GetServiceRequestName() const override
ListParticipantsRequest & WithSessionId(const char *value)
ListParticipantsRequest & WithStageArn(Aws::String &&value)
void SetFilterByRecordingState(ParticipantRecordingFilterByRecordingState &&value)
ListParticipantsRequest & WithStageArn(const Aws::String &value)
ListParticipantsRequest & WithNextToken(Aws::String &&value)
ListParticipantsRequest & WithFilterByPublished(bool value)
ListParticipantsRequest & WithStageArn(const char *value)
ListParticipantsRequest & WithFilterByUserId(Aws::String &&value)
ListParticipantsRequest & WithFilterByState(const ParticipantState &value)
void SetFilterByRecordingState(const ParticipantRecordingFilterByRecordingState &value)
ListParticipantsRequest & WithFilterByRecordingState(ParticipantRecordingFilterByRecordingState &&value)
ListParticipantsRequest & WithFilterByRecordingState(const ParticipantRecordingFilterByRecordingState &value)
ListParticipantsRequest & WithFilterByUserId(const Aws::String &value)
const ParticipantRecordingFilterByRecordingState & GetFilterByRecordingState() const
ListParticipantsRequest & WithMaxResults(int value)
ListParticipantsRequest & WithSessionId(const Aws::String &value)
AWS_IVSREALTIME_API Aws::String SerializePayload() const override
ListParticipantsRequest & WithSessionId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String