AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListRetrainingSchedulersRequest.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/RetrainingSchedulerStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LookoutEquipment
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LOOKOUTEQUIPMENT_API ListRetrainingSchedulersRequest() = 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 "ListRetrainingSchedulers"; }
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& GetModelNameBeginsWith() const { return m_modelNameBeginsWith; }
44 inline bool ModelNameBeginsWithHasBeenSet() const { return m_modelNameBeginsWithHasBeenSet; }
45 template<typename ModelNameBeginsWithT = Aws::String>
46 void SetModelNameBeginsWith(ModelNameBeginsWithT&& value) { m_modelNameBeginsWithHasBeenSet = true; m_modelNameBeginsWith = std::forward<ModelNameBeginsWithT>(value); }
47 template<typename ModelNameBeginsWithT = Aws::String>
48 ListRetrainingSchedulersRequest& WithModelNameBeginsWith(ModelNameBeginsWithT&& value) { SetModelNameBeginsWith(std::forward<ModelNameBeginsWithT>(value)); return *this;}
50
52
56 inline RetrainingSchedulerStatus GetStatus() const { return m_status; }
57 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
58 inline void SetStatus(RetrainingSchedulerStatus value) { m_statusHasBeenSet = true; m_status = value; }
61
63
67 inline const Aws::String& GetNextToken() const { return m_nextToken; }
68 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
69 template<typename NextTokenT = Aws::String>
70 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
71 template<typename NextTokenT = Aws::String>
72 ListRetrainingSchedulersRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
74
76
79 inline int GetMaxResults() const { return m_maxResults; }
80 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
81 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
82 inline ListRetrainingSchedulersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
84 private:
85
86 Aws::String m_modelNameBeginsWith;
87 bool m_modelNameBeginsWithHasBeenSet = false;
88
90 bool m_statusHasBeenSet = false;
91
92 Aws::String m_nextToken;
93 bool m_nextTokenHasBeenSet = false;
94
95 int m_maxResults{0};
96 bool m_maxResultsHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace LookoutEquipment
101} // namespace Aws
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListRetrainingSchedulersRequest & WithNextToken(NextTokenT &&value)
ListRetrainingSchedulersRequest & WithModelNameBeginsWith(ModelNameBeginsWithT &&value)
AWS_LOOKOUTEQUIPMENT_API ListRetrainingSchedulersRequest()=default
ListRetrainingSchedulersRequest & WithStatus(RetrainingSchedulerStatus value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String