AWS SDK for C++  1.8.71
AWS SDK for C++
ListJobsByPipelineRequest.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 "ListJobsByPipeline"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
48  inline const Aws::String& GetPipelineId() const{ return m_pipelineId; }
49 
53  inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
54 
58  inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
59 
63  inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::move(value); }
64 
68  inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
69 
73  inline ListJobsByPipelineRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
74 
78  inline ListJobsByPipelineRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;}
79 
83  inline ListJobsByPipelineRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
84 
85 
91  inline const Aws::String& GetAscending() const{ return m_ascending; }
92 
98  inline bool AscendingHasBeenSet() const { return m_ascendingHasBeenSet; }
99 
105  inline void SetAscending(const Aws::String& value) { m_ascendingHasBeenSet = true; m_ascending = value; }
106 
112  inline void SetAscending(Aws::String&& value) { m_ascendingHasBeenSet = true; m_ascending = std::move(value); }
113 
119  inline void SetAscending(const char* value) { m_ascendingHasBeenSet = true; m_ascending.assign(value); }
120 
126  inline ListJobsByPipelineRequest& WithAscending(const Aws::String& value) { SetAscending(value); return *this;}
127 
133  inline ListJobsByPipelineRequest& WithAscending(Aws::String&& value) { SetAscending(std::move(value)); return *this;}
134 
140  inline ListJobsByPipelineRequest& WithAscending(const char* value) { SetAscending(value); return *this;}
141 
142 
148  inline const Aws::String& GetPageToken() const{ return m_pageToken; }
149 
155  inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
156 
162  inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
163 
169  inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
170 
176  inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
177 
183  inline ListJobsByPipelineRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
184 
190  inline ListJobsByPipelineRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
191 
197  inline ListJobsByPipelineRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
198 
199  private:
200 
201  Aws::String m_pipelineId;
202  bool m_pipelineIdHasBeenSet;
203 
204  Aws::String m_ascending;
205  bool m_ascendingHasBeenSet;
206 
207  Aws::String m_pageToken;
208  bool m_pageTokenHasBeenSet;
209  };
210 
211 } // namespace Model
212 } // namespace ElasticTranscoder
213 } // 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)