AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetChannelIds(const Aws::Vector<Aws::String>& value) { m_channelIdsHasBeenSet = true; m_channelIds = value; }
46 inline void SetChannelIds(Aws::Vector<Aws::String>&& value) { m_channelIdsHasBeenSet = true; m_channelIds = std::move(value); }
47 inline BatchStartRequest& WithChannelIds(const Aws::Vector<Aws::String>& value) { SetChannelIds(value); return *this;}
48 inline BatchStartRequest& WithChannelIds(Aws::Vector<Aws::String>&& value) { SetChannelIds(std::move(value)); return *this;}
49 inline BatchStartRequest& AddChannelIds(const Aws::String& value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(value); return *this; }
50 inline BatchStartRequest& AddChannelIds(Aws::String&& value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(std::move(value)); return *this; }
51 inline BatchStartRequest& AddChannelIds(const char* value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(value); return *this; }
53
55
58 inline const Aws::Vector<Aws::String>& GetMultiplexIds() const{ return m_multiplexIds; }
59 inline bool MultiplexIdsHasBeenSet() const { return m_multiplexIdsHasBeenSet; }
60 inline void SetMultiplexIds(const Aws::Vector<Aws::String>& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds = value; }
61 inline void SetMultiplexIds(Aws::Vector<Aws::String>&& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds = std::move(value); }
62 inline BatchStartRequest& WithMultiplexIds(const Aws::Vector<Aws::String>& value) { SetMultiplexIds(value); return *this;}
63 inline BatchStartRequest& WithMultiplexIds(Aws::Vector<Aws::String>&& value) { SetMultiplexIds(std::move(value)); return *this;}
64 inline BatchStartRequest& AddMultiplexIds(const Aws::String& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds.push_back(value); return *this; }
65 inline BatchStartRequest& AddMultiplexIds(Aws::String&& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds.push_back(std::move(value)); return *this; }
66 inline BatchStartRequest& AddMultiplexIds(const char* value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds.push_back(value); return *this; }
68 private:
69
70 Aws::Vector<Aws::String> m_channelIds;
71 bool m_channelIdsHasBeenSet = false;
72
73 Aws::Vector<Aws::String> m_multiplexIds;
74 bool m_multiplexIdsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace MediaLive
79} // namespace Aws
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
void SetMultiplexIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetMultiplexIds() const
BatchStartRequest & AddMultiplexIds(const char *value)
void SetChannelIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetChannelIds() const
void SetChannelIds(const Aws::Vector< Aws::String > &value)
BatchStartRequest & WithChannelIds(Aws::Vector< Aws::String > &&value)
BatchStartRequest & WithMultiplexIds(const Aws::Vector< Aws::String > &value)
BatchStartRequest & AddMultiplexIds(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
BatchStartRequest & WithChannelIds(const Aws::Vector< Aws::String > &value)
BatchStartRequest & AddChannelIds(Aws::String &&value)
BatchStartRequest & WithMultiplexIds(Aws::Vector< Aws::String > &&value)
BatchStartRequest & AddMultiplexIds(const Aws::String &value)
void SetMultiplexIds(const Aws::Vector< Aws::String > &value)
BatchStartRequest & AddChannelIds(const Aws::String &value)
BatchStartRequest & AddChannelIds(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector