AWS SDK for C++  1.9.159
AWS SDK for C++
ListStudioLifecycleConfigsResult.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::String& GetNextToken() const{ return m_nextToken; }
41 
45  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
46 
50  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
51 
55  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
56 
60  inline ListStudioLifecycleConfigsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
61 
65  inline ListStudioLifecycleConfigsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
66 
70  inline ListStudioLifecycleConfigsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
71 
72 
76  inline const Aws::Vector<StudioLifecycleConfigDetails>& GetStudioLifecycleConfigs() const{ return m_studioLifecycleConfigs; }
77 
81  inline void SetStudioLifecycleConfigs(const Aws::Vector<StudioLifecycleConfigDetails>& value) { m_studioLifecycleConfigs = value; }
82 
86  inline void SetStudioLifecycleConfigs(Aws::Vector<StudioLifecycleConfigDetails>&& value) { m_studioLifecycleConfigs = std::move(value); }
87 
91  inline ListStudioLifecycleConfigsResult& WithStudioLifecycleConfigs(const Aws::Vector<StudioLifecycleConfigDetails>& value) { SetStudioLifecycleConfigs(value); return *this;}
92 
96  inline ListStudioLifecycleConfigsResult& WithStudioLifecycleConfigs(Aws::Vector<StudioLifecycleConfigDetails>&& value) { SetStudioLifecycleConfigs(std::move(value)); return *this;}
97 
101  inline ListStudioLifecycleConfigsResult& AddStudioLifecycleConfigs(const StudioLifecycleConfigDetails& value) { m_studioLifecycleConfigs.push_back(value); return *this; }
102 
106  inline ListStudioLifecycleConfigsResult& AddStudioLifecycleConfigs(StudioLifecycleConfigDetails&& value) { m_studioLifecycleConfigs.push_back(std::move(value)); return *this; }
107 
108  private:
109 
110  Aws::String m_nextToken;
111 
112  Aws::Vector<StudioLifecycleConfigDetails> m_studioLifecycleConfigs;
113  };
114 
115 } // namespace Model
116 } // namespace SageMaker
117 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListStudioLifecycleConfigsResult::operator=
ListStudioLifecycleConfigsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::ListStudioLifecycleConfigsResult::SetStudioLifecycleConfigs
void SetStudioLifecycleConfigs(const Aws::Vector< StudioLifecycleConfigDetails > &value)
Definition: ListStudioLifecycleConfigsResult.h:81
Aws::SageMaker::Model::ListStudioLifecycleConfigsResult::AddStudioLifecycleConfigs
ListStudioLifecycleConfigsResult & AddStudioLifecycleConfigs(StudioLifecycleConfigDetails &&value)
Definition: ListStudioLifecycleConfigsResult.h:106
Aws::SageMaker::Model::ListStudioLifecycleConfigsResult::WithNextToken
ListStudioLifecycleConfigsResult & WithNextToken(Aws::String &&value)
Definition: ListStudioLifecycleConfigsResult.h:65
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::StudioLifecycleConfigDetails
Definition: StudioLifecycleConfigDetails.h:34
AWSVector.h
Aws::SageMaker::Model::ListStudioLifecycleConfigsResult::WithStudioLifecycleConfigs
ListStudioLifecycleConfigsResult & WithStudioLifecycleConfigs(const Aws::Vector< StudioLifecycleConfigDetails > &value)
Definition: ListStudioLifecycleConfigsResult.h:91
Aws::SageMaker::Model::ListStudioLifecycleConfigsResult::WithStudioLifecycleConfigs
ListStudioLifecycleConfigsResult & WithStudioLifecycleConfigs(Aws::Vector< StudioLifecycleConfigDetails > &&value)
Definition: ListStudioLifecycleConfigsResult.h:96
StudioLifecycleConfigDetails.h
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListStudioLifecycleConfigsResult::SetStudioLifecycleConfigs
void SetStudioLifecycleConfigs(Aws::Vector< StudioLifecycleConfigDetails > &&value)
Definition: ListStudioLifecycleConfigsResult.h:86
AWSString.h
Aws::SageMaker::Model::ListStudioLifecycleConfigsResult::WithNextToken
ListStudioLifecycleConfigsResult & WithNextToken(const char *value)
Definition: ListStudioLifecycleConfigsResult.h:70
Aws::SageMaker::Model::ListStudioLifecycleConfigsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListStudioLifecycleConfigsResult.h:45
Aws::SageMaker::Model::ListStudioLifecycleConfigsResult::GetStudioLifecycleConfigs
const Aws::Vector< StudioLifecycleConfigDetails > & GetStudioLifecycleConfigs() const
Definition: ListStudioLifecycleConfigsResult.h:76
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ListStudioLifecycleConfigsResult
Definition: ListStudioLifecycleConfigsResult.h:30
Aws::SageMaker::Model::ListStudioLifecycleConfigsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListStudioLifecycleConfigsResult.h:40
Aws::SageMaker::Model::ListStudioLifecycleConfigsResult::ListStudioLifecycleConfigsResult
ListStudioLifecycleConfigsResult()
Aws::SageMaker::Model::ListStudioLifecycleConfigsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListStudioLifecycleConfigsResult.h:50
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListStudioLifecycleConfigsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListStudioLifecycleConfigsResult.h:55
Aws::SageMaker::Model::ListStudioLifecycleConfigsResult::ListStudioLifecycleConfigsResult
ListStudioLifecycleConfigsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::ListStudioLifecycleConfigsResult::WithNextToken
ListStudioLifecycleConfigsResult & WithNextToken(const Aws::String &value)
Definition: ListStudioLifecycleConfigsResult.h:60
Aws::SageMaker::Model::ListStudioLifecycleConfigsResult::AddStudioLifecycleConfigs
ListStudioLifecycleConfigsResult & AddStudioLifecycleConfigs(const StudioLifecycleConfigDetails &value)
Definition: ListStudioLifecycleConfigsResult.h:101