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>
12#include <aws/sagemaker/model/Tag.h>
33 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateNotebookInstanceLifecycleConfig"; }
46 template<
typename NotebookInstanceLifecycleConfigNameT = Aws::String>
47 void SetNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT&& value) { m_notebookInstanceLifecycleConfigNameHasBeenSet =
true; m_notebookInstanceLifecycleConfigName = std::forward<NotebookInstanceLifecycleConfigNameT>(value); }
48 template<
typename NotebookInstanceLifecycleConfigNameT = Aws::String>
59 template<
typename OnCreateT = Aws::Vector<NotebookInstanceLifecycleHook>>
60 void SetOnCreate(OnCreateT&& value) { m_onCreateHasBeenSet =
true; m_onCreate = std::forward<OnCreateT>(value); }
61 template<
typename OnCreateT = Aws::Vector<NotebookInstanceLifecycleHook>>
63 template<
typename OnCreateT = NotebookInstanceLifecycleHook>
75 template<
typename OnStartT = Aws::Vector<NotebookInstanceLifecycleHook>>
76 void SetOnStart(OnStartT&& value) { m_onStartHasBeenSet =
true; m_onStart = std::forward<OnStartT>(value); }
77 template<
typename OnStartT = Aws::Vector<NotebookInstanceLifecycleHook>>
79 template<
typename OnStartT = NotebookInstanceLifecycleHook>
93 template<
typename TagsT = Aws::Vector<Tag>>
94 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
95 template<
typename TagsT = Aws::Vector<Tag>>
97 template<
typename TagsT = Tag>
103 bool m_notebookInstanceLifecycleConfigNameHasBeenSet =
false;
106 bool m_onCreateHasBeenSet =
false;
109 bool m_onStartHasBeenSet =
false;
112 bool m_tagsHasBeenSet =
false;
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateNotebookInstanceLifecycleConfigRequest & AddOnStart(OnStartT &&value)
const Aws::Vector< NotebookInstanceLifecycleHook > & GetOnStart() const
CreateNotebookInstanceLifecycleConfigRequest & WithTags(TagsT &&value)
CreateNotebookInstanceLifecycleConfigRequest & WithOnCreate(OnCreateT &&value)
void SetNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT &&value)
bool OnCreateHasBeenSet() const
CreateNotebookInstanceLifecycleConfigRequest & WithOnStart(OnStartT &&value)
CreateNotebookInstanceLifecycleConfigRequest & WithNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT &&value)
void SetOnStart(OnStartT &&value)
bool TagsHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::String & GetNotebookInstanceLifecycleConfigName() const
bool NotebookInstanceLifecycleConfigNameHasBeenSet() const
CreateNotebookInstanceLifecycleConfigRequest & AddTags(TagsT &&value)
bool OnStartHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetOnCreate(OnCreateT &&value)
CreateNotebookInstanceLifecycleConfigRequest & AddOnCreate(OnCreateT &&value)
AWS_SAGEMAKER_API CreateNotebookInstanceLifecycleConfigRequest()=default
const Aws::Vector< NotebookInstanceLifecycleHook > & GetOnCreate() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() 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