AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListModelsRequest.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/lookoutequipment/LookoutEquipmentRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lookoutequipment/model/ModelStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LookoutEquipment
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LOOKOUTEQUIPMENT_API ListModelsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListModels"; }
32
33 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
34
35 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetNextToken() const { return m_nextToken; }
44 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
45 template<typename NextTokenT = Aws::String>
46 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
47 template<typename NextTokenT = Aws::String>
48 ListModelsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
50
52
55 inline int GetMaxResults() const { return m_maxResults; }
56 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
57 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
58 inline ListModelsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
60
62
65 inline ModelStatus GetStatus() const { return m_status; }
66 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
67 inline void SetStatus(ModelStatus value) { m_statusHasBeenSet = true; m_status = value; }
68 inline ListModelsRequest& WithStatus(ModelStatus value) { SetStatus(value); return *this;}
70
72
75 inline const Aws::String& GetModelNameBeginsWith() const { return m_modelNameBeginsWith; }
76 inline bool ModelNameBeginsWithHasBeenSet() const { return m_modelNameBeginsWithHasBeenSet; }
77 template<typename ModelNameBeginsWithT = Aws::String>
78 void SetModelNameBeginsWith(ModelNameBeginsWithT&& value) { m_modelNameBeginsWithHasBeenSet = true; m_modelNameBeginsWith = std::forward<ModelNameBeginsWithT>(value); }
79 template<typename ModelNameBeginsWithT = Aws::String>
80 ListModelsRequest& WithModelNameBeginsWith(ModelNameBeginsWithT&& value) { SetModelNameBeginsWith(std::forward<ModelNameBeginsWithT>(value)); return *this;}
82
84
88 inline const Aws::String& GetDatasetNameBeginsWith() const { return m_datasetNameBeginsWith; }
89 inline bool DatasetNameBeginsWithHasBeenSet() const { return m_datasetNameBeginsWithHasBeenSet; }
90 template<typename DatasetNameBeginsWithT = Aws::String>
91 void SetDatasetNameBeginsWith(DatasetNameBeginsWithT&& value) { m_datasetNameBeginsWithHasBeenSet = true; m_datasetNameBeginsWith = std::forward<DatasetNameBeginsWithT>(value); }
92 template<typename DatasetNameBeginsWithT = Aws::String>
93 ListModelsRequest& WithDatasetNameBeginsWith(DatasetNameBeginsWithT&& value) { SetDatasetNameBeginsWith(std::forward<DatasetNameBeginsWithT>(value)); return *this;}
95 private:
96
97 Aws::String m_nextToken;
98 bool m_nextTokenHasBeenSet = false;
99
100 int m_maxResults{0};
101 bool m_maxResultsHasBeenSet = false;
102
104 bool m_statusHasBeenSet = false;
105
106 Aws::String m_modelNameBeginsWith;
107 bool m_modelNameBeginsWithHasBeenSet = false;
108
109 Aws::String m_datasetNameBeginsWith;
110 bool m_datasetNameBeginsWithHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace LookoutEquipment
115} // 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