7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/ContextSource.h>
13#include <aws/sagemaker/model/UserContext.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename ContextNameT = Aws::String>
41 m_contextNameHasBeenSet =
true;
42 m_contextName = std::forward<ContextNameT>(value);
44 template <
typename ContextNameT = Aws::String>
56 template <
typename ContextArnT = Aws::String>
58 m_contextArnHasBeenSet =
true;
59 m_contextArn = std::forward<ContextArnT>(value);
61 template <
typename ContextArnT = Aws::String>
73 template <
typename SourceT = ContextSource>
75 m_sourceHasBeenSet =
true;
76 m_source = std::forward<SourceT>(value);
78 template <
typename SourceT = ContextSource>
90 template <
typename ContextTypeT = Aws::String>
92 m_contextTypeHasBeenSet =
true;
93 m_contextType = std::forward<ContextTypeT>(value);
95 template <
typename ContextTypeT = Aws::String>
107 template <
typename DescriptionT = Aws::String>
109 m_descriptionHasBeenSet =
true;
110 m_description = std::forward<DescriptionT>(value);
112 template <
typename DescriptionT = Aws::String>
124 template <
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
126 m_propertiesHasBeenSet =
true;
127 m_properties = std::forward<PropertiesT>(value);
129 template <
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
134 template <
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = Aws::String>
136 m_propertiesHasBeenSet =
true;
137 m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
147 template <
typename CreationTimeT = Aws::Utils::DateTime>
149 m_creationTimeHasBeenSet =
true;
150 m_creationTime = std::forward<CreationTimeT>(value);
152 template <
typename CreationTimeT = Aws::Utils::DateTime>
162 template <
typename CreatedByT = UserContext>
164 m_createdByHasBeenSet =
true;
165 m_createdBy = std::forward<CreatedByT>(value);
167 template <
typename CreatedByT = UserContext>
179 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
181 m_lastModifiedTimeHasBeenSet =
true;
182 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
184 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
194 template <
typename LastModifiedByT = UserContext>
196 m_lastModifiedByHasBeenSet =
true;
197 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
199 template <
typename LastModifiedByT = UserContext>
211 template <
typename LineageGroupArnT = Aws::String>
213 m_lineageGroupArnHasBeenSet =
true;
214 m_lineageGroupArn = std::forward<LineageGroupArnT>(value);
216 template <
typename LineageGroupArnT = Aws::String>
226 template <
typename RequestIdT = Aws::String>
228 m_requestIdHasBeenSet =
true;
229 m_requestId = std::forward<RequestIdT>(value);
231 template <
typename RequestIdT = Aws::String>
254 UserContext m_createdBy;
258 UserContext m_lastModifiedBy;
264 bool m_contextNameHasBeenSet =
false;
265 bool m_contextArnHasBeenSet =
false;
266 bool m_sourceHasBeenSet =
false;
267 bool m_contextTypeHasBeenSet =
false;
268 bool m_descriptionHasBeenSet =
false;
269 bool m_propertiesHasBeenSet =
false;
270 bool m_creationTimeHasBeenSet =
false;
271 bool m_createdByHasBeenSet =
false;
272 bool m_lastModifiedTimeHasBeenSet =
false;
273 bool m_lastModifiedByHasBeenSet =
false;
274 bool m_lineageGroupArnHasBeenSet =
false;
275 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
const Aws::String & GetContextType() const
const Aws::String & GetContextName() const
DescribeContextResult & WithRequestId(RequestIdT &&value)
DescribeContextResult & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetContextArn() const
DescribeContextResult & WithLineageGroupArn(LineageGroupArnT &&value)
void SetContextArn(ContextArnT &&value)
DescribeContextResult & WithContextName(ContextNameT &&value)
void SetProperties(PropertiesT &&value)
AWS_SAGEMAKER_API DescribeContextResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastModifiedBy(LastModifiedByT &&value)
void SetContextName(ContextNameT &&value)
void SetDescription(DescriptionT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
DescribeContextResult & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API DescribeContextResult()=default
AWS_SAGEMAKER_API DescribeContextResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDescription() const
const Aws::String & GetRequestId() const
void SetContextType(ContextTypeT &&value)
DescribeContextResult & WithContextArn(ContextArnT &&value)
const UserContext & GetLastModifiedBy() const
void SetCreationTime(CreationTimeT &&value)
const ContextSource & GetSource() const
DescribeContextResult & WithDescription(DescriptionT &&value)
DescribeContextResult & WithSource(SourceT &&value)
const UserContext & GetCreatedBy() const
void SetSource(SourceT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeContextResult & WithProperties(PropertiesT &&value)
DescribeContextResult & WithCreatedBy(CreatedByT &&value)
DescribeContextResult & WithLastModifiedBy(LastModifiedByT &&value)
DescribeContextResult & WithContextType(ContextTypeT &&value)
void SetCreatedBy(CreatedByT &&value)
const Aws::String & GetLineageGroupArn() const
DescribeContextResult & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
void SetLineageGroupArn(LineageGroupArnT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue