AWS SDK for C++  1.9.160
AWS SDK for C++
ListModelPackageGroupsResult.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<ModelPackageGroupSummary>& GetModelPackageGroupSummaryList() const{ return m_modelPackageGroupSummaryList; }
42 
47  inline void SetModelPackageGroupSummaryList(const Aws::Vector<ModelPackageGroupSummary>& value) { m_modelPackageGroupSummaryList = value; }
48 
53  inline void SetModelPackageGroupSummaryList(Aws::Vector<ModelPackageGroupSummary>&& value) { m_modelPackageGroupSummaryList = std::move(value); }
54 
59  inline ListModelPackageGroupsResult& WithModelPackageGroupSummaryList(const Aws::Vector<ModelPackageGroupSummary>& value) { SetModelPackageGroupSummaryList(value); return *this;}
60 
65  inline ListModelPackageGroupsResult& WithModelPackageGroupSummaryList(Aws::Vector<ModelPackageGroupSummary>&& value) { SetModelPackageGroupSummaryList(std::move(value)); return *this;}
66 
71  inline ListModelPackageGroupsResult& AddModelPackageGroupSummaryList(const ModelPackageGroupSummary& value) { m_modelPackageGroupSummaryList.push_back(value); return *this; }
72 
77  inline ListModelPackageGroupsResult& AddModelPackageGroupSummaryList(ModelPackageGroupSummary&& value) { m_modelPackageGroupSummaryList.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 ListModelPackageGroupsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
109 
114  inline ListModelPackageGroupsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
120  inline ListModelPackageGroupsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<ModelPackageGroupSummary> m_modelPackageGroupSummaryList;
125 
126  Aws::String m_nextToken;
127  };
128 
129 } // namespace Model
130 } // namespace SageMaker
131 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListModelPackageGroupsResult::operator=
ListModelPackageGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::ListModelPackageGroupsResult::ListModelPackageGroupsResult
ListModelPackageGroupsResult()
Aws::SageMaker::Model::ListModelPackageGroupsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListModelPackageGroupsResult.h:84
Aws::SageMaker::Model::ListModelPackageGroupsResult::AddModelPackageGroupSummaryList
ListModelPackageGroupsResult & AddModelPackageGroupSummaryList(const ModelPackageGroupSummary &value)
Definition: ListModelPackageGroupsResult.h:71
Aws::SageMaker::Model::ListModelPackageGroupsResult::WithNextToken
ListModelPackageGroupsResult & WithNextToken(const char *value)
Definition: ListModelPackageGroupsResult.h:120
Aws::SageMaker::Model::ListModelPackageGroupsResult::AddModelPackageGroupSummaryList
ListModelPackageGroupsResult & AddModelPackageGroupSummaryList(ModelPackageGroupSummary &&value)
Definition: ListModelPackageGroupsResult.h:77
Aws::SageMaker::Model::ListModelPackageGroupsResult::SetModelPackageGroupSummaryList
void SetModelPackageGroupSummaryList(const Aws::Vector< ModelPackageGroupSummary > &value)
Definition: ListModelPackageGroupsResult.h:47
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SageMaker::Model::ListModelPackageGroupsResult::SetModelPackageGroupSummaryList
void SetModelPackageGroupSummaryList(Aws::Vector< ModelPackageGroupSummary > &&value)
Definition: ListModelPackageGroupsResult.h:53
Aws::SageMaker::Model::ModelPackageGroupSummary
Definition: ModelPackageGroupSummary.h:34
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListModelPackageGroupsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListModelPackageGroupsResult.h:102
Aws::SageMaker::Model::ListModelPackageGroupsResult::WithModelPackageGroupSummaryList
ListModelPackageGroupsResult & WithModelPackageGroupSummaryList(const Aws::Vector< ModelPackageGroupSummary > &value)
Definition: ListModelPackageGroupsResult.h:59
Aws::SageMaker::Model::ListModelPackageGroupsResult::ListModelPackageGroupsResult
ListModelPackageGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::SageMaker::Model::ListModelPackageGroupsResult::WithNextToken
ListModelPackageGroupsResult & WithNextToken(const Aws::String &value)
Definition: ListModelPackageGroupsResult.h:108
Aws::SageMaker::Model::ListModelPackageGroupsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListModelPackageGroupsResult.h:90
Aws::SageMaker::Model::ListModelPackageGroupsResult::WithNextToken
ListModelPackageGroupsResult & WithNextToken(Aws::String &&value)
Definition: ListModelPackageGroupsResult.h:114
Aws::SageMaker::Model::ListModelPackageGroupsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListModelPackageGroupsResult.h:96
Aws::SageMaker::Model::ListModelPackageGroupsResult::GetModelPackageGroupSummaryList
const Aws::Vector< ModelPackageGroupSummary > & GetModelPackageGroupSummaryList() const
Definition: ListModelPackageGroupsResult.h:41
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::ListModelPackageGroupsResult
Definition: ListModelPackageGroupsResult.h:30
ModelPackageGroupSummary.h
Aws::SageMaker::Model::ListModelPackageGroupsResult::WithModelPackageGroupSummaryList
ListModelPackageGroupsResult & WithModelPackageGroupSummaryList(Aws::Vector< ModelPackageGroupSummary > &&value)
Definition: ListModelPackageGroupsResult.h:65