AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchStopRequest.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 BatchStopRequest();
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 "BatchStop"; }
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 BatchStopRequest& WithChannelIds(const Aws::Vector<Aws::String>& value) { SetChannelIds(value); return *this;}
48 inline BatchStopRequest& WithChannelIds(Aws::Vector<Aws::String>&& value) { SetChannelIds(std::move(value)); return *this;}
49 inline BatchStopRequest& AddChannelIds(const Aws::String& value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(value); return *this; }
50 inline BatchStopRequest& AddChannelIds(Aws::String&& value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(std::move(value)); return *this; }
51 inline BatchStopRequest& 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 BatchStopRequest& WithMultiplexIds(const Aws::Vector<Aws::String>& value) { SetMultiplexIds(value); return *this;}
63 inline BatchStopRequest& WithMultiplexIds(Aws::Vector<Aws::String>&& value) { SetMultiplexIds(std::move(value)); return *this;}
64 inline BatchStopRequest& AddMultiplexIds(const Aws::String& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds.push_back(value); return *this; }
65 inline BatchStopRequest& AddMultiplexIds(Aws::String&& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds.push_back(std::move(value)); return *this; }
66 inline BatchStopRequest& 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
const Aws::Vector< Aws::String > & GetMultiplexIds() const
BatchStopRequest & AddMultiplexIds(Aws::String &&value)
BatchStopRequest & WithMultiplexIds(Aws::Vector< Aws::String > &&value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
BatchStopRequest & WithMultiplexIds(const Aws::Vector< Aws::String > &value)
BatchStopRequest & AddChannelIds(const Aws::String &value)
void SetMultiplexIds(Aws::Vector< Aws::String > &&value)
BatchStopRequest & AddMultiplexIds(const Aws::String &value)
BatchStopRequest & WithChannelIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetChannelIds() const
BatchStopRequest & AddMultiplexIds(const char *value)
void SetChannelIds(Aws::Vector< Aws::String > &&value)
BatchStopRequest & AddChannelIds(Aws::String &&value)
BatchStopRequest & AddChannelIds(const char *value)
void SetMultiplexIds(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
BatchStopRequest & WithChannelIds(Aws::Vector< Aws::String > &&value)
void SetChannelIds(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector