AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetParticipantRequest.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 GetParticipantRequest() = 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 "GetParticipant"; }
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 GetParticipantRequest& 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 GetParticipantRequest& 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 GetParticipantRequest& WithParticipantId(ParticipantIdT&& value) { SetParticipantId(std::forward<ParticipantIdT>(value)); return *this;}
71 private:
72
73 Aws::String m_stageArn;
74 bool m_stageArnHasBeenSet = false;
75
76 Aws::String m_sessionId;
77 bool m_sessionIdHasBeenSet = false;
78
79 Aws::String m_participantId;
80 bool m_participantIdHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace ivsrealtime
85} // 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