AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchDeleteRequest.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 BatchDeleteRequest() = 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 "BatchDelete"; }
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 BatchDeleteRequest& WithChannelIds(ChannelIdsT&& value) { SetChannelIds(std::forward<ChannelIdsT>(value)); return *this;}
49 template<typename ChannelIdsT = Aws::String>
50 BatchDeleteRequest& 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>& GetInputIds() const { return m_inputIds; }
58 inline bool InputIdsHasBeenSet() const { return m_inputIdsHasBeenSet; }
59 template<typename InputIdsT = Aws::Vector<Aws::String>>
60 void SetInputIds(InputIdsT&& value) { m_inputIdsHasBeenSet = true; m_inputIds = std::forward<InputIdsT>(value); }
61 template<typename InputIdsT = Aws::Vector<Aws::String>>
62 BatchDeleteRequest& WithInputIds(InputIdsT&& value) { SetInputIds(std::forward<InputIdsT>(value)); return *this;}
63 template<typename InputIdsT = Aws::String>
64 BatchDeleteRequest& AddInputIds(InputIdsT&& value) { m_inputIdsHasBeenSet = true; m_inputIds.emplace_back(std::forward<InputIdsT>(value)); return *this; }
66
68
71 inline const Aws::Vector<Aws::String>& GetInputSecurityGroupIds() const { return m_inputSecurityGroupIds; }
72 inline bool InputSecurityGroupIdsHasBeenSet() const { return m_inputSecurityGroupIdsHasBeenSet; }
73 template<typename InputSecurityGroupIdsT = Aws::Vector<Aws::String>>
74 void SetInputSecurityGroupIds(InputSecurityGroupIdsT&& value) { m_inputSecurityGroupIdsHasBeenSet = true; m_inputSecurityGroupIds = std::forward<InputSecurityGroupIdsT>(value); }
75 template<typename InputSecurityGroupIdsT = Aws::Vector<Aws::String>>
76 BatchDeleteRequest& WithInputSecurityGroupIds(InputSecurityGroupIdsT&& value) { SetInputSecurityGroupIds(std::forward<InputSecurityGroupIdsT>(value)); return *this;}
77 template<typename InputSecurityGroupIdsT = Aws::String>
78 BatchDeleteRequest& AddInputSecurityGroupIds(InputSecurityGroupIdsT&& value) { m_inputSecurityGroupIdsHasBeenSet = true; m_inputSecurityGroupIds.emplace_back(std::forward<InputSecurityGroupIdsT>(value)); return *this; }
80
82
85 inline const Aws::Vector<Aws::String>& GetMultiplexIds() const { return m_multiplexIds; }
86 inline bool MultiplexIdsHasBeenSet() const { return m_multiplexIdsHasBeenSet; }
87 template<typename MultiplexIdsT = Aws::Vector<Aws::String>>
88 void SetMultiplexIds(MultiplexIdsT&& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds = std::forward<MultiplexIdsT>(value); }
89 template<typename MultiplexIdsT = Aws::Vector<Aws::String>>
90 BatchDeleteRequest& WithMultiplexIds(MultiplexIdsT&& value) { SetMultiplexIds(std::forward<MultiplexIdsT>(value)); return *this;}
91 template<typename MultiplexIdsT = Aws::String>
92 BatchDeleteRequest& AddMultiplexIds(MultiplexIdsT&& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds.emplace_back(std::forward<MultiplexIdsT>(value)); return *this; }
94 private:
95
96 Aws::Vector<Aws::String> m_channelIds;
97 bool m_channelIdsHasBeenSet = false;
98
99 Aws::Vector<Aws::String> m_inputIds;
100 bool m_inputIdsHasBeenSet = false;
101
102 Aws::Vector<Aws::String> m_inputSecurityGroupIds;
103 bool m_inputSecurityGroupIdsHasBeenSet = false;
104
105 Aws::Vector<Aws::String> m_multiplexIds;
106 bool m_multiplexIdsHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace MediaLive
111} // namespace Aws
const Aws::Vector< Aws::String > & GetInputIds() const
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
AWS_MEDIALIVE_API BatchDeleteRequest()=default
void SetMultiplexIds(MultiplexIdsT &&value)
void SetInputSecurityGroupIds(InputSecurityGroupIdsT &&value)
BatchDeleteRequest & WithInputSecurityGroupIds(InputSecurityGroupIdsT &&value)
BatchDeleteRequest & AddInputSecurityGroupIds(InputSecurityGroupIdsT &&value)
BatchDeleteRequest & AddInputIds(InputIdsT &&value)
BatchDeleteRequest & WithMultiplexIds(MultiplexIdsT &&value)
const Aws::Vector< Aws::String > & GetChannelIds() const
BatchDeleteRequest & WithInputIds(InputIdsT &&value)
BatchDeleteRequest & AddChannelIds(ChannelIdsT &&value)
const Aws::Vector< Aws::String > & GetMultiplexIds() const
virtual const char * GetServiceRequestName() const override
BatchDeleteRequest & WithChannelIds(ChannelIdsT &&value)
BatchDeleteRequest & AddMultiplexIds(MultiplexIdsT &&value)
const Aws::Vector< Aws::String > & GetInputSecurityGroupIds() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector