AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchStartRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace MediaLive
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_MEDIALIVE_API BatchStartRequest() = 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 "BatchStart"; }
35
36 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::Vector<Aws::String>& GetChannelIds() const { return m_channelIds; }
44 inline bool ChannelIdsHasBeenSet() const { return m_channelIdsHasBeenSet; }
45 template<typename ChannelIdsT = Aws::Vector<Aws::String>>
46 void SetChannelIds(ChannelIdsT&& value) { m_channelIdsHasBeenSet = true; m_channelIds = std::forward<ChannelIdsT>(value); }
47 template<typename ChannelIdsT = Aws::Vector<Aws::String>>
48 BatchStartRequest& WithChannelIds(ChannelIdsT&& value) { SetChannelIds(std::forward<ChannelIdsT>(value)); return *this;}
49 template<typename ChannelIdsT = Aws::String>
50 BatchStartRequest& AddChannelIds(ChannelIdsT&& value) { m_channelIdsHasBeenSet = true; m_channelIds.emplace_back(std::forward<ChannelIdsT>(value)); return *this; }
52
54
57 inline const Aws::Vector<Aws::String>& GetMultiplexIds() const { return m_multiplexIds; }
58 inline bool MultiplexIdsHasBeenSet() const { return m_multiplexIdsHasBeenSet; }
59 template<typename MultiplexIdsT = Aws::Vector<Aws::String>>
60 void SetMultiplexIds(MultiplexIdsT&& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds = std::forward<MultiplexIdsT>(value); }
61 template<typename MultiplexIdsT = Aws::Vector<Aws::String>>
62 BatchStartRequest& WithMultiplexIds(MultiplexIdsT&& value) { SetMultiplexIds(std::forward<MultiplexIdsT>(value)); return *this;}
63 template<typename MultiplexIdsT = Aws::String>
64 BatchStartRequest& AddMultiplexIds(MultiplexIdsT&& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds.emplace_back(std::forward<MultiplexIdsT>(value)); return *this; }
66 private:
67
68 Aws::Vector<Aws::String> m_channelIds;
69 bool m_channelIdsHasBeenSet = false;
70
71 Aws::Vector<Aws::String> m_multiplexIds;
72 bool m_multiplexIdsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace MediaLive
77} // namespace Aws
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetMultiplexIds() const
BatchStartRequest & WithChannelIds(ChannelIdsT &&value)
const Aws::Vector< Aws::String > & GetChannelIds() const
AWS_MEDIALIVE_API BatchStartRequest()=default
BatchStartRequest & AddChannelIds(ChannelIdsT &&value)
virtual const char * GetServiceRequestName() const override
BatchStartRequest & WithMultiplexIds(MultiplexIdsT &&value)
void SetMultiplexIds(MultiplexIdsT &&value)
BatchStartRequest & AddMultiplexIds(MultiplexIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector