AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListModelVersionsRequest.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/ModelVersionStatus.h>
11#include <aws/lookoutequipment/model/ModelVersionSourceType.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace LookoutEquipment
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_LOOKOUTEQUIPMENT_API ListModelVersionsRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ListModelVersions"; }
34
35 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
36
37 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
45 inline const Aws::String& GetModelName() const { return m_modelName; }
46 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
47 template<typename ModelNameT = Aws::String>
48 void SetModelName(ModelNameT&& value) { m_modelNameHasBeenSet = true; m_modelName = std::forward<ModelNameT>(value); }
49 template<typename ModelNameT = Aws::String>
50 ListModelVersionsRequest& WithModelName(ModelNameT&& value) { SetModelName(std::forward<ModelNameT>(value)); return *this;}
52
54
61 inline const Aws::String& GetNextToken() const { return m_nextToken; }
62 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
63 template<typename NextTokenT = Aws::String>
64 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
65 template<typename NextTokenT = Aws::String>
66 ListModelVersionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
68
70
73 inline int GetMaxResults() const { return m_maxResults; }
74 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
75 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
76 inline ListModelVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
78
80
83 inline ModelVersionStatus GetStatus() const { return m_status; }
84 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
85 inline void SetStatus(ModelVersionStatus value) { m_statusHasBeenSet = true; m_status = value; }
86 inline ListModelVersionsRequest& WithStatus(ModelVersionStatus value) { SetStatus(value); return *this;}
88
90
93 inline ModelVersionSourceType GetSourceType() const { return m_sourceType; }
94 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
95 inline void SetSourceType(ModelVersionSourceType value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
98
100
103 inline const Aws::Utils::DateTime& GetCreatedAtEndTime() const { return m_createdAtEndTime; }
104 inline bool CreatedAtEndTimeHasBeenSet() const { return m_createdAtEndTimeHasBeenSet; }
105 template<typename CreatedAtEndTimeT = Aws::Utils::DateTime>
106 void SetCreatedAtEndTime(CreatedAtEndTimeT&& value) { m_createdAtEndTimeHasBeenSet = true; m_createdAtEndTime = std::forward<CreatedAtEndTimeT>(value); }
107 template<typename CreatedAtEndTimeT = Aws::Utils::DateTime>
108 ListModelVersionsRequest& WithCreatedAtEndTime(CreatedAtEndTimeT&& value) { SetCreatedAtEndTime(std::forward<CreatedAtEndTimeT>(value)); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetCreatedAtStartTime() const { return m_createdAtStartTime; }
116 inline bool CreatedAtStartTimeHasBeenSet() const { return m_createdAtStartTimeHasBeenSet; }
117 template<typename CreatedAtStartTimeT = Aws::Utils::DateTime>
118 void SetCreatedAtStartTime(CreatedAtStartTimeT&& value) { m_createdAtStartTimeHasBeenSet = true; m_createdAtStartTime = std::forward<CreatedAtStartTimeT>(value); }
119 template<typename CreatedAtStartTimeT = Aws::Utils::DateTime>
120 ListModelVersionsRequest& WithCreatedAtStartTime(CreatedAtStartTimeT&& value) { SetCreatedAtStartTime(std::forward<CreatedAtStartTimeT>(value)); return *this;}
122
124
127 inline long long GetMaxModelVersion() const { return m_maxModelVersion; }
128 inline bool MaxModelVersionHasBeenSet() const { return m_maxModelVersionHasBeenSet; }
129 inline void SetMaxModelVersion(long long value) { m_maxModelVersionHasBeenSet = true; m_maxModelVersion = value; }
130 inline ListModelVersionsRequest& WithMaxModelVersion(long long value) { SetMaxModelVersion(value); return *this;}
132
134
137 inline long long GetMinModelVersion() const { return m_minModelVersion; }
138 inline bool MinModelVersionHasBeenSet() const { return m_minModelVersionHasBeenSet; }
139 inline void SetMinModelVersion(long long value) { m_minModelVersionHasBeenSet = true; m_minModelVersion = value; }
140 inline ListModelVersionsRequest& WithMinModelVersion(long long value) { SetMinModelVersion(value); return *this;}
142 private:
143
144 Aws::String m_modelName;
145 bool m_modelNameHasBeenSet = false;
146
147 Aws::String m_nextToken;
148 bool m_nextTokenHasBeenSet = false;
149
150 int m_maxResults{0};
151 bool m_maxResultsHasBeenSet = false;
152
154 bool m_statusHasBeenSet = false;
155
157 bool m_sourceTypeHasBeenSet = false;
158
159 Aws::Utils::DateTime m_createdAtEndTime{};
160 bool m_createdAtEndTimeHasBeenSet = false;
161
162 Aws::Utils::DateTime m_createdAtStartTime{};
163 bool m_createdAtStartTimeHasBeenSet = false;
164
165 long long m_maxModelVersion{0};
166 bool m_maxModelVersionHasBeenSet = false;
167
168 long long m_minModelVersion{0};
169 bool m_minModelVersionHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace LookoutEquipment
174} // namespace Aws
ListModelVersionsRequest & WithMaxModelVersion(long long value)
ListModelVersionsRequest & WithStatus(ModelVersionStatus value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
ListModelVersionsRequest & WithCreatedAtEndTime(CreatedAtEndTimeT &&value)
AWS_LOOKOUTEQUIPMENT_API ListModelVersionsRequest()=default
ListModelVersionsRequest & WithCreatedAtStartTime(CreatedAtStartTimeT &&value)
ListModelVersionsRequest & WithSourceType(ModelVersionSourceType value)
ListModelVersionsRequest & WithMinModelVersion(long long value)
ListModelVersionsRequest & WithNextToken(NextTokenT &&value)
ListModelVersionsRequest & WithModelName(ModelNameT &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String