AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
StopParticipantReplicationRequest.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 StopParticipantReplicationRequest() = 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 "StopParticipantReplication"; }
28
29 AWS_IVSREALTIME_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetSourceStageArn() const { return m_sourceStageArn; }
36 inline bool SourceStageArnHasBeenSet() const { return m_sourceStageArnHasBeenSet; }
37 template <typename SourceStageArnT = Aws::String>
38 void SetSourceStageArn(SourceStageArnT&& value) {
39 m_sourceStageArnHasBeenSet = true;
40 m_sourceStageArn = std::forward<SourceStageArnT>(value);
41 }
42 template <typename SourceStageArnT = Aws::String>
44 SetSourceStageArn(std::forward<SourceStageArnT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDestinationStageArn() const { return m_destinationStageArn; }
54 inline bool DestinationStageArnHasBeenSet() const { return m_destinationStageArnHasBeenSet; }
55 template <typename DestinationStageArnT = Aws::String>
56 void SetDestinationStageArn(DestinationStageArnT&& value) {
57 m_destinationStageArnHasBeenSet = true;
58 m_destinationStageArn = std::forward<DestinationStageArnT>(value);
59 }
60 template <typename DestinationStageArnT = Aws::String>
62 SetDestinationStageArn(std::forward<DestinationStageArnT>(value));
63 return *this;
64 }
66
68
75 inline const Aws::String& GetParticipantId() const { return m_participantId; }
76 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
77 template <typename ParticipantIdT = Aws::String>
78 void SetParticipantId(ParticipantIdT&& value) {
79 m_participantIdHasBeenSet = true;
80 m_participantId = std::forward<ParticipantIdT>(value);
81 }
82 template <typename ParticipantIdT = Aws::String>
84 SetParticipantId(std::forward<ParticipantIdT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_sourceStageArn;
90 bool m_sourceStageArnHasBeenSet = false;
91
92 Aws::String m_destinationStageArn;
93 bool m_destinationStageArnHasBeenSet = false;
94
95 Aws::String m_participantId;
96 bool m_participantIdHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace ivsrealtime
101} // 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