AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DisconnectParticipantRequest.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 DisconnectParticipantRequest() = 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 "DisconnectParticipant"; }
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 DisconnectParticipantRequest& WithStageArn(StageArnT&& value) { SetStageArn(std::forward<StageArnT>(value)); return *this;}
46
48
53 inline const Aws::String& GetParticipantId() const { return m_participantId; }
54 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
55 template<typename ParticipantIdT = Aws::String>
56 void SetParticipantId(ParticipantIdT&& value) { m_participantIdHasBeenSet = true; m_participantId = std::forward<ParticipantIdT>(value); }
57 template<typename ParticipantIdT = Aws::String>
58 DisconnectParticipantRequest& WithParticipantId(ParticipantIdT&& value) { SetParticipantId(std::forward<ParticipantIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetReason() const { return m_reason; }
66 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
67 template<typename ReasonT = Aws::String>
68 void SetReason(ReasonT&& value) { m_reasonHasBeenSet = true; m_reason = std::forward<ReasonT>(value); }
69 template<typename ReasonT = Aws::String>
70 DisconnectParticipantRequest& WithReason(ReasonT&& value) { SetReason(std::forward<ReasonT>(value)); return *this;}
72 private:
73
74 Aws::String m_stageArn;
75 bool m_stageArnHasBeenSet = false;
76
77 Aws::String m_participantId;
78 bool m_participantIdHasBeenSet = false;
79
80 Aws::String m_reason;
81 bool m_reasonHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace ivsrealtime
86} // namespace Aws
AWS_IVSREALTIME_API Aws::String SerializePayload() const override
DisconnectParticipantRequest & WithStageArn(StageArnT &&value)
DisconnectParticipantRequest & WithParticipantId(ParticipantIdT &&value)
AWS_IVSREALTIME_API DisconnectParticipantRequest()=default
DisconnectParticipantRequest & WithReason(ReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String