AWS SDK for C++  1.9.104
AWS SDK for C++
ListImagesResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecr/ECR_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace ECR
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<ImageIdentifier>& GetImageIds() const{ return m_imageIds; }
41 
45  inline void SetImageIds(const Aws::Vector<ImageIdentifier>& value) { m_imageIds = value; }
46 
50  inline void SetImageIds(Aws::Vector<ImageIdentifier>&& value) { m_imageIds = std::move(value); }
51 
55  inline ListImagesResult& WithImageIds(const Aws::Vector<ImageIdentifier>& value) { SetImageIds(value); return *this;}
56 
60  inline ListImagesResult& WithImageIds(Aws::Vector<ImageIdentifier>&& value) { SetImageIds(std::move(value)); return *this;}
61 
65  inline ListImagesResult& AddImageIds(const ImageIdentifier& value) { m_imageIds.push_back(value); return *this; }
66 
70  inline ListImagesResult& AddImageIds(ImageIdentifier&& value) { m_imageIds.push_back(std::move(value)); return *this; }
71 
72 
80  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
81 
89  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
90 
98  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
99 
107  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
108 
116  inline ListImagesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
117 
125  inline ListImagesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
126 
134  inline ListImagesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
135 
136  private:
137 
138  Aws::Vector<ImageIdentifier> m_imageIds;
139 
140  Aws::String m_nextToken;
141  };
142 
143 } // namespace Model
144 } // namespace ECR
145 } // namespace Aws
Aws::ECR::Model::ListImagesResult::GetImageIds
const Aws::Vector< ImageIdentifier > & GetImageIds() const
Definition: ListImagesResult.h:40
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECR::Model::ListImagesResult::SetImageIds
void SetImageIds(const Aws::Vector< ImageIdentifier > &value)
Definition: ListImagesResult.h:45
ImageIdentifier.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::ECR::Model::ListImagesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListImagesResult.h:107
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
Aws::ECR::Model::ListImagesResult::operator=
ListImagesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::ListImagesResult::AddImageIds
ListImagesResult & AddImageIds(ImageIdentifier &&value)
Definition: ListImagesResult.h:70
Aws::ECR::Model::ListImagesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListImagesResult.h:98
ECR_EXPORTS.h
Aws::ECR::Model::ListImagesResult
Definition: ListImagesResult.h:30
Aws::ECR::Model::ListImagesResult::WithNextToken
ListImagesResult & WithNextToken(const char *value)
Definition: ListImagesResult.h:134
Aws::ECR::Model::ListImagesResult::WithNextToken
ListImagesResult & WithNextToken(const Aws::String &value)
Definition: ListImagesResult.h:116
Aws::ECR::Model::ListImagesResult::AddImageIds
ListImagesResult & AddImageIds(const ImageIdentifier &value)
Definition: ListImagesResult.h:65
AWSString.h
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws::ECR::Model::ListImagesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListImagesResult.h:80
Aws::ECR::Model::ListImagesResult::ListImagesResult
ListImagesResult()
Aws::ECR::Model::ListImagesResult::WithNextToken
ListImagesResult & WithNextToken(Aws::String &&value)
Definition: ListImagesResult.h:125
Aws::ECR::Model::ListImagesResult::SetImageIds
void SetImageIds(Aws::Vector< ImageIdentifier > &&value)
Definition: ListImagesResult.h:50
Aws::ECR::Model::ImageIdentifier
Definition: ImageIdentifier.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECR::Model::ListImagesResult::WithImageIds
ListImagesResult & WithImageIds(Aws::Vector< ImageIdentifier > &&value)
Definition: ListImagesResult.h:60
Aws::ECR::Model::ListImagesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListImagesResult.h:89
Aws::ECR::Model::ListImagesResult::WithImageIds
ListImagesResult & WithImageIds(const Aws::Vector< ImageIdentifier > &value)
Definition: ListImagesResult.h:55
Aws::ECR::Model::ListImagesResult::ListImagesResult
ListImagesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)