AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateSignalingChannelRequest.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/kinesisvideo/KinesisVideoRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kinesisvideo/model/SingleMasterConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace KinesisVideo
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KINESISVIDEO_API UpdateSignalingChannelRequest() = 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 "UpdateSignalingChannel"; }
32
33 AWS_KINESISVIDEO_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetChannelARN() const { return m_channelARN; }
42 inline bool ChannelARNHasBeenSet() const { return m_channelARNHasBeenSet; }
43 template<typename ChannelARNT = Aws::String>
44 void SetChannelARN(ChannelARNT&& value) { m_channelARNHasBeenSet = true; m_channelARN = std::forward<ChannelARNT>(value); }
45 template<typename ChannelARNT = Aws::String>
46 UpdateSignalingChannelRequest& WithChannelARN(ChannelARNT&& value) { SetChannelARN(std::forward<ChannelARNT>(value)); return *this;}
48
50
53 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
54 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
55 template<typename CurrentVersionT = Aws::String>
56 void SetCurrentVersion(CurrentVersionT&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::forward<CurrentVersionT>(value); }
57 template<typename CurrentVersionT = Aws::String>
58 UpdateSignalingChannelRequest& WithCurrentVersion(CurrentVersionT&& value) { SetCurrentVersion(std::forward<CurrentVersionT>(value)); return *this;}
60
62
66 inline const SingleMasterConfiguration& GetSingleMasterConfiguration() const { return m_singleMasterConfiguration; }
67 inline bool SingleMasterConfigurationHasBeenSet() const { return m_singleMasterConfigurationHasBeenSet; }
68 template<typename SingleMasterConfigurationT = SingleMasterConfiguration>
69 void SetSingleMasterConfiguration(SingleMasterConfigurationT&& value) { m_singleMasterConfigurationHasBeenSet = true; m_singleMasterConfiguration = std::forward<SingleMasterConfigurationT>(value); }
70 template<typename SingleMasterConfigurationT = SingleMasterConfiguration>
71 UpdateSignalingChannelRequest& WithSingleMasterConfiguration(SingleMasterConfigurationT&& value) { SetSingleMasterConfiguration(std::forward<SingleMasterConfigurationT>(value)); return *this;}
73 private:
74
75 Aws::String m_channelARN;
76 bool m_channelARNHasBeenSet = false;
77
78 Aws::String m_currentVersion;
79 bool m_currentVersionHasBeenSet = false;
80
81 SingleMasterConfiguration m_singleMasterConfiguration;
82 bool m_singleMasterConfigurationHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace KinesisVideo
87} // namespace Aws
const SingleMasterConfiguration & GetSingleMasterConfiguration() const
UpdateSignalingChannelRequest & WithSingleMasterConfiguration(SingleMasterConfigurationT &&value)
AWS_KINESISVIDEO_API UpdateSignalingChannelRequest()=default
UpdateSignalingChannelRequest & WithChannelARN(ChannelARNT &&value)
AWS_KINESISVIDEO_API Aws::String SerializePayload() const override
void SetSingleMasterConfiguration(SingleMasterConfigurationT &&value)
UpdateSignalingChannelRequest & WithCurrentVersion(CurrentVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String