AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
47 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
48 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
49 inline CreateSignalingChannelRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
50 inline CreateSignalingChannelRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
51 inline CreateSignalingChannelRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
53
55
59 inline const ChannelType& GetChannelType() const{ return m_channelType; }
60 inline bool ChannelTypeHasBeenSet() const { return m_channelTypeHasBeenSet; }
61 inline void SetChannelType(const ChannelType& value) { m_channelTypeHasBeenSet = true; m_channelType = value; }
62 inline void SetChannelType(ChannelType&& value) { m_channelTypeHasBeenSet = true; m_channelType = std::move(value); }
63 inline CreateSignalingChannelRequest& WithChannelType(const ChannelType& value) { SetChannelType(value); return *this;}
64 inline CreateSignalingChannelRequest& WithChannelType(ChannelType&& value) { SetChannelType(std::move(value)); return *this;}
66
68
72 inline const SingleMasterConfiguration& GetSingleMasterConfiguration() const{ return m_singleMasterConfiguration; }
73 inline bool SingleMasterConfigurationHasBeenSet() const { return m_singleMasterConfigurationHasBeenSet; }
74 inline void SetSingleMasterConfiguration(const SingleMasterConfiguration& value) { m_singleMasterConfigurationHasBeenSet = true; m_singleMasterConfiguration = value; }
75 inline void SetSingleMasterConfiguration(SingleMasterConfiguration&& value) { m_singleMasterConfigurationHasBeenSet = true; m_singleMasterConfiguration = std::move(value); }
79
81
85 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
86 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
87 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
88 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
89 inline CreateSignalingChannelRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
90 inline CreateSignalingChannelRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
91 inline CreateSignalingChannelRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
92 inline CreateSignalingChannelRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
94 private:
95
96 Aws::String m_channelName;
97 bool m_channelNameHasBeenSet = false;
98
99 ChannelType m_channelType;
100 bool m_channelTypeHasBeenSet = false;
101
102 SingleMasterConfiguration m_singleMasterConfiguration;
103 bool m_singleMasterConfigurationHasBeenSet = false;
104
105 Aws::Vector<Tag> m_tags;
106 bool m_tagsHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace KinesisVideo
111} // namespace Aws
CreateSignalingChannelRequest & WithSingleMasterConfiguration(const SingleMasterConfiguration &value)
void SetSingleMasterConfiguration(const SingleMasterConfiguration &value)
CreateSignalingChannelRequest & WithSingleMasterConfiguration(SingleMasterConfiguration &&value)
CreateSignalingChannelRequest & WithChannelType(ChannelType &&value)
CreateSignalingChannelRequest & WithChannelName(const char *value)
CreateSignalingChannelRequest & WithChannelType(const ChannelType &value)
CreateSignalingChannelRequest & WithTags(Aws::Vector< Tag > &&value)
CreateSignalingChannelRequest & WithChannelName(Aws::String &&value)
CreateSignalingChannelRequest & AddTags(const Tag &value)
const SingleMasterConfiguration & GetSingleMasterConfiguration() const
CreateSignalingChannelRequest & WithChannelName(const Aws::String &value)
AWS_KINESISVIDEO_API Aws::String SerializePayload() const override
CreateSignalingChannelRequest & WithTags(const Aws::Vector< Tag > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector