AWS SDK for C++  1.9.154
AWS SDK for C++
DescribeNotebookInstanceLifecycleConfigResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace SageMaker
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::String& GetNotebookInstanceLifecycleConfigArn() const{ return m_notebookInstanceLifecycleConfigArn; }
42 
46  inline void SetNotebookInstanceLifecycleConfigArn(const Aws::String& value) { m_notebookInstanceLifecycleConfigArn = value; }
47 
51  inline void SetNotebookInstanceLifecycleConfigArn(Aws::String&& value) { m_notebookInstanceLifecycleConfigArn = std::move(value); }
52 
56  inline void SetNotebookInstanceLifecycleConfigArn(const char* value) { m_notebookInstanceLifecycleConfigArn.assign(value); }
57 
61  inline DescribeNotebookInstanceLifecycleConfigResult& WithNotebookInstanceLifecycleConfigArn(const Aws::String& value) { SetNotebookInstanceLifecycleConfigArn(value); return *this;}
62 
66  inline DescribeNotebookInstanceLifecycleConfigResult& WithNotebookInstanceLifecycleConfigArn(Aws::String&& value) { SetNotebookInstanceLifecycleConfigArn(std::move(value)); return *this;}
67 
71  inline DescribeNotebookInstanceLifecycleConfigResult& WithNotebookInstanceLifecycleConfigArn(const char* value) { SetNotebookInstanceLifecycleConfigArn(value); return *this;}
72 
73 
77  inline const Aws::String& GetNotebookInstanceLifecycleConfigName() const{ return m_notebookInstanceLifecycleConfigName; }
78 
82  inline void SetNotebookInstanceLifecycleConfigName(const Aws::String& value) { m_notebookInstanceLifecycleConfigName = value; }
83 
87  inline void SetNotebookInstanceLifecycleConfigName(Aws::String&& value) { m_notebookInstanceLifecycleConfigName = std::move(value); }
88 
92  inline void SetNotebookInstanceLifecycleConfigName(const char* value) { m_notebookInstanceLifecycleConfigName.assign(value); }
93 
97  inline DescribeNotebookInstanceLifecycleConfigResult& WithNotebookInstanceLifecycleConfigName(const Aws::String& value) { SetNotebookInstanceLifecycleConfigName(value); return *this;}
98 
102  inline DescribeNotebookInstanceLifecycleConfigResult& WithNotebookInstanceLifecycleConfigName(Aws::String&& value) { SetNotebookInstanceLifecycleConfigName(std::move(value)); return *this;}
103 
107  inline DescribeNotebookInstanceLifecycleConfigResult& WithNotebookInstanceLifecycleConfigName(const char* value) { SetNotebookInstanceLifecycleConfigName(value); return *this;}
108 
109 
114  inline const Aws::Vector<NotebookInstanceLifecycleHook>& GetOnCreate() const{ return m_onCreate; }
115 
120  inline void SetOnCreate(const Aws::Vector<NotebookInstanceLifecycleHook>& value) { m_onCreate = value; }
121 
126  inline void SetOnCreate(Aws::Vector<NotebookInstanceLifecycleHook>&& value) { m_onCreate = std::move(value); }
127 
133 
138  inline DescribeNotebookInstanceLifecycleConfigResult& WithOnCreate(Aws::Vector<NotebookInstanceLifecycleHook>&& value) { SetOnCreate(std::move(value)); return *this;}
139 
144  inline DescribeNotebookInstanceLifecycleConfigResult& AddOnCreate(const NotebookInstanceLifecycleHook& value) { m_onCreate.push_back(value); return *this; }
145 
150  inline DescribeNotebookInstanceLifecycleConfigResult& AddOnCreate(NotebookInstanceLifecycleHook&& value) { m_onCreate.push_back(std::move(value)); return *this; }
151 
152 
157  inline const Aws::Vector<NotebookInstanceLifecycleHook>& GetOnStart() const{ return m_onStart; }
158 
163  inline void SetOnStart(const Aws::Vector<NotebookInstanceLifecycleHook>& value) { m_onStart = value; }
164 
169  inline void SetOnStart(Aws::Vector<NotebookInstanceLifecycleHook>&& value) { m_onStart = std::move(value); }
170 
176 
181  inline DescribeNotebookInstanceLifecycleConfigResult& WithOnStart(Aws::Vector<NotebookInstanceLifecycleHook>&& value) { SetOnStart(std::move(value)); return *this;}
182 
187  inline DescribeNotebookInstanceLifecycleConfigResult& AddOnStart(const NotebookInstanceLifecycleHook& value) { m_onStart.push_back(value); return *this; }
188 
193  inline DescribeNotebookInstanceLifecycleConfigResult& AddOnStart(NotebookInstanceLifecycleHook&& value) { m_onStart.push_back(std::move(value)); return *this; }
194 
195 
200  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
201 
206  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
207 
212  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
213 
218  inline DescribeNotebookInstanceLifecycleConfigResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
219 
224  inline DescribeNotebookInstanceLifecycleConfigResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
225 
226 
230  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
231 
235  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
236 
240  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
241 
245  inline DescribeNotebookInstanceLifecycleConfigResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
246 
250  inline DescribeNotebookInstanceLifecycleConfigResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
251 
252  private:
253 
254  Aws::String m_notebookInstanceLifecycleConfigArn;
255 
256  Aws::String m_notebookInstanceLifecycleConfigName;
257 
259 
261 
262  Aws::Utils::DateTime m_lastModifiedTime;
263 
264  Aws::Utils::DateTime m_creationTime;
265  };
266 
267 } // namespace Model
268 } // namespace SageMaker
269 } // namespace Aws
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::operator=
DescribeNotebookInstanceLifecycleConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::SetNotebookInstanceLifecycleConfigArn
void SetNotebookInstanceLifecycleConfigArn(const Aws::String &value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:46
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::WithOnCreate
DescribeNotebookInstanceLifecycleConfigResult & WithOnCreate(Aws::Vector< NotebookInstanceLifecycleHook > &&value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:138
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:31
NotebookInstanceLifecycleHook.h
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::SetOnCreate
void SetOnCreate(Aws::Vector< NotebookInstanceLifecycleHook > &&value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:126
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::SetOnStart
void SetOnStart(Aws::Vector< NotebookInstanceLifecycleHook > &&value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:169
DateTime.h
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::WithOnCreate
DescribeNotebookInstanceLifecycleConfigResult & WithOnCreate(const Aws::Vector< NotebookInstanceLifecycleHook > &value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:132
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::GetOnStart
const Aws::Vector< NotebookInstanceLifecycleHook > & GetOnStart() const
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:157
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::SetOnStart
void SetOnStart(const Aws::Vector< NotebookInstanceLifecycleHook > &value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:163
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::WithOnStart
DescribeNotebookInstanceLifecycleConfigResult & WithOnStart(const Aws::Vector< NotebookInstanceLifecycleHook > &value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:175
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::NotebookInstanceLifecycleHook
Definition: NotebookInstanceLifecycleHook.h:44
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:200
AWSVector.h
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::AddOnCreate
DescribeNotebookInstanceLifecycleConfigResult & AddOnCreate(const NotebookInstanceLifecycleHook &value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:144
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::WithNotebookInstanceLifecycleConfigArn
DescribeNotebookInstanceLifecycleConfigResult & WithNotebookInstanceLifecycleConfigArn(const char *value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:71
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::SetOnCreate
void SetOnCreate(const Aws::Vector< NotebookInstanceLifecycleHook > &value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:120
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::SetNotebookInstanceLifecycleConfigArn
void SetNotebookInstanceLifecycleConfigArn(const char *value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:56
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::WithCreationTime
DescribeNotebookInstanceLifecycleConfigResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:250
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::WithLastModifiedTime
DescribeNotebookInstanceLifecycleConfigResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:224
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::SetNotebookInstanceLifecycleConfigName
void SetNotebookInstanceLifecycleConfigName(const char *value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:92
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::SetNotebookInstanceLifecycleConfigName
void SetNotebookInstanceLifecycleConfigName(const Aws::String &value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:82
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:240
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:235
AWSString.h
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::GetNotebookInstanceLifecycleConfigArn
const Aws::String & GetNotebookInstanceLifecycleConfigArn() const
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:41
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::GetNotebookInstanceLifecycleConfigName
const Aws::String & GetNotebookInstanceLifecycleConfigName() const
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:77
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::SetNotebookInstanceLifecycleConfigArn
void SetNotebookInstanceLifecycleConfigArn(Aws::String &&value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:51
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::AddOnCreate
DescribeNotebookInstanceLifecycleConfigResult & AddOnCreate(NotebookInstanceLifecycleHook &&value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:150
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::WithNotebookInstanceLifecycleConfigName
DescribeNotebookInstanceLifecycleConfigResult & WithNotebookInstanceLifecycleConfigName(Aws::String &&value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:102
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::WithOnStart
DescribeNotebookInstanceLifecycleConfigResult & WithOnStart(Aws::Vector< NotebookInstanceLifecycleHook > &&value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:181
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::WithNotebookInstanceLifecycleConfigArn
DescribeNotebookInstanceLifecycleConfigResult & WithNotebookInstanceLifecycleConfigArn(Aws::String &&value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:66
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::DescribeNotebookInstanceLifecycleConfigResult
DescribeNotebookInstanceLifecycleConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::AddOnStart
DescribeNotebookInstanceLifecycleConfigResult & AddOnStart(const NotebookInstanceLifecycleHook &value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:187
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::WithNotebookInstanceLifecycleConfigArn
DescribeNotebookInstanceLifecycleConfigResult & WithNotebookInstanceLifecycleConfigArn(const Aws::String &value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:61
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:212
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:206
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::GetOnCreate
const Aws::Vector< NotebookInstanceLifecycleHook > & GetOnCreate() const
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:114
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::SetNotebookInstanceLifecycleConfigName
void SetNotebookInstanceLifecycleConfigName(Aws::String &&value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:87
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::AddOnStart
DescribeNotebookInstanceLifecycleConfigResult & AddOnStart(NotebookInstanceLifecycleHook &&value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:193
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::DescribeNotebookInstanceLifecycleConfigResult
DescribeNotebookInstanceLifecycleConfigResult()
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::WithCreationTime
DescribeNotebookInstanceLifecycleConfigResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:245
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::WithNotebookInstanceLifecycleConfigName
DescribeNotebookInstanceLifecycleConfigResult & WithNotebookInstanceLifecycleConfigName(const char *value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:107
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::WithNotebookInstanceLifecycleConfigName
DescribeNotebookInstanceLifecycleConfigResult & WithNotebookInstanceLifecycleConfigName(const Aws::String &value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:97
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::WithLastModifiedTime
DescribeNotebookInstanceLifecycleConfigResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:218
Aws::SageMaker::Model::DescribeNotebookInstanceLifecycleConfigResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: DescribeNotebookInstanceLifecycleConfigResult.h:230