AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ModelDashboardModelCard.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 <aws/sagemaker/model/ModelCardSecurityConfig.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/UserContext.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/sagemaker/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_SAGEMAKER_API ModelDashboardModelCard() = default;
44 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetModelCardArn() const { return m_modelCardArn; }
52 inline bool ModelCardArnHasBeenSet() const { return m_modelCardArnHasBeenSet; }
53 template<typename ModelCardArnT = Aws::String>
54 void SetModelCardArn(ModelCardArnT&& value) { m_modelCardArnHasBeenSet = true; m_modelCardArn = std::forward<ModelCardArnT>(value); }
55 template<typename ModelCardArnT = Aws::String>
56 ModelDashboardModelCard& WithModelCardArn(ModelCardArnT&& value) { SetModelCardArn(std::forward<ModelCardArnT>(value)); return *this;}
58
60
63 inline const Aws::String& GetModelCardName() const { return m_modelCardName; }
64 inline bool ModelCardNameHasBeenSet() const { return m_modelCardNameHasBeenSet; }
65 template<typename ModelCardNameT = Aws::String>
66 void SetModelCardName(ModelCardNameT&& value) { m_modelCardNameHasBeenSet = true; m_modelCardName = std::forward<ModelCardNameT>(value); }
67 template<typename ModelCardNameT = Aws::String>
68 ModelDashboardModelCard& WithModelCardName(ModelCardNameT&& value) { SetModelCardName(std::forward<ModelCardNameT>(value)); return *this;}
70
72
75 inline int GetModelCardVersion() const { return m_modelCardVersion; }
76 inline bool ModelCardVersionHasBeenSet() const { return m_modelCardVersionHasBeenSet; }
77 inline void SetModelCardVersion(int value) { m_modelCardVersionHasBeenSet = true; m_modelCardVersion = value; }
78 inline ModelDashboardModelCard& WithModelCardVersion(int value) { SetModelCardVersion(value); return *this;}
80
82
85 inline ModelCardStatus GetModelCardStatus() const { return m_modelCardStatus; }
86 inline bool ModelCardStatusHasBeenSet() const { return m_modelCardStatusHasBeenSet; }
87 inline void SetModelCardStatus(ModelCardStatus value) { m_modelCardStatusHasBeenSet = true; m_modelCardStatus = value; }
90
92
96 inline const ModelCardSecurityConfig& GetSecurityConfig() const { return m_securityConfig; }
97 inline bool SecurityConfigHasBeenSet() const { return m_securityConfigHasBeenSet; }
98 template<typename SecurityConfigT = ModelCardSecurityConfig>
99 void SetSecurityConfig(SecurityConfigT&& value) { m_securityConfigHasBeenSet = true; m_securityConfig = std::forward<SecurityConfigT>(value); }
100 template<typename SecurityConfigT = ModelCardSecurityConfig>
101 ModelDashboardModelCard& WithSecurityConfig(SecurityConfigT&& value) { SetSecurityConfig(std::forward<SecurityConfigT>(value)); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
109 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
110 template<typename CreationTimeT = Aws::Utils::DateTime>
111 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
112 template<typename CreationTimeT = Aws::Utils::DateTime>
113 ModelDashboardModelCard& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
115
117
118 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
119 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
120 template<typename CreatedByT = UserContext>
121 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
122 template<typename CreatedByT = UserContext>
123 ModelDashboardModelCard& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
131 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
132 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
133 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
134 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
135 ModelDashboardModelCard& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
137
139
140 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
141 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
142 template<typename LastModifiedByT = UserContext>
143 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
144 template<typename LastModifiedByT = UserContext>
145 ModelDashboardModelCard& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
147
149
152 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
153 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
154 template<typename TagsT = Aws::Vector<Tag>>
155 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
156 template<typename TagsT = Aws::Vector<Tag>>
157 ModelDashboardModelCard& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
158 template<typename TagsT = Tag>
159 ModelDashboardModelCard& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
161
163
167 inline const Aws::String& GetModelId() const { return m_modelId; }
168 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
169 template<typename ModelIdT = Aws::String>
170 void SetModelId(ModelIdT&& value) { m_modelIdHasBeenSet = true; m_modelId = std::forward<ModelIdT>(value); }
171 template<typename ModelIdT = Aws::String>
172 ModelDashboardModelCard& WithModelId(ModelIdT&& value) { SetModelId(std::forward<ModelIdT>(value)); return *this;}
174
176
179 inline const Aws::String& GetRiskRating() const { return m_riskRating; }
180 inline bool RiskRatingHasBeenSet() const { return m_riskRatingHasBeenSet; }
181 template<typename RiskRatingT = Aws::String>
182 void SetRiskRating(RiskRatingT&& value) { m_riskRatingHasBeenSet = true; m_riskRating = std::forward<RiskRatingT>(value); }
183 template<typename RiskRatingT = Aws::String>
184 ModelDashboardModelCard& WithRiskRating(RiskRatingT&& value) { SetRiskRating(std::forward<RiskRatingT>(value)); return *this;}
186 private:
187
188 Aws::String m_modelCardArn;
189 bool m_modelCardArnHasBeenSet = false;
190
191 Aws::String m_modelCardName;
192 bool m_modelCardNameHasBeenSet = false;
193
194 int m_modelCardVersion{0};
195 bool m_modelCardVersionHasBeenSet = false;
196
197 ModelCardStatus m_modelCardStatus{ModelCardStatus::NOT_SET};
198 bool m_modelCardStatusHasBeenSet = false;
199
200 ModelCardSecurityConfig m_securityConfig;
201 bool m_securityConfigHasBeenSet = false;
202
203 Aws::Utils::DateTime m_creationTime{};
204 bool m_creationTimeHasBeenSet = false;
205
206 UserContext m_createdBy;
207 bool m_createdByHasBeenSet = false;
208
209 Aws::Utils::DateTime m_lastModifiedTime{};
210 bool m_lastModifiedTimeHasBeenSet = false;
211
212 UserContext m_lastModifiedBy;
213 bool m_lastModifiedByHasBeenSet = false;
214
215 Aws::Vector<Tag> m_tags;
216 bool m_tagsHasBeenSet = false;
217
218 Aws::String m_modelId;
219 bool m_modelIdHasBeenSet = false;
220
221 Aws::String m_riskRating;
222 bool m_riskRatingHasBeenSet = false;
223 };
224
225} // namespace Model
226} // namespace SageMaker
227} // namespace Aws
ModelDashboardModelCard & AddTags(TagsT &&value)
ModelDashboardModelCard & WithSecurityConfig(SecurityConfigT &&value)
ModelDashboardModelCard & WithTags(TagsT &&value)
const ModelCardSecurityConfig & GetSecurityConfig() const
AWS_SAGEMAKER_API ModelDashboardModelCard()=default
ModelDashboardModelCard & WithLastModifiedBy(LastModifiedByT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
ModelDashboardModelCard & WithModelCardArn(ModelCardArnT &&value)
ModelDashboardModelCard & WithModelCardStatus(ModelCardStatus value)
const Aws::Utils::DateTime & GetCreationTime() const
ModelDashboardModelCard & WithRiskRating(RiskRatingT &&value)
ModelDashboardModelCard & WithLastModifiedTime(LastModifiedTimeT &&value)
ModelDashboardModelCard & WithCreationTime(CreationTimeT &&value)
ModelDashboardModelCard & WithModelCardVersion(int value)
AWS_SAGEMAKER_API ModelDashboardModelCard & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelDashboardModelCard & WithModelId(ModelIdT &&value)
AWS_SAGEMAKER_API ModelDashboardModelCard(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelDashboardModelCard & WithCreatedBy(CreatedByT &&value)
ModelDashboardModelCard & WithModelCardName(ModelCardNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue