AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListInferenceSchedulersRequest.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/InferenceSchedulerStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LookoutEquipment
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LOOKOUTEQUIPMENT_API ListInferenceSchedulersRequest() = 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 "ListInferenceSchedulers"; }
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 ListInferenceSchedulersRequest& 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 ListInferenceSchedulersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
60
62
65 inline const Aws::String& GetInferenceSchedulerNameBeginsWith() const { return m_inferenceSchedulerNameBeginsWith; }
66 inline bool InferenceSchedulerNameBeginsWithHasBeenSet() const { return m_inferenceSchedulerNameBeginsWithHasBeenSet; }
67 template<typename InferenceSchedulerNameBeginsWithT = Aws::String>
68 void SetInferenceSchedulerNameBeginsWith(InferenceSchedulerNameBeginsWithT&& value) { m_inferenceSchedulerNameBeginsWithHasBeenSet = true; m_inferenceSchedulerNameBeginsWith = std::forward<InferenceSchedulerNameBeginsWithT>(value); }
69 template<typename InferenceSchedulerNameBeginsWithT = Aws::String>
70 ListInferenceSchedulersRequest& WithInferenceSchedulerNameBeginsWith(InferenceSchedulerNameBeginsWithT&& value) { SetInferenceSchedulerNameBeginsWith(std::forward<InferenceSchedulerNameBeginsWithT>(value)); return *this;}
72
74
78 inline const Aws::String& GetModelName() const { return m_modelName; }
79 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
80 template<typename ModelNameT = Aws::String>
81 void SetModelName(ModelNameT&& value) { m_modelNameHasBeenSet = true; m_modelName = std::forward<ModelNameT>(value); }
82 template<typename ModelNameT = Aws::String>
83 ListInferenceSchedulersRequest& WithModelName(ModelNameT&& value) { SetModelName(std::forward<ModelNameT>(value)); return *this;}
85
87
90 inline InferenceSchedulerStatus GetStatus() const { return m_status; }
91 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
92 inline void SetStatus(InferenceSchedulerStatus value) { m_statusHasBeenSet = true; m_status = value; }
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
103 Aws::String m_inferenceSchedulerNameBeginsWith;
104 bool m_inferenceSchedulerNameBeginsWithHasBeenSet = false;
105
106 Aws::String m_modelName;
107 bool m_modelNameHasBeenSet = false;
108
110 bool m_statusHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace LookoutEquipment
115} // namespace Aws
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListInferenceSchedulersRequest & WithInferenceSchedulerNameBeginsWith(InferenceSchedulerNameBeginsWithT &&value)
AWS_LOOKOUTEQUIPMENT_API ListInferenceSchedulersRequest()=default
void SetInferenceSchedulerNameBeginsWith(InferenceSchedulerNameBeginsWithT &&value)
ListInferenceSchedulersRequest & WithStatus(InferenceSchedulerStatus value)
ListInferenceSchedulersRequest & WithNextToken(NextTokenT &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
ListInferenceSchedulersRequest & WithModelName(ModelNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String