AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RestartChannelPipelinesRequest.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/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/medialive/model/ChannelPipelineIdToRestart.h>
12#include <utility>
13
14namespace Aws
15{
16namespace MediaLive
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_MEDIALIVE_API RestartChannelPipelinesRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "RestartChannelPipelines"; }
36
37 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetChannelId() const{ return m_channelId; }
45 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
46 inline void SetChannelId(const Aws::String& value) { m_channelIdHasBeenSet = true; m_channelId = value; }
47 inline void SetChannelId(Aws::String&& value) { m_channelIdHasBeenSet = true; m_channelId = std::move(value); }
48 inline void SetChannelId(const char* value) { m_channelIdHasBeenSet = true; m_channelId.assign(value); }
49 inline RestartChannelPipelinesRequest& WithChannelId(const Aws::String& value) { SetChannelId(value); return *this;}
50 inline RestartChannelPipelinesRequest& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;}
51 inline RestartChannelPipelinesRequest& WithChannelId(const char* value) { SetChannelId(value); return *this;}
53
55
59 inline const Aws::Vector<ChannelPipelineIdToRestart>& GetPipelineIds() const{ return m_pipelineIds; }
60 inline bool PipelineIdsHasBeenSet() const { return m_pipelineIdsHasBeenSet; }
61 inline void SetPipelineIds(const Aws::Vector<ChannelPipelineIdToRestart>& value) { m_pipelineIdsHasBeenSet = true; m_pipelineIds = value; }
62 inline void SetPipelineIds(Aws::Vector<ChannelPipelineIdToRestart>&& value) { m_pipelineIdsHasBeenSet = true; m_pipelineIds = std::move(value); }
65 inline RestartChannelPipelinesRequest& AddPipelineIds(const ChannelPipelineIdToRestart& value) { m_pipelineIdsHasBeenSet = true; m_pipelineIds.push_back(value); return *this; }
66 inline RestartChannelPipelinesRequest& AddPipelineIds(ChannelPipelineIdToRestart&& value) { m_pipelineIdsHasBeenSet = true; m_pipelineIds.push_back(std::move(value)); return *this; }
68 private:
69
70 Aws::String m_channelId;
71 bool m_channelIdHasBeenSet = false;
72
74 bool m_pipelineIdsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace MediaLive
79} // namespace Aws
const Aws::Vector< ChannelPipelineIdToRestart > & GetPipelineIds() const
RestartChannelPipelinesRequest & WithPipelineIds(Aws::Vector< ChannelPipelineIdToRestart > &&value)
RestartChannelPipelinesRequest & AddPipelineIds(ChannelPipelineIdToRestart &&value)
RestartChannelPipelinesRequest & WithChannelId(const Aws::String &value)
RestartChannelPipelinesRequest & AddPipelineIds(const ChannelPipelineIdToRestart &value)
RestartChannelPipelinesRequest & WithChannelId(Aws::String &&value)
void SetPipelineIds(const Aws::Vector< ChannelPipelineIdToRestart > &value)
RestartChannelPipelinesRequest & WithChannelId(const char *value)
void SetPipelineIds(Aws::Vector< ChannelPipelineIdToRestart > &&value)
RestartChannelPipelinesRequest & WithPipelineIds(const Aws::Vector< ChannelPipelineIdToRestart > &value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector