AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListJobTemplatesRequest.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/MediaConvertRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediaconvert/model/JobTemplateListBy.h>
11#include <aws/mediaconvert/model/Order.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace MediaConvert
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_MEDIACONVERT_API ListJobTemplatesRequest();
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_MEDIACONVERT_API Aws::String SerializePayload() const override;
39
40 AWS_MEDIACONVERT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
48 inline const Aws::String& GetCategory() const{ return m_category; }
49 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
50 inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
51 inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
52 inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
53 inline ListJobTemplatesRequest& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
54 inline ListJobTemplatesRequest& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
55 inline ListJobTemplatesRequest& WithCategory(const char* value) { SetCategory(value); return *this;}
57
59
64 inline const JobTemplateListBy& GetListBy() const{ return m_listBy; }
65 inline bool ListByHasBeenSet() const { return m_listByHasBeenSet; }
66 inline void SetListBy(const JobTemplateListBy& value) { m_listByHasBeenSet = true; m_listBy = value; }
67 inline void SetListBy(JobTemplateListBy&& value) { m_listByHasBeenSet = true; m_listBy = std::move(value); }
68 inline ListJobTemplatesRequest& WithListBy(const JobTemplateListBy& value) { SetListBy(value); return *this;}
69 inline ListJobTemplatesRequest& WithListBy(JobTemplateListBy&& value) { SetListBy(std::move(value)); return *this;}
71
73
77 inline int GetMaxResults() const{ return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
80 inline ListJobTemplatesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
82
84
88 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
89 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
90 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
91 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
92 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
93 inline ListJobTemplatesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
94 inline ListJobTemplatesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
95 inline ListJobTemplatesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
97
99
103 inline const Order& GetOrder() const{ return m_order; }
104 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
105 inline void SetOrder(const Order& value) { m_orderHasBeenSet = true; m_order = value; }
106 inline void SetOrder(Order&& value) { m_orderHasBeenSet = true; m_order = std::move(value); }
107 inline ListJobTemplatesRequest& WithOrder(const Order& value) { SetOrder(value); return *this;}
108 inline ListJobTemplatesRequest& WithOrder(Order&& value) { SetOrder(std::move(value)); return *this;}
110 private:
111
112 Aws::String m_category;
113 bool m_categoryHasBeenSet = false;
114
115 JobTemplateListBy m_listBy;
116 bool m_listByHasBeenSet = false;
117
118 int m_maxResults;
119 bool m_maxResultsHasBeenSet = false;
120
121 Aws::String m_nextToken;
122 bool m_nextTokenHasBeenSet = false;
123
124 Order m_order;
125 bool m_orderHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace MediaConvert
130} // namespace Aws
ListJobTemplatesRequest & WithNextToken(Aws::String &&value)
ListJobTemplatesRequest & WithListBy(JobTemplateListBy &&value)
ListJobTemplatesRequest & WithCategory(const Aws::String &value)
ListJobTemplatesRequest & WithNextToken(const char *value)
AWS_MEDIACONVERT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_MEDIACONVERT_API Aws::String SerializePayload() const override
ListJobTemplatesRequest & WithNextToken(const Aws::String &value)
ListJobTemplatesRequest & WithListBy(const JobTemplateListBy &value)
ListJobTemplatesRequest & WithOrder(const Order &value)
virtual const char * GetServiceRequestName() const override
ListJobTemplatesRequest & WithMaxResults(int value)
ListJobTemplatesRequest & WithOrder(Order &&value)
ListJobTemplatesRequest & WithCategory(Aws::String &&value)
ListJobTemplatesRequest & WithCategory(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String