AWS SDK for C++  1.9.71
AWS SDK for C++
ListImagesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecr/ECR_EXPORTS.h>
8 #include <aws/ecr/ECRRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ECR
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "ListImages"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const Aws::String& GetRegistryId() const{ return m_registryId; }
44 
50  inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
51 
57  inline void SetRegistryId(const Aws::String& value) { m_registryIdHasBeenSet = true; m_registryId = value; }
58 
64  inline void SetRegistryId(Aws::String&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); }
65 
71  inline void SetRegistryId(const char* value) { m_registryIdHasBeenSet = true; m_registryId.assign(value); }
72 
78  inline ListImagesRequest& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
79 
85  inline ListImagesRequest& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
86 
92  inline ListImagesRequest& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
93 
94 
98  inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
99 
103  inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
104 
108  inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
109 
113  inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
114 
118  inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
119 
123  inline ListImagesRequest& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
124 
128  inline ListImagesRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
129 
133  inline ListImagesRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
134 
135 
146  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
147 
158  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
159 
170  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
171 
182  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
183 
194  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
195 
206  inline ListImagesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
207 
218  inline ListImagesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
219 
230  inline ListImagesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
231 
232 
243  inline int GetMaxResults() const{ return m_maxResults; }
244 
255  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
256 
267  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
268 
279  inline ListImagesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
280 
281 
286  inline const ListImagesFilter& GetFilter() const{ return m_filter; }
287 
292  inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
293 
298  inline void SetFilter(const ListImagesFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
299 
304  inline void SetFilter(ListImagesFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
305 
310  inline ListImagesRequest& WithFilter(const ListImagesFilter& value) { SetFilter(value); return *this;}
311 
316  inline ListImagesRequest& WithFilter(ListImagesFilter&& value) { SetFilter(std::move(value)); return *this;}
317 
318  private:
319 
320  Aws::String m_registryId;
321  bool m_registryIdHasBeenSet;
322 
323  Aws::String m_repositoryName;
324  bool m_repositoryNameHasBeenSet;
325 
326  Aws::String m_nextToken;
327  bool m_nextTokenHasBeenSet;
328 
329  int m_maxResults;
330  bool m_maxResultsHasBeenSet;
331 
332  ListImagesFilter m_filter;
333  bool m_filterHasBeenSet;
334  };
335 
336 } // namespace Model
337 } // namespace ECR
338 } // namespace Aws
Aws::ECR::Model::ListImagesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ECR::Model::ListImagesRequest::SetRepositoryName
void SetRepositoryName(Aws::String &&value)
Definition: ListImagesRequest.h:113
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ECR::Model::ListImagesRequest::WithRegistryId
ListImagesRequest & WithRegistryId(Aws::String &&value)
Definition: ListImagesRequest.h:85
Aws::ECR::Model::ListImagesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListImagesRequest.h:194
Aws::ECR::Model::ListImagesRequest::SetRegistryId
void SetRegistryId(const char *value)
Definition: ListImagesRequest.h:71
Aws::ECR::Model::ListImagesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListImagesRequest.h:146
Aws::ECR::Model::ListImagesRequest::WithRepositoryName
ListImagesRequest & WithRepositoryName(const Aws::String &value)
Definition: ListImagesRequest.h:123
Aws::ECR::Model::ListImagesFilter
Definition: ListImagesFilter.h:33
Aws::ECR::Model::ListImagesRequest::GetRepositoryName
const Aws::String & GetRepositoryName() const
Definition: ListImagesRequest.h:98
Aws::ECR::Model::ListImagesRequest::WithNextToken
ListImagesRequest & WithNextToken(Aws::String &&value)
Definition: ListImagesRequest.h:218
Aws::ECR::Model::ListImagesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListImagesRequest.h:158
Aws::ECR::Model::ListImagesRequest::WithNextToken
ListImagesRequest & WithNextToken(const Aws::String &value)
Definition: ListImagesRequest.h:206
Aws::ECR::Model::ListImagesRequest::SetRepositoryName
void SetRepositoryName(const Aws::String &value)
Definition: ListImagesRequest.h:108
Aws::ECR::Model::ListImagesRequest::WithRepositoryName
ListImagesRequest & WithRepositoryName(const char *value)
Definition: ListImagesRequest.h:133
Aws::ECR::Model::ListImagesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListImagesRequest.h:243
Aws::ECR::Model::ListImagesRequest::RepositoryNameHasBeenSet
bool RepositoryNameHasBeenSet() const
Definition: ListImagesRequest.h:103
Aws::ECR::Model::ListImagesRequest::GetFilter
const ListImagesFilter & GetFilter() const
Definition: ListImagesRequest.h:286
Aws::ECR::Model::ListImagesRequest::WithFilter
ListImagesRequest & WithFilter(const ListImagesFilter &value)
Definition: ListImagesRequest.h:310
Aws::ECR::Model::ListImagesRequest::WithRegistryId
ListImagesRequest & WithRegistryId(const char *value)
Definition: ListImagesRequest.h:92
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
Aws::ECR::Model::ListImagesRequest::WithFilter
ListImagesRequest & WithFilter(ListImagesFilter &&value)
Definition: ListImagesRequest.h:316
Aws::ECR::Model::ListImagesRequest
Definition: ListImagesRequest.h:23
ECR_EXPORTS.h
Aws::ECR::Model::ListImagesRequest::WithNextToken
ListImagesRequest & WithNextToken(const char *value)
Definition: ListImagesRequest.h:230
Aws::ECR::Model::ListImagesRequest::WithRegistryId
ListImagesRequest & WithRegistryId(const Aws::String &value)
Definition: ListImagesRequest.h:78
Aws::ECR::Model::ListImagesRequest::GetRegistryId
const Aws::String & GetRegistryId() const
Definition: ListImagesRequest.h:43
AWSString.h
Aws::ECR::Model::ListImagesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListImagesRequest.h:170
Aws::ECR::Model::ListImagesRequest::FilterHasBeenSet
bool FilterHasBeenSet() const
Definition: ListImagesRequest.h:292
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
ECRRequest.h
Aws::ECR::Model::ListImagesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListImagesRequest.h:267
Aws::ECR::Model::ListImagesRequest::SetRegistryId
void SetRegistryId(const Aws::String &value)
Definition: ListImagesRequest.h:57
Aws::ECR::Model::ListImagesRequest::SetFilter
void SetFilter(ListImagesFilter &&value)
Definition: ListImagesRequest.h:304
Aws::ECR::Model::ListImagesRequest::RegistryIdHasBeenSet
bool RegistryIdHasBeenSet() const
Definition: ListImagesRequest.h:50
Aws::ECR::Model::ListImagesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListImagesRequest.h:255
Aws::ECR::Model::ListImagesRequest::SetFilter
void SetFilter(const ListImagesFilter &value)
Definition: ListImagesRequest.h:298
Aws::ECR::Model::ListImagesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ECR::Model::ListImagesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListImagesRequest.h:31
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::ListImagesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListImagesRequest.h:182
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECR::Model::ListImagesRequest::SetRepositoryName
void SetRepositoryName(const char *value)
Definition: ListImagesRequest.h:118
Aws::ECR::Model::ListImagesRequest::WithRepositoryName
ListImagesRequest & WithRepositoryName(Aws::String &&value)
Definition: ListImagesRequest.h:128
ListImagesFilter.h
Aws::ECR::Model::ListImagesRequest::SetRegistryId
void SetRegistryId(Aws::String &&value)
Definition: ListImagesRequest.h:64
Aws::ECR::ECRRequest
Definition: ECRRequest.h:17
Aws::ECR::Model::ListImagesRequest::WithMaxResults
ListImagesRequest & WithMaxResults(int value)
Definition: ListImagesRequest.h:279
Aws::ECR::Model::ListImagesRequest::ListImagesRequest
ListImagesRequest()