AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelPackageModelCard.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ModelCardStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
45 {
46 public:
47 AWS_SAGEMAKER_API ModelPackageModelCard();
50 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
60 inline const Aws::String& GetModelCardContent() const{ return m_modelCardContent; }
61 inline bool ModelCardContentHasBeenSet() const { return m_modelCardContentHasBeenSet; }
62 inline void SetModelCardContent(const Aws::String& value) { m_modelCardContentHasBeenSet = true; m_modelCardContent = value; }
63 inline void SetModelCardContent(Aws::String&& value) { m_modelCardContentHasBeenSet = true; m_modelCardContent = std::move(value); }
64 inline void SetModelCardContent(const char* value) { m_modelCardContentHasBeenSet = true; m_modelCardContent.assign(value); }
65 inline ModelPackageModelCard& WithModelCardContent(const Aws::String& value) { SetModelCardContent(value); return *this;}
66 inline ModelPackageModelCard& WithModelCardContent(Aws::String&& value) { SetModelCardContent(std::move(value)); return *this;}
67 inline ModelPackageModelCard& WithModelCardContent(const char* value) { SetModelCardContent(value); return *this;}
69
71
82 inline const ModelCardStatus& GetModelCardStatus() const{ return m_modelCardStatus; }
83 inline bool ModelCardStatusHasBeenSet() const { return m_modelCardStatusHasBeenSet; }
84 inline void SetModelCardStatus(const ModelCardStatus& value) { m_modelCardStatusHasBeenSet = true; m_modelCardStatus = value; }
85 inline void SetModelCardStatus(ModelCardStatus&& value) { m_modelCardStatusHasBeenSet = true; m_modelCardStatus = std::move(value); }
86 inline ModelPackageModelCard& WithModelCardStatus(const ModelCardStatus& value) { SetModelCardStatus(value); return *this;}
87 inline ModelPackageModelCard& WithModelCardStatus(ModelCardStatus&& value) { SetModelCardStatus(std::move(value)); return *this;}
89 private:
90
91 Aws::String m_modelCardContent;
92 bool m_modelCardContentHasBeenSet = false;
93
94 ModelCardStatus m_modelCardStatus;
95 bool m_modelCardStatusHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace SageMaker
100} // namespace Aws
void SetModelCardContent(const Aws::String &value)
ModelPackageModelCard & WithModelCardStatus(ModelCardStatus &&value)
AWS_SAGEMAKER_API ModelPackageModelCard(Aws::Utils::Json::JsonView jsonValue)
ModelPackageModelCard & WithModelCardStatus(const ModelCardStatus &value)
ModelPackageModelCard & WithModelCardContent(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModelCardStatus(const ModelCardStatus &value)
AWS_SAGEMAKER_API ModelPackageModelCard & operator=(Aws::Utils::Json::JsonView jsonValue)
const ModelCardStatus & GetModelCardStatus() const
ModelPackageModelCard & WithModelCardContent(const char *value)
ModelPackageModelCard & WithModelCardContent(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue