AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 BatchDeleteRequest& WithChannelIds(const Aws::Vector<Aws::String>& value) { SetChannelIds(value); return *this;}
48 inline BatchDeleteRequest& WithChannelIds(Aws::Vector<Aws::String>&& value) { SetChannelIds(std::move(value)); return *this;}
49 inline BatchDeleteRequest& AddChannelIds(const Aws::String& value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(value); return *this; }
50 inline BatchDeleteRequest& AddChannelIds(Aws::String&& value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(std::move(value)); return *this; }
51 inline BatchDeleteRequest& AddChannelIds(const char* value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(value); return *this; }
53
55
58 inline const Aws::Vector<Aws::String>& GetInputIds() const{ return m_inputIds; }
59 inline bool InputIdsHasBeenSet() const { return m_inputIdsHasBeenSet; }
60 inline void SetInputIds(const Aws::Vector<Aws::String>& value) { m_inputIdsHasBeenSet = true; m_inputIds = value; }
61 inline void SetInputIds(Aws::Vector<Aws::String>&& value) { m_inputIdsHasBeenSet = true; m_inputIds = std::move(value); }
62 inline BatchDeleteRequest& WithInputIds(const Aws::Vector<Aws::String>& value) { SetInputIds(value); return *this;}
63 inline BatchDeleteRequest& WithInputIds(Aws::Vector<Aws::String>&& value) { SetInputIds(std::move(value)); return *this;}
64 inline BatchDeleteRequest& AddInputIds(const Aws::String& value) { m_inputIdsHasBeenSet = true; m_inputIds.push_back(value); return *this; }
65 inline BatchDeleteRequest& AddInputIds(Aws::String&& value) { m_inputIdsHasBeenSet = true; m_inputIds.push_back(std::move(value)); return *this; }
66 inline BatchDeleteRequest& AddInputIds(const char* value) { m_inputIdsHasBeenSet = true; m_inputIds.push_back(value); return *this; }
68
70
73 inline const Aws::Vector<Aws::String>& GetInputSecurityGroupIds() const{ return m_inputSecurityGroupIds; }
74 inline bool InputSecurityGroupIdsHasBeenSet() const { return m_inputSecurityGroupIdsHasBeenSet; }
75 inline void SetInputSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_inputSecurityGroupIdsHasBeenSet = true; m_inputSecurityGroupIds = value; }
76 inline void SetInputSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_inputSecurityGroupIdsHasBeenSet = true; m_inputSecurityGroupIds = std::move(value); }
79 inline BatchDeleteRequest& AddInputSecurityGroupIds(const Aws::String& value) { m_inputSecurityGroupIdsHasBeenSet = true; m_inputSecurityGroupIds.push_back(value); return *this; }
80 inline BatchDeleteRequest& AddInputSecurityGroupIds(Aws::String&& value) { m_inputSecurityGroupIdsHasBeenSet = true; m_inputSecurityGroupIds.push_back(std::move(value)); return *this; }
81 inline BatchDeleteRequest& AddInputSecurityGroupIds(const char* value) { m_inputSecurityGroupIdsHasBeenSet = true; m_inputSecurityGroupIds.push_back(value); return *this; }
83
85
88 inline const Aws::Vector<Aws::String>& GetMultiplexIds() const{ return m_multiplexIds; }
89 inline bool MultiplexIdsHasBeenSet() const { return m_multiplexIdsHasBeenSet; }
90 inline void SetMultiplexIds(const Aws::Vector<Aws::String>& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds = value; }
91 inline void SetMultiplexIds(Aws::Vector<Aws::String>&& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds = std::move(value); }
92 inline BatchDeleteRequest& WithMultiplexIds(const Aws::Vector<Aws::String>& value) { SetMultiplexIds(value); return *this;}
93 inline BatchDeleteRequest& WithMultiplexIds(Aws::Vector<Aws::String>&& value) { SetMultiplexIds(std::move(value)); return *this;}
94 inline BatchDeleteRequest& AddMultiplexIds(const Aws::String& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds.push_back(value); return *this; }
95 inline BatchDeleteRequest& AddMultiplexIds(Aws::String&& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds.push_back(std::move(value)); return *this; }
96 inline BatchDeleteRequest& AddMultiplexIds(const char* value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds.push_back(value); return *this; }
98 private:
99
100 Aws::Vector<Aws::String> m_channelIds;
101 bool m_channelIdsHasBeenSet = false;
102
103 Aws::Vector<Aws::String> m_inputIds;
104 bool m_inputIdsHasBeenSet = false;
105
106 Aws::Vector<Aws::String> m_inputSecurityGroupIds;
107 bool m_inputSecurityGroupIdsHasBeenSet = false;
108
109 Aws::Vector<Aws::String> m_multiplexIds;
110 bool m_multiplexIdsHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace MediaLive
115} // namespace Aws
BatchDeleteRequest & WithChannelIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetInputIds() const
BatchDeleteRequest & WithInputIds(const Aws::Vector< Aws::String > &value)
BatchDeleteRequest & AddInputSecurityGroupIds(Aws::String &&value)
void SetChannelIds(const Aws::Vector< Aws::String > &value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
BatchDeleteRequest & AddChannelIds(const char *value)
BatchDeleteRequest & WithChannelIds(const Aws::Vector< Aws::String > &value)
void SetMultiplexIds(Aws::Vector< Aws::String > &&value)
void SetInputSecurityGroupIds(const Aws::Vector< Aws::String > &value)
BatchDeleteRequest & AddMultiplexIds(Aws::String &&value)
void SetInputIds(Aws::Vector< Aws::String > &&value)
BatchDeleteRequest & AddMultiplexIds(const Aws::String &value)
BatchDeleteRequest & WithInputSecurityGroupIds(const Aws::Vector< Aws::String > &value)
BatchDeleteRequest & WithInputSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetChannelIds(Aws::Vector< Aws::String > &&value)
BatchDeleteRequest & AddInputIds(Aws::String &&value)
void SetInputSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetInputIds(const Aws::Vector< Aws::String > &value)
BatchDeleteRequest & AddInputIds(const Aws::String &value)
const Aws::Vector< Aws::String > & GetChannelIds() const
BatchDeleteRequest & WithMultiplexIds(Aws::Vector< Aws::String > &&value)
BatchDeleteRequest & AddInputSecurityGroupIds(const Aws::String &value)
const Aws::Vector< Aws::String > & GetMultiplexIds() const
BatchDeleteRequest & WithMultiplexIds(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
BatchDeleteRequest & AddInputSecurityGroupIds(const char *value)
BatchDeleteRequest & AddChannelIds(Aws::String &&value)
BatchDeleteRequest & AddInputIds(const char *value)
void SetMultiplexIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetInputSecurityGroupIds() const
BatchDeleteRequest & AddMultiplexIds(const char *value)
BatchDeleteRequest & WithInputIds(Aws::Vector< Aws::String > &&value)
BatchDeleteRequest & AddChannelIds(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector