AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
SearchInventoryRequest.h
1
6#pragma once
7#include <aws/acm/ACMRequest.h>
8#include <aws/acm/ACM_EXPORTS.h>
9#include <aws/acm/model/InventoryFilterStatement.h>
10#include <aws/acm/model/InventorySortOrder.h>
11#include <aws/acm/model/SortField.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace ACM {
18namespace Model {
19
23 public:
24 AWS_ACM_API SearchInventoryRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "SearchInventory"; }
31
32 AWS_ACM_API Aws::String SerializePayload() const override;
33
35
39 AWS_ACM_API EndpointParameters GetEndpointContextParams() const override;
40
42
45 inline const InventoryFilterStatement& GetFilter() const { return m_filter; }
46 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
47 template <typename FilterT = InventoryFilterStatement>
48 void SetFilter(FilterT&& value) {
49 m_filterHasBeenSet = true;
50 m_filter = std::forward<FilterT>(value);
51 }
52 template <typename FilterT = InventoryFilterStatement>
54 SetFilter(std::forward<FilterT>(value));
55 return *this;
56 }
58
60
63 inline SortField GetSortBy() const { return m_sortBy; }
64 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
65 inline void SetSortBy(SortField value) {
66 m_sortByHasBeenSet = true;
67 m_sortBy = value;
68 }
70 SetSortBy(value);
71 return *this;
72 }
74
76
79 inline InventorySortOrder GetSortOrder() const { return m_sortOrder; }
80 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
81 inline void SetSortOrder(InventorySortOrder value) {
82 m_sortOrderHasBeenSet = true;
83 m_sortOrder = value;
84 }
86 SetSortOrder(value);
87 return *this;
88 }
90
92
95 inline int GetMaxResults() const { return m_maxResults; }
96 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
97 inline void SetMaxResults(int value) {
98 m_maxResultsHasBeenSet = true;
99 m_maxResults = value;
100 }
102 SetMaxResults(value);
103 return *this;
104 }
106
108
111 inline const Aws::String& GetNextToken() const { return m_nextToken; }
112 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
113 template <typename NextTokenT = Aws::String>
114 void SetNextToken(NextTokenT&& value) {
115 m_nextTokenHasBeenSet = true;
116 m_nextToken = std::forward<NextTokenT>(value);
117 }
118 template <typename NextTokenT = Aws::String>
120 SetNextToken(std::forward<NextTokenT>(value));
121 return *this;
122 }
124 private:
126
128
130
131 int m_maxResults{0};
132
133 Aws::String m_nextToken;
134 bool m_filterHasBeenSet = false;
135 bool m_sortByHasBeenSet = false;
136 bool m_sortOrderHasBeenSet = false;
137 bool m_maxResultsHasBeenSet = false;
138 bool m_nextTokenHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace ACM
143} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
Definition ACMRequest.h:18
AWS_ACM_API EndpointParameters GetEndpointContextParams() const override
AWS_ACM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ACM_API Aws::String SerializePayload() const override
SearchInventoryRequest & WithNextToken(NextTokenT &&value)
AWS_ACM_API SearchInventoryRequest()=default
SearchInventoryRequest & WithMaxResults(int value)
SearchInventoryRequest & WithSortBy(SortField value)
SearchInventoryRequest & WithFilter(FilterT &&value)
SearchInventoryRequest & WithSortOrder(InventorySortOrder value)
virtual const char * GetServiceRequestName() const override
void SetSortOrder(InventorySortOrder value)
const InventoryFilterStatement & GetFilter() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String