AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchUpdateScheduleRequest.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/medialive/model/BatchScheduleActionCreateRequest.h>
11#include <aws/medialive/model/BatchScheduleActionDeleteRequest.h>
12#include <utility>
13
14namespace Aws
15{
16namespace MediaLive
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_MEDIALIVE_API BatchUpdateScheduleRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "BatchUpdateSchedule"; }
37
38 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetChannelId() const { return m_channelId; }
46 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
47 template<typename ChannelIdT = Aws::String>
48 void SetChannelId(ChannelIdT&& value) { m_channelIdHasBeenSet = true; m_channelId = std::forward<ChannelIdT>(value); }
49 template<typename ChannelIdT = Aws::String>
50 BatchUpdateScheduleRequest& WithChannelId(ChannelIdT&& value) { SetChannelId(std::forward<ChannelIdT>(value)); return *this;}
52
54
57 inline const BatchScheduleActionCreateRequest& GetCreates() const { return m_creates; }
58 inline bool CreatesHasBeenSet() const { return m_createsHasBeenSet; }
59 template<typename CreatesT = BatchScheduleActionCreateRequest>
60 void SetCreates(CreatesT&& value) { m_createsHasBeenSet = true; m_creates = std::forward<CreatesT>(value); }
61 template<typename CreatesT = BatchScheduleActionCreateRequest>
62 BatchUpdateScheduleRequest& WithCreates(CreatesT&& value) { SetCreates(std::forward<CreatesT>(value)); return *this;}
64
66
69 inline const BatchScheduleActionDeleteRequest& GetDeletes() const { return m_deletes; }
70 inline bool DeletesHasBeenSet() const { return m_deletesHasBeenSet; }
71 template<typename DeletesT = BatchScheduleActionDeleteRequest>
72 void SetDeletes(DeletesT&& value) { m_deletesHasBeenSet = true; m_deletes = std::forward<DeletesT>(value); }
73 template<typename DeletesT = BatchScheduleActionDeleteRequest>
74 BatchUpdateScheduleRequest& WithDeletes(DeletesT&& value) { SetDeletes(std::forward<DeletesT>(value)); return *this;}
76 private:
77
78 Aws::String m_channelId;
79 bool m_channelIdHasBeenSet = false;
80
82 bool m_createsHasBeenSet = false;
83
85 bool m_deletesHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace MediaLive
90} // 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