AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListPresetsRequest.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/PresetListBy.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 ListPresetsRequest() = 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 "ListPresets"; }
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 ListPresetsRequest& WithCategory(CategoryT&& value) { SetCategory(std::forward<CategoryT>(value)); return *this;}
55
57
62 inline PresetListBy GetListBy() const { return m_listBy; }
63 inline bool ListByHasBeenSet() const { return m_listByHasBeenSet; }
64 inline void SetListBy(PresetListBy value) { m_listByHasBeenSet = true; m_listBy = value; }
65 inline ListPresetsRequest& WithListBy(PresetListBy value) { SetListBy(value); return *this;}
67
69
72 inline int GetMaxResults() const { return m_maxResults; }
73 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
74 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
75 inline ListPresetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
77
79
83 inline const Aws::String& GetNextToken() const { return m_nextToken; }
84 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
85 template<typename NextTokenT = Aws::String>
86 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
87 template<typename NextTokenT = Aws::String>
88 ListPresetsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
90
92
96 inline Order GetOrder() const { return m_order; }
97 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
98 inline void SetOrder(Order value) { m_orderHasBeenSet = true; m_order = value; }
99 inline ListPresetsRequest& WithOrder(Order value) { SetOrder(value); return *this;}
101 private:
102
103 Aws::String m_category;
104 bool m_categoryHasBeenSet = false;
105
107 bool m_listByHasBeenSet = false;
108
109 int m_maxResults{0};
110 bool m_maxResultsHasBeenSet = false;
111
112 Aws::String m_nextToken;
113 bool m_nextTokenHasBeenSet = false;
114
115 Order m_order{Order::NOT_SET};
116 bool m_orderHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace MediaConvert
121} // namespace Aws
ListPresetsRequest & WithListBy(PresetListBy value)
AWS_MEDIACONVERT_API ListPresetsRequest()=default
ListPresetsRequest & WithCategory(CategoryT &&value)
AWS_MEDIACONVERT_API Aws::String SerializePayload() const override
ListPresetsRequest & WithMaxResults(int value)
ListPresetsRequest & WithOrder(Order value)
virtual const char * GetServiceRequestName() const override
ListPresetsRequest & WithNextToken(NextTokenT &&value)
AWS_MEDIACONVERT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String