7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ContextSource.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/UserContext.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
44 template<
typename ContextNameT = Aws::String>
45 void SetContextName(ContextNameT&& value) { m_contextNameHasBeenSet =
true; m_contextName = std::forward<ContextNameT>(value); }
46 template<
typename ContextNameT = Aws::String>
55 template<
typename ContextArnT = Aws::String>
56 void SetContextArn(ContextArnT&& value) { m_contextArnHasBeenSet =
true; m_contextArn = std::forward<ContextArnT>(value); }
57 template<
typename ContextArnT = Aws::String>
66 template<
typename SourceT = ContextSource>
67 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
68 template<
typename SourceT = ContextSource>
77 template<
typename ContextTypeT = Aws::String>
78 void SetContextType(ContextTypeT&& value) { m_contextTypeHasBeenSet =
true; m_contextType = std::forward<ContextTypeT>(value); }
79 template<
typename ContextTypeT = Aws::String>
88 template<
typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
90 template<
typename DescriptionT = Aws::String>
99 template<
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
100 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
101 template<
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
103 template<
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = Aws::String>
105 m_propertiesHasBeenSet =
true; m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
return *
this;
114 template<
typename CreationTimeT = Aws::Utils::DateTime>
115 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
116 template<
typename CreationTimeT = Aws::Utils::DateTime>
123 template<
typename CreatedByT = UserContext>
124 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
125 template<
typename CreatedByT = UserContext>
134 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
135 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
136 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
143 template<
typename LastModifiedByT = UserContext>
144 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
145 template<
typename LastModifiedByT = UserContext>
154 template<
typename LineageGroupArnT = Aws::String>
155 void SetLineageGroupArn(LineageGroupArnT&& value) { m_lineageGroupArnHasBeenSet =
true; m_lineageGroupArn = std::forward<LineageGroupArnT>(value); }
156 template<
typename LineageGroupArnT = Aws::String>
163 template<
typename RequestIdT = Aws::String>
164 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
165 template<
typename RequestIdT = Aws::String>
171 bool m_contextNameHasBeenSet =
false;
174 bool m_contextArnHasBeenSet =
false;
177 bool m_sourceHasBeenSet =
false;
180 bool m_contextTypeHasBeenSet =
false;
183 bool m_descriptionHasBeenSet =
false;
186 bool m_propertiesHasBeenSet =
false;
189 bool m_creationTimeHasBeenSet =
false;
191 UserContext m_createdBy;
192 bool m_createdByHasBeenSet =
false;
195 bool m_lastModifiedTimeHasBeenSet =
false;
197 UserContext m_lastModifiedBy;
198 bool m_lastModifiedByHasBeenSet =
false;
201 bool m_lineageGroupArnHasBeenSet =
false;
204 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
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