AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetStreamSessionRequest.h
1
6#pragma once
7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/ivs/IVSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace IVS
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_IVS_API GetStreamSessionRequest() = 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 "GetStreamSession"; }
31
32 AWS_IVS_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetChannelArn() const { return m_channelArn; }
40 inline bool ChannelArnHasBeenSet() const { return m_channelArnHasBeenSet; }
41 template<typename ChannelArnT = Aws::String>
42 void SetChannelArn(ChannelArnT&& value) { m_channelArnHasBeenSet = true; m_channelArn = std::forward<ChannelArnT>(value); }
43 template<typename ChannelArnT = Aws::String>
44 GetStreamSessionRequest& WithChannelArn(ChannelArnT&& value) { SetChannelArn(std::forward<ChannelArnT>(value)); return *this;}
46
48
53 inline const Aws::String& GetStreamId() const { return m_streamId; }
54 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
55 template<typename StreamIdT = Aws::String>
56 void SetStreamId(StreamIdT&& value) { m_streamIdHasBeenSet = true; m_streamId = std::forward<StreamIdT>(value); }
57 template<typename StreamIdT = Aws::String>
58 GetStreamSessionRequest& WithStreamId(StreamIdT&& value) { SetStreamId(std::forward<StreamIdT>(value)); return *this;}
60 private:
61
62 Aws::String m_channelArn;
63 bool m_channelArnHasBeenSet = false;
64
65 Aws::String m_streamId;
66 bool m_streamIdHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace IVS
71} // namespace Aws
AWS_IVS_API Aws::String SerializePayload() const override
GetStreamSessionRequest & WithStreamId(StreamIdT &&value)
AWS_IVS_API GetStreamSessionRequest()=default
GetStreamSessionRequest & WithChannelArn(ChannelArnT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String