AWS SDK for C++  1.9.160
AWS SDK for C++
ListImagesResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 SageMaker
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<Image>& GetImages() const{ return m_images; }
41 
45  inline void SetImages(const Aws::Vector<Image>& value) { m_images = value; }
46 
50  inline void SetImages(Aws::Vector<Image>&& value) { m_images = std::move(value); }
51 
55  inline ListImagesResult& WithImages(const Aws::Vector<Image>& value) { SetImages(value); return *this;}
56 
60  inline ListImagesResult& WithImages(Aws::Vector<Image>&& value) { SetImages(std::move(value)); return *this;}
61 
65  inline ListImagesResult& AddImages(const Image& value) { m_images.push_back(value); return *this; }
66 
70  inline ListImagesResult& AddImages(Image&& value) { m_images.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 
81  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
82 
86  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87 
91  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
92 
96  inline ListImagesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline ListImagesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline ListImagesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108  private:
109 
110  Aws::Vector<Image> m_images;
111 
112  Aws::String m_nextToken;
113  };
114 
115 } // namespace Model
116 } // namespace SageMaker
117 } // namespace Aws
Aws::SageMaker::Model::ListImagesResult::AddImages
ListImagesResult & AddImages(const Image &value)
Definition: ListImagesResult.h:65
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
SageMaker_EXPORTS.h
Image.h
Aws::SageMaker::Model::ListImagesResult::operator=
ListImagesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::ListImagesResult::WithImages
ListImagesResult & WithImages(Aws::Vector< Image > &&value)
Definition: ListImagesResult.h:60
Aws::SageMaker::Model::ListImagesResult::WithNextToken
ListImagesResult & WithNextToken(const Aws::String &value)
Definition: ListImagesResult.h:96
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SageMaker::Model::ListImagesResult
Definition: ListImagesResult.h:30
Aws::SageMaker::Model::ListImagesResult::GetImages
const Aws::Vector< Image > & GetImages() const
Definition: ListImagesResult.h:40
Aws::SageMaker::Model::ListImagesResult::SetImages
void SetImages(const Aws::Vector< Image > &value)
Definition: ListImagesResult.h:45
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListImagesResult::ListImagesResult
ListImagesResult()
Aws::SageMaker::Model::ListImagesResult::WithNextToken
ListImagesResult & WithNextToken(const char *value)
Definition: ListImagesResult.h:106
AWSString.h
Aws::SageMaker::Model::ListImagesResult::ListImagesResult
ListImagesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::ListImagesResult::AddImages
ListImagesResult & AddImages(Image &&value)
Definition: ListImagesResult.h:70
Aws::SageMaker::Model::ListImagesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListImagesResult.h:91
Aws::SageMaker::Model::ListImagesResult::WithNextToken
ListImagesResult & WithNextToken(Aws::String &&value)
Definition: ListImagesResult.h:101
Aws::SageMaker::Model::ListImagesResult::SetImages
void SetImages(Aws::Vector< Image > &&value)
Definition: ListImagesResult.h:50
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListImagesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListImagesResult.h:81
Aws::SageMaker::Model::Image
Definition: Image.h:37
Aws::SageMaker::Model::ListImagesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListImagesResult.h:76
Aws::SageMaker::Model::ListImagesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListImagesResult.h:86
Aws::SageMaker::Model::ListImagesResult::WithImages
ListImagesResult & WithImages(const Aws::Vector< Image > &value)
Definition: ListImagesResult.h:55