AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
NotebookInstanceLifecycleConfigSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
30 public:
31 AWS_SAGEMAKER_API NotebookInstanceLifecycleConfigSummary() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetNotebookInstanceLifecycleConfigName() const { return m_notebookInstanceLifecycleConfigName; }
41 inline bool NotebookInstanceLifecycleConfigNameHasBeenSet() const { return m_notebookInstanceLifecycleConfigNameHasBeenSet; }
42 template <typename NotebookInstanceLifecycleConfigNameT = Aws::String>
43 void SetNotebookInstanceLifecycleConfigName(NotebookInstanceLifecycleConfigNameT&& value) {
44 m_notebookInstanceLifecycleConfigNameHasBeenSet = true;
45 m_notebookInstanceLifecycleConfigName = std::forward<NotebookInstanceLifecycleConfigNameT>(value);
46 }
47 template <typename NotebookInstanceLifecycleConfigNameT = Aws::String>
49 SetNotebookInstanceLifecycleConfigName(std::forward<NotebookInstanceLifecycleConfigNameT>(value));
50 return *this;
51 }
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) {
62 m_notebookInstanceLifecycleConfigArnHasBeenSet = true;
63 m_notebookInstanceLifecycleConfigArn = std::forward<NotebookInstanceLifecycleConfigArnT>(value);
64 }
65 template <typename NotebookInstanceLifecycleConfigArnT = Aws::String>
67 SetNotebookInstanceLifecycleConfigArn(std::forward<NotebookInstanceLifecycleConfigArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
77 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
78 template <typename CreationTimeT = Aws::Utils::DateTime>
79 void SetCreationTime(CreationTimeT&& value) {
80 m_creationTimeHasBeenSet = true;
81 m_creationTime = std::forward<CreationTimeT>(value);
82 }
83 template <typename CreationTimeT = Aws::Utils::DateTime>
85 SetCreationTime(std::forward<CreationTimeT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
96 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
97 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
98 void SetLastModifiedTime(LastModifiedTimeT&& value) {
99 m_lastModifiedTimeHasBeenSet = true;
100 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
101 }
102 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
104 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_notebookInstanceLifecycleConfigName;
110
111 Aws::String m_notebookInstanceLifecycleConfigArn;
112
113 Aws::Utils::DateTime m_creationTime{};
114
115 Aws::Utils::DateTime m_lastModifiedTime{};
116 bool m_notebookInstanceLifecycleConfigNameHasBeenSet = false;
117 bool m_notebookInstanceLifecycleConfigArnHasBeenSet = false;
118 bool m_creationTimeHasBeenSet = false;
119 bool m_lastModifiedTimeHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace SageMaker
124} // 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