AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CustomModelSummary.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/CustomizationType.h>
9#include <aws/bedrock/model/ModelStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Bedrock {
23namespace Model {
24
31 public:
32 AWS_BEDROCK_API CustomModelSummary() = default;
35 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetModelArn() const { return m_modelArn; }
42 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
43 template <typename ModelArnT = Aws::String>
44 void SetModelArn(ModelArnT&& value) {
45 m_modelArnHasBeenSet = true;
46 m_modelArn = std::forward<ModelArnT>(value);
47 }
48 template <typename ModelArnT = Aws::String>
50 SetModelArn(std::forward<ModelArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetModelName() const { return m_modelName; }
60 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
61 template <typename ModelNameT = Aws::String>
62 void SetModelName(ModelNameT&& value) {
63 m_modelNameHasBeenSet = true;
64 m_modelName = std::forward<ModelNameT>(value);
65 }
66 template <typename ModelNameT = Aws::String>
68 SetModelName(std::forward<ModelNameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
78 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
79 template <typename CreationTimeT = Aws::Utils::DateTime>
81 m_creationTimeHasBeenSet = true;
82 m_creationTime = std::forward<CreationTimeT>(value);
83 }
84 template <typename CreationTimeT = Aws::Utils::DateTime>
86 SetCreationTime(std::forward<CreationTimeT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetBaseModelArn() const { return m_baseModelArn; }
96 inline bool BaseModelArnHasBeenSet() const { return m_baseModelArnHasBeenSet; }
97 template <typename BaseModelArnT = Aws::String>
99 m_baseModelArnHasBeenSet = true;
100 m_baseModelArn = std::forward<BaseModelArnT>(value);
101 }
102 template <typename BaseModelArnT = Aws::String>
104 SetBaseModelArn(std::forward<BaseModelArnT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetBaseModelName() const { return m_baseModelName; }
114 inline bool BaseModelNameHasBeenSet() const { return m_baseModelNameHasBeenSet; }
115 template <typename BaseModelNameT = Aws::String>
117 m_baseModelNameHasBeenSet = true;
118 m_baseModelName = std::forward<BaseModelNameT>(value);
119 }
120 template <typename BaseModelNameT = Aws::String>
122 SetBaseModelName(std::forward<BaseModelNameT>(value));
123 return *this;
124 }
126
128
134 inline CustomizationType GetCustomizationType() const { return m_customizationType; }
135 inline bool CustomizationTypeHasBeenSet() const { return m_customizationTypeHasBeenSet; }
137 m_customizationTypeHasBeenSet = true;
138 m_customizationType = value;
139 }
142 return *this;
143 }
145
147
150 inline const Aws::String& GetOwnerAccountId() const { return m_ownerAccountId; }
151 inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; }
152 template <typename OwnerAccountIdT = Aws::String>
154 m_ownerAccountIdHasBeenSet = true;
155 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
156 }
157 template <typename OwnerAccountIdT = Aws::String>
159 SetOwnerAccountId(std::forward<OwnerAccountIdT>(value));
160 return *this;
161 }
163
165
172 inline ModelStatus GetModelStatus() const { return m_modelStatus; }
173 inline bool ModelStatusHasBeenSet() const { return m_modelStatusHasBeenSet; }
174 inline void SetModelStatus(ModelStatus value) {
175 m_modelStatusHasBeenSet = true;
176 m_modelStatus = value;
177 }
179 SetModelStatus(value);
180 return *this;
181 }
183 private:
184 Aws::String m_modelArn;
185
186 Aws::String m_modelName;
187
188 Aws::Utils::DateTime m_creationTime{};
189
190 Aws::String m_baseModelArn;
191
192 Aws::String m_baseModelName;
193
195
196 Aws::String m_ownerAccountId;
197
198 ModelStatus m_modelStatus{ModelStatus::NOT_SET};
199 bool m_modelArnHasBeenSet = false;
200 bool m_modelNameHasBeenSet = false;
201 bool m_creationTimeHasBeenSet = false;
202 bool m_baseModelArnHasBeenSet = false;
203 bool m_baseModelNameHasBeenSet = false;
204 bool m_customizationTypeHasBeenSet = false;
205 bool m_ownerAccountIdHasBeenSet = false;
206 bool m_modelStatusHasBeenSet = false;
207};
208
209} // namespace Model
210} // namespace Bedrock
211} // namespace Aws
CustomizationType GetCustomizationType() const
CustomModelSummary & WithBaseModelArn(BaseModelArnT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
CustomModelSummary & WithCustomizationType(CustomizationType value)
CustomModelSummary & WithModelArn(ModelArnT &&value)
void SetOwnerAccountId(OwnerAccountIdT &&value)
void SetBaseModelArn(BaseModelArnT &&value)
const Aws::String & GetBaseModelName() const
void SetCustomizationType(CustomizationType value)
AWS_BEDROCK_API CustomModelSummary()=default
CustomModelSummary & WithBaseModelName(BaseModelNameT &&value)
const Aws::String & GetBaseModelArn() const
const Aws::String & GetOwnerAccountId() const
CustomModelSummary & WithOwnerAccountId(OwnerAccountIdT &&value)
void SetBaseModelName(BaseModelNameT &&value)
AWS_BEDROCK_API CustomModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomModelSummary & WithCreationTime(CreationTimeT &&value)
CustomModelSummary & WithModelStatus(ModelStatus value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_BEDROCK_API CustomModelSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(CreationTimeT &&value)
CustomModelSummary & WithModelName(ModelNameT &&value)
const Aws::String & GetModelArn() const
const Aws::String & GetModelName() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue