AWS SDK for C++  1.9.160
AWS SDK for C++
NotebookInstanceLifecycleHook.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
44  {
45  public:
50 
51 
56  inline const Aws::String& GetContent() const{ return m_content; }
57 
62  inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
63 
68  inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
69 
74  inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
75 
80  inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
81 
86  inline NotebookInstanceLifecycleHook& WithContent(const Aws::String& value) { SetContent(value); return *this;}
87 
92  inline NotebookInstanceLifecycleHook& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
93 
98  inline NotebookInstanceLifecycleHook& WithContent(const char* value) { SetContent(value); return *this;}
99 
100  private:
101 
102  Aws::String m_content;
103  bool m_contentHasBeenSet;
104  };
105 
106 } // namespace Model
107 } // namespace SageMaker
108 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::NotebookInstanceLifecycleHook::NotebookInstanceLifecycleHook
NotebookInstanceLifecycleHook()
Aws::SageMaker::Model::NotebookInstanceLifecycleHook::SetContent
void SetContent(const char *value)
Definition: NotebookInstanceLifecycleHook.h:80
Aws::SageMaker::Model::NotebookInstanceLifecycleHook::ContentHasBeenSet
bool ContentHasBeenSet() const
Definition: NotebookInstanceLifecycleHook.h:62
Aws::SageMaker::Model::NotebookInstanceLifecycleHook::WithContent
NotebookInstanceLifecycleHook & WithContent(const char *value)
Definition: NotebookInstanceLifecycleHook.h:98
Aws::SageMaker::Model::NotebookInstanceLifecycleHook
Definition: NotebookInstanceLifecycleHook.h:44
Aws::SageMaker::Model::NotebookInstanceLifecycleHook::NotebookInstanceLifecycleHook
NotebookInstanceLifecycleHook(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::NotebookInstanceLifecycleHook::operator=
NotebookInstanceLifecycleHook & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::NotebookInstanceLifecycleHook::WithContent
NotebookInstanceLifecycleHook & WithContent(const Aws::String &value)
Definition: NotebookInstanceLifecycleHook.h:86
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::NotebookInstanceLifecycleHook::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::NotebookInstanceLifecycleHook::SetContent
void SetContent(Aws::String &&value)
Definition: NotebookInstanceLifecycleHook.h:74
Aws::SageMaker::Model::NotebookInstanceLifecycleHook::GetContent
const Aws::String & GetContent() const
Definition: NotebookInstanceLifecycleHook.h:56
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::NotebookInstanceLifecycleHook::SetContent
void SetContent(const Aws::String &value)
Definition: NotebookInstanceLifecycleHook.h:68
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::NotebookInstanceLifecycleHook::WithContent
NotebookInstanceLifecycleHook & WithContent(Aws::String &&value)
Definition: NotebookInstanceLifecycleHook.h:92