AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeNotebookInstanceLifecycleConfigResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/NotebookInstanceLifecycleHook.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::String& GetNotebookInstanceLifecycleConfigArn() const{ return m_notebookInstanceLifecycleConfigArn; }
43 inline void SetNotebookInstanceLifecycleConfigArn(const Aws::String& value) { m_notebookInstanceLifecycleConfigArn = value; }
44 inline void SetNotebookInstanceLifecycleConfigArn(Aws::String&& value) { m_notebookInstanceLifecycleConfigArn = std::move(value); }
45 inline void SetNotebookInstanceLifecycleConfigArn(const char* value) { m_notebookInstanceLifecycleConfigArn.assign(value); }
50
52
55 inline const Aws::String& GetNotebookInstanceLifecycleConfigName() const{ return m_notebookInstanceLifecycleConfigName; }
56 inline void SetNotebookInstanceLifecycleConfigName(const Aws::String& value) { m_notebookInstanceLifecycleConfigName = value; }
57 inline void SetNotebookInstanceLifecycleConfigName(Aws::String&& value) { m_notebookInstanceLifecycleConfigName = std::move(value); }
58 inline void SetNotebookInstanceLifecycleConfigName(const char* value) { m_notebookInstanceLifecycleConfigName.assign(value); }
63
65
69 inline const Aws::Vector<NotebookInstanceLifecycleHook>& GetOnCreate() const{ return m_onCreate; }
70 inline void SetOnCreate(const Aws::Vector<NotebookInstanceLifecycleHook>& value) { m_onCreate = value; }
71 inline void SetOnCreate(Aws::Vector<NotebookInstanceLifecycleHook>&& value) { m_onCreate = std::move(value); }
74 inline DescribeNotebookInstanceLifecycleConfigResult& AddOnCreate(const NotebookInstanceLifecycleHook& value) { m_onCreate.push_back(value); return *this; }
75 inline DescribeNotebookInstanceLifecycleConfigResult& AddOnCreate(NotebookInstanceLifecycleHook&& value) { m_onCreate.push_back(std::move(value)); return *this; }
77
79
83 inline const Aws::Vector<NotebookInstanceLifecycleHook>& GetOnStart() const{ return m_onStart; }
84 inline void SetOnStart(const Aws::Vector<NotebookInstanceLifecycleHook>& value) { m_onStart = value; }
85 inline void SetOnStart(Aws::Vector<NotebookInstanceLifecycleHook>&& value) { m_onStart = std::move(value); }
88 inline DescribeNotebookInstanceLifecycleConfigResult& AddOnStart(const NotebookInstanceLifecycleHook& value) { m_onStart.push_back(value); return *this; }
89 inline DescribeNotebookInstanceLifecycleConfigResult& AddOnStart(NotebookInstanceLifecycleHook&& value) { m_onStart.push_back(std::move(value)); return *this; }
91
93
97 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
98 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
99 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
103
105
108 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
109 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
110 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
114
116
117 inline const Aws::String& GetRequestId() const{ return m_requestId; }
118 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
119 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
120 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
122 inline DescribeNotebookInstanceLifecycleConfigResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
123 inline DescribeNotebookInstanceLifecycleConfigResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
125 private:
126
127 Aws::String m_notebookInstanceLifecycleConfigArn;
128
129 Aws::String m_notebookInstanceLifecycleConfigName;
130
132
134
135 Aws::Utils::DateTime m_lastModifiedTime;
136
137 Aws::Utils::DateTime m_creationTime;
138
139 Aws::String m_requestId;
140 };
141
142} // namespace Model
143} // namespace SageMaker
144} // namespace Aws
AWS_SAGEMAKER_API DescribeNotebookInstanceLifecycleConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeNotebookInstanceLifecycleConfigResult & WithOnCreate(const Aws::Vector< NotebookInstanceLifecycleHook > &value)
DescribeNotebookInstanceLifecycleConfigResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeNotebookInstanceLifecycleConfigResult & WithRequestId(const char *value)
DescribeNotebookInstanceLifecycleConfigResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeNotebookInstanceLifecycleConfigResult & WithOnStart(const Aws::Vector< NotebookInstanceLifecycleHook > &value)
DescribeNotebookInstanceLifecycleConfigResult & WithRequestId(Aws::String &&value)
DescribeNotebookInstanceLifecycleConfigResult & WithRequestId(const Aws::String &value)
DescribeNotebookInstanceLifecycleConfigResult & AddOnStart(NotebookInstanceLifecycleHook &&value)
DescribeNotebookInstanceLifecycleConfigResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeNotebookInstanceLifecycleConfigResult & WithNotebookInstanceLifecycleConfigArn(Aws::String &&value)
DescribeNotebookInstanceLifecycleConfigResult & WithNotebookInstanceLifecycleConfigArn(const char *value)
AWS_SAGEMAKER_API DescribeNotebookInstanceLifecycleConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeNotebookInstanceLifecycleConfigResult & AddOnCreate(const NotebookInstanceLifecycleHook &value)
DescribeNotebookInstanceLifecycleConfigResult & WithNotebookInstanceLifecycleConfigName(const Aws::String &value)
DescribeNotebookInstanceLifecycleConfigResult & WithNotebookInstanceLifecycleConfigName(Aws::String &&value)
DescribeNotebookInstanceLifecycleConfigResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeNotebookInstanceLifecycleConfigResult & WithOnCreate(Aws::Vector< NotebookInstanceLifecycleHook > &&value)
DescribeNotebookInstanceLifecycleConfigResult & AddOnCreate(NotebookInstanceLifecycleHook &&value)
DescribeNotebookInstanceLifecycleConfigResult & WithNotebookInstanceLifecycleConfigArn(const Aws::String &value)
DescribeNotebookInstanceLifecycleConfigResult & WithOnStart(Aws::Vector< NotebookInstanceLifecycleHook > &&value)
DescribeNotebookInstanceLifecycleConfigResult & WithNotebookInstanceLifecycleConfigName(const char *value)
DescribeNotebookInstanceLifecycleConfigResult & AddOnStart(const NotebookInstanceLifecycleHook &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue