AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
GetParticipantRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ivs-realtime/IvsrealtimeRequest.h>
9#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ivsrealtime {
15namespace Model {
16
20 public:
21 AWS_IVSREALTIME_API GetParticipantRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetParticipant"; }
28
29 AWS_IVSREALTIME_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetStageArn() const { return m_stageArn; }
36 inline bool StageArnHasBeenSet() const { return m_stageArnHasBeenSet; }
37 template <typename StageArnT = Aws::String>
38 void SetStageArn(StageArnT&& value) {
39 m_stageArnHasBeenSet = true;
40 m_stageArn = std::forward<StageArnT>(value);
41 }
42 template <typename StageArnT = Aws::String>
43 GetParticipantRequest& WithStageArn(StageArnT&& value) {
44 SetStageArn(std::forward<StageArnT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetSessionId() const { return m_sessionId; }
54 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
55 template <typename SessionIdT = Aws::String>
56 void SetSessionId(SessionIdT&& value) {
57 m_sessionIdHasBeenSet = true;
58 m_sessionId = std::forward<SessionIdT>(value);
59 }
60 template <typename SessionIdT = Aws::String>
61 GetParticipantRequest& WithSessionId(SessionIdT&& value) {
62 SetSessionId(std::forward<SessionIdT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::String& GetParticipantId() const { return m_participantId; }
73 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
74 template <typename ParticipantIdT = Aws::String>
75 void SetParticipantId(ParticipantIdT&& value) {
76 m_participantIdHasBeenSet = true;
77 m_participantId = std::forward<ParticipantIdT>(value);
78 }
79 template <typename ParticipantIdT = Aws::String>
80 GetParticipantRequest& WithParticipantId(ParticipantIdT&& value) {
81 SetParticipantId(std::forward<ParticipantIdT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_stageArn;
87 bool m_stageArnHasBeenSet = false;
88
89 Aws::String m_sessionId;
90 bool m_sessionIdHasBeenSet = false;
91
92 Aws::String m_participantId;
93 bool m_participantIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace ivsrealtime
98} // namespace Aws
GetParticipantRequest & WithStageArn(StageArnT &&value)
AWS_IVSREALTIME_API Aws::String SerializePayload() const override
GetParticipantRequest & WithSessionId(SessionIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_IVSREALTIME_API GetParticipantRequest()=default
GetParticipantRequest & WithParticipantId(ParticipantIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String