AWS SDK for C++  1.9.160
AWS SDK for C++
ListModelPackagesResult.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 
41  inline const Aws::Vector<ModelPackageSummary>& GetModelPackageSummaryList() const{ return m_modelPackageSummaryList; }
42 
47  inline void SetModelPackageSummaryList(const Aws::Vector<ModelPackageSummary>& value) { m_modelPackageSummaryList = value; }
48 
53  inline void SetModelPackageSummaryList(Aws::Vector<ModelPackageSummary>&& value) { m_modelPackageSummaryList = std::move(value); }
54 
59  inline ListModelPackagesResult& WithModelPackageSummaryList(const Aws::Vector<ModelPackageSummary>& value) { SetModelPackageSummaryList(value); return *this;}
60 
65  inline ListModelPackagesResult& WithModelPackageSummaryList(Aws::Vector<ModelPackageSummary>&& value) { SetModelPackageSummaryList(std::move(value)); return *this;}
66 
71  inline ListModelPackagesResult& AddModelPackageSummaryList(const ModelPackageSummary& value) { m_modelPackageSummaryList.push_back(value); return *this; }
72 
77  inline ListModelPackagesResult& AddModelPackageSummaryList(ModelPackageSummary&& value) { m_modelPackageSummaryList.push_back(std::move(value)); return *this; }
78 
79 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
90  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
91 
96  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
97 
102  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
103 
108  inline ListModelPackagesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
109 
114  inline ListModelPackagesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
120  inline ListModelPackagesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<ModelPackageSummary> m_modelPackageSummaryList;
125 
126  Aws::String m_nextToken;
127  };
128 
129 } // namespace Model
130 } // namespace SageMaker
131 } // namespace Aws
Aws::SageMaker::Model::ListModelPackagesResult::ListModelPackagesResult
ListModelPackagesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListModelPackagesResult::operator=
ListModelPackagesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::ListModelPackagesResult::WithModelPackageSummaryList
ListModelPackagesResult & WithModelPackageSummaryList(const Aws::Vector< ModelPackageSummary > &value)
Definition: ListModelPackagesResult.h:59
Aws::SageMaker::Model::ListModelPackagesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListModelPackagesResult.h:96
Aws::SageMaker::Model::ListModelPackagesResult::ListModelPackagesResult
ListModelPackagesResult()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::ListModelPackagesResult::GetModelPackageSummaryList
const Aws::Vector< ModelPackageSummary > & GetModelPackageSummaryList() const
Definition: ListModelPackagesResult.h:41
AWSVector.h
Aws::SageMaker::Model::ListModelPackagesResult::SetModelPackageSummaryList
void SetModelPackageSummaryList(Aws::Vector< ModelPackageSummary > &&value)
Definition: ListModelPackagesResult.h:53
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListModelPackagesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListModelPackagesResult.h:102
Aws::SageMaker::Model::ListModelPackagesResult
Definition: ListModelPackagesResult.h:30
Aws::SageMaker::Model::ListModelPackagesResult::WithModelPackageSummaryList
ListModelPackagesResult & WithModelPackageSummaryList(Aws::Vector< ModelPackageSummary > &&value)
Definition: ListModelPackagesResult.h:65
Aws::SageMaker::Model::ListModelPackagesResult::AddModelPackageSummaryList
ListModelPackagesResult & AddModelPackageSummaryList(ModelPackageSummary &&value)
Definition: ListModelPackagesResult.h:77
AWSString.h
Aws::SageMaker::Model::ModelPackageSummary
Definition: ModelPackageSummary.h:36
Aws::SageMaker::Model::ListModelPackagesResult::SetModelPackageSummaryList
void SetModelPackageSummaryList(const Aws::Vector< ModelPackageSummary > &value)
Definition: ListModelPackagesResult.h:47
Aws::SageMaker::Model::ListModelPackagesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListModelPackagesResult.h:84
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ListModelPackagesResult::WithNextToken
ListModelPackagesResult & WithNextToken(const char *value)
Definition: ListModelPackagesResult.h:120
Aws::SageMaker::Model::ListModelPackagesResult::WithNextToken
ListModelPackagesResult & WithNextToken(Aws::String &&value)
Definition: ListModelPackagesResult.h:114
Aws::SageMaker::Model::ListModelPackagesResult::WithNextToken
ListModelPackagesResult & WithNextToken(const Aws::String &value)
Definition: ListModelPackagesResult.h:108
Aws::SageMaker::Model::ListModelPackagesResult::AddModelPackageSummaryList
ListModelPackagesResult & AddModelPackageSummaryList(const ModelPackageSummary &value)
Definition: ListModelPackagesResult.h:71
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ModelPackageSummary.h
Aws::SageMaker::Model::ListModelPackagesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListModelPackagesResult.h:90