AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
NotebookInstanceLifecycleConfigSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API NotebookInstanceLifecycleConfigSummary() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetNotebookInstanceLifecycleConfigName() const { return m_notebookInstanceLifecycleConfigName; }
47 inline bool NotebookInstanceLifecycleConfigNameHasBeenSet() const { return m_notebookInstanceLifecycleConfigNameHasBeenSet; }
48 template<typename NotebookInstanceLifecycleConfigNameT = Aws::String>
49 void SetNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT&& value) { m_notebookInstanceLifecycleConfigNameHasBeenSet = true; m_notebookInstanceLifecycleConfigName = std::forward<NotebookInstanceLifecycleConfigNameT>(value); }
50 template<typename NotebookInstanceLifecycleConfigNameT = Aws::String>
51 NotebookInstanceLifecycleConfigSummary& WithNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT&& value) { SetNotebookInstanceLifecycleConfigName(std::forward<NotebookInstanceLifecycleConfigNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetNotebookInstanceLifecycleConfigArn() const { return m_notebookInstanceLifecycleConfigArn; }
59 inline bool NotebookInstanceLifecycleConfigArnHasBeenSet() const { return m_notebookInstanceLifecycleConfigArnHasBeenSet; }
60 template<typename NotebookInstanceLifecycleConfigArnT = Aws::String>
61 void SetNotebookInstanceLifecycleConfigArn(NotebookInstanceLifecycleConfigArnT&& value) { m_notebookInstanceLifecycleConfigArnHasBeenSet = true; m_notebookInstanceLifecycleConfigArn = std::forward<NotebookInstanceLifecycleConfigArnT>(value); }
62 template<typename NotebookInstanceLifecycleConfigArnT = Aws::String>
63 NotebookInstanceLifecycleConfigSummary& WithNotebookInstanceLifecycleConfigArn(NotebookInstanceLifecycleConfigArnT&& value) { SetNotebookInstanceLifecycleConfigArn(std::forward<NotebookInstanceLifecycleConfigArnT>(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
71 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
72 template<typename CreationTimeT = Aws::Utils::DateTime>
73 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
74 template<typename CreationTimeT = Aws::Utils::DateTime>
75 NotebookInstanceLifecycleConfigSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
77
79
83 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
84 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
85 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
86 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
87 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
88 NotebookInstanceLifecycleConfigSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
90 private:
91
92 Aws::String m_notebookInstanceLifecycleConfigName;
93 bool m_notebookInstanceLifecycleConfigNameHasBeenSet = false;
94
95 Aws::String m_notebookInstanceLifecycleConfigArn;
96 bool m_notebookInstanceLifecycleConfigArnHasBeenSet = false;
97
98 Aws::Utils::DateTime m_creationTime{};
99 bool m_creationTimeHasBeenSet = false;
100
101 Aws::Utils::DateTime m_lastModifiedTime{};
102 bool m_lastModifiedTimeHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace SageMaker
107} // namespace Aws
AWS_SAGEMAKER_API NotebookInstanceLifecycleConfigSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNotebookInstanceLifecycleConfigArn(NotebookInstanceLifecycleConfigArnT &&value)
AWS_SAGEMAKER_API NotebookInstanceLifecycleConfigSummary(Aws::Utils::Json::JsonView jsonValue)
NotebookInstanceLifecycleConfigSummary & WithNotebookInstanceLifecycleConfigArn(NotebookInstanceLifecycleConfigArnT &&value)
NotebookInstanceLifecycleConfigSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
NotebookInstanceLifecycleConfigSummary & WithNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT &&value)
void SetNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT &&value)
NotebookInstanceLifecycleConfigSummary & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue