AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartParticipantReplicationRequest.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 <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ivsrealtime
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IVSREALTIME_API StartParticipantReplicationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StartParticipantReplication"; }
32
33 AWS_IVSREALTIME_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetSourceStageArn() const { return m_sourceStageArn; }
41 inline bool SourceStageArnHasBeenSet() const { return m_sourceStageArnHasBeenSet; }
42 template<typename SourceStageArnT = Aws::String>
43 void SetSourceStageArn(SourceStageArnT&& value) { m_sourceStageArnHasBeenSet = true; m_sourceStageArn = std::forward<SourceStageArnT>(value); }
44 template<typename SourceStageArnT = Aws::String>
45 StartParticipantReplicationRequest& WithSourceStageArn(SourceStageArnT&& value) { SetSourceStageArn(std::forward<SourceStageArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetDestinationStageArn() const { return m_destinationStageArn; }
53 inline bool DestinationStageArnHasBeenSet() const { return m_destinationStageArnHasBeenSet; }
54 template<typename DestinationStageArnT = Aws::String>
55 void SetDestinationStageArn(DestinationStageArnT&& value) { m_destinationStageArnHasBeenSet = true; m_destinationStageArn = std::forward<DestinationStageArnT>(value); }
56 template<typename DestinationStageArnT = Aws::String>
57 StartParticipantReplicationRequest& WithDestinationStageArn(DestinationStageArnT&& value) { SetDestinationStageArn(std::forward<DestinationStageArnT>(value)); return *this;}
59
61
68 inline const Aws::String& GetParticipantId() const { return m_participantId; }
69 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
70 template<typename ParticipantIdT = Aws::String>
71 void SetParticipantId(ParticipantIdT&& value) { m_participantIdHasBeenSet = true; m_participantId = std::forward<ParticipantIdT>(value); }
72 template<typename ParticipantIdT = Aws::String>
73 StartParticipantReplicationRequest& WithParticipantId(ParticipantIdT&& value) { SetParticipantId(std::forward<ParticipantIdT>(value)); return *this;}
75
77
81 inline int GetReconnectWindowSeconds() const { return m_reconnectWindowSeconds; }
82 inline bool ReconnectWindowSecondsHasBeenSet() const { return m_reconnectWindowSecondsHasBeenSet; }
83 inline void SetReconnectWindowSeconds(int value) { m_reconnectWindowSecondsHasBeenSet = true; m_reconnectWindowSeconds = value; }
86
88
97 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const { return m_attributes; }
98 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
99 template<typename AttributesT = Aws::Map<Aws::String, Aws::String>>
100 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
101 template<typename AttributesT = Aws::Map<Aws::String, Aws::String>>
102 StartParticipantReplicationRequest& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
103 template<typename AttributesKeyT = Aws::String, typename AttributesValueT = Aws::String>
104 StartParticipantReplicationRequest& AddAttributes(AttributesKeyT&& key, AttributesValueT&& value) {
105 m_attributesHasBeenSet = true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value)); return *this;
106 }
108 private:
109
110 Aws::String m_sourceStageArn;
111 bool m_sourceStageArnHasBeenSet = false;
112
113 Aws::String m_destinationStageArn;
114 bool m_destinationStageArnHasBeenSet = false;
115
116 Aws::String m_participantId;
117 bool m_participantIdHasBeenSet = false;
118
119 int m_reconnectWindowSeconds{0};
120 bool m_reconnectWindowSecondsHasBeenSet = false;
121
123 bool m_attributesHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace ivsrealtime
128} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
StartParticipantReplicationRequest & WithAttributes(AttributesT &&value)
AWS_IVSREALTIME_API StartParticipantReplicationRequest()=default
StartParticipantReplicationRequest & WithDestinationStageArn(DestinationStageArnT &&value)
StartParticipantReplicationRequest & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
AWS_IVSREALTIME_API Aws::String SerializePayload() const override
StartParticipantReplicationRequest & WithSourceStageArn(SourceStageArnT &&value)
StartParticipantReplicationRequest & WithParticipantId(ParticipantIdT &&value)
StartParticipantReplicationRequest & WithReconnectWindowSeconds(int value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String