AWS SDK for C++  0.14.3
AWS SDK for C++
ListJobsByStatusRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace Http
23 {
24  class URI;
25 } //namespace Http
26 namespace ElasticTranscoder
27 {
28 namespace Model
29 {
30 
35  {
36  public:
38  Aws::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
48  inline const Aws::String& GetStatus() const{ return m_status; }
49 
56  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
57 
64  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = value; }
65 
72  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
73 
80  inline ListJobsByStatusRequest& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
81 
88  inline ListJobsByStatusRequest& WithStatus(Aws::String&& value) { SetStatus(value); return *this;}
89 
96  inline ListJobsByStatusRequest& WithStatus(const char* value) { SetStatus(value); return *this;}
97 
103  inline const Aws::String& GetAscending() const{ return m_ascending; }
104 
110  inline void SetAscending(const Aws::String& value) { m_ascendingHasBeenSet = true; m_ascending = value; }
111 
117  inline void SetAscending(Aws::String&& value) { m_ascendingHasBeenSet = true; m_ascending = value; }
118 
124  inline void SetAscending(const char* value) { m_ascendingHasBeenSet = true; m_ascending.assign(value); }
125 
131  inline ListJobsByStatusRequest& WithAscending(const Aws::String& value) { SetAscending(value); return *this;}
132 
138  inline ListJobsByStatusRequest& WithAscending(Aws::String&& value) { SetAscending(value); return *this;}
139 
145  inline ListJobsByStatusRequest& WithAscending(const char* value) { SetAscending(value); return *this;}
146 
152  inline const Aws::String& GetPageToken() const{ return m_pageToken; }
153 
159  inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
160 
166  inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
167 
173  inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
174 
180  inline ListJobsByStatusRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
181 
187  inline ListJobsByStatusRequest& WithPageToken(Aws::String&& value) { SetPageToken(value); return *this;}
188 
194  inline ListJobsByStatusRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
195 
196  private:
197  Aws::String m_status;
198  bool m_statusHasBeenSet;
199  Aws::String m_ascending;
200  bool m_ascendingHasBeenSet;
201  Aws::String m_pageToken;
202  bool m_pageTokenHasBeenSet;
203  };
204 
205 } // namespace Model
206 } // namespace ElasticTranscoder
207 } // namespace Aws
ListJobsByStatusRequest & WithStatus(Aws::String &&value)
ListJobsByStatusRequest & WithAscending(const char *value)
ListJobsByStatusRequest & WithAscending(const Aws::String &value)
ListJobsByStatusRequest & WithStatus(const Aws::String &value)
#define AWS_ELASTICTRANSCODER_API
ListJobsByStatusRequest & WithStatus(const char *value)
ListJobsByStatusRequest & WithPageToken(const Aws::String &value)
ListJobsByStatusRequest & WithAscending(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListJobsByStatusRequest & WithPageToken(const char *value)
JSON (JavaScript Object Notation).
ListJobsByStatusRequest & WithPageToken(Aws::String &&value)