AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
UpdateSignalingChannelRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesisvideo/KinesisVideoRequest.h>
9#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
10#include <aws/kinesisvideo/model/SingleMasterConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace KinesisVideo {
16namespace Model {
17
21 public:
22 AWS_KINESISVIDEO_API UpdateSignalingChannelRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateSignalingChannel"; }
29
30 AWS_KINESISVIDEO_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetChannelARN() const { return m_channelARN; }
38 inline bool ChannelARNHasBeenSet() const { return m_channelARNHasBeenSet; }
39 template <typename ChannelARNT = Aws::String>
40 void SetChannelARN(ChannelARNT&& value) {
41 m_channelARNHasBeenSet = true;
42 m_channelARN = std::forward<ChannelARNT>(value);
43 }
44 template <typename ChannelARNT = Aws::String>
46 SetChannelARN(std::forward<ChannelARNT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
56 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
57 template <typename CurrentVersionT = Aws::String>
58 void SetCurrentVersion(CurrentVersionT&& value) {
59 m_currentVersionHasBeenSet = true;
60 m_currentVersion = std::forward<CurrentVersionT>(value);
61 }
62 template <typename CurrentVersionT = Aws::String>
64 SetCurrentVersion(std::forward<CurrentVersionT>(value));
65 return *this;
66 }
68
70
76 inline const SingleMasterConfiguration& GetSingleMasterConfiguration() const { return m_singleMasterConfiguration; }
77 inline bool SingleMasterConfigurationHasBeenSet() const { return m_singleMasterConfigurationHasBeenSet; }
78 template <typename SingleMasterConfigurationT = SingleMasterConfiguration>
79 void SetSingleMasterConfiguration(SingleMasterConfigurationT&& value) {
80 m_singleMasterConfigurationHasBeenSet = true;
81 m_singleMasterConfiguration = std::forward<SingleMasterConfigurationT>(value);
82 }
83 template <typename SingleMasterConfigurationT = SingleMasterConfiguration>
84 UpdateSignalingChannelRequest& WithSingleMasterConfiguration(SingleMasterConfigurationT&& value) {
85 SetSingleMasterConfiguration(std::forward<SingleMasterConfigurationT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_channelARN;
91
92 Aws::String m_currentVersion;
93
94 SingleMasterConfiguration m_singleMasterConfiguration;
95 bool m_channelARNHasBeenSet = false;
96 bool m_currentVersionHasBeenSet = false;
97 bool m_singleMasterConfigurationHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace KinesisVideo
102} // 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