AWS SDK for C++  1.9.40
AWS SDK for C++
BatchStopRequest.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 "BatchStop"; }
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 BatchStopRequest& WithChannelIds(const Aws::Vector<Aws::String>& value) { SetChannelIds(value); return *this;}
63 
67  inline BatchStopRequest& WithChannelIds(Aws::Vector<Aws::String>&& value) { SetChannelIds(std::move(value)); return *this;}
68 
72  inline BatchStopRequest& AddChannelIds(const Aws::String& value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(value); return *this; }
73 
77  inline BatchStopRequest& AddChannelIds(Aws::String&& value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(std::move(value)); return *this; }
78 
82  inline BatchStopRequest& AddChannelIds(const char* value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(value); return *this; }
83 
84 
88  inline const Aws::Vector<Aws::String>& GetMultiplexIds() const{ return m_multiplexIds; }
89 
93  inline bool MultiplexIdsHasBeenSet() const { return m_multiplexIdsHasBeenSet; }
94 
98  inline void SetMultiplexIds(const Aws::Vector<Aws::String>& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds = value; }
99 
103  inline void SetMultiplexIds(Aws::Vector<Aws::String>&& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds = std::move(value); }
104 
108  inline BatchStopRequest& WithMultiplexIds(const Aws::Vector<Aws::String>& value) { SetMultiplexIds(value); return *this;}
109 
113  inline BatchStopRequest& WithMultiplexIds(Aws::Vector<Aws::String>&& value) { SetMultiplexIds(std::move(value)); return *this;}
114 
118  inline BatchStopRequest& AddMultiplexIds(const Aws::String& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds.push_back(value); return *this; }
119 
123  inline BatchStopRequest& AddMultiplexIds(Aws::String&& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds.push_back(std::move(value)); return *this; }
124 
128  inline BatchStopRequest& AddMultiplexIds(const char* value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds.push_back(value); return *this; }
129 
130  private:
131 
132  Aws::Vector<Aws::String> m_channelIds;
133  bool m_channelIdsHasBeenSet;
134 
135  Aws::Vector<Aws::String> m_multiplexIds;
136  bool m_multiplexIdsHasBeenSet;
137  };
138 
139 } // namespace Model
140 } // namespace MediaLive
141 } // namespace Aws
Aws::MediaLive::Model::BatchStopRequest::MultiplexIdsHasBeenSet
bool MultiplexIdsHasBeenSet() const
Definition: BatchStopRequest.h:93
Aws::MediaLive::Model::BatchStopRequest::GetMultiplexIds
const Aws::Vector< Aws::String > & GetMultiplexIds() const
Definition: BatchStopRequest.h:88
Aws::MediaLive::Model::BatchStopRequest::AddChannelIds
BatchStopRequest & AddChannelIds(const char *value)
Definition: BatchStopRequest.h:82
Aws::MediaLive::Model::BatchStopRequest::WithMultiplexIds
BatchStopRequest & WithMultiplexIds(const Aws::Vector< Aws::String > &value)
Definition: BatchStopRequest.h:108
Aws::MediaLive::Model::BatchStopRequest::SetChannelIds
void SetChannelIds(Aws::Vector< Aws::String > &&value)
Definition: BatchStopRequest.h:57
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::MediaLive::MediaLiveRequest
Definition: MediaLiveRequest.h:17
Aws::MediaLive::Model::BatchStopRequest::AddMultiplexIds
BatchStopRequest & AddMultiplexIds(const Aws::String &value)
Definition: BatchStopRequest.h:118
Aws::MediaLive::Model::BatchStopRequest::GetChannelIds
const Aws::Vector< Aws::String > & GetChannelIds() const
Definition: BatchStopRequest.h:42
Aws::MediaLive::Model::BatchStopRequest::AddChannelIds
BatchStopRequest & AddChannelIds(Aws::String &&value)
Definition: BatchStopRequest.h:77
Aws::MediaLive::Model::BatchStopRequest::BatchStopRequest
BatchStopRequest()
Aws::MediaLive::Model::BatchStopRequest::AddMultiplexIds
BatchStopRequest & AddMultiplexIds(const char *value)
Definition: BatchStopRequest.h:128
AWS_MEDIALIVE_API
#define AWS_MEDIALIVE_API
Definition: MediaLive_EXPORTS.h:28
Aws::MediaLive::Model::BatchStopRequest::SetMultiplexIds
void SetMultiplexIds(Aws::Vector< Aws::String > &&value)
Definition: BatchStopRequest.h:103
Aws::MediaLive::Model::BatchStopRequest::SetMultiplexIds
void SetMultiplexIds(const Aws::Vector< Aws::String > &value)
Definition: BatchStopRequest.h:98
Aws::MediaLive::Model::BatchStopRequest::WithChannelIds
BatchStopRequest & WithChannelIds(const Aws::Vector< Aws::String > &value)
Definition: BatchStopRequest.h:62
Aws::MediaLive::Model::BatchStopRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchStopRequest.h:34
AWSString.h
Aws::MediaLive::Model::BatchStopRequest::AddChannelIds
BatchStopRequest & AddChannelIds(const Aws::String &value)
Definition: BatchStopRequest.h:72
Aws::MediaLive::Model::BatchStopRequest::ChannelIdsHasBeenSet
bool ChannelIdsHasBeenSet() const
Definition: BatchStopRequest.h:47
Aws::MediaLive::Model::BatchStopRequest::AddMultiplexIds
BatchStopRequest & AddMultiplexIds(Aws::String &&value)
Definition: BatchStopRequest.h:123
Aws::MediaLive::Model::BatchStopRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaLive::Model::BatchStopRequest::SetChannelIds
void SetChannelIds(const Aws::Vector< Aws::String > &value)
Definition: BatchStopRequest.h:52
Aws
Definition: AccessManagementClient.h:15
Aws::MediaLive::Model::BatchStopRequest::WithChannelIds
BatchStopRequest & WithChannelIds(Aws::Vector< Aws::String > &&value)
Definition: BatchStopRequest.h:67
MediaLiveRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaLive::Model::BatchStopRequest::WithMultiplexIds
BatchStopRequest & WithMultiplexIds(Aws::Vector< Aws::String > &&value)
Definition: BatchStopRequest.h:113
Aws::MediaLive::Model::BatchStopRequest
Definition: BatchStopRequest.h:26
MediaLive_EXPORTS.h