AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateSignalingChannelRequest.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/ChannelType.h>
11#include <aws/kinesisvideo/model/SingleMasterConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/kinesisvideo/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18namespace KinesisVideo
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_KINESISVIDEO_API CreateSignalingChannelRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateSignalingChannel"; }
35
36 AWS_KINESISVIDEO_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetChannelName() const { return m_channelName; }
45 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
46 template<typename ChannelNameT = Aws::String>
47 void SetChannelName(ChannelNameT&& value) { m_channelNameHasBeenSet = true; m_channelName = std::forward<ChannelNameT>(value); }
48 template<typename ChannelNameT = Aws::String>
49 CreateSignalingChannelRequest& WithChannelName(ChannelNameT&& value) { SetChannelName(std::forward<ChannelNameT>(value)); return *this;}
51
53
57 inline ChannelType GetChannelType() const { return m_channelType; }
58 inline bool ChannelTypeHasBeenSet() const { return m_channelTypeHasBeenSet; }
59 inline void SetChannelType(ChannelType value) { m_channelTypeHasBeenSet = true; m_channelType = value; }
62
64
68 inline const SingleMasterConfiguration& GetSingleMasterConfiguration() const { return m_singleMasterConfiguration; }
69 inline bool SingleMasterConfigurationHasBeenSet() const { return m_singleMasterConfigurationHasBeenSet; }
70 template<typename SingleMasterConfigurationT = SingleMasterConfiguration>
71 void SetSingleMasterConfiguration(SingleMasterConfigurationT&& value) { m_singleMasterConfigurationHasBeenSet = true; m_singleMasterConfiguration = std::forward<SingleMasterConfigurationT>(value); }
72 template<typename SingleMasterConfigurationT = SingleMasterConfiguration>
73 CreateSignalingChannelRequest& WithSingleMasterConfiguration(SingleMasterConfigurationT&& value) { SetSingleMasterConfiguration(std::forward<SingleMasterConfigurationT>(value)); return *this;}
75
77
81 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
82 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
83 template<typename TagsT = Aws::Vector<Tag>>
84 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
85 template<typename TagsT = Aws::Vector<Tag>>
86 CreateSignalingChannelRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
87 template<typename TagsT = Tag>
88 CreateSignalingChannelRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
90 private:
91
92 Aws::String m_channelName;
93 bool m_channelNameHasBeenSet = false;
94
95 ChannelType m_channelType{ChannelType::NOT_SET};
96 bool m_channelTypeHasBeenSet = false;
97
98 SingleMasterConfiguration m_singleMasterConfiguration;
99 bool m_singleMasterConfigurationHasBeenSet = false;
100
101 Aws::Vector<Tag> m_tags;
102 bool m_tagsHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace KinesisVideo
107} // namespace Aws
void SetSingleMasterConfiguration(SingleMasterConfigurationT &&value)
CreateSignalingChannelRequest & WithChannelName(ChannelNameT &&value)
CreateSignalingChannelRequest & WithChannelType(ChannelType value)
CreateSignalingChannelRequest & WithTags(TagsT &&value)
AWS_KINESISVIDEO_API CreateSignalingChannelRequest()=default
const SingleMasterConfiguration & GetSingleMasterConfiguration() const
CreateSignalingChannelRequest & WithSingleMasterConfiguration(SingleMasterConfigurationT &&value)
AWS_KINESISVIDEO_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector