AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetChannelId(const Aws::String& value) { m_channelIdHasBeenSet = true; m_channelId = value; }
48 inline void SetChannelId(Aws::String&& value) { m_channelIdHasBeenSet = true; m_channelId = std::move(value); }
49 inline void SetChannelId(const char* value) { m_channelIdHasBeenSet = true; m_channelId.assign(value); }
50 inline BatchUpdateScheduleRequest& WithChannelId(const Aws::String& value) { SetChannelId(value); return *this;}
51 inline BatchUpdateScheduleRequest& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;}
52 inline BatchUpdateScheduleRequest& WithChannelId(const char* value) { SetChannelId(value); return *this;}
54
56
59 inline const BatchScheduleActionCreateRequest& GetCreates() const{ return m_creates; }
60 inline bool CreatesHasBeenSet() const { return m_createsHasBeenSet; }
61 inline void SetCreates(const BatchScheduleActionCreateRequest& value) { m_createsHasBeenSet = true; m_creates = value; }
62 inline void SetCreates(BatchScheduleActionCreateRequest&& value) { m_createsHasBeenSet = true; m_creates = std::move(value); }
64 inline BatchUpdateScheduleRequest& WithCreates(BatchScheduleActionCreateRequest&& value) { SetCreates(std::move(value)); return *this;}
66
68
71 inline const BatchScheduleActionDeleteRequest& GetDeletes() const{ return m_deletes; }
72 inline bool DeletesHasBeenSet() const { return m_deletesHasBeenSet; }
73 inline void SetDeletes(const BatchScheduleActionDeleteRequest& value) { m_deletesHasBeenSet = true; m_deletes = value; }
74 inline void SetDeletes(BatchScheduleActionDeleteRequest&& value) { m_deletesHasBeenSet = true; m_deletes = std::move(value); }
76 inline BatchUpdateScheduleRequest& WithDeletes(BatchScheduleActionDeleteRequest&& value) { SetDeletes(std::move(value)); return *this;}
78 private:
79
80 Aws::String m_channelId;
81 bool m_channelIdHasBeenSet = false;
82
84 bool m_createsHasBeenSet = false;
85
87 bool m_deletesHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace MediaLive
92} // namespace Aws
BatchUpdateScheduleRequest & WithChannelId(const Aws::String &value)
void SetDeletes(BatchScheduleActionDeleteRequest &&value)
BatchUpdateScheduleRequest & WithChannelId(Aws::String &&value)
BatchUpdateScheduleRequest & WithCreates(const BatchScheduleActionCreateRequest &value)
BatchUpdateScheduleRequest & WithDeletes(const BatchScheduleActionDeleteRequest &value)
void SetDeletes(const BatchScheduleActionDeleteRequest &value)
void SetCreates(const BatchScheduleActionCreateRequest &value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const BatchScheduleActionDeleteRequest & GetDeletes() const
BatchUpdateScheduleRequest & WithDeletes(BatchScheduleActionDeleteRequest &&value)
void SetCreates(BatchScheduleActionCreateRequest &&value)
BatchUpdateScheduleRequest & WithCreates(BatchScheduleActionCreateRequest &&value)
BatchUpdateScheduleRequest & WithChannelId(const char *value)
const BatchScheduleActionCreateRequest & GetCreates() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String