AWS SDK for C++  1.9.40
AWS SDK for C++
BatchDeleteRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace MediaLive
16 {
17 namespace Model
18 {
19 
26  {
27  public:
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::String SerializePayload() const override;
37 
38 
42  inline const Aws::Vector<Aws::String>& GetChannelIds() const{ return m_channelIds; }
43 
47  inline bool ChannelIdsHasBeenSet() const { return m_channelIdsHasBeenSet; }
48 
52  inline void SetChannelIds(const Aws::Vector<Aws::String>& value) { m_channelIdsHasBeenSet = true; m_channelIds = value; }
53 
57  inline void SetChannelIds(Aws::Vector<Aws::String>&& value) { m_channelIdsHasBeenSet = true; m_channelIds = std::move(value); }
58 
62  inline BatchDeleteRequest& WithChannelIds(const Aws::Vector<Aws::String>& value) { SetChannelIds(value); return *this;}
63 
67  inline BatchDeleteRequest& WithChannelIds(Aws::Vector<Aws::String>&& value) { SetChannelIds(std::move(value)); return *this;}
68 
72  inline BatchDeleteRequest& AddChannelIds(const Aws::String& value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(value); return *this; }
73 
77  inline BatchDeleteRequest& AddChannelIds(Aws::String&& value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(std::move(value)); return *this; }
78 
82  inline BatchDeleteRequest& AddChannelIds(const char* value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(value); return *this; }
83 
84 
88  inline const Aws::Vector<Aws::String>& GetInputIds() const{ return m_inputIds; }
89 
93  inline bool InputIdsHasBeenSet() const { return m_inputIdsHasBeenSet; }
94 
98  inline void SetInputIds(const Aws::Vector<Aws::String>& value) { m_inputIdsHasBeenSet = true; m_inputIds = value; }
99 
103  inline void SetInputIds(Aws::Vector<Aws::String>&& value) { m_inputIdsHasBeenSet = true; m_inputIds = std::move(value); }
104 
108  inline BatchDeleteRequest& WithInputIds(const Aws::Vector<Aws::String>& value) { SetInputIds(value); return *this;}
109 
113  inline BatchDeleteRequest& WithInputIds(Aws::Vector<Aws::String>&& value) { SetInputIds(std::move(value)); return *this;}
114 
118  inline BatchDeleteRequest& AddInputIds(const Aws::String& value) { m_inputIdsHasBeenSet = true; m_inputIds.push_back(value); return *this; }
119 
123  inline BatchDeleteRequest& AddInputIds(Aws::String&& value) { m_inputIdsHasBeenSet = true; m_inputIds.push_back(std::move(value)); return *this; }
124 
128  inline BatchDeleteRequest& AddInputIds(const char* value) { m_inputIdsHasBeenSet = true; m_inputIds.push_back(value); return *this; }
129 
130 
134  inline const Aws::Vector<Aws::String>& GetInputSecurityGroupIds() const{ return m_inputSecurityGroupIds; }
135 
139  inline bool InputSecurityGroupIdsHasBeenSet() const { return m_inputSecurityGroupIdsHasBeenSet; }
140 
144  inline void SetInputSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_inputSecurityGroupIdsHasBeenSet = true; m_inputSecurityGroupIds = value; }
145 
149  inline void SetInputSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_inputSecurityGroupIdsHasBeenSet = true; m_inputSecurityGroupIds = std::move(value); }
150 
154  inline BatchDeleteRequest& WithInputSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetInputSecurityGroupIds(value); return *this;}
155 
159  inline BatchDeleteRequest& WithInputSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetInputSecurityGroupIds(std::move(value)); return *this;}
160 
164  inline BatchDeleteRequest& AddInputSecurityGroupIds(const Aws::String& value) { m_inputSecurityGroupIdsHasBeenSet = true; m_inputSecurityGroupIds.push_back(value); return *this; }
165 
169  inline BatchDeleteRequest& AddInputSecurityGroupIds(Aws::String&& value) { m_inputSecurityGroupIdsHasBeenSet = true; m_inputSecurityGroupIds.push_back(std::move(value)); return *this; }
170 
174  inline BatchDeleteRequest& AddInputSecurityGroupIds(const char* value) { m_inputSecurityGroupIdsHasBeenSet = true; m_inputSecurityGroupIds.push_back(value); return *this; }
175 
176 
180  inline const Aws::Vector<Aws::String>& GetMultiplexIds() const{ return m_multiplexIds; }
181 
185  inline bool MultiplexIdsHasBeenSet() const { return m_multiplexIdsHasBeenSet; }
186 
190  inline void SetMultiplexIds(const Aws::Vector<Aws::String>& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds = value; }
191 
195  inline void SetMultiplexIds(Aws::Vector<Aws::String>&& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds = std::move(value); }
196 
200  inline BatchDeleteRequest& WithMultiplexIds(const Aws::Vector<Aws::String>& value) { SetMultiplexIds(value); return *this;}
201 
205  inline BatchDeleteRequest& WithMultiplexIds(Aws::Vector<Aws::String>&& value) { SetMultiplexIds(std::move(value)); return *this;}
206 
210  inline BatchDeleteRequest& AddMultiplexIds(const Aws::String& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds.push_back(value); return *this; }
211 
215  inline BatchDeleteRequest& AddMultiplexIds(Aws::String&& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds.push_back(std::move(value)); return *this; }
216 
220  inline BatchDeleteRequest& AddMultiplexIds(const char* value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds.push_back(value); return *this; }
221 
222  private:
223 
224  Aws::Vector<Aws::String> m_channelIds;
225  bool m_channelIdsHasBeenSet;
226 
227  Aws::Vector<Aws::String> m_inputIds;
228  bool m_inputIdsHasBeenSet;
229 
230  Aws::Vector<Aws::String> m_inputSecurityGroupIds;
231  bool m_inputSecurityGroupIdsHasBeenSet;
232 
233  Aws::Vector<Aws::String> m_multiplexIds;
234  bool m_multiplexIdsHasBeenSet;
235  };
236 
237 } // namespace Model
238 } // namespace MediaLive
239 } // namespace Aws
Aws::MediaLive::Model::BatchDeleteRequest::AddMultiplexIds
BatchDeleteRequest & AddMultiplexIds(const Aws::String &value)
Definition: BatchDeleteRequest.h:210
Aws::MediaLive::Model::BatchDeleteRequest::WithInputIds
BatchDeleteRequest & WithInputIds(Aws::Vector< Aws::String > &&value)
Definition: BatchDeleteRequest.h:113
Aws::MediaLive::Model::BatchDeleteRequest::WithInputIds
BatchDeleteRequest & WithInputIds(const Aws::Vector< Aws::String > &value)
Definition: BatchDeleteRequest.h:108
Aws::MediaLive::Model::BatchDeleteRequest::WithMultiplexIds
BatchDeleteRequest & WithMultiplexIds(Aws::Vector< Aws::String > &&value)
Definition: BatchDeleteRequest.h:205
Aws::MediaLive::Model::BatchDeleteRequest::AddInputSecurityGroupIds
BatchDeleteRequest & AddInputSecurityGroupIds(Aws::String &&value)
Definition: BatchDeleteRequest.h:169
Aws::MediaLive::Model::BatchDeleteRequest::GetMultiplexIds
const Aws::Vector< Aws::String > & GetMultiplexIds() const
Definition: BatchDeleteRequest.h:180
Aws::MediaLive::Model::BatchDeleteRequest::WithMultiplexIds
BatchDeleteRequest & WithMultiplexIds(const Aws::Vector< Aws::String > &value)
Definition: BatchDeleteRequest.h:200
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MediaLive::Model::BatchDeleteRequest::SetMultiplexIds
void SetMultiplexIds(Aws::Vector< Aws::String > &&value)
Definition: BatchDeleteRequest.h:195
Aws::MediaLive::Model::BatchDeleteRequest::AddMultiplexIds
BatchDeleteRequest & AddMultiplexIds(const char *value)
Definition: BatchDeleteRequest.h:220
AWSVector.h
Aws::MediaLive::MediaLiveRequest
Definition: MediaLiveRequest.h:17
Aws::MediaLive::Model::BatchDeleteRequest
Definition: BatchDeleteRequest.h:26
Aws::MediaLive::Model::BatchDeleteRequest::AddInputSecurityGroupIds
BatchDeleteRequest & AddInputSecurityGroupIds(const char *value)
Definition: BatchDeleteRequest.h:174
Aws::MediaLive::Model::BatchDeleteRequest::BatchDeleteRequest
BatchDeleteRequest()
Aws::MediaLive::Model::BatchDeleteRequest::WithChannelIds
BatchDeleteRequest & WithChannelIds(Aws::Vector< Aws::String > &&value)
Definition: BatchDeleteRequest.h:67
Aws::MediaLive::Model::BatchDeleteRequest::AddChannelIds
BatchDeleteRequest & AddChannelIds(const char *value)
Definition: BatchDeleteRequest.h:82
AWS_MEDIALIVE_API
#define AWS_MEDIALIVE_API
Definition: MediaLive_EXPORTS.h:28
Aws::MediaLive::Model::BatchDeleteRequest::ChannelIdsHasBeenSet
bool ChannelIdsHasBeenSet() const
Definition: BatchDeleteRequest.h:47
Aws::MediaLive::Model::BatchDeleteRequest::AddInputIds
BatchDeleteRequest & AddInputIds(const char *value)
Definition: BatchDeleteRequest.h:128
Aws::MediaLive::Model::BatchDeleteRequest::WithChannelIds
BatchDeleteRequest & WithChannelIds(const Aws::Vector< Aws::String > &value)
Definition: BatchDeleteRequest.h:62
Aws::MediaLive::Model::BatchDeleteRequest::AddChannelIds
BatchDeleteRequest & AddChannelIds(Aws::String &&value)
Definition: BatchDeleteRequest.h:77
Aws::MediaLive::Model::BatchDeleteRequest::GetChannelIds
const Aws::Vector< Aws::String > & GetChannelIds() const
Definition: BatchDeleteRequest.h:42
AWSString.h
Aws::MediaLive::Model::BatchDeleteRequest::SetInputSecurityGroupIds
void SetInputSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: BatchDeleteRequest.h:149
Aws::MediaLive::Model::BatchDeleteRequest::SetChannelIds
void SetChannelIds(Aws::Vector< Aws::String > &&value)
Definition: BatchDeleteRequest.h:57
Aws::MediaLive::Model::BatchDeleteRequest::SetInputSecurityGroupIds
void SetInputSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: BatchDeleteRequest.h:144
Aws::MediaLive::Model::BatchDeleteRequest::WithInputSecurityGroupIds
BatchDeleteRequest & WithInputSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: BatchDeleteRequest.h:159
Aws::MediaLive::Model::BatchDeleteRequest::AddChannelIds
BatchDeleteRequest & AddChannelIds(const Aws::String &value)
Definition: BatchDeleteRequest.h:72
Aws::MediaLive::Model::BatchDeleteRequest::AddMultiplexIds
BatchDeleteRequest & AddMultiplexIds(Aws::String &&value)
Definition: BatchDeleteRequest.h:215
Aws::MediaLive::Model::BatchDeleteRequest::SetInputIds
void SetInputIds(const Aws::Vector< Aws::String > &value)
Definition: BatchDeleteRequest.h:98
Aws::MediaLive::Model::BatchDeleteRequest::AddInputSecurityGroupIds
BatchDeleteRequest & AddInputSecurityGroupIds(const Aws::String &value)
Definition: BatchDeleteRequest.h:164
Aws::MediaLive::Model::BatchDeleteRequest::SetMultiplexIds
void SetMultiplexIds(const Aws::Vector< Aws::String > &value)
Definition: BatchDeleteRequest.h:190
Aws
Definition: AccessManagementClient.h:15
Aws::MediaLive::Model::BatchDeleteRequest::SetInputIds
void SetInputIds(Aws::Vector< Aws::String > &&value)
Definition: BatchDeleteRequest.h:103
MediaLiveRequest.h
Aws::MediaLive::Model::BatchDeleteRequest::SetChannelIds
void SetChannelIds(const Aws::Vector< Aws::String > &value)
Definition: BatchDeleteRequest.h:52
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaLive::Model::BatchDeleteRequest::AddInputIds
BatchDeleteRequest & AddInputIds(const Aws::String &value)
Definition: BatchDeleteRequest.h:118
Aws::MediaLive::Model::BatchDeleteRequest::GetInputSecurityGroupIds
const Aws::Vector< Aws::String > & GetInputSecurityGroupIds() const
Definition: BatchDeleteRequest.h:134
Aws::MediaLive::Model::BatchDeleteRequest::GetInputIds
const Aws::Vector< Aws::String > & GetInputIds() const
Definition: BatchDeleteRequest.h:88
Aws::MediaLive::Model::BatchDeleteRequest::InputIdsHasBeenSet
bool InputIdsHasBeenSet() const
Definition: BatchDeleteRequest.h:93
Aws::MediaLive::Model::BatchDeleteRequest::MultiplexIdsHasBeenSet
bool MultiplexIdsHasBeenSet() const
Definition: BatchDeleteRequest.h:185
Aws::MediaLive::Model::BatchDeleteRequest::WithInputSecurityGroupIds
BatchDeleteRequest & WithInputSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: BatchDeleteRequest.h:154
Aws::MediaLive::Model::BatchDeleteRequest::InputSecurityGroupIdsHasBeenSet
bool InputSecurityGroupIdsHasBeenSet() const
Definition: BatchDeleteRequest.h:139
Aws::MediaLive::Model::BatchDeleteRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchDeleteRequest.h:34
Aws::MediaLive::Model::BatchDeleteRequest::SerializePayload
Aws::String SerializePayload() const override
MediaLive_EXPORTS.h
Aws::MediaLive::Model::BatchDeleteRequest::AddInputIds
BatchDeleteRequest & AddInputIds(Aws::String &&value)
Definition: BatchDeleteRequest.h:123