AWS SDK for C++  1.9.66
AWS SDK for C++
ListPresetsRequest.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 "ListPresets"; }
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 ListPresetsRequest& WithAscending(const Aws::String& value) { SetAscending(value); return *this;}
85 
91  inline ListPresetsRequest& WithAscending(Aws::String&& value) { SetAscending(std::move(value)); return *this;}
92 
98  inline ListPresetsRequest& 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 ListPresetsRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
142 
148  inline ListPresetsRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
149 
155  inline ListPresetsRequest& 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
Aws::Http::URI
Definition: URI.h:32
Aws::ElasticTranscoder::Model::ListPresetsRequest::WithPageToken
ListPresetsRequest & WithPageToken(const Aws::String &value)
Definition: ListPresetsRequest.h:141
Aws::ElasticTranscoder::Model::ListPresetsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListPresetsRequest.h:37
Aws::ElasticTranscoder::Model::ListPresetsRequest::SetAscending
void SetAscending(const Aws::String &value)
Definition: ListPresetsRequest.h:63
Aws::ElasticTranscoder::Model::ListPresetsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticTranscoder::Model::ListPresetsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::ElasticTranscoder::Model::ListPresetsRequest::WithAscending
ListPresetsRequest & WithAscending(Aws::String &&value)
Definition: ListPresetsRequest.h:91
Aws::ElasticTranscoder::Model::ListPresetsRequest::SetAscending
void SetAscending(const char *value)
Definition: ListPresetsRequest.h:77
Aws::ElasticTranscoder::Model::ListPresetsRequest::WithPageToken
ListPresetsRequest & WithPageToken(const char *value)
Definition: ListPresetsRequest.h:155
AWS_ELASTICTRANSCODER_API
#define AWS_ELASTICTRANSCODER_API
Definition: ElasticTranscoder_EXPORTS.h:28
Aws::ElasticTranscoder::Model::ListPresetsRequest::SetPageToken
void SetPageToken(Aws::String &&value)
Definition: ListPresetsRequest.h:127
Aws::ElasticTranscoder::Model::ListPresetsRequest
Definition: ListPresetsRequest.h:29
Aws::ElasticTranscoder::Model::ListPresetsRequest::ListPresetsRequest
ListPresetsRequest()
Aws::ElasticTranscoder::Model::ListPresetsRequest::GetAscending
const Aws::String & GetAscending() const
Definition: ListPresetsRequest.h:49
Aws::ElasticTranscoder::Model::ListPresetsRequest::PageTokenHasBeenSet
bool PageTokenHasBeenSet() const
Definition: ListPresetsRequest.h:113
AWSString.h
Aws::ElasticTranscoder::Model::ListPresetsRequest::AscendingHasBeenSet
bool AscendingHasBeenSet() const
Definition: ListPresetsRequest.h:56
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticTranscoder::Model::ListPresetsRequest::WithAscending
ListPresetsRequest & WithAscending(const Aws::String &value)
Definition: ListPresetsRequest.h:84
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticTranscoder::Model::ListPresetsRequest::WithPageToken
ListPresetsRequest & WithPageToken(Aws::String &&value)
Definition: ListPresetsRequest.h:148
Aws::ElasticTranscoder::Model::ListPresetsRequest::SetPageToken
void SetPageToken(const char *value)
Definition: ListPresetsRequest.h:134
ElasticTranscoder_EXPORTS.h
Aws::ElasticTranscoder::Model::ListPresetsRequest::GetPageToken
const Aws::String & GetPageToken() const
Definition: ListPresetsRequest.h:106
Aws::ElasticTranscoder::Model::ListPresetsRequest::SetPageToken
void SetPageToken(const Aws::String &value)
Definition: ListPresetsRequest.h:120
Aws::ElasticTranscoder::Model::ListPresetsRequest::SetAscending
void SetAscending(Aws::String &&value)
Definition: ListPresetsRequest.h:70
Aws::ElasticTranscoder::Model::ListPresetsRequest::WithAscending
ListPresetsRequest & WithAscending(const char *value)
Definition: ListPresetsRequest.h:98
Aws::ElasticTranscoder::ElasticTranscoderRequest
Definition: ElasticTranscoderRequest.h:17
ElasticTranscoderRequest.h