AWS SDK for C++  0.14.3
AWS SDK for C++
ListJobsByPipelineRequest.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 
45  inline const Aws::String& GetPipelineId() const{ return m_pipelineId; }
46 
50  inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
51 
55  inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
56 
60  inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
61 
65  inline ListJobsByPipelineRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
66 
70  inline ListJobsByPipelineRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(value); return *this;}
71 
75  inline ListJobsByPipelineRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
76 
82  inline const Aws::String& GetAscending() const{ return m_ascending; }
83 
89  inline void SetAscending(const Aws::String& value) { m_ascendingHasBeenSet = true; m_ascending = value; }
90 
96  inline void SetAscending(Aws::String&& value) { m_ascendingHasBeenSet = true; m_ascending = value; }
97 
103  inline void SetAscending(const char* value) { m_ascendingHasBeenSet = true; m_ascending.assign(value); }
104 
110  inline ListJobsByPipelineRequest& WithAscending(const Aws::String& value) { SetAscending(value); return *this;}
111 
117  inline ListJobsByPipelineRequest& WithAscending(Aws::String&& value) { SetAscending(value); return *this;}
118 
124  inline ListJobsByPipelineRequest& WithAscending(const char* value) { SetAscending(value); return *this;}
125 
131  inline const Aws::String& GetPageToken() const{ return m_pageToken; }
132 
138  inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
139 
145  inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
146 
152  inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
153 
159  inline ListJobsByPipelineRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
160 
166  inline ListJobsByPipelineRequest& WithPageToken(Aws::String&& value) { SetPageToken(value); return *this;}
167 
173  inline ListJobsByPipelineRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
174 
175  private:
176  Aws::String m_pipelineId;
177  bool m_pipelineIdHasBeenSet;
178  Aws::String m_ascending;
179  bool m_ascendingHasBeenSet;
180  Aws::String m_pageToken;
181  bool m_pageTokenHasBeenSet;
182  };
183 
184 } // namespace Model
185 } // namespace ElasticTranscoder
186 } // namespace Aws
ListJobsByPipelineRequest & WithPageToken(const char *value)
ListJobsByPipelineRequest & WithPipelineId(const char *value)
ListJobsByPipelineRequest & WithPageToken(Aws::String &&value)
ListJobsByPipelineRequest & WithAscending(const Aws::String &value)
ListJobsByPipelineRequest & WithAscending(const char *value)
ListJobsByPipelineRequest & WithPipelineId(const Aws::String &value)
ListJobsByPipelineRequest & WithPipelineId(Aws::String &&value)
#define AWS_ELASTICTRANSCODER_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListJobsByPipelineRequest & WithAscending(Aws::String &&value)
ListJobsByPipelineRequest & WithPageToken(const Aws::String &value)
JSON (JavaScript Object Notation).