AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStageArn(const Aws::String& value) { m_stageArnHasBeenSet = true; m_stageArn = value; }
42 inline void SetStageArn(Aws::String&& value) { m_stageArnHasBeenSet = true; m_stageArn = std::move(value); }
43 inline void SetStageArn(const char* value) { m_stageArnHasBeenSet = true; m_stageArn.assign(value); }
44 inline DisconnectParticipantRequest& WithStageArn(const Aws::String& value) { SetStageArn(value); return *this;}
45 inline DisconnectParticipantRequest& WithStageArn(Aws::String&& value) { SetStageArn(std::move(value)); return *this;}
46 inline DisconnectParticipantRequest& WithStageArn(const char* value) { SetStageArn(value); return *this;}
48
50
55 inline const Aws::String& GetParticipantId() const{ return m_participantId; }
56 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
57 inline void SetParticipantId(const Aws::String& value) { m_participantIdHasBeenSet = true; m_participantId = value; }
58 inline void SetParticipantId(Aws::String&& value) { m_participantIdHasBeenSet = true; m_participantId = std::move(value); }
59 inline void SetParticipantId(const char* value) { m_participantIdHasBeenSet = true; m_participantId.assign(value); }
60 inline DisconnectParticipantRequest& WithParticipantId(const Aws::String& value) { SetParticipantId(value); return *this;}
61 inline DisconnectParticipantRequest& WithParticipantId(Aws::String&& value) { SetParticipantId(std::move(value)); return *this;}
62 inline DisconnectParticipantRequest& WithParticipantId(const char* value) { SetParticipantId(value); return *this;}
64
66
69 inline const Aws::String& GetReason() const{ return m_reason; }
70 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
71 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
72 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
73 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
74 inline DisconnectParticipantRequest& WithReason(const Aws::String& value) { SetReason(value); return *this;}
75 inline DisconnectParticipantRequest& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
76 inline DisconnectParticipantRequest& WithReason(const char* value) { SetReason(value); return *this;}
78 private:
79
80 Aws::String m_stageArn;
81 bool m_stageArnHasBeenSet = false;
82
83 Aws::String m_participantId;
84 bool m_participantIdHasBeenSet = false;
85
86 Aws::String m_reason;
87 bool m_reasonHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace ivsrealtime
92} // namespace Aws
AWS_IVSREALTIME_API Aws::String SerializePayload() const override
DisconnectParticipantRequest & WithReason(const char *value)
DisconnectParticipantRequest & WithStageArn(Aws::String &&value)
DisconnectParticipantRequest & WithReason(const Aws::String &value)
DisconnectParticipantRequest & WithParticipantId(const char *value)
DisconnectParticipantRequest & WithStageArn(const Aws::String &value)
DisconnectParticipantRequest & WithReason(Aws::String &&value)
DisconnectParticipantRequest & WithParticipantId(const Aws::String &value)
DisconnectParticipantRequest & WithStageArn(const char *value)
DisconnectParticipantRequest & WithParticipantId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String