AWS SDK for C++  1.9.71
AWS SDK for C++
DescribeImagesRequest.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>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace ECR
18 {
19 namespace Model
20 {
21 
25  {
26  public:
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 "DescribeImages"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
45  inline const Aws::String& GetRegistryId() const{ return m_registryId; }
46 
52  inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
53 
59  inline void SetRegistryId(const Aws::String& value) { m_registryIdHasBeenSet = true; m_registryId = value; }
60 
66  inline void SetRegistryId(Aws::String&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); }
67 
73  inline void SetRegistryId(const char* value) { m_registryIdHasBeenSet = true; m_registryId.assign(value); }
74 
80  inline DescribeImagesRequest& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
81 
87  inline DescribeImagesRequest& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
88 
94  inline DescribeImagesRequest& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
95 
96 
100  inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
101 
105  inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
106 
110  inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
111 
115  inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
116 
120  inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
121 
125  inline DescribeImagesRequest& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
126 
130  inline DescribeImagesRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
131 
135  inline DescribeImagesRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
136 
137 
141  inline const Aws::Vector<ImageIdentifier>& GetImageIds() const{ return m_imageIds; }
142 
146  inline bool ImageIdsHasBeenSet() const { return m_imageIdsHasBeenSet; }
147 
151  inline void SetImageIds(const Aws::Vector<ImageIdentifier>& value) { m_imageIdsHasBeenSet = true; m_imageIds = value; }
152 
156  inline void SetImageIds(Aws::Vector<ImageIdentifier>&& value) { m_imageIdsHasBeenSet = true; m_imageIds = std::move(value); }
157 
161  inline DescribeImagesRequest& WithImageIds(const Aws::Vector<ImageIdentifier>& value) { SetImageIds(value); return *this;}
162 
166  inline DescribeImagesRequest& WithImageIds(Aws::Vector<ImageIdentifier>&& value) { SetImageIds(std::move(value)); return *this;}
167 
171  inline DescribeImagesRequest& AddImageIds(const ImageIdentifier& value) { m_imageIdsHasBeenSet = true; m_imageIds.push_back(value); return *this; }
172 
176  inline DescribeImagesRequest& AddImageIds(ImageIdentifier&& value) { m_imageIdsHasBeenSet = true; m_imageIds.push_back(std::move(value)); return *this; }
177 
178 
187  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
188 
197  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
198 
207  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
208 
217  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
218 
227  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
228 
237  inline DescribeImagesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
238 
247  inline DescribeImagesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
248 
257  inline DescribeImagesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
258 
259 
272  inline int GetMaxResults() const{ return m_maxResults; }
273 
286  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
287 
300  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
301 
314  inline DescribeImagesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
315 
316 
321  inline const DescribeImagesFilter& GetFilter() const{ return m_filter; }
322 
327  inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
328 
333  inline void SetFilter(const DescribeImagesFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
334 
339  inline void SetFilter(DescribeImagesFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
340 
345  inline DescribeImagesRequest& WithFilter(const DescribeImagesFilter& value) { SetFilter(value); return *this;}
346 
351  inline DescribeImagesRequest& WithFilter(DescribeImagesFilter&& value) { SetFilter(std::move(value)); return *this;}
352 
353  private:
354 
355  Aws::String m_registryId;
356  bool m_registryIdHasBeenSet;
357 
358  Aws::String m_repositoryName;
359  bool m_repositoryNameHasBeenSet;
360 
361  Aws::Vector<ImageIdentifier> m_imageIds;
362  bool m_imageIdsHasBeenSet;
363 
364  Aws::String m_nextToken;
365  bool m_nextTokenHasBeenSet;
366 
367  int m_maxResults;
368  bool m_maxResultsHasBeenSet;
369 
370  DescribeImagesFilter m_filter;
371  bool m_filterHasBeenSet;
372  };
373 
374 } // namespace Model
375 } // namespace ECR
376 } // namespace Aws
Aws::ECR::Model::DescribeImagesRequest::GetImageIds
const Aws::Vector< ImageIdentifier > & GetImageIds() const
Definition: DescribeImagesRequest.h:141
Aws::ECR::Model::DescribeImagesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeImagesRequest.h:33
Aws::ECR::Model::DescribeImagesRequest::AddImageIds
DescribeImagesRequest & AddImageIds(ImageIdentifier &&value)
Definition: DescribeImagesRequest.h:176
Aws::ECR::Model::DescribeImagesRequest::SetImageIds
void SetImageIds(Aws::Vector< ImageIdentifier > &&value)
Definition: DescribeImagesRequest.h:156
Aws::ECR::Model::DescribeImagesRequest::GetRegistryId
const Aws::String & GetRegistryId() const
Definition: DescribeImagesRequest.h:45
Aws::ECR::Model::DescribeImagesRequest::RepositoryNameHasBeenSet
bool RepositoryNameHasBeenSet() const
Definition: DescribeImagesRequest.h:105
Aws::ECR::Model::DescribeImagesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeImagesRequest.h:300
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ECR::Model::DescribeImagesRequest::FilterHasBeenSet
bool FilterHasBeenSet() const
Definition: DescribeImagesRequest.h:327
ImageIdentifier.h
Aws::ECR::Model::DescribeImagesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeImagesRequest.h:207
Aws::ECR::Model::DescribeImagesRequest::SetRegistryId
void SetRegistryId(const char *value)
Definition: DescribeImagesRequest.h:73
Aws::ECR::Model::DescribeImagesRequest::RegistryIdHasBeenSet
bool RegistryIdHasBeenSet() const
Definition: DescribeImagesRequest.h:52
Aws::ECR::Model::DescribeImagesRequest::SetRegistryId
void SetRegistryId(Aws::String &&value)
Definition: DescribeImagesRequest.h:66
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ECR::Model::DescribeImagesRequest::AddImageIds
DescribeImagesRequest & AddImageIds(const ImageIdentifier &value)
Definition: DescribeImagesRequest.h:171
Aws::ECR::Model::DescribeImagesRequest::WithRepositoryName
DescribeImagesRequest & WithRepositoryName(const char *value)
Definition: DescribeImagesRequest.h:135
Aws::ECR::Model::DescribeImagesRequest::SetRepositoryName
void SetRepositoryName(const Aws::String &value)
Definition: DescribeImagesRequest.h:110
Aws::ECR::Model::DescribeImagesRequest::WithImageIds
DescribeImagesRequest & WithImageIds(Aws::Vector< ImageIdentifier > &&value)
Definition: DescribeImagesRequest.h:166
Aws::ECR::Model::DescribeImagesRequest::WithNextToken
DescribeImagesRequest & WithNextToken(const char *value)
Definition: DescribeImagesRequest.h:257
AWSVector.h
Aws::ECR::Model::DescribeImagesRequest::WithRepositoryName
DescribeImagesRequest & WithRepositoryName(const Aws::String &value)
Definition: DescribeImagesRequest.h:125
Aws::ECR::Model::DescribeImagesRequest::GetRepositoryName
const Aws::String & GetRepositoryName() const
Definition: DescribeImagesRequest.h:100
Aws::ECR::Model::DescribeImagesFilter
Definition: DescribeImagesFilter.h:33
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
Aws::ECR::Model::DescribeImagesRequest::GetFilter
const DescribeImagesFilter & GetFilter() const
Definition: DescribeImagesRequest.h:321
Aws::ECR::Model::DescribeImagesRequest::SetRegistryId
void SetRegistryId(const Aws::String &value)
Definition: DescribeImagesRequest.h:59
Aws::ECR::Model::DescribeImagesRequest::WithRegistryId
DescribeImagesRequest & WithRegistryId(Aws::String &&value)
Definition: DescribeImagesRequest.h:87
Aws::ECR::Model::DescribeImagesRequest::WithFilter
DescribeImagesRequest & WithFilter(const DescribeImagesFilter &value)
Definition: DescribeImagesRequest.h:345
Aws::ECR::Model::DescribeImagesRequest::ImageIdsHasBeenSet
bool ImageIdsHasBeenSet() const
Definition: DescribeImagesRequest.h:146
ECR_EXPORTS.h
Aws::ECR::Model::DescribeImagesRequest::SetRepositoryName
void SetRepositoryName(const char *value)
Definition: DescribeImagesRequest.h:120
Aws::ECR::Model::DescribeImagesRequest::WithImageIds
DescribeImagesRequest & WithImageIds(const Aws::Vector< ImageIdentifier > &value)
Definition: DescribeImagesRequest.h:161
Aws::ECR::Model::DescribeImagesRequest::DescribeImagesRequest
DescribeImagesRequest()
Aws::ECR::Model::DescribeImagesRequest
Definition: DescribeImagesRequest.h:25
Aws::ECR::Model::DescribeImagesRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::ECR::Model::DescribeImagesRequest::SetFilter
void SetFilter(DescribeImagesFilter &&value)
Definition: DescribeImagesRequest.h:339
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
ECRRequest.h
Aws::ECR::Model::DescribeImagesRequest::WithRegistryId
DescribeImagesRequest & WithRegistryId(const char *value)
Definition: DescribeImagesRequest.h:94
Aws::ECR::Model::DescribeImagesRequest::WithFilter
DescribeImagesRequest & WithFilter(DescribeImagesFilter &&value)
Definition: DescribeImagesRequest.h:351
Aws::ECR::Model::DescribeImagesRequest::SetRepositoryName
void SetRepositoryName(Aws::String &&value)
Definition: DescribeImagesRequest.h:115
Aws::ECR::Model::DescribeImagesRequest::SetImageIds
void SetImageIds(const Aws::Vector< ImageIdentifier > &value)
Definition: DescribeImagesRequest.h:151
Aws::ECR::Model::DescribeImagesRequest::WithNextToken
DescribeImagesRequest & WithNextToken(Aws::String &&value)
Definition: DescribeImagesRequest.h:247
DescribeImagesFilter.h
Aws::ECR::Model::ImageIdentifier
Definition: ImageIdentifier.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::DescribeImagesRequest::SetFilter
void SetFilter(const DescribeImagesFilter &value)
Definition: DescribeImagesRequest.h:333
Aws::ECR::Model::DescribeImagesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeImagesRequest.h:286
Aws::ECR::Model::DescribeImagesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeImagesRequest.h:187
Aws::ECR::Model::DescribeImagesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeImagesRequest.h:197
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECR::Model::DescribeImagesRequest::WithNextToken
DescribeImagesRequest & WithNextToken(const Aws::String &value)
Definition: DescribeImagesRequest.h:237
Aws::ECR::Model::DescribeImagesRequest::WithRepositoryName
DescribeImagesRequest & WithRepositoryName(Aws::String &&value)
Definition: DescribeImagesRequest.h:130
Aws::ECR::Model::DescribeImagesRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeImagesRequest.h:272
Aws::ECR::Model::DescribeImagesRequest::WithMaxResults
DescribeImagesRequest & WithMaxResults(int value)
Definition: DescribeImagesRequest.h:314
Aws::ECR::Model::DescribeImagesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ECR::Model::DescribeImagesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeImagesRequest.h:227
Aws::ECR::Model::DescribeImagesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeImagesRequest.h:217
Aws::ECR::ECRRequest
Definition: ECRRequest.h:17
Aws::ECR::Model::DescribeImagesRequest::WithRegistryId
DescribeImagesRequest & WithRegistryId(const Aws::String &value)
Definition: DescribeImagesRequest.h:80