AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListHarvestJobsRequest.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/HarvestJobStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace mediapackagev2
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_MEDIAPACKAGEV2_API ListHarvestJobsRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "ListHarvestJobs"; }
39
40 AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override;
41
42 AWS_MEDIAPACKAGEV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
50 inline const Aws::String& GetChannelGroupName() const{ return m_channelGroupName; }
51 inline bool ChannelGroupNameHasBeenSet() const { return m_channelGroupNameHasBeenSet; }
52 inline void SetChannelGroupName(const Aws::String& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = value; }
53 inline void SetChannelGroupName(Aws::String&& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = std::move(value); }
54 inline void SetChannelGroupName(const char* value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName.assign(value); }
55 inline ListHarvestJobsRequest& WithChannelGroupName(const Aws::String& value) { SetChannelGroupName(value); return *this;}
56 inline ListHarvestJobsRequest& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;}
57 inline ListHarvestJobsRequest& WithChannelGroupName(const char* value) { SetChannelGroupName(value); return *this;}
59
61
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 ListHarvestJobsRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
71 inline ListHarvestJobsRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
72 inline ListHarvestJobsRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
74
76
80 inline const Aws::String& GetOriginEndpointName() const{ return m_originEndpointName; }
81 inline bool OriginEndpointNameHasBeenSet() const { return m_originEndpointNameHasBeenSet; }
82 inline void SetOriginEndpointName(const Aws::String& value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName = value; }
83 inline void SetOriginEndpointName(Aws::String&& value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName = std::move(value); }
84 inline void SetOriginEndpointName(const char* value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName.assign(value); }
86 inline ListHarvestJobsRequest& WithOriginEndpointName(Aws::String&& value) { SetOriginEndpointName(std::move(value)); return *this;}
87 inline ListHarvestJobsRequest& WithOriginEndpointName(const char* value) { SetOriginEndpointName(value); return *this;}
89
91
95 inline const HarvestJobStatus& GetStatus() const{ return m_status; }
96 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 inline void SetStatus(const HarvestJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
98 inline void SetStatus(HarvestJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
99 inline ListHarvestJobsRequest& WithStatus(const HarvestJobStatus& value) { SetStatus(value); return *this;}
100 inline ListHarvestJobsRequest& WithStatus(HarvestJobStatus&& value) { SetStatus(std::move(value)); return *this;}
102
104
108 inline int GetMaxResults() const{ return m_maxResults; }
109 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
110 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
111 inline ListHarvestJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
113
115
119 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
120 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
121 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
122 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
123 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
124 inline ListHarvestJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
125 inline ListHarvestJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
126 inline ListHarvestJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
128 private:
129
130 Aws::String m_channelGroupName;
131 bool m_channelGroupNameHasBeenSet = false;
132
133 Aws::String m_channelName;
134 bool m_channelNameHasBeenSet = false;
135
136 Aws::String m_originEndpointName;
137 bool m_originEndpointNameHasBeenSet = false;
138
139 HarvestJobStatus m_status;
140 bool m_statusHasBeenSet = false;
141
142 int m_maxResults;
143 bool m_maxResultsHasBeenSet = false;
144
145 Aws::String m_nextToken;
146 bool m_nextTokenHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace mediapackagev2
151} // namespace Aws
ListHarvestJobsRequest & WithChannelName(const char *value)
AWS_MEDIAPACKAGEV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override
ListHarvestJobsRequest & WithChannelGroupName(Aws::String &&value)
ListHarvestJobsRequest & WithChannelName(const Aws::String &value)
ListHarvestJobsRequest & WithStatus(HarvestJobStatus &&value)
ListHarvestJobsRequest & WithChannelGroupName(const Aws::String &value)
ListHarvestJobsRequest & WithStatus(const HarvestJobStatus &value)
ListHarvestJobsRequest & WithChannelGroupName(const char *value)
ListHarvestJobsRequest & WithOriginEndpointName(Aws::String &&value)
ListHarvestJobsRequest & WithOriginEndpointName(const Aws::String &value)
ListHarvestJobsRequest & WithChannelName(Aws::String &&value)
ListHarvestJobsRequest & WithNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListHarvestJobsRequest & WithOriginEndpointName(const char *value)
ListHarvestJobsRequest & WithNextToken(const char *value)
ListHarvestJobsRequest & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String