AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
48 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
49 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
50 inline ListModelVersionsRequest& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
51 inline ListModelVersionsRequest& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
52 inline ListModelVersionsRequest& WithModelName(const char* value) { SetModelName(value); return *this;}
54
56
63 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
64 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
65 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
66 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
67 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
68 inline ListModelVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
69 inline ListModelVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
70 inline ListModelVersionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
72
74
77 inline int GetMaxResults() const{ return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
80 inline ListModelVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
82
84
87 inline const ModelVersionStatus& GetStatus() const{ return m_status; }
88 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
89 inline void SetStatus(const ModelVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
90 inline void SetStatus(ModelVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
91 inline ListModelVersionsRequest& WithStatus(const ModelVersionStatus& value) { SetStatus(value); return *this;}
92 inline ListModelVersionsRequest& WithStatus(ModelVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
94
96
99 inline const ModelVersionSourceType& GetSourceType() const{ return m_sourceType; }
100 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
101 inline void SetSourceType(const ModelVersionSourceType& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
102 inline void SetSourceType(ModelVersionSourceType&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
104 inline ListModelVersionsRequest& WithSourceType(ModelVersionSourceType&& value) { SetSourceType(std::move(value)); return *this;}
106
108
111 inline const Aws::Utils::DateTime& GetCreatedAtEndTime() const{ return m_createdAtEndTime; }
112 inline bool CreatedAtEndTimeHasBeenSet() const { return m_createdAtEndTimeHasBeenSet; }
113 inline void SetCreatedAtEndTime(const Aws::Utils::DateTime& value) { m_createdAtEndTimeHasBeenSet = true; m_createdAtEndTime = value; }
114 inline void SetCreatedAtEndTime(Aws::Utils::DateTime&& value) { m_createdAtEndTimeHasBeenSet = true; m_createdAtEndTime = std::move(value); }
118
120
123 inline const Aws::Utils::DateTime& GetCreatedAtStartTime() const{ return m_createdAtStartTime; }
124 inline bool CreatedAtStartTimeHasBeenSet() const { return m_createdAtStartTimeHasBeenSet; }
125 inline void SetCreatedAtStartTime(const Aws::Utils::DateTime& value) { m_createdAtStartTimeHasBeenSet = true; m_createdAtStartTime = value; }
126 inline void SetCreatedAtStartTime(Aws::Utils::DateTime&& value) { m_createdAtStartTimeHasBeenSet = true; m_createdAtStartTime = std::move(value); }
130
132
135 inline long long GetMaxModelVersion() const{ return m_maxModelVersion; }
136 inline bool MaxModelVersionHasBeenSet() const { return m_maxModelVersionHasBeenSet; }
137 inline void SetMaxModelVersion(long long value) { m_maxModelVersionHasBeenSet = true; m_maxModelVersion = value; }
138 inline ListModelVersionsRequest& WithMaxModelVersion(long long value) { SetMaxModelVersion(value); return *this;}
140
142
145 inline long long GetMinModelVersion() const{ return m_minModelVersion; }
146 inline bool MinModelVersionHasBeenSet() const { return m_minModelVersionHasBeenSet; }
147 inline void SetMinModelVersion(long long value) { m_minModelVersionHasBeenSet = true; m_minModelVersion = value; }
148 inline ListModelVersionsRequest& WithMinModelVersion(long long value) { SetMinModelVersion(value); return *this;}
150 private:
151
152 Aws::String m_modelName;
153 bool m_modelNameHasBeenSet = false;
154
155 Aws::String m_nextToken;
156 bool m_nextTokenHasBeenSet = false;
157
158 int m_maxResults;
159 bool m_maxResultsHasBeenSet = false;
160
161 ModelVersionStatus m_status;
162 bool m_statusHasBeenSet = false;
163
164 ModelVersionSourceType m_sourceType;
165 bool m_sourceTypeHasBeenSet = false;
166
167 Aws::Utils::DateTime m_createdAtEndTime;
168 bool m_createdAtEndTimeHasBeenSet = false;
169
170 Aws::Utils::DateTime m_createdAtStartTime;
171 bool m_createdAtStartTimeHasBeenSet = false;
172
173 long long m_maxModelVersion;
174 bool m_maxModelVersionHasBeenSet = false;
175
176 long long m_minModelVersion;
177 bool m_minModelVersionHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace LookoutEquipment
182} // namespace Aws
ListModelVersionsRequest & WithMaxModelVersion(long long value)
ListModelVersionsRequest & WithNextToken(Aws::String &&value)
ListModelVersionsRequest & WithStatus(ModelVersionStatus &&value)
ListModelVersionsRequest & WithCreatedAtEndTime(const Aws::Utils::DateTime &value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
ListModelVersionsRequest & WithMinModelVersion(long long value)
void SetCreatedAtEndTime(const Aws::Utils::DateTime &value)
ListModelVersionsRequest & WithModelName(const Aws::String &value)
void SetCreatedAtStartTime(const Aws::Utils::DateTime &value)
ListModelVersionsRequest & WithCreatedAtStartTime(Aws::Utils::DateTime &&value)
ListModelVersionsRequest & WithModelName(const char *value)
ListModelVersionsRequest & WithStatus(const ModelVersionStatus &value)
ListModelVersionsRequest & WithModelName(Aws::String &&value)
ListModelVersionsRequest & WithNextToken(const Aws::String &value)
ListModelVersionsRequest & WithNextToken(const char *value)
ListModelVersionsRequest & WithCreatedAtStartTime(const Aws::Utils::DateTime &value)
void SetSourceType(const ModelVersionSourceType &value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListModelVersionsRequest & WithSourceType(ModelVersionSourceType &&value)
ListModelVersionsRequest & WithSourceType(const ModelVersionSourceType &value)
ListModelVersionsRequest & WithCreatedAtEndTime(Aws::Utils::DateTime &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String