AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CancelHarvestJobRequest.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
22 {
23 public:
24 AWS_MEDIAPACKAGEV2_API CancelHarvestJobRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CancelHarvestJob"; }
31
32 AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override;
33
34 AWS_MEDIAPACKAGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
42 inline const Aws::String& GetChannelGroupName() const{ return m_channelGroupName; }
43 inline bool ChannelGroupNameHasBeenSet() const { return m_channelGroupNameHasBeenSet; }
44 inline void SetChannelGroupName(const Aws::String& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = value; }
45 inline void SetChannelGroupName(Aws::String&& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = std::move(value); }
46 inline void SetChannelGroupName(const char* value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName.assign(value); }
47 inline CancelHarvestJobRequest& WithChannelGroupName(const Aws::String& value) { SetChannelGroupName(value); return *this;}
48 inline CancelHarvestJobRequest& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;}
49 inline CancelHarvestJobRequest& WithChannelGroupName(const char* value) { SetChannelGroupName(value); return *this;}
51
53
56 inline const Aws::String& GetChannelName() const{ return m_channelName; }
57 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
58 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
59 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
60 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
61 inline CancelHarvestJobRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
62 inline CancelHarvestJobRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
63 inline CancelHarvestJobRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
65
67
71 inline const Aws::String& GetOriginEndpointName() const{ return m_originEndpointName; }
72 inline bool OriginEndpointNameHasBeenSet() const { return m_originEndpointNameHasBeenSet; }
73 inline void SetOriginEndpointName(const Aws::String& value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName = value; }
74 inline void SetOriginEndpointName(Aws::String&& value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName = std::move(value); }
75 inline void SetOriginEndpointName(const char* value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName.assign(value); }
77 inline CancelHarvestJobRequest& WithOriginEndpointName(Aws::String&& value) { SetOriginEndpointName(std::move(value)); return *this;}
78 inline CancelHarvestJobRequest& WithOriginEndpointName(const char* value) { SetOriginEndpointName(value); return *this;}
80
82
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 CancelHarvestJobRequest& WithHarvestJobName(const Aws::String& value) { SetHarvestJobName(value); return *this;}
92 inline CancelHarvestJobRequest& WithHarvestJobName(Aws::String&& value) { SetHarvestJobName(std::move(value)); return *this;}
93 inline CancelHarvestJobRequest& WithHarvestJobName(const char* value) { SetHarvestJobName(value); return *this;}
95
97
101 inline const Aws::String& GetETag() const{ return m_eTag; }
102 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
103 inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; }
104 inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); }
105 inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); }
106 inline CancelHarvestJobRequest& WithETag(const Aws::String& value) { SetETag(value); return *this;}
107 inline CancelHarvestJobRequest& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
108 inline CancelHarvestJobRequest& WithETag(const char* value) { SetETag(value); return *this;}
110 private:
111
112 Aws::String m_channelGroupName;
113 bool m_channelGroupNameHasBeenSet = false;
114
115 Aws::String m_channelName;
116 bool m_channelNameHasBeenSet = false;
117
118 Aws::String m_originEndpointName;
119 bool m_originEndpointNameHasBeenSet = false;
120
121 Aws::String m_harvestJobName;
122 bool m_harvestJobNameHasBeenSet = false;
123
124 Aws::String m_eTag;
125 bool m_eTagHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace mediapackagev2
130} // namespace Aws
CancelHarvestJobRequest & WithChannelName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override
AWS_MEDIAPACKAGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CancelHarvestJobRequest & WithChannelGroupName(const Aws::String &value)
CancelHarvestJobRequest & WithETag(const Aws::String &value)
CancelHarvestJobRequest & WithETag(Aws::String &&value)
CancelHarvestJobRequest & WithOriginEndpointName(Aws::String &&value)
CancelHarvestJobRequest & WithHarvestJobName(const Aws::String &value)
CancelHarvestJobRequest & WithOriginEndpointName(const char *value)
CancelHarvestJobRequest & WithETag(const char *value)
CancelHarvestJobRequest & WithChannelName(const char *value)
CancelHarvestJobRequest & WithOriginEndpointName(const Aws::String &value)
CancelHarvestJobRequest & WithHarvestJobName(const char *value)
CancelHarvestJobRequest & WithChannelGroupName(Aws::String &&value)
CancelHarvestJobRequest & WithChannelName(const Aws::String &value)
CancelHarvestJobRequest & WithHarvestJobName(Aws::String &&value)
CancelHarvestJobRequest & WithChannelGroupName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String