AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListImageVersionsRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/sagemaker/model/ImageVersionSortBy.h>
12#include <aws/sagemaker/model/ImageVersionSortOrder.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API ListImageVersionsRequest();
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 "ListImageVersions"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
45 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
46 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
47 inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
48 inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
52
54
58 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
59 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
60 inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
61 inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
65
67
70 inline const Aws::String& GetImageName() const{ return m_imageName; }
71 inline bool ImageNameHasBeenSet() const { return m_imageNameHasBeenSet; }
72 inline void SetImageName(const Aws::String& value) { m_imageNameHasBeenSet = true; m_imageName = value; }
73 inline void SetImageName(Aws::String&& value) { m_imageNameHasBeenSet = true; m_imageName = std::move(value); }
74 inline void SetImageName(const char* value) { m_imageNameHasBeenSet = true; m_imageName.assign(value); }
75 inline ListImageVersionsRequest& WithImageName(const Aws::String& value) { SetImageName(value); return *this;}
76 inline ListImageVersionsRequest& WithImageName(Aws::String&& value) { SetImageName(std::move(value)); return *this;}
77 inline ListImageVersionsRequest& WithImageName(const char* value) { SetImageName(value); return *this;}
79
81
85 inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const{ return m_lastModifiedTimeAfter; }
86 inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
87 inline void SetLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = value; }
88 inline void SetLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::move(value); }
92
94
98 inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const{ return m_lastModifiedTimeBefore; }
99 inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
100 inline void SetLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = value; }
101 inline void SetLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::move(value); }
105
107
111 inline int GetMaxResults() const{ return m_maxResults; }
112 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
113 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
114 inline ListImageVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
116
118
123 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
124 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
125 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
126 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
127 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
128 inline ListImageVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
129 inline ListImageVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
130 inline ListImageVersionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
132
134
138 inline const ImageVersionSortBy& GetSortBy() const{ return m_sortBy; }
139 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
140 inline void SetSortBy(const ImageVersionSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
141 inline void SetSortBy(ImageVersionSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
142 inline ListImageVersionsRequest& WithSortBy(const ImageVersionSortBy& value) { SetSortBy(value); return *this;}
143 inline ListImageVersionsRequest& WithSortBy(ImageVersionSortBy&& value) { SetSortBy(std::move(value)); return *this;}
145
147
150 inline const ImageVersionSortOrder& GetSortOrder() const{ return m_sortOrder; }
151 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
152 inline void SetSortOrder(const ImageVersionSortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
153 inline void SetSortOrder(ImageVersionSortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
154 inline ListImageVersionsRequest& WithSortOrder(const ImageVersionSortOrder& value) { SetSortOrder(value); return *this;}
155 inline ListImageVersionsRequest& WithSortOrder(ImageVersionSortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
157 private:
158
159 Aws::Utils::DateTime m_creationTimeAfter;
160 bool m_creationTimeAfterHasBeenSet = false;
161
162 Aws::Utils::DateTime m_creationTimeBefore;
163 bool m_creationTimeBeforeHasBeenSet = false;
164
165 Aws::String m_imageName;
166 bool m_imageNameHasBeenSet = false;
167
168 Aws::Utils::DateTime m_lastModifiedTimeAfter;
169 bool m_lastModifiedTimeAfterHasBeenSet = false;
170
171 Aws::Utils::DateTime m_lastModifiedTimeBefore;
172 bool m_lastModifiedTimeBeforeHasBeenSet = false;
173
174 int m_maxResults;
175 bool m_maxResultsHasBeenSet = false;
176
177 Aws::String m_nextToken;
178 bool m_nextTokenHasBeenSet = false;
179
180 ImageVersionSortBy m_sortBy;
181 bool m_sortByHasBeenSet = false;
182
183 ImageVersionSortOrder m_sortOrder;
184 bool m_sortOrderHasBeenSet = false;
185 };
186
187} // namespace Model
188} // namespace SageMaker
189} // namespace Aws
const Aws::Utils::DateTime & GetCreationTimeAfter() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
virtual const char * GetServiceRequestName() const override
ListImageVersionsRequest & WithMaxResults(int value)
ListImageVersionsRequest & WithNextToken(Aws::String &&value)
ListImageVersionsRequest & WithImageName(Aws::String &&value)
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
ListImageVersionsRequest & WithImageName(const char *value)
void SetLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListImageVersionsRequest & WithNextToken(const char *value)
ListImageVersionsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
ListImageVersionsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
ListImageVersionsRequest & WithSortBy(const ImageVersionSortBy &value)
ListImageVersionsRequest & WithLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
ListImageVersionsRequest & WithImageName(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListImageVersionsRequest & WithSortBy(ImageVersionSortBy &&value)
ListImageVersionsRequest & WithLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
void SetLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModifiedTimeBefore() const
void SetSortOrder(const ImageVersionSortOrder &value)
ListImageVersionsRequest & WithNextToken(const Aws::String &value)
void SetLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
ListImageVersionsRequest & WithLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
void SetLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
ListImageVersionsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
ListImageVersionsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
const ImageVersionSortOrder & GetSortOrder() const
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
ListImageVersionsRequest & WithLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
ListImageVersionsRequest & WithSortOrder(ImageVersionSortOrder &&value)
const Aws::Utils::DateTime & GetLastModifiedTimeAfter() const
ListImageVersionsRequest & WithSortOrder(const ImageVersionSortOrder &value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String