AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelNameBeginsWith(const Aws::String& value) { m_modelNameBeginsWithHasBeenSet = true; m_modelNameBeginsWith = value; }
46 inline void SetModelNameBeginsWith(Aws::String&& value) { m_modelNameBeginsWithHasBeenSet = true; m_modelNameBeginsWith = std::move(value); }
47 inline void SetModelNameBeginsWith(const char* value) { m_modelNameBeginsWithHasBeenSet = true; m_modelNameBeginsWith.assign(value); }
50 inline ListRetrainingSchedulersRequest& WithModelNameBeginsWith(const char* value) { SetModelNameBeginsWith(value); return *this;}
52
54
58 inline const RetrainingSchedulerStatus& GetStatus() const{ return m_status; }
59 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
60 inline void SetStatus(const RetrainingSchedulerStatus& value) { m_statusHasBeenSet = true; m_status = value; }
61 inline void SetStatus(RetrainingSchedulerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
63 inline ListRetrainingSchedulersRequest& WithStatus(RetrainingSchedulerStatus&& value) { SetStatus(std::move(value)); return *this;}
65
67
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
76 inline ListRetrainingSchedulersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline ListRetrainingSchedulersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline ListRetrainingSchedulersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
80
82
85 inline int GetMaxResults() const{ return m_maxResults; }
86 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
87 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
88 inline ListRetrainingSchedulersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
90 private:
91
92 Aws::String m_modelNameBeginsWith;
93 bool m_modelNameBeginsWithHasBeenSet = false;
94
96 bool m_statusHasBeenSet = false;
97
98 Aws::String m_nextToken;
99 bool m_nextTokenHasBeenSet = false;
100
101 int m_maxResults;
102 bool m_maxResultsHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace LookoutEquipment
107} // namespace Aws
ListRetrainingSchedulersRequest & WithStatus(RetrainingSchedulerStatus &&value)
ListRetrainingSchedulersRequest & WithModelNameBeginsWith(const Aws::String &value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
ListRetrainingSchedulersRequest & WithNextToken(const char *value)
ListRetrainingSchedulersRequest & WithNextToken(Aws::String &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListRetrainingSchedulersRequest & WithNextToken(const Aws::String &value)
ListRetrainingSchedulersRequest & WithModelNameBeginsWith(Aws::String &&value)
ListRetrainingSchedulersRequest & WithModelNameBeginsWith(const char *value)
ListRetrainingSchedulersRequest & WithStatus(const RetrainingSchedulerStatus &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String