AWS SDK for C++  1.9.40
AWS SDK for C++
ListJobsByStatusRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace ElasticTranscoder
19 {
20 namespace Model
21 {
22 
30  {
31  public:
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 "ListJobsByStatus"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
51  inline const Aws::String& GetStatus() const{ return m_status; }
52 
59  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
60 
67  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
68 
75  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
76 
83  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
84 
91  inline ListJobsByStatusRequest& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
92 
99  inline ListJobsByStatusRequest& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
100 
107  inline ListJobsByStatusRequest& WithStatus(const char* value) { SetStatus(value); return *this;}
108 
109 
115  inline const Aws::String& GetAscending() const{ return m_ascending; }
116 
122  inline bool AscendingHasBeenSet() const { return m_ascendingHasBeenSet; }
123 
129  inline void SetAscending(const Aws::String& value) { m_ascendingHasBeenSet = true; m_ascending = value; }
130 
136  inline void SetAscending(Aws::String&& value) { m_ascendingHasBeenSet = true; m_ascending = std::move(value); }
137 
143  inline void SetAscending(const char* value) { m_ascendingHasBeenSet = true; m_ascending.assign(value); }
144 
150  inline ListJobsByStatusRequest& WithAscending(const Aws::String& value) { SetAscending(value); return *this;}
151 
157  inline ListJobsByStatusRequest& WithAscending(Aws::String&& value) { SetAscending(std::move(value)); return *this;}
158 
164  inline ListJobsByStatusRequest& WithAscending(const char* value) { SetAscending(value); return *this;}
165 
166 
172  inline const Aws::String& GetPageToken() const{ return m_pageToken; }
173 
179  inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
180 
186  inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
187 
193  inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
194 
200  inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
201 
207  inline ListJobsByStatusRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
208 
214  inline ListJobsByStatusRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
215 
221  inline ListJobsByStatusRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
222 
223  private:
224 
225  Aws::String m_status;
226  bool m_statusHasBeenSet;
227 
228  Aws::String m_ascending;
229  bool m_ascendingHasBeenSet;
230 
231  Aws::String m_pageToken;
232  bool m_pageTokenHasBeenSet;
233  };
234 
235 } // namespace Model
236 } // namespace ElasticTranscoder
237 } // namespace Aws
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::SetPageToken
void SetPageToken(Aws::String &&value)
Definition: ListJobsByStatusRequest.h:193
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::SetPageToken
void SetPageToken(const char *value)
Definition: ListJobsByStatusRequest.h:200
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ListJobsByStatusRequest.h:59
Aws::Http::URI
Definition: URI.h:32
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::SetPageToken
void SetPageToken(const Aws::String &value)
Definition: ListJobsByStatusRequest.h:186
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest
Definition: ListJobsByStatusRequest.h:30
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::WithStatus
ListJobsByStatusRequest & WithStatus(Aws::String &&value)
Definition: ListJobsByStatusRequest.h:99
AWS_ELASTICTRANSCODER_API
#define AWS_ELASTICTRANSCODER_API
Definition: ElasticTranscoder_EXPORTS.h:28
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::SetAscending
void SetAscending(const char *value)
Definition: ListJobsByStatusRequest.h:143
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::SetAscending
void SetAscending(Aws::String &&value)
Definition: ListJobsByStatusRequest.h:136
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::SetStatus
void SetStatus(const char *value)
Definition: ListJobsByStatusRequest.h:83
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::WithStatus
ListJobsByStatusRequest & WithStatus(const Aws::String &value)
Definition: ListJobsByStatusRequest.h:91
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListJobsByStatusRequest.h:38
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::WithAscending
ListJobsByStatusRequest & WithAscending(Aws::String &&value)
Definition: ListJobsByStatusRequest.h:157
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::SetAscending
void SetAscending(const Aws::String &value)
Definition: ListJobsByStatusRequest.h:129
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::AscendingHasBeenSet
bool AscendingHasBeenSet() const
Definition: ListJobsByStatusRequest.h:122
AWSString.h
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::WithAscending
ListJobsByStatusRequest & WithAscending(const char *value)
Definition: ListJobsByStatusRequest.h:164
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::GetAscending
const Aws::String & GetAscending() const
Definition: ListJobsByStatusRequest.h:115
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::SetStatus
void SetStatus(const Aws::String &value)
Definition: ListJobsByStatusRequest.h:67
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::ListJobsByStatusRequest
ListJobsByStatusRequest()
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::SetStatus
void SetStatus(Aws::String &&value)
Definition: ListJobsByStatusRequest.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::GetPageToken
const Aws::String & GetPageToken() const
Definition: ListJobsByStatusRequest.h:172
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::WithAscending
ListJobsByStatusRequest & WithAscending(const Aws::String &value)
Definition: ListJobsByStatusRequest.h:150
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::PageTokenHasBeenSet
bool PageTokenHasBeenSet() const
Definition: ListJobsByStatusRequest.h:179
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::WithPageToken
ListJobsByStatusRequest & WithPageToken(const Aws::String &value)
Definition: ListJobsByStatusRequest.h:207
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::WithPageToken
ListJobsByStatusRequest & WithPageToken(Aws::String &&value)
Definition: ListJobsByStatusRequest.h:214
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ElasticTranscoder_EXPORTS.h
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::WithStatus
ListJobsByStatusRequest & WithStatus(const char *value)
Definition: ListJobsByStatusRequest.h:107
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::GetStatus
const Aws::String & GetStatus() const
Definition: ListJobsByStatusRequest.h:51
Aws::ElasticTranscoder::Model::ListJobsByStatusRequest::WithPageToken
ListJobsByStatusRequest & WithPageToken(const char *value)
Definition: ListJobsByStatusRequest.h:221
Aws::ElasticTranscoder::ElasticTranscoderRequest
Definition: ElasticTranscoderRequest.h:17
ElasticTranscoderRequest.h