AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetHarvestJobRequest.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 <utility>
11
12namespace Aws
13{
14namespace mediapackagev2
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_MEDIAPACKAGEV2_API GetHarvestJobRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetHarvestJob"; }
35
36 AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetChannelGroupName() const{ return m_channelGroupName; }
45 inline bool ChannelGroupNameHasBeenSet() const { return m_channelGroupNameHasBeenSet; }
46 inline void SetChannelGroupName(const Aws::String& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = value; }
47 inline void SetChannelGroupName(Aws::String&& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = std::move(value); }
48 inline void SetChannelGroupName(const char* value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName.assign(value); }
49 inline GetHarvestJobRequest& WithChannelGroupName(const Aws::String& value) { SetChannelGroupName(value); return *this;}
50 inline GetHarvestJobRequest& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;}
51 inline GetHarvestJobRequest& WithChannelGroupName(const char* value) { SetChannelGroupName(value); return *this;}
53
55
58 inline const Aws::String& GetChannelName() const{ return m_channelName; }
59 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
60 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
61 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
62 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
63 inline GetHarvestJobRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
64 inline GetHarvestJobRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
65 inline GetHarvestJobRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
67
69
72 inline const Aws::String& GetOriginEndpointName() const{ return m_originEndpointName; }
73 inline bool OriginEndpointNameHasBeenSet() const { return m_originEndpointNameHasBeenSet; }
74 inline void SetOriginEndpointName(const Aws::String& value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName = value; }
75 inline void SetOriginEndpointName(Aws::String&& value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName = std::move(value); }
76 inline void SetOriginEndpointName(const char* value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName.assign(value); }
78 inline GetHarvestJobRequest& WithOriginEndpointName(Aws::String&& value) { SetOriginEndpointName(std::move(value)); return *this;}
79 inline GetHarvestJobRequest& WithOriginEndpointName(const char* value) { SetOriginEndpointName(value); return *this;}
81
83
86 inline const Aws::String& GetHarvestJobName() const{ return m_harvestJobName; }
87 inline bool HarvestJobNameHasBeenSet() const { return m_harvestJobNameHasBeenSet; }
88 inline void SetHarvestJobName(const Aws::String& value) { m_harvestJobNameHasBeenSet = true; m_harvestJobName = value; }
89 inline void SetHarvestJobName(Aws::String&& value) { m_harvestJobNameHasBeenSet = true; m_harvestJobName = std::move(value); }
90 inline void SetHarvestJobName(const char* value) { m_harvestJobNameHasBeenSet = true; m_harvestJobName.assign(value); }
91 inline GetHarvestJobRequest& WithHarvestJobName(const Aws::String& value) { SetHarvestJobName(value); return *this;}
92 inline GetHarvestJobRequest& WithHarvestJobName(Aws::String&& value) { SetHarvestJobName(std::move(value)); return *this;}
93 inline GetHarvestJobRequest& WithHarvestJobName(const char* value) { SetHarvestJobName(value); return *this;}
95 private:
96
97 Aws::String m_channelGroupName;
98 bool m_channelGroupNameHasBeenSet = false;
99
100 Aws::String m_channelName;
101 bool m_channelNameHasBeenSet = false;
102
103 Aws::String m_originEndpointName;
104 bool m_originEndpointNameHasBeenSet = false;
105
106 Aws::String m_harvestJobName;
107 bool m_harvestJobNameHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace mediapackagev2
112} // namespace Aws
virtual const char * GetServiceRequestName() const override
GetHarvestJobRequest & WithOriginEndpointName(const Aws::String &value)
GetHarvestJobRequest & WithHarvestJobName(Aws::String &&value)
GetHarvestJobRequest & WithChannelGroupName(Aws::String &&value)
GetHarvestJobRequest & WithOriginEndpointName(const char *value)
AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override
GetHarvestJobRequest & WithChannelName(Aws::String &&value)
GetHarvestJobRequest & WithHarvestJobName(const Aws::String &value)
GetHarvestJobRequest & WithOriginEndpointName(Aws::String &&value)
GetHarvestJobRequest & WithChannelGroupName(const char *value)
GetHarvestJobRequest & WithChannelName(const char *value)
GetHarvestJobRequest & WithChannelGroupName(const Aws::String &value)
GetHarvestJobRequest & WithHarvestJobName(const char *value)
GetHarvestJobRequest & WithChannelName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String