AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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:
33 AWS_SAGEMAKER_API DescribeNotebookInstanceLifecycleConfigResult() = default;
36
37
39
42 inline const Aws::String& GetNotebookInstanceLifecycleConfigArn() const { return m_notebookInstanceLifecycleConfigArn; }
43 template<typename NotebookInstanceLifecycleConfigArnT = Aws::String>
44 void SetNotebookInstanceLifecycleConfigArn(NotebookInstanceLifecycleConfigArnT&& value) { m_notebookInstanceLifecycleConfigArnHasBeenSet = true; m_notebookInstanceLifecycleConfigArn = std::forward<NotebookInstanceLifecycleConfigArnT>(value); }
45 template<typename NotebookInstanceLifecycleConfigArnT = Aws::String>
46 DescribeNotebookInstanceLifecycleConfigResult& WithNotebookInstanceLifecycleConfigArn(NotebookInstanceLifecycleConfigArnT&& value) { SetNotebookInstanceLifecycleConfigArn(std::forward<NotebookInstanceLifecycleConfigArnT>(value)); return *this;}
48
50
53 inline const Aws::String& GetNotebookInstanceLifecycleConfigName() const { return m_notebookInstanceLifecycleConfigName; }
54 template<typename NotebookInstanceLifecycleConfigNameT = Aws::String>
55 void SetNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT&& value) { m_notebookInstanceLifecycleConfigNameHasBeenSet = true; m_notebookInstanceLifecycleConfigName = std::forward<NotebookInstanceLifecycleConfigNameT>(value); }
56 template<typename NotebookInstanceLifecycleConfigNameT = Aws::String>
57 DescribeNotebookInstanceLifecycleConfigResult& WithNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT&& value) { SetNotebookInstanceLifecycleConfigName(std::forward<NotebookInstanceLifecycleConfigNameT>(value)); return *this;}
59
61
65 inline const Aws::Vector<NotebookInstanceLifecycleHook>& GetOnCreate() const { return m_onCreate; }
66 template<typename OnCreateT = Aws::Vector<NotebookInstanceLifecycleHook>>
67 void SetOnCreate(OnCreateT&& value) { m_onCreateHasBeenSet = true; m_onCreate = std::forward<OnCreateT>(value); }
68 template<typename OnCreateT = Aws::Vector<NotebookInstanceLifecycleHook>>
69 DescribeNotebookInstanceLifecycleConfigResult& WithOnCreate(OnCreateT&& value) { SetOnCreate(std::forward<OnCreateT>(value)); return *this;}
70 template<typename OnCreateT = NotebookInstanceLifecycleHook>
71 DescribeNotebookInstanceLifecycleConfigResult& AddOnCreate(OnCreateT&& value) { m_onCreateHasBeenSet = true; m_onCreate.emplace_back(std::forward<OnCreateT>(value)); return *this; }
73
75
79 inline const Aws::Vector<NotebookInstanceLifecycleHook>& GetOnStart() const { return m_onStart; }
80 template<typename OnStartT = Aws::Vector<NotebookInstanceLifecycleHook>>
81 void SetOnStart(OnStartT&& value) { m_onStartHasBeenSet = true; m_onStart = std::forward<OnStartT>(value); }
82 template<typename OnStartT = Aws::Vector<NotebookInstanceLifecycleHook>>
83 DescribeNotebookInstanceLifecycleConfigResult& WithOnStart(OnStartT&& value) { SetOnStart(std::forward<OnStartT>(value)); return *this;}
84 template<typename OnStartT = NotebookInstanceLifecycleHook>
85 DescribeNotebookInstanceLifecycleConfigResult& AddOnStart(OnStartT&& value) { m_onStartHasBeenSet = true; m_onStart.emplace_back(std::forward<OnStartT>(value)); return *this; }
87
89
93 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
94 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
95 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
96 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
97 DescribeNotebookInstanceLifecycleConfigResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
105 template<typename CreationTimeT = Aws::Utils::DateTime>
106 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
107 template<typename CreationTimeT = Aws::Utils::DateTime>
108 DescribeNotebookInstanceLifecycleConfigResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
110
112
113 inline const Aws::String& GetRequestId() const { return m_requestId; }
114 template<typename RequestIdT = Aws::String>
115 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
116 template<typename RequestIdT = Aws::String>
117 DescribeNotebookInstanceLifecycleConfigResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
119 private:
120
121 Aws::String m_notebookInstanceLifecycleConfigArn;
122 bool m_notebookInstanceLifecycleConfigArnHasBeenSet = false;
123
124 Aws::String m_notebookInstanceLifecycleConfigName;
125 bool m_notebookInstanceLifecycleConfigNameHasBeenSet = false;
126
128 bool m_onCreateHasBeenSet = false;
129
131 bool m_onStartHasBeenSet = false;
132
133 Aws::Utils::DateTime m_lastModifiedTime{};
134 bool m_lastModifiedTimeHasBeenSet = false;
135
136 Aws::Utils::DateTime m_creationTime{};
137 bool m_creationTimeHasBeenSet = false;
138
139 Aws::String m_requestId;
140 bool m_requestIdHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace SageMaker
145} // namespace Aws
AWS_SAGEMAKER_API DescribeNotebookInstanceLifecycleConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeNotebookInstanceLifecycleConfigResult & WithCreationTime(CreationTimeT &&value)
DescribeNotebookInstanceLifecycleConfigResult & WithNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT &&value)
DescribeNotebookInstanceLifecycleConfigResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeNotebookInstanceLifecycleConfigResult & AddOnCreate(OnCreateT &&value)
DescribeNotebookInstanceLifecycleConfigResult & WithOnCreate(OnCreateT &&value)
DescribeNotebookInstanceLifecycleConfigResult & WithOnStart(OnStartT &&value)
DescribeNotebookInstanceLifecycleConfigResult & WithNotebookInstanceLifecycleConfigArn(NotebookInstanceLifecycleConfigArnT &&value)
DescribeNotebookInstanceLifecycleConfigResult & WithRequestId(RequestIdT &&value)
AWS_SAGEMAKER_API DescribeNotebookInstanceLifecycleConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeNotebookInstanceLifecycleConfigResult & AddOnStart(OnStartT &&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