AWS SDK for C++  0.14.3
AWS SDK for C++
ListPresetsRequest.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 
47  inline const Aws::String& GetAscending() const{ return m_ascending; }
48 
54  inline void SetAscending(const Aws::String& value) { m_ascendingHasBeenSet = true; m_ascending = value; }
55 
61  inline void SetAscending(Aws::String&& value) { m_ascendingHasBeenSet = true; m_ascending = value; }
62 
68  inline void SetAscending(const char* value) { m_ascendingHasBeenSet = true; m_ascending.assign(value); }
69 
75  inline ListPresetsRequest& WithAscending(const Aws::String& value) { SetAscending(value); return *this;}
76 
82  inline ListPresetsRequest& WithAscending(Aws::String&& value) { SetAscending(value); return *this;}
83 
89  inline ListPresetsRequest& WithAscending(const char* value) { SetAscending(value); return *this;}
90 
96  inline const Aws::String& GetPageToken() const{ return m_pageToken; }
97 
103  inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
104 
110  inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
111 
117  inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
118 
124  inline ListPresetsRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
125 
131  inline ListPresetsRequest& WithPageToken(Aws::String&& value) { SetPageToken(value); return *this;}
132 
138  inline ListPresetsRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
139 
140  private:
141  Aws::String m_ascending;
142  bool m_ascendingHasBeenSet;
143  Aws::String m_pageToken;
144  bool m_pageTokenHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace ElasticTranscoder
149 } // namespace Aws
ListPresetsRequest & WithAscending(Aws::String &&value)
ListPresetsRequest & WithAscending(const Aws::String &value)
ListPresetsRequest & WithAscending(const char *value)
#define AWS_ELASTICTRANSCODER_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListPresetsRequest & WithPageToken(Aws::String &&value)
ListPresetsRequest & WithPageToken(const Aws::String &value)
ListPresetsRequest & WithPageToken(const char *value)
JSON (JavaScript Object Notation).