AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
NotebookInstanceLifecycleHook.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
44 {
45 public:
46 AWS_SAGEMAKER_API NotebookInstanceLifecycleHook() = default;
49 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
57 inline const Aws::String& GetContent() const { return m_content; }
58 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
59 template<typename ContentT = Aws::String>
60 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
61 template<typename ContentT = Aws::String>
62 NotebookInstanceLifecycleHook& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
64 private:
65
66 Aws::String m_content;
67 bool m_contentHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace SageMaker
72} // namespace Aws
NotebookInstanceLifecycleHook & WithContent(ContentT &&value)
AWS_SAGEMAKER_API NotebookInstanceLifecycleHook()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API NotebookInstanceLifecycleHook & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API NotebookInstanceLifecycleHook(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue