AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeImagesResult.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<ImageDetail>& GetImageDetails() const{ return m_imageDetails; }
41 
45  inline void SetImageDetails(const Aws::Vector<ImageDetail>& value) { m_imageDetails = value; }
46 
50  inline void SetImageDetails(Aws::Vector<ImageDetail>&& value) { m_imageDetails = std::move(value); }
51 
55  inline DescribeImagesResult& WithImageDetails(const Aws::Vector<ImageDetail>& value) { SetImageDetails(value); return *this;}
56 
60  inline DescribeImagesResult& WithImageDetails(Aws::Vector<ImageDetail>&& value) { SetImageDetails(std::move(value)); return *this;}
61 
65  inline DescribeImagesResult& AddImageDetails(const ImageDetail& value) { m_imageDetails.push_back(value); return *this; }
66 
70  inline DescribeImagesResult& AddImageDetails(ImageDetail&& value) { m_imageDetails.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 DescribeImagesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
117 
125  inline DescribeImagesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
126 
134  inline DescribeImagesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
135 
136  private:
137 
138  Aws::Vector<ImageDetail> m_imageDetails;
139 
140  Aws::String m_nextToken;
141  };
142 
143 } // namespace Model
144 } // namespace ECR
145 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECR::Model::DescribeImagesResult::GetImageDetails
const Aws::Vector< ImageDetail > & GetImageDetails() const
Definition: DescribeImagesResult.h:40
Aws::ECR::Model::DescribeImagesResult::AddImageDetails
DescribeImagesResult & AddImageDetails(ImageDetail &&value)
Definition: DescribeImagesResult.h:70
Aws::ECR::Model::DescribeImagesResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeImagesResult.h:107
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::ECR::Model::DescribeImagesResult::AddImageDetails
DescribeImagesResult & AddImageDetails(const ImageDetail &value)
Definition: DescribeImagesResult.h:65
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
Aws::ECR::Model::DescribeImagesResult::DescribeImagesResult
DescribeImagesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::DescribeImagesResult::WithNextToken
DescribeImagesResult & WithNextToken(Aws::String &&value)
Definition: DescribeImagesResult.h:125
Aws::ECR::Model::DescribeImagesResult::WithNextToken
DescribeImagesResult & WithNextToken(const Aws::String &value)
Definition: DescribeImagesResult.h:116
ECR_EXPORTS.h
Aws::ECR::Model::DescribeImagesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeImagesResult.h:89
AWSString.h
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws::ECR::Model::DescribeImagesResult::WithImageDetails
DescribeImagesResult & WithImageDetails(Aws::Vector< ImageDetail > &&value)
Definition: DescribeImagesResult.h:60
Aws::ECR::Model::DescribeImagesResult::operator=
DescribeImagesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::ImageDetail
Definition: ImageDetail.h:37
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::DescribeImagesResult
Definition: DescribeImagesResult.h:30
Aws::ECR::Model::DescribeImagesResult::DescribeImagesResult
DescribeImagesResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECR::Model::DescribeImagesResult::WithImageDetails
DescribeImagesResult & WithImageDetails(const Aws::Vector< ImageDetail > &value)
Definition: DescribeImagesResult.h:55
ImageDetail.h
Aws::ECR::Model::DescribeImagesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeImagesResult.h:98
Aws::ECR::Model::DescribeImagesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeImagesResult.h:80
Aws::ECR::Model::DescribeImagesResult::WithNextToken
DescribeImagesResult & WithNextToken(const char *value)
Definition: DescribeImagesResult.h:134
Aws::ECR::Model::DescribeImagesResult::SetImageDetails
void SetImageDetails(const Aws::Vector< ImageDetail > &value)
Definition: DescribeImagesResult.h:45
Aws::ECR::Model::DescribeImagesResult::SetImageDetails
void SetImageDetails(Aws::Vector< ImageDetail > &&value)
Definition: DescribeImagesResult.h:50