AWS SDK for C++  1.9.129
AWS SDK for C++
ListJobTemplatesRequest.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 "ListJobTemplates"; }
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 ListJobTemplatesRequest& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
78 
83  inline ListJobTemplatesRequest& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
84 
89  inline ListJobTemplatesRequest& WithCategory(const char* value) { SetCategory(value); return *this;}
90 
91 
97  inline const JobTemplateListBy& GetListBy() const{ return m_listBy; }
98 
104  inline bool ListByHasBeenSet() const { return m_listByHasBeenSet; }
105 
111  inline void SetListBy(const JobTemplateListBy& value) { m_listByHasBeenSet = true; m_listBy = value; }
112 
118  inline void SetListBy(JobTemplateListBy&& value) { m_listByHasBeenSet = true; m_listBy = std::move(value); }
119 
125  inline ListJobTemplatesRequest& WithListBy(const JobTemplateListBy& value) { SetListBy(value); return *this;}
126 
132  inline ListJobTemplatesRequest& WithListBy(JobTemplateListBy&& value) { SetListBy(std::move(value)); return *this;}
133 
134 
139  inline int GetMaxResults() const{ return m_maxResults; }
140 
145  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
146 
151  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
152 
157  inline ListJobTemplatesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
158 
159 
164  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
165 
170  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
171 
176  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
177 
182  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
183 
188  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
189 
194  inline ListJobTemplatesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
195 
200  inline ListJobTemplatesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
201 
206  inline ListJobTemplatesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
207 
208 
213  inline const Order& GetOrder() const{ return m_order; }
214 
219  inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
220 
225  inline void SetOrder(const Order& value) { m_orderHasBeenSet = true; m_order = value; }
226 
231  inline void SetOrder(Order&& value) { m_orderHasBeenSet = true; m_order = std::move(value); }
232 
237  inline ListJobTemplatesRequest& WithOrder(const Order& value) { SetOrder(value); return *this;}
238 
243  inline ListJobTemplatesRequest& WithOrder(Order&& value) { SetOrder(std::move(value)); return *this;}
244 
245  private:
246 
247  Aws::String m_category;
248  bool m_categoryHasBeenSet;
249 
250  JobTemplateListBy m_listBy;
251  bool m_listByHasBeenSet;
252 
253  int m_maxResults;
254  bool m_maxResultsHasBeenSet;
255 
256  Aws::String m_nextToken;
257  bool m_nextTokenHasBeenSet;
258 
259  Order m_order;
260  bool m_orderHasBeenSet;
261  };
262 
263 } // namespace Model
264 } // namespace MediaConvert
265 } // namespace Aws
Aws::MediaConvert::Model::ListJobTemplatesRequest::SetCategory
void SetCategory(Aws::String &&value)
Definition: ListJobTemplatesRequest.h:65
Aws::MediaConvert::Model::ListJobTemplatesRequest::WithCategory
ListJobTemplatesRequest & WithCategory(const Aws::String &value)
Definition: ListJobTemplatesRequest.h:77
Aws::MediaConvert::Model::ListJobTemplatesRequest::GetOrder
const Order & GetOrder() const
Definition: ListJobTemplatesRequest.h:213
Aws::Http::URI
Definition: URI.h:32
Aws::MediaConvert::Model::ListJobTemplatesRequest
Definition: ListJobTemplatesRequest.h:28
Aws::MediaConvert::Model::ListJobTemplatesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListJobTemplatesRequest.h:151
Aws::MediaConvert::Model::ListJobTemplatesRequest::GetListBy
const JobTemplateListBy & GetListBy() const
Definition: ListJobTemplatesRequest.h:97
Aws::MediaConvert::Model::ListJobTemplatesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListJobTemplatesRequest.h:145
Aws::MediaConvert::Model::ListJobTemplatesRequest::SerializePayload
Aws::String SerializePayload() const override
MediaConvertRequest.h
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::ListJobTemplatesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::MediaConvert::Model::JobTemplateListBy
JobTemplateListBy
Definition: JobTemplateListBy.h:17
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::ListJobTemplatesRequest::WithNextToken
ListJobTemplatesRequest & WithNextToken(const Aws::String &value)
Definition: ListJobTemplatesRequest.h:194
Aws::MediaConvert::Model::ListJobTemplatesRequest::SetListBy
void SetListBy(JobTemplateListBy &&value)
Definition: ListJobTemplatesRequest.h:118
Aws::MediaConvert::Model::ListJobTemplatesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListJobTemplatesRequest.h:182
Aws::MediaConvert::Model::ListJobTemplatesRequest::WithOrder
ListJobTemplatesRequest & WithOrder(const Order &value)
Definition: ListJobTemplatesRequest.h:237
Aws::MediaConvert::Model::ListJobTemplatesRequest::WithNextToken
ListJobTemplatesRequest & WithNextToken(const char *value)
Definition: ListJobTemplatesRequest.h:206
Aws::MediaConvert::Model::ListJobTemplatesRequest::ListByHasBeenSet
bool ListByHasBeenSet() const
Definition: ListJobTemplatesRequest.h:104
Aws::MediaConvert::Model::ListJobTemplatesRequest::OrderHasBeenSet
bool OrderHasBeenSet() const
Definition: ListJobTemplatesRequest.h:219
Aws::MediaConvert::Model::ListJobTemplatesRequest::SetCategory
void SetCategory(const Aws::String &value)
Definition: ListJobTemplatesRequest.h:59
Aws::MediaConvert::MediaConvertRequest
Definition: MediaConvertRequest.h:17
Aws::MediaConvert::Model::ListJobTemplatesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListJobTemplatesRequest.h:36
Aws::MediaConvert::Model::ListJobTemplatesRequest::SetCategory
void SetCategory(const char *value)
Definition: ListJobTemplatesRequest.h:71
Aws::MediaConvert::Model::ListJobTemplatesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListJobTemplatesRequest.h:176
Aws::MediaConvert::Model::Order
Order
Definition: Order.h:17
Aws::MediaConvert::Model::ListJobTemplatesRequest::SetOrder
void SetOrder(const Order &value)
Definition: ListJobTemplatesRequest.h:225
Aws::MediaConvert::Model::ListJobTemplatesRequest::WithMaxResults
ListJobTemplatesRequest & WithMaxResults(int value)
Definition: ListJobTemplatesRequest.h:157
Aws::MediaConvert::Model::ListJobTemplatesRequest::ListJobTemplatesRequest
ListJobTemplatesRequest()
Aws::MediaConvert::Model::ListJobTemplatesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListJobTemplatesRequest.h:170
JobTemplateListBy.h
AWSString.h
Aws::MediaConvert::Model::ListJobTemplatesRequest::CategoryHasBeenSet
bool CategoryHasBeenSet() const
Definition: ListJobTemplatesRequest.h:53
Aws::MediaConvert::Model::ListJobTemplatesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListJobTemplatesRequest.h:164
Aws::MediaConvert::Model::ListJobTemplatesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListJobTemplatesRequest.h:139
Aws::MediaConvert::Model::ListJobTemplatesRequest::WithListBy
ListJobTemplatesRequest & WithListBy(const JobTemplateListBy &value)
Definition: ListJobTemplatesRequest.h:125
Aws::MediaConvert::Model::ListJobTemplatesRequest::GetCategory
const Aws::String & GetCategory() const
Definition: ListJobTemplatesRequest.h:47
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::ListJobTemplatesRequest::SetListBy
void SetListBy(const JobTemplateListBy &value)
Definition: ListJobTemplatesRequest.h:111
Aws::MediaConvert::Model::ListJobTemplatesRequest::WithOrder
ListJobTemplatesRequest & WithOrder(Order &&value)
Definition: ListJobTemplatesRequest.h:243
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::ListJobTemplatesRequest::WithListBy
ListJobTemplatesRequest & WithListBy(JobTemplateListBy &&value)
Definition: ListJobTemplatesRequest.h:132
Aws::MediaConvert::Model::ListJobTemplatesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListJobTemplatesRequest.h:188
Aws::MediaConvert::Model::ListJobTemplatesRequest::SetOrder
void SetOrder(Order &&value)
Definition: ListJobTemplatesRequest.h:231
Aws::MediaConvert::Model::ListJobTemplatesRequest::WithCategory
ListJobTemplatesRequest & WithCategory(const char *value)
Definition: ListJobTemplatesRequest.h:89
Order.h
Aws::MediaConvert::Model::ListJobTemplatesRequest::WithCategory
ListJobTemplatesRequest & WithCategory(Aws::String &&value)
Definition: ListJobTemplatesRequest.h:83
Aws::MediaConvert::Model::ListJobTemplatesRequest::WithNextToken
ListJobTemplatesRequest & WithNextToken(Aws::String &&value)
Definition: ListJobTemplatesRequest.h:200