AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListImagesRequest.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/ImageSortBy.h>
12#include <aws/sagemaker/model/ImageSortOrder.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API ListImagesRequest();
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 "ListImages"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
45 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
46 inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
47 inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
49 inline ListImagesRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
51
53
57 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
58 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
59 inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
60 inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
62 inline ListImagesRequest& WithCreationTimeBefore(Aws::Utils::DateTime&& value) { SetCreationTimeBefore(std::move(value)); return *this;}
64
66
70 inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const{ return m_lastModifiedTimeAfter; }
71 inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
72 inline void SetLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = value; }
73 inline void SetLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::move(value); }
77
79
83 inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const{ return m_lastModifiedTimeBefore; }
84 inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
85 inline void SetLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = value; }
86 inline void SetLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::move(value); }
90
92
96 inline int GetMaxResults() const{ return m_maxResults; }
97 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
98 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
99 inline ListImagesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
101
103
107 inline const Aws::String& GetNameContains() const{ return m_nameContains; }
108 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
109 inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
110 inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
111 inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
112 inline ListImagesRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
113 inline ListImagesRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
114 inline ListImagesRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
116
118
122 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
123 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
124 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
125 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
126 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
127 inline ListImagesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
128 inline ListImagesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
129 inline ListImagesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
131
133
137 inline const ImageSortBy& GetSortBy() const{ return m_sortBy; }
138 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
139 inline void SetSortBy(const ImageSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
140 inline void SetSortBy(ImageSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
141 inline ListImagesRequest& WithSortBy(const ImageSortBy& value) { SetSortBy(value); return *this;}
142 inline ListImagesRequest& WithSortBy(ImageSortBy&& value) { SetSortBy(std::move(value)); return *this;}
144
146
149 inline const ImageSortOrder& GetSortOrder() const{ return m_sortOrder; }
150 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
151 inline void SetSortOrder(const ImageSortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
152 inline void SetSortOrder(ImageSortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
153 inline ListImagesRequest& WithSortOrder(const ImageSortOrder& value) { SetSortOrder(value); return *this;}
154 inline ListImagesRequest& WithSortOrder(ImageSortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
156 private:
157
158 Aws::Utils::DateTime m_creationTimeAfter;
159 bool m_creationTimeAfterHasBeenSet = false;
160
161 Aws::Utils::DateTime m_creationTimeBefore;
162 bool m_creationTimeBeforeHasBeenSet = false;
163
164 Aws::Utils::DateTime m_lastModifiedTimeAfter;
165 bool m_lastModifiedTimeAfterHasBeenSet = false;
166
167 Aws::Utils::DateTime m_lastModifiedTimeBefore;
168 bool m_lastModifiedTimeBeforeHasBeenSet = false;
169
170 int m_maxResults;
171 bool m_maxResultsHasBeenSet = false;
172
173 Aws::String m_nameContains;
174 bool m_nameContainsHasBeenSet = false;
175
176 Aws::String m_nextToken;
177 bool m_nextTokenHasBeenSet = false;
178
179 ImageSortBy m_sortBy;
180 bool m_sortByHasBeenSet = false;
181
182 ImageSortOrder m_sortOrder;
183 bool m_sortOrderHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace SageMaker
188} // namespace Aws
ListImagesRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModifiedTimeAfter() const
ListImagesRequest & WithNameContains(const char *value)
ListImagesRequest & WithMaxResults(int value)
ListImagesRequest & WithNextToken(const char *value)
void SetLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListImagesRequest & WithNextToken(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedTimeBefore() const
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
void SetLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
ListImagesRequest & WithLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListImagesRequest & WithNextToken(Aws::String &&value)
void SetSortOrder(const ImageSortOrder &value)
ListImagesRequest & WithNameContains(Aws::String &&value)
ListImagesRequest & WithLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
ListImagesRequest & WithNameContains(const Aws::String &value)
const ImageSortOrder & GetSortOrder() const
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
ListImagesRequest & WithSortBy(const ImageSortBy &value)
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
ListImagesRequest & WithLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
void SetLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
ListImagesRequest & WithSortOrder(const ImageSortOrder &value)
ListImagesRequest & WithSortOrder(ImageSortOrder &&value)
ListImagesRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
void SetSortOrder(ImageSortOrder &&value)
void SetLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
ListImagesRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
ListImagesRequest & WithSortBy(ImageSortBy &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetSortBy(const ImageSortBy &value)
ListImagesRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
ListImagesRequest & WithLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
void SetNameContains(const Aws::String &value)
const Aws::String & GetNameContains() const
void SetNextToken(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTimeAfter() const
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_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