AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StopParticipantReplicationRequest.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 StopParticipantReplicationRequest() = 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 "StopParticipantReplication"; }
31
32 AWS_IVSREALTIME_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetSourceStageArn() const { return m_sourceStageArn; }
40 inline bool SourceStageArnHasBeenSet() const { return m_sourceStageArnHasBeenSet; }
41 template<typename SourceStageArnT = Aws::String>
42 void SetSourceStageArn(SourceStageArnT&& value) { m_sourceStageArnHasBeenSet = true; m_sourceStageArn = std::forward<SourceStageArnT>(value); }
43 template<typename SourceStageArnT = Aws::String>
44 StopParticipantReplicationRequest& WithSourceStageArn(SourceStageArnT&& value) { SetSourceStageArn(std::forward<SourceStageArnT>(value)); return *this;}
46
48
51 inline const Aws::String& GetDestinationStageArn() const { return m_destinationStageArn; }
52 inline bool DestinationStageArnHasBeenSet() const { return m_destinationStageArnHasBeenSet; }
53 template<typename DestinationStageArnT = Aws::String>
54 void SetDestinationStageArn(DestinationStageArnT&& value) { m_destinationStageArnHasBeenSet = true; m_destinationStageArn = std::forward<DestinationStageArnT>(value); }
55 template<typename DestinationStageArnT = Aws::String>
56 StopParticipantReplicationRequest& WithDestinationStageArn(DestinationStageArnT&& value) { SetDestinationStageArn(std::forward<DestinationStageArnT>(value)); return *this;}
58
60
67 inline const Aws::String& GetParticipantId() const { return m_participantId; }
68 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
69 template<typename ParticipantIdT = Aws::String>
70 void SetParticipantId(ParticipantIdT&& value) { m_participantIdHasBeenSet = true; m_participantId = std::forward<ParticipantIdT>(value); }
71 template<typename ParticipantIdT = Aws::String>
72 StopParticipantReplicationRequest& WithParticipantId(ParticipantIdT&& value) { SetParticipantId(std::forward<ParticipantIdT>(value)); return *this;}
74 private:
75
76 Aws::String m_sourceStageArn;
77 bool m_sourceStageArnHasBeenSet = false;
78
79 Aws::String m_destinationStageArn;
80 bool m_destinationStageArnHasBeenSet = false;
81
82 Aws::String m_participantId;
83 bool m_participantIdHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace ivsrealtime
88} // namespace Aws
StopParticipantReplicationRequest & WithDestinationStageArn(DestinationStageArnT &&value)
AWS_IVSREALTIME_API StopParticipantReplicationRequest()=default
StopParticipantReplicationRequest & WithParticipantId(ParticipantIdT &&value)
StopParticipantReplicationRequest & WithSourceStageArn(SourceStageArnT &&value)
AWS_IVSREALTIME_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String