AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
DisconnectParticipantRequest.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 DisconnectParticipantRequest() = 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 "DisconnectParticipant"; }
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>
44 SetStageArn(std::forward<StageArnT>(value));
45 return *this;
46 }
48
50
55 inline const Aws::String& GetParticipantId() const { return m_participantId; }
56 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
57 template <typename ParticipantIdT = Aws::String>
58 void SetParticipantId(ParticipantIdT&& value) {
59 m_participantIdHasBeenSet = true;
60 m_participantId = std::forward<ParticipantIdT>(value);
61 }
62 template <typename ParticipantIdT = Aws::String>
64 SetParticipantId(std::forward<ParticipantIdT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetReason() const { return m_reason; }
74 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
75 template <typename ReasonT = Aws::String>
76 void SetReason(ReasonT&& value) {
77 m_reasonHasBeenSet = true;
78 m_reason = std::forward<ReasonT>(value);
79 }
80 template <typename ReasonT = Aws::String>
82 SetReason(std::forward<ReasonT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_stageArn;
88 bool m_stageArnHasBeenSet = false;
89
90 Aws::String m_participantId;
91 bool m_participantIdHasBeenSet = false;
92
93 Aws::String m_reason;
94 bool m_reasonHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace ivsrealtime
99} // 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