AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
ListModelsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lookoutequipment/LookoutEquipmentRequest.h>
9#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
10#include <aws/lookoutequipment/model/ModelStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace LookoutEquipment {
16namespace Model {
17
21 public:
22 AWS_LOOKOUTEQUIPMENT_API ListModelsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "ListModels"; }
29
30 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
31
32 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
39 inline const Aws::String& GetNextToken() const { return m_nextToken; }
40 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
41 template <typename NextTokenT = Aws::String>
42 void SetNextToken(NextTokenT&& value) {
43 m_nextTokenHasBeenSet = true;
44 m_nextToken = std::forward<NextTokenT>(value);
45 }
46 template <typename NextTokenT = Aws::String>
47 ListModelsRequest& WithNextToken(NextTokenT&& value) {
48 SetNextToken(std::forward<NextTokenT>(value));
49 return *this;
50 }
52
54
57 inline int GetMaxResults() const { return m_maxResults; }
58 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
59 inline void SetMaxResults(int value) {
60 m_maxResultsHasBeenSet = true;
61 m_maxResults = value;
62 }
63 inline ListModelsRequest& WithMaxResults(int value) {
64 SetMaxResults(value);
65 return *this;
66 }
68
70
73 inline ModelStatus GetStatus() const { return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(ModelStatus value) {
76 m_statusHasBeenSet = true;
77 m_status = value;
78 }
80 SetStatus(value);
81 return *this;
82 }
84
86
89 inline const Aws::String& GetModelNameBeginsWith() const { return m_modelNameBeginsWith; }
90 inline bool ModelNameBeginsWithHasBeenSet() const { return m_modelNameBeginsWithHasBeenSet; }
91 template <typename ModelNameBeginsWithT = Aws::String>
92 void SetModelNameBeginsWith(ModelNameBeginsWithT&& value) {
93 m_modelNameBeginsWithHasBeenSet = true;
94 m_modelNameBeginsWith = std::forward<ModelNameBeginsWithT>(value);
95 }
96 template <typename ModelNameBeginsWithT = Aws::String>
97 ListModelsRequest& WithModelNameBeginsWith(ModelNameBeginsWithT&& value) {
98 SetModelNameBeginsWith(std::forward<ModelNameBeginsWithT>(value));
99 return *this;
100 }
102
104
108 inline const Aws::String& GetDatasetNameBeginsWith() const { return m_datasetNameBeginsWith; }
109 inline bool DatasetNameBeginsWithHasBeenSet() const { return m_datasetNameBeginsWithHasBeenSet; }
110 template <typename DatasetNameBeginsWithT = Aws::String>
111 void SetDatasetNameBeginsWith(DatasetNameBeginsWithT&& value) {
112 m_datasetNameBeginsWithHasBeenSet = true;
113 m_datasetNameBeginsWith = std::forward<DatasetNameBeginsWithT>(value);
114 }
115 template <typename DatasetNameBeginsWithT = Aws::String>
116 ListModelsRequest& WithDatasetNameBeginsWith(DatasetNameBeginsWithT&& value) {
117 SetDatasetNameBeginsWith(std::forward<DatasetNameBeginsWithT>(value));
118 return *this;
119 }
121 private:
122 Aws::String m_nextToken;
123 bool m_nextTokenHasBeenSet = false;
124
125 int m_maxResults{0};
126 bool m_maxResultsHasBeenSet = false;
127
129 bool m_statusHasBeenSet = false;
130
131 Aws::String m_modelNameBeginsWith;
132 bool m_modelNameBeginsWithHasBeenSet = false;
133
134 Aws::String m_datasetNameBeginsWith;
135 bool m_datasetNameBeginsWithHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace LookoutEquipment
140} // namespace Aws
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
ListModelsRequest & WithNextToken(NextTokenT &&value)
ListModelsRequest & WithStatus(ModelStatus value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetModelNameBeginsWith(ModelNameBeginsWithT &&value)
ListModelsRequest & WithModelNameBeginsWith(ModelNameBeginsWithT &&value)
void SetDatasetNameBeginsWith(DatasetNameBeginsWithT &&value)
ListModelsRequest & WithDatasetNameBeginsWith(DatasetNameBeginsWithT &&value)
AWS_LOOKOUTEQUIPMENT_API ListModelsRequest()=default
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String