AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
46 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
47 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
48 inline ListModelsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
49 inline ListModelsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
50 inline ListModelsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
52
54
57 inline int GetMaxResults() const{ return m_maxResults; }
58 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
59 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
60 inline ListModelsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
62
64
67 inline const ModelStatus& GetStatus() const{ return m_status; }
68 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
69 inline void SetStatus(const ModelStatus& value) { m_statusHasBeenSet = true; m_status = value; }
70 inline void SetStatus(ModelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
71 inline ListModelsRequest& WithStatus(const ModelStatus& value) { SetStatus(value); return *this;}
72 inline ListModelsRequest& WithStatus(ModelStatus&& value) { SetStatus(std::move(value)); return *this;}
74
76
79 inline const Aws::String& GetModelNameBeginsWith() const{ return m_modelNameBeginsWith; }
80 inline bool ModelNameBeginsWithHasBeenSet() const { return m_modelNameBeginsWithHasBeenSet; }
81 inline void SetModelNameBeginsWith(const Aws::String& value) { m_modelNameBeginsWithHasBeenSet = true; m_modelNameBeginsWith = value; }
82 inline void SetModelNameBeginsWith(Aws::String&& value) { m_modelNameBeginsWithHasBeenSet = true; m_modelNameBeginsWith = std::move(value); }
83 inline void SetModelNameBeginsWith(const char* value) { m_modelNameBeginsWithHasBeenSet = true; m_modelNameBeginsWith.assign(value); }
84 inline ListModelsRequest& WithModelNameBeginsWith(const Aws::String& value) { SetModelNameBeginsWith(value); return *this;}
85 inline ListModelsRequest& WithModelNameBeginsWith(Aws::String&& value) { SetModelNameBeginsWith(std::move(value)); return *this;}
86 inline ListModelsRequest& WithModelNameBeginsWith(const char* value) { SetModelNameBeginsWith(value); return *this;}
88
90
94 inline const Aws::String& GetDatasetNameBeginsWith() const{ return m_datasetNameBeginsWith; }
95 inline bool DatasetNameBeginsWithHasBeenSet() const { return m_datasetNameBeginsWithHasBeenSet; }
96 inline void SetDatasetNameBeginsWith(const Aws::String& value) { m_datasetNameBeginsWithHasBeenSet = true; m_datasetNameBeginsWith = value; }
97 inline void SetDatasetNameBeginsWith(Aws::String&& value) { m_datasetNameBeginsWithHasBeenSet = true; m_datasetNameBeginsWith = std::move(value); }
98 inline void SetDatasetNameBeginsWith(const char* value) { m_datasetNameBeginsWithHasBeenSet = true; m_datasetNameBeginsWith.assign(value); }
100 inline ListModelsRequest& WithDatasetNameBeginsWith(Aws::String&& value) { SetDatasetNameBeginsWith(std::move(value)); return *this;}
101 inline ListModelsRequest& WithDatasetNameBeginsWith(const char* value) { SetDatasetNameBeginsWith(value); return *this;}
103 private:
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107
108 int m_maxResults;
109 bool m_maxResultsHasBeenSet = false;
110
111 ModelStatus m_status;
112 bool m_statusHasBeenSet = false;
113
114 Aws::String m_modelNameBeginsWith;
115 bool m_modelNameBeginsWithHasBeenSet = false;
116
117 Aws::String m_datasetNameBeginsWith;
118 bool m_datasetNameBeginsWithHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace LookoutEquipment
123} // namespace Aws
void SetModelNameBeginsWith(const Aws::String &value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
AWS_LOOKOUTEQUIPMENT_API ListModelsRequest()
ListModelsRequest & WithStatus(const ModelStatus &value)
ListModelsRequest & WithNextToken(const Aws::String &value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListModelsRequest & WithModelNameBeginsWith(const Aws::String &value)
ListModelsRequest & WithModelNameBeginsWith(Aws::String &&value)
void SetDatasetNameBeginsWith(const Aws::String &value)
ListModelsRequest & WithNextToken(const char *value)
ListModelsRequest & WithDatasetNameBeginsWith(const char *value)
ListModelsRequest & WithDatasetNameBeginsWith(const Aws::String &value)
ListModelsRequest & WithStatus(ModelStatus &&value)
ListModelsRequest & WithDatasetNameBeginsWith(Aws::String &&value)
ListModelsRequest & WithNextToken(Aws::String &&value)
ListModelsRequest & WithModelNameBeginsWith(const char *value)
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