AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeStudioLifecycleConfigResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/StudioLifecycleConfigAppType.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker {
25namespace Model {
27 public:
28 AWS_SAGEMAKER_API DescribeStudioLifecycleConfigResult() = default;
31
33
36 inline const Aws::String& GetStudioLifecycleConfigArn() const { return m_studioLifecycleConfigArn; }
37 template <typename StudioLifecycleConfigArnT = Aws::String>
38 void SetStudioLifecycleConfigArn(StudioLifecycleConfigArnT&& value) {
39 m_studioLifecycleConfigArnHasBeenSet = true;
40 m_studioLifecycleConfigArn = std::forward<StudioLifecycleConfigArnT>(value);
41 }
42 template <typename StudioLifecycleConfigArnT = Aws::String>
44 SetStudioLifecycleConfigArn(std::forward<StudioLifecycleConfigArnT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetStudioLifecycleConfigName() const { return m_studioLifecycleConfigName; }
55 template <typename StudioLifecycleConfigNameT = Aws::String>
56 void SetStudioLifecycleConfigName(StudioLifecycleConfigNameT&& value) {
57 m_studioLifecycleConfigNameHasBeenSet = true;
58 m_studioLifecycleConfigName = std::forward<StudioLifecycleConfigNameT>(value);
59 }
60 template <typename StudioLifecycleConfigNameT = Aws::String>
62 SetStudioLifecycleConfigName(std::forward<StudioLifecycleConfigNameT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
73 template <typename CreationTimeT = Aws::Utils::DateTime>
74 void SetCreationTime(CreationTimeT&& value) {
75 m_creationTimeHasBeenSet = true;
76 m_creationTime = std::forward<CreationTimeT>(value);
77 }
78 template <typename CreationTimeT = Aws::Utils::DateTime>
80 SetCreationTime(std::forward<CreationTimeT>(value));
81 return *this;
82 }
84
86
90 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
91 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
92 void SetLastModifiedTime(LastModifiedTimeT&& value) {
93 m_lastModifiedTimeHasBeenSet = true;
94 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
95 }
96 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
98 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
99 return *this;
100 }
102
104
108 inline const Aws::String& GetStudioLifecycleConfigContent() const { return m_studioLifecycleConfigContent; }
109 template <typename StudioLifecycleConfigContentT = Aws::String>
110 void SetStudioLifecycleConfigContent(StudioLifecycleConfigContentT&& value) {
111 m_studioLifecycleConfigContentHasBeenSet = true;
112 m_studioLifecycleConfigContent = std::forward<StudioLifecycleConfigContentT>(value);
113 }
114 template <typename StudioLifecycleConfigContentT = Aws::String>
116 SetStudioLifecycleConfigContent(std::forward<StudioLifecycleConfigContentT>(value));
117 return *this;
118 }
120
122
125 inline StudioLifecycleConfigAppType GetStudioLifecycleConfigAppType() const { return m_studioLifecycleConfigAppType; }
127 m_studioLifecycleConfigAppTypeHasBeenSet = true;
128 m_studioLifecycleConfigAppType = value;
129 }
132 return *this;
133 }
135
137
138 inline const Aws::String& GetRequestId() const { return m_requestId; }
139 template <typename RequestIdT = Aws::String>
140 void SetRequestId(RequestIdT&& value) {
141 m_requestIdHasBeenSet = true;
142 m_requestId = std::forward<RequestIdT>(value);
143 }
144 template <typename RequestIdT = Aws::String>
146 SetRequestId(std::forward<RequestIdT>(value));
147 return *this;
148 }
150 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
151
152 private:
153 Aws::String m_studioLifecycleConfigArn;
154
155 Aws::String m_studioLifecycleConfigName;
156
157 Aws::Utils::DateTime m_creationTime{};
158
159 Aws::Utils::DateTime m_lastModifiedTime{};
160
161 Aws::String m_studioLifecycleConfigContent;
162
164
165 Aws::String m_requestId;
166 Aws::Http::HttpResponseCode m_HttpResponseCode;
167 bool m_studioLifecycleConfigArnHasBeenSet = false;
168 bool m_studioLifecycleConfigNameHasBeenSet = false;
169 bool m_creationTimeHasBeenSet = false;
170 bool m_lastModifiedTimeHasBeenSet = false;
171 bool m_studioLifecycleConfigContentHasBeenSet = false;
172 bool m_studioLifecycleConfigAppTypeHasBeenSet = false;
173 bool m_requestIdHasBeenSet = false;
174};
175
176} // namespace Model
177} // namespace SageMaker
178} // namespace Aws
DescribeStudioLifecycleConfigResult & WithStudioLifecycleConfigName(StudioLifecycleConfigNameT &&value)
DescribeStudioLifecycleConfigResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeStudioLifecycleConfigResult & WithStudioLifecycleConfigAppType(StudioLifecycleConfigAppType value)
DescribeStudioLifecycleConfigResult & WithRequestId(RequestIdT &&value)
DescribeStudioLifecycleConfigResult & WithCreationTime(CreationTimeT &&value)
AWS_SAGEMAKER_API DescribeStudioLifecycleConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeStudioLifecycleConfigResult & WithStudioLifecycleConfigContent(StudioLifecycleConfigContentT &&value)
DescribeStudioLifecycleConfigResult & WithStudioLifecycleConfigArn(StudioLifecycleConfigArnT &&value)
AWS_SAGEMAKER_API DescribeStudioLifecycleConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue