AWS SDK for C++  1.9.158
AWS SDK for C++
ListPresetsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Http
17 {
18  class URI;
19 } //namespace Http
20 namespace MediaConvert
21 {
22 namespace Model
23 {
24 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "ListPresets"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
42 
47  inline const Aws::String& GetCategory() const{ return m_category; }
48 
53  inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
54 
59  inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
60 
65  inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
66 
71  inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
72 
77  inline ListPresetsRequest& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
78 
83  inline ListPresetsRequest& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
84 
89  inline ListPresetsRequest& WithCategory(const char* value) { SetCategory(value); return *this;}
90 
91 
97  inline const PresetListBy& GetListBy() const{ return m_listBy; }
98 
104  inline bool ListByHasBeenSet() const { return m_listByHasBeenSet; }
105 
111  inline void SetListBy(const PresetListBy& value) { m_listByHasBeenSet = true; m_listBy = value; }
112 
118  inline void SetListBy(PresetListBy&& value) { m_listByHasBeenSet = true; m_listBy = std::move(value); }
119 
125  inline ListPresetsRequest& WithListBy(const PresetListBy& value) { SetListBy(value); return *this;}
126 
132  inline ListPresetsRequest& WithListBy(PresetListBy&& value) { SetListBy(std::move(value)); return *this;}
133 
134 
138  inline int GetMaxResults() const{ return m_maxResults; }
139 
143  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
144 
148  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
149 
153  inline ListPresetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
154 
155 
160  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
161 
166  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
167 
172  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
173 
178  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
179 
184  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
185 
190  inline ListPresetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
191 
196  inline ListPresetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
197 
202  inline ListPresetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
203 
204 
209  inline const Order& GetOrder() const{ return m_order; }
210 
215  inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
216 
221  inline void SetOrder(const Order& value) { m_orderHasBeenSet = true; m_order = value; }
222 
227  inline void SetOrder(Order&& value) { m_orderHasBeenSet = true; m_order = std::move(value); }
228 
233  inline ListPresetsRequest& WithOrder(const Order& value) { SetOrder(value); return *this;}
234 
239  inline ListPresetsRequest& WithOrder(Order&& value) { SetOrder(std::move(value)); return *this;}
240 
241  private:
242 
243  Aws::String m_category;
244  bool m_categoryHasBeenSet;
245 
246  PresetListBy m_listBy;
247  bool m_listByHasBeenSet;
248 
249  int m_maxResults;
250  bool m_maxResultsHasBeenSet;
251 
252  Aws::String m_nextToken;
253  bool m_nextTokenHasBeenSet;
254 
255  Order m_order;
256  bool m_orderHasBeenSet;
257  };
258 
259 } // namespace Model
260 } // namespace MediaConvert
261 } // namespace Aws
Aws::MediaConvert::Model::ListPresetsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListPresetsRequest.h:143
Aws::MediaConvert::Model::ListPresetsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListPresetsRequest.h:36
Aws::MediaConvert::Model::ListPresetsRequest::WithNextToken
ListPresetsRequest & WithNextToken(Aws::String &&value)
Definition: ListPresetsRequest.h:196
Aws::MediaConvert::Model::ListPresetsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListPresetsRequest.h:166
Aws::Http::URI
Definition: URI.h:32
Aws::MediaConvert::Model::ListPresetsRequest::WithNextToken
ListPresetsRequest & WithNextToken(const Aws::String &value)
Definition: ListPresetsRequest.h:190
Aws::MediaConvert::Model::ListPresetsRequest::WithListBy
ListPresetsRequest & WithListBy(PresetListBy &&value)
Definition: ListPresetsRequest.h:132
Aws::MediaConvert::Model::ListPresetsRequest::SetListBy
void SetListBy(const PresetListBy &value)
Definition: ListPresetsRequest.h:111
Aws::MediaConvert::Model::ListPresetsRequest::WithCategory
ListPresetsRequest & WithCategory(const Aws::String &value)
Definition: ListPresetsRequest.h:77
Aws::MediaConvert::Model::ListPresetsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPresetsRequest.h:178
Aws::MediaConvert::Model::ListPresetsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
MediaConvertRequest.h
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::ListPresetsRequest::ListPresetsRequest
ListPresetsRequest()
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::ListPresetsRequest::SetOrder
void SetOrder(const Order &value)
Definition: ListPresetsRequest.h:221
Aws::MediaConvert::Model::ListPresetsRequest::CategoryHasBeenSet
bool CategoryHasBeenSet() const
Definition: ListPresetsRequest.h:53
Aws::MediaConvert::Model::PresetListBy
PresetListBy
Definition: PresetListBy.h:17
Aws::MediaConvert::Model::ListPresetsRequest::GetCategory
const Aws::String & GetCategory() const
Definition: ListPresetsRequest.h:47
Aws::MediaConvert::Model::ListPresetsRequest::GetOrder
const Order & GetOrder() const
Definition: ListPresetsRequest.h:209
Aws::MediaConvert::Model::ListPresetsRequest::WithCategory
ListPresetsRequest & WithCategory(const char *value)
Definition: ListPresetsRequest.h:89
Aws::MediaConvert::MediaConvertRequest
Definition: MediaConvertRequest.h:17
Aws::MediaConvert::Model::ListPresetsRequest::WithOrder
ListPresetsRequest & WithOrder(Order &&value)
Definition: ListPresetsRequest.h:239
Aws::MediaConvert::Model::ListPresetsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListPresetsRequest.h:148
Aws::MediaConvert::Model::ListPresetsRequest::WithOrder
ListPresetsRequest & WithOrder(const Order &value)
Definition: ListPresetsRequest.h:233
Aws::MediaConvert::Model::ListPresetsRequest::GetListBy
const PresetListBy & GetListBy() const
Definition: ListPresetsRequest.h:97
Aws::MediaConvert::Model::ListPresetsRequest::OrderHasBeenSet
bool OrderHasBeenSet() const
Definition: ListPresetsRequest.h:215
Aws::MediaConvert::Model::ListPresetsRequest::SetCategory
void SetCategory(const char *value)
Definition: ListPresetsRequest.h:71
Aws::MediaConvert::Model::Order
Order
Definition: Order.h:17
AWSString.h
Aws::MediaConvert::Model::ListPresetsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListPresetsRequest.h:138
Aws::MediaConvert::Model::ListPresetsRequest::SetListBy
void SetListBy(PresetListBy &&value)
Definition: ListPresetsRequest.h:118
Aws::MediaConvert::Model::ListPresetsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaConvert::Model::ListPresetsRequest::SetCategory
void SetCategory(const Aws::String &value)
Definition: ListPresetsRequest.h:59
Aws::MediaConvert::Model::ListPresetsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListPresetsRequest.h:184
Aws::MediaConvert::Model::ListPresetsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPresetsRequest.h:160
Aws::MediaConvert::Model::ListPresetsRequest::ListByHasBeenSet
bool ListByHasBeenSet() const
Definition: ListPresetsRequest.h:104
Aws::MediaConvert::Model::ListPresetsRequest::SetOrder
void SetOrder(Order &&value)
Definition: ListPresetsRequest.h:227
Aws::MediaConvert::Model::ListPresetsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPresetsRequest.h:172
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::ListPresetsRequest::WithNextToken
ListPresetsRequest & WithNextToken(const char *value)
Definition: ListPresetsRequest.h:202
Aws::MediaConvert::Model::ListPresetsRequest::WithListBy
ListPresetsRequest & WithListBy(const PresetListBy &value)
Definition: ListPresetsRequest.h:125
Aws::MediaConvert::Model::ListPresetsRequest::WithMaxResults
ListPresetsRequest & WithMaxResults(int value)
Definition: ListPresetsRequest.h:153
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
PresetListBy.h
Aws::MediaConvert::Model::ListPresetsRequest::SetCategory
void SetCategory(Aws::String &&value)
Definition: ListPresetsRequest.h:65
Aws::MediaConvert::Model::ListPresetsRequest::WithCategory
ListPresetsRequest & WithCategory(Aws::String &&value)
Definition: ListPresetsRequest.h:83
Order.h
Aws::MediaConvert::Model::ListPresetsRequest
Definition: ListPresetsRequest.h:28