AWS SDK for C++  1.9.160
AWS SDK for C++
ListCodeRepositoriesResult.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 
46  inline const Aws::Vector<CodeRepositorySummary>& GetCodeRepositorySummaryList() const{ return m_codeRepositorySummaryList; }
47 
57  inline void SetCodeRepositorySummaryList(const Aws::Vector<CodeRepositorySummary>& value) { m_codeRepositorySummaryList = value; }
58 
68  inline void SetCodeRepositorySummaryList(Aws::Vector<CodeRepositorySummary>&& value) { m_codeRepositorySummaryList = std::move(value); }
69 
79  inline ListCodeRepositoriesResult& WithCodeRepositorySummaryList(const Aws::Vector<CodeRepositorySummary>& value) { SetCodeRepositorySummaryList(value); return *this;}
80 
90  inline ListCodeRepositoriesResult& WithCodeRepositorySummaryList(Aws::Vector<CodeRepositorySummary>&& value) { SetCodeRepositorySummaryList(std::move(value)); return *this;}
91 
101  inline ListCodeRepositoriesResult& AddCodeRepositorySummaryList(const CodeRepositorySummary& value) { m_codeRepositorySummaryList.push_back(value); return *this; }
102 
112  inline ListCodeRepositoriesResult& AddCodeRepositorySummaryList(CodeRepositorySummary&& value) { m_codeRepositorySummaryList.push_back(std::move(value)); return *this; }
113 
114 
120  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
121 
127  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
128 
134  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
135 
141  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
142 
148  inline ListCodeRepositoriesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
149 
155  inline ListCodeRepositoriesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
156 
162  inline ListCodeRepositoriesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
163 
164  private:
165 
166  Aws::Vector<CodeRepositorySummary> m_codeRepositorySummaryList;
167 
168  Aws::String m_nextToken;
169  };
170 
171 } // namespace Model
172 } // namespace SageMaker
173 } // namespace Aws
Aws::SageMaker::Model::ListCodeRepositoriesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListCodeRepositoriesResult.h:120
Aws::SageMaker::Model::ListCodeRepositoriesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListCodeRepositoriesResult.h:127
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListCodeRepositoriesResult::AddCodeRepositorySummaryList
ListCodeRepositoriesResult & AddCodeRepositorySummaryList(CodeRepositorySummary &&value)
Definition: ListCodeRepositoriesResult.h:112
Aws::SageMaker::Model::ListCodeRepositoriesResult::AddCodeRepositorySummaryList
ListCodeRepositoriesResult & AddCodeRepositorySummaryList(const CodeRepositorySummary &value)
Definition: ListCodeRepositoriesResult.h:101
Aws::SageMaker::Model::ListCodeRepositoriesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListCodeRepositoriesResult.h:134
Aws::SageMaker::Model::ListCodeRepositoriesResult::GetCodeRepositorySummaryList
const Aws::Vector< CodeRepositorySummary > & GetCodeRepositorySummaryList() const
Definition: ListCodeRepositoriesResult.h:46
Aws::SageMaker::Model::ListCodeRepositoriesResult::WithCodeRepositorySummaryList
ListCodeRepositoriesResult & WithCodeRepositorySummaryList(const Aws::Vector< CodeRepositorySummary > &value)
Definition: ListCodeRepositoriesResult.h:79
Aws::SageMaker::Model::ListCodeRepositoriesResult
Definition: ListCodeRepositoriesResult.h:30
Aws::SageMaker::Model::ListCodeRepositoriesResult::WithNextToken
ListCodeRepositoriesResult & WithNextToken(Aws::String &&value)
Definition: ListCodeRepositoriesResult.h:155
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::ListCodeRepositoriesResult::WithNextToken
ListCodeRepositoriesResult & WithNextToken(const char *value)
Definition: ListCodeRepositoriesResult.h:162
Aws::SageMaker::Model::ListCodeRepositoriesResult::SetCodeRepositorySummaryList
void SetCodeRepositorySummaryList(const Aws::Vector< CodeRepositorySummary > &value)
Definition: ListCodeRepositoriesResult.h:57
AWSVector.h
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListCodeRepositoriesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListCodeRepositoriesResult.h:141
Aws::SageMaker::Model::ListCodeRepositoriesResult::WithCodeRepositorySummaryList
ListCodeRepositoriesResult & WithCodeRepositorySummaryList(Aws::Vector< CodeRepositorySummary > &&value)
Definition: ListCodeRepositoriesResult.h:90
AWSString.h
Aws::SageMaker::Model::ListCodeRepositoriesResult::WithNextToken
ListCodeRepositoriesResult & WithNextToken(const Aws::String &value)
Definition: ListCodeRepositoriesResult.h:148
Aws::SageMaker::Model::ListCodeRepositoriesResult::ListCodeRepositoriesResult
ListCodeRepositoriesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::CodeRepositorySummary
Definition: CodeRepositorySummary.h:35
Aws::SageMaker::Model::ListCodeRepositoriesResult::SetCodeRepositorySummaryList
void SetCodeRepositorySummaryList(Aws::Vector< CodeRepositorySummary > &&value)
Definition: ListCodeRepositoriesResult.h:68
CodeRepositorySummary.h
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::ListCodeRepositoriesResult::operator=
ListCodeRepositoriesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::ListCodeRepositoriesResult::ListCodeRepositoriesResult
ListCodeRepositoriesResult()