AWS SDK for C++  1.8.71
AWS SDK for C++
ListPipelinesRequest.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 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "ListPipelines"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43 
49  inline const Aws::String& GetAscending() const{ return m_ascending; }
50 
56  inline bool AscendingHasBeenSet() const { return m_ascendingHasBeenSet; }
57 
63  inline void SetAscending(const Aws::String& value) { m_ascendingHasBeenSet = true; m_ascending = value; }
64 
70  inline void SetAscending(Aws::String&& value) { m_ascendingHasBeenSet = true; m_ascending = std::move(value); }
71 
77  inline void SetAscending(const char* value) { m_ascendingHasBeenSet = true; m_ascending.assign(value); }
78 
84  inline ListPipelinesRequest& WithAscending(const Aws::String& value) { SetAscending(value); return *this;}
85 
91  inline ListPipelinesRequest& WithAscending(Aws::String&& value) { SetAscending(std::move(value)); return *this;}
92 
98  inline ListPipelinesRequest& WithAscending(const char* value) { SetAscending(value); return *this;}
99 
100 
106  inline const Aws::String& GetPageToken() const{ return m_pageToken; }
107 
113  inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
114 
120  inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
121 
127  inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
128 
134  inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
135 
141  inline ListPipelinesRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
142 
148  inline ListPipelinesRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
149 
155  inline ListPipelinesRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
156 
157  private:
158 
159  Aws::String m_ascending;
160  bool m_ascendingHasBeenSet;
161 
162  Aws::String m_pageToken;
163  bool m_pageTokenHasBeenSet;
164  };
165 
166 } // namespace Model
167 } // namespace ElasticTranscoder
168 } // namespace Aws
ListPipelinesRequest & WithAscending(const char *value)
ListPipelinesRequest & WithPageToken(Aws::String &&value)
ListPipelinesRequest & WithAscending(const Aws::String &value)
ListPipelinesRequest & WithPageToken(const Aws::String &value)
ListPipelinesRequest & WithAscending(Aws::String &&value)
#define AWS_ELASTICTRANSCODER_API
ListPipelinesRequest & WithPageToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
virtual const char * GetServiceRequestName() const override