AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
60 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
61 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
62 inline NotebookInstanceLifecycleHook& WithContent(const Aws::String& value) { SetContent(value); return *this;}
63 inline NotebookInstanceLifecycleHook& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
64 inline NotebookInstanceLifecycleHook& WithContent(const char* value) { SetContent(value); return *this;}
66 private:
67
68 Aws::String m_content;
69 bool m_contentHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SageMaker
74} // namespace Aws
NotebookInstanceLifecycleHook & WithContent(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API NotebookInstanceLifecycleHook & operator=(Aws::Utils::Json::JsonView jsonValue)
NotebookInstanceLifecycleHook & WithContent(const char *value)
NotebookInstanceLifecycleHook & WithContent(const Aws::String &value)
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