AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
BatchUpdateScheduleRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/medialive/MediaLive_EXPORTS.h>
10#include <aws/medialive/model/BatchScheduleActionCreateRequest.h>
11#include <aws/medialive/model/BatchScheduleActionDeleteRequest.h>
12
13#include <utility>
14
15namespace Aws {
16namespace MediaLive {
17namespace Model {
18
26 public:
27 AWS_MEDIALIVE_API BatchUpdateScheduleRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "BatchUpdateSchedule"; }
34
35 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
36
38
41 inline const Aws::String& GetChannelId() const { return m_channelId; }
42 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
43 template <typename ChannelIdT = Aws::String>
44 void SetChannelId(ChannelIdT&& value) {
45 m_channelIdHasBeenSet = true;
46 m_channelId = std::forward<ChannelIdT>(value);
47 }
48 template <typename ChannelIdT = Aws::String>
50 SetChannelId(std::forward<ChannelIdT>(value));
51 return *this;
52 }
54
56
59 inline const BatchScheduleActionCreateRequest& GetCreates() const { return m_creates; }
60 inline bool CreatesHasBeenSet() const { return m_createsHasBeenSet; }
61 template <typename CreatesT = BatchScheduleActionCreateRequest>
62 void SetCreates(CreatesT&& value) {
63 m_createsHasBeenSet = true;
64 m_creates = std::forward<CreatesT>(value);
65 }
66 template <typename CreatesT = BatchScheduleActionCreateRequest>
68 SetCreates(std::forward<CreatesT>(value));
69 return *this;
70 }
72
74
77 inline const BatchScheduleActionDeleteRequest& GetDeletes() const { return m_deletes; }
78 inline bool DeletesHasBeenSet() const { return m_deletesHasBeenSet; }
79 template <typename DeletesT = BatchScheduleActionDeleteRequest>
80 void SetDeletes(DeletesT&& value) {
81 m_deletesHasBeenSet = true;
82 m_deletes = std::forward<DeletesT>(value);
83 }
84 template <typename DeletesT = BatchScheduleActionDeleteRequest>
86 SetDeletes(std::forward<DeletesT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_channelId;
92
94
96 bool m_channelIdHasBeenSet = false;
97 bool m_createsHasBeenSet = false;
98 bool m_deletesHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace MediaLive
103} // namespace Aws
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
BatchUpdateScheduleRequest & WithChannelId(ChannelIdT &&value)
const BatchScheduleActionDeleteRequest & GetDeletes() const
AWS_MEDIALIVE_API BatchUpdateScheduleRequest()=default
BatchUpdateScheduleRequest & WithCreates(CreatesT &&value)
const BatchScheduleActionCreateRequest & GetCreates() const
BatchUpdateScheduleRequest & WithDeletes(DeletesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String