AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
NotebookInstanceLifecycleHook.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
40 public:
41 AWS_SAGEMAKER_API NotebookInstanceLifecycleHook() = default;
44 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
47
51 inline const Aws::String& GetContent() const { return m_content; }
52 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
53 template <typename ContentT = Aws::String>
54 void SetContent(ContentT&& value) {
55 m_contentHasBeenSet = true;
56 m_content = std::forward<ContentT>(value);
57 }
58 template <typename ContentT = Aws::String>
60 SetContent(std::forward<ContentT>(value));
61 return *this;
62 }
64 private:
65 Aws::String m_content;
66 bool m_contentHasBeenSet = false;
67};
68
69} // namespace Model
70} // namespace SageMaker
71} // 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