AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateHarvestJobRequest.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8#include <aws/mediapackagev2/Mediapackagev2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediapackagev2/model/HarvestedManifests.h>
11#include <aws/mediapackagev2/model/HarvesterScheduleConfiguration.h>
12#include <aws/mediapackagev2/model/Destination.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15#include <aws/core/utils/UUID.h>
16
17namespace Aws
18{
19namespace mediapackagev2
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_MEDIAPACKAGEV2_API CreateHarvestJobRequest();
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "CreateHarvestJob"; }
40
41 AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override;
42
43 AWS_MEDIAPACKAGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
44
45
47
51 inline const Aws::String& GetChannelGroupName() const{ return m_channelGroupName; }
52 inline bool ChannelGroupNameHasBeenSet() const { return m_channelGroupNameHasBeenSet; }
53 inline void SetChannelGroupName(const Aws::String& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = value; }
54 inline void SetChannelGroupName(Aws::String&& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = std::move(value); }
55 inline void SetChannelGroupName(const char* value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName.assign(value); }
56 inline CreateHarvestJobRequest& WithChannelGroupName(const Aws::String& value) { SetChannelGroupName(value); return *this;}
57 inline CreateHarvestJobRequest& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;}
58 inline CreateHarvestJobRequest& WithChannelGroupName(const char* value) { SetChannelGroupName(value); return *this;}
60
62
65 inline const Aws::String& GetChannelName() const{ return m_channelName; }
66 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
67 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
68 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
69 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
70 inline CreateHarvestJobRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
71 inline CreateHarvestJobRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
72 inline CreateHarvestJobRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
74
76
79 inline const Aws::String& GetOriginEndpointName() const{ return m_originEndpointName; }
80 inline bool OriginEndpointNameHasBeenSet() const { return m_originEndpointNameHasBeenSet; }
81 inline void SetOriginEndpointName(const Aws::String& value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName = value; }
82 inline void SetOriginEndpointName(Aws::String&& value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName = std::move(value); }
83 inline void SetOriginEndpointName(const char* value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName.assign(value); }
85 inline CreateHarvestJobRequest& WithOriginEndpointName(Aws::String&& value) { SetOriginEndpointName(std::move(value)); return *this;}
86 inline CreateHarvestJobRequest& WithOriginEndpointName(const char* value) { SetOriginEndpointName(value); return *this;}
88
90
93 inline const Aws::String& GetDescription() const{ return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
96 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
97 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
98 inline CreateHarvestJobRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
99 inline CreateHarvestJobRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
100 inline CreateHarvestJobRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
102
104
107 inline const HarvestedManifests& GetHarvestedManifests() const{ return m_harvestedManifests; }
108 inline bool HarvestedManifestsHasBeenSet() const { return m_harvestedManifestsHasBeenSet; }
109 inline void SetHarvestedManifests(const HarvestedManifests& value) { m_harvestedManifestsHasBeenSet = true; m_harvestedManifests = value; }
110 inline void SetHarvestedManifests(HarvestedManifests&& value) { m_harvestedManifestsHasBeenSet = true; m_harvestedManifests = std::move(value); }
114
116
120 inline const HarvesterScheduleConfiguration& GetScheduleConfiguration() const{ return m_scheduleConfiguration; }
121 inline bool ScheduleConfigurationHasBeenSet() const { return m_scheduleConfigurationHasBeenSet; }
122 inline void SetScheduleConfiguration(const HarvesterScheduleConfiguration& value) { m_scheduleConfigurationHasBeenSet = true; m_scheduleConfiguration = value; }
123 inline void SetScheduleConfiguration(HarvesterScheduleConfiguration&& value) { m_scheduleConfigurationHasBeenSet = true; m_scheduleConfiguration = std::move(value); }
127
129
132 inline const Destination& GetDestination() const{ return m_destination; }
133 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
134 inline void SetDestination(const Destination& value) { m_destinationHasBeenSet = true; m_destination = value; }
135 inline void SetDestination(Destination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
136 inline CreateHarvestJobRequest& WithDestination(const Destination& value) { SetDestination(value); return *this;}
137 inline CreateHarvestJobRequest& WithDestination(Destination&& value) { SetDestination(std::move(value)); return *this;}
139
141
145 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
146 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
147 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
148 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
149 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
150 inline CreateHarvestJobRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
151 inline CreateHarvestJobRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
152 inline CreateHarvestJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
154
156
159 inline const Aws::String& GetHarvestJobName() const{ return m_harvestJobName; }
160 inline bool HarvestJobNameHasBeenSet() const { return m_harvestJobNameHasBeenSet; }
161 inline void SetHarvestJobName(const Aws::String& value) { m_harvestJobNameHasBeenSet = true; m_harvestJobName = value; }
162 inline void SetHarvestJobName(Aws::String&& value) { m_harvestJobNameHasBeenSet = true; m_harvestJobName = std::move(value); }
163 inline void SetHarvestJobName(const char* value) { m_harvestJobNameHasBeenSet = true; m_harvestJobName.assign(value); }
164 inline CreateHarvestJobRequest& WithHarvestJobName(const Aws::String& value) { SetHarvestJobName(value); return *this;}
165 inline CreateHarvestJobRequest& WithHarvestJobName(Aws::String&& value) { SetHarvestJobName(std::move(value)); return *this;}
166 inline CreateHarvestJobRequest& WithHarvestJobName(const char* value) { SetHarvestJobName(value); return *this;}
168
170
173 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
174 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
175 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
176 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
177 inline CreateHarvestJobRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
178 inline CreateHarvestJobRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
179 inline CreateHarvestJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
180 inline CreateHarvestJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
181 inline CreateHarvestJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
182 inline CreateHarvestJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
183 inline CreateHarvestJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
184 inline CreateHarvestJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
185 inline CreateHarvestJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
187 private:
188
189 Aws::String m_channelGroupName;
190 bool m_channelGroupNameHasBeenSet = false;
191
192 Aws::String m_channelName;
193 bool m_channelNameHasBeenSet = false;
194
195 Aws::String m_originEndpointName;
196 bool m_originEndpointNameHasBeenSet = false;
197
198 Aws::String m_description;
199 bool m_descriptionHasBeenSet = false;
200
201 HarvestedManifests m_harvestedManifests;
202 bool m_harvestedManifestsHasBeenSet = false;
203
204 HarvesterScheduleConfiguration m_scheduleConfiguration;
205 bool m_scheduleConfigurationHasBeenSet = false;
206
207 Destination m_destination;
208 bool m_destinationHasBeenSet = false;
209
210 Aws::String m_clientToken;
211 bool m_clientTokenHasBeenSet = false;
212
213 Aws::String m_harvestJobName;
214 bool m_harvestJobNameHasBeenSet = false;
215
217 bool m_tagsHasBeenSet = false;
218 };
219
220} // namespace Model
221} // namespace mediapackagev2
222} // namespace Aws
CreateHarvestJobRequest & WithHarvestedManifests(HarvestedManifests &&value)
CreateHarvestJobRequest & WithClientToken(const Aws::String &value)
void SetScheduleConfiguration(HarvesterScheduleConfiguration &&value)
AWS_MEDIAPACKAGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateHarvestJobRequest & WithScheduleConfiguration(HarvesterScheduleConfiguration &&value)
CreateHarvestJobRequest & AddTags(const char *key, Aws::String &&value)
CreateHarvestJobRequest & WithOriginEndpointName(const char *value)
void SetScheduleConfiguration(const HarvesterScheduleConfiguration &value)
CreateHarvestJobRequest & WithChannelGroupName(const char *value)
CreateHarvestJobRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateHarvestJobRequest & AddTags(const char *key, const char *value)
CreateHarvestJobRequest & WithClientToken(const char *value)
CreateHarvestJobRequest & WithHarvestJobName(Aws::String &&value)
const HarvesterScheduleConfiguration & GetScheduleConfiguration() const
CreateHarvestJobRequest & WithHarvestJobName(const Aws::String &value)
CreateHarvestJobRequest & WithHarvestedManifests(const HarvestedManifests &value)
CreateHarvestJobRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateHarvestJobRequest & WithChannelName(Aws::String &&value)
CreateHarvestJobRequest & WithDescription(const Aws::String &value)
CreateHarvestJobRequest & WithDescription(const char *value)
CreateHarvestJobRequest & WithScheduleConfiguration(const HarvesterScheduleConfiguration &value)
AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetHarvestedManifests(const HarvestedManifests &value)
CreateHarvestJobRequest & WithDescription(Aws::String &&value)
CreateHarvestJobRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateHarvestJobRequest & WithDestination(Destination &&value)
CreateHarvestJobRequest & WithChannelGroupName(Aws::String &&value)
CreateHarvestJobRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateHarvestJobRequest & AddTags(Aws::String &&key, const char *value)
CreateHarvestJobRequest & WithDestination(const Destination &value)
CreateHarvestJobRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateHarvestJobRequest & WithClientToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateHarvestJobRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateHarvestJobRequest & WithOriginEndpointName(const Aws::String &value)
CreateHarvestJobRequest & WithOriginEndpointName(Aws::String &&value)
CreateHarvestJobRequest & WithChannelGroupName(const Aws::String &value)
CreateHarvestJobRequest & WithChannelName(const char *value)
CreateHarvestJobRequest & WithHarvestJobName(const char *value)
CreateHarvestJobRequest & WithChannelName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String