7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
41 template <
typename CodeT = Aws::String>
43 m_codeHasBeenSet =
true;
44 m_code = std::forward<CodeT>(value);
46 template <
typename CodeT = Aws::String>
48 SetCode(std::forward<CodeT>(value));
59 template <
typename ReasonT = Aws::String>
61 m_reasonHasBeenSet =
true;
62 m_reason = std::forward<ReasonT>(value);
64 template <
typename ReasonT = Aws::String>
74 bool m_codeHasBeenSet =
false;
75 bool m_reasonHasBeenSet =
false;
bool ReasonHasBeenSet() const
AWS_SAGEMAKER_API ErrorInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CodeHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCode(CodeT &&value)
const Aws::String & GetReason() const
void SetReason(ReasonT &&value)
AWS_SAGEMAKER_API ErrorInfo()=default
const Aws::String & GetCode() const
ErrorInfo & WithCode(CodeT &&value)
AWS_SAGEMAKER_API ErrorInfo(Aws::Utils::Json::JsonView jsonValue)
ErrorInfo & WithReason(ReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue