AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename CategoryT = Aws::String>
51 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category = std::forward<CategoryT>(value); }
52 template<typename CategoryT = Aws::String>
53 ListJobTemplatesRequest& WithCategory(CategoryT&& value) { SetCategory(std::forward<CategoryT>(value)); return *this;}
55
57
62 inline JobTemplateListBy GetListBy() const { return m_listBy; }
63 inline bool ListByHasBeenSet() const { return m_listByHasBeenSet; }
64 inline void SetListBy(JobTemplateListBy value) { m_listByHasBeenSet = true; m_listBy = value; }
65 inline ListJobTemplatesRequest& WithListBy(JobTemplateListBy value) { SetListBy(value); return *this;}
67
69
73 inline int GetMaxResults() const { return m_maxResults; }
74 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
75 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
76 inline ListJobTemplatesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
78
80
84 inline const Aws::String& GetNextToken() const { return m_nextToken; }
85 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
86 template<typename NextTokenT = Aws::String>
87 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
88 template<typename NextTokenT = Aws::String>
89 ListJobTemplatesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
91
93
97 inline Order GetOrder() const { return m_order; }
98 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
99 inline void SetOrder(Order value) { m_orderHasBeenSet = true; m_order = value; }
100 inline ListJobTemplatesRequest& WithOrder(Order value) { SetOrder(value); return *this;}
102 private:
103
104 Aws::String m_category;
105 bool m_categoryHasBeenSet = false;
106
108 bool m_listByHasBeenSet = false;
109
110 int m_maxResults{0};
111 bool m_maxResultsHasBeenSet = false;
112
113 Aws::String m_nextToken;
114 bool m_nextTokenHasBeenSet = false;
115
116 Order m_order{Order::NOT_SET};
117 bool m_orderHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace MediaConvert
122} // namespace Aws
ListJobTemplatesRequest & WithNextToken(NextTokenT &&value)
AWS_MEDIACONVERT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_MEDIACONVERT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListJobTemplatesRequest & WithMaxResults(int value)
ListJobTemplatesRequest & WithListBy(JobTemplateListBy value)
ListJobTemplatesRequest & WithCategory(CategoryT &&value)
AWS_MEDIACONVERT_API ListJobTemplatesRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String