7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/NotebookInstanceLifecycleHook.h>
32 inline virtual const char*
GetServiceRequestName()
const override {
return "UpdateNotebookInstanceLifecycleConfig"; }
45 template<
typename NotebookInstanceLifecycleConfigNameT = Aws::String>
46 void SetNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT&& value) { m_notebookInstanceLifecycleConfigNameHasBeenSet =
true; m_notebookInstanceLifecycleConfigName = std::forward<NotebookInstanceLifecycleConfigNameT>(value); }
47 template<
typename NotebookInstanceLifecycleConfigNameT = Aws::String>
58 template<
typename OnCreateT = Aws::Vector<NotebookInstanceLifecycleHook>>
59 void SetOnCreate(OnCreateT&& value) { m_onCreateHasBeenSet =
true; m_onCreate = std::forward<OnCreateT>(value); }
60 template<
typename OnCreateT = Aws::Vector<NotebookInstanceLifecycleHook>>
62 template<
typename OnCreateT = NotebookInstanceLifecycleHook>
74 template<
typename OnStartT = Aws::Vector<NotebookInstanceLifecycleHook>>
75 void SetOnStart(OnStartT&& value) { m_onStartHasBeenSet =
true; m_onStart = std::forward<OnStartT>(value); }
76 template<
typename OnStartT = Aws::Vector<NotebookInstanceLifecycleHook>>
78 template<
typename OnStartT = NotebookInstanceLifecycleHook>
84 bool m_notebookInstanceLifecycleConfigNameHasBeenSet =
false;
87 bool m_onCreateHasBeenSet =
false;
90 bool m_onStartHasBeenSet =
false;
UpdateNotebookInstanceLifecycleConfigRequest & AddOnStart(OnStartT &&value)
UpdateNotebookInstanceLifecycleConfigRequest & WithOnCreate(OnCreateT &&value)
UpdateNotebookInstanceLifecycleConfigRequest & WithOnStart(OnStartT &&value)
UpdateNotebookInstanceLifecycleConfigRequest & WithNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT &&value)
const Aws::String & GetNotebookInstanceLifecycleConfigName() const
const Aws::Vector< NotebookInstanceLifecycleHook > & GetOnCreate() const
bool NotebookInstanceLifecycleConfigNameHasBeenSet() const
bool OnStartHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetOnStart(OnStartT &&value)
void SetNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT &&value)
UpdateNotebookInstanceLifecycleConfigRequest & AddOnCreate(OnCreateT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetOnCreate(OnCreateT &&value)
AWS_SAGEMAKER_API UpdateNotebookInstanceLifecycleConfigRequest()=default
const Aws::Vector< NotebookInstanceLifecycleHook > & GetOnStart() const
bool OnCreateHasBeenSet() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector