AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
CustomModelSummary.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/bedrock/model/CustomizationType.h>
11#include <aws/bedrock/model/ModelStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Bedrock
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_BEDROCK_API CustomModelSummary() = default;
40 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetModelArn() const { return m_modelArn; }
48 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
49 template<typename ModelArnT = Aws::String>
50 void SetModelArn(ModelArnT&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::forward<ModelArnT>(value); }
51 template<typename ModelArnT = Aws::String>
52 CustomModelSummary& WithModelArn(ModelArnT&& value) { SetModelArn(std::forward<ModelArnT>(value)); return *this;}
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) { m_modelNameHasBeenSet = true; m_modelName = std::forward<ModelNameT>(value); }
63 template<typename ModelNameT = Aws::String>
64 CustomModelSummary& WithModelName(ModelNameT&& value) { SetModelName(std::forward<ModelNameT>(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
72 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
73 template<typename CreationTimeT = Aws::Utils::DateTime>
74 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
75 template<typename CreationTimeT = Aws::Utils::DateTime>
76 CustomModelSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
78
80
83 inline const Aws::String& GetBaseModelArn() const { return m_baseModelArn; }
84 inline bool BaseModelArnHasBeenSet() const { return m_baseModelArnHasBeenSet; }
85 template<typename BaseModelArnT = Aws::String>
86 void SetBaseModelArn(BaseModelArnT&& value) { m_baseModelArnHasBeenSet = true; m_baseModelArn = std::forward<BaseModelArnT>(value); }
87 template<typename BaseModelArnT = Aws::String>
88 CustomModelSummary& WithBaseModelArn(BaseModelArnT&& value) { SetBaseModelArn(std::forward<BaseModelArnT>(value)); return *this;}
90
92
95 inline const Aws::String& GetBaseModelName() const { return m_baseModelName; }
96 inline bool BaseModelNameHasBeenSet() const { return m_baseModelNameHasBeenSet; }
97 template<typename BaseModelNameT = Aws::String>
98 void SetBaseModelName(BaseModelNameT&& value) { m_baseModelNameHasBeenSet = true; m_baseModelName = std::forward<BaseModelNameT>(value); }
99 template<typename BaseModelNameT = Aws::String>
100 CustomModelSummary& WithBaseModelName(BaseModelNameT&& value) { SetBaseModelName(std::forward<BaseModelNameT>(value)); return *this;}
102
104
110 inline CustomizationType GetCustomizationType() const { return m_customizationType; }
111 inline bool CustomizationTypeHasBeenSet() const { return m_customizationTypeHasBeenSet; }
112 inline void SetCustomizationType(CustomizationType value) { m_customizationTypeHasBeenSet = true; m_customizationType = value; }
115
117
120 inline const Aws::String& GetOwnerAccountId() const { return m_ownerAccountId; }
121 inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; }
122 template<typename OwnerAccountIdT = Aws::String>
123 void SetOwnerAccountId(OwnerAccountIdT&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::forward<OwnerAccountIdT>(value); }
124 template<typename OwnerAccountIdT = Aws::String>
125 CustomModelSummary& WithOwnerAccountId(OwnerAccountIdT&& value) { SetOwnerAccountId(std::forward<OwnerAccountIdT>(value)); return *this;}
127
129
136 inline ModelStatus GetModelStatus() const { return m_modelStatus; }
137 inline bool ModelStatusHasBeenSet() const { return m_modelStatusHasBeenSet; }
138 inline void SetModelStatus(ModelStatus value) { m_modelStatusHasBeenSet = true; m_modelStatus = value; }
139 inline CustomModelSummary& WithModelStatus(ModelStatus value) { SetModelStatus(value); return *this;}
141 private:
142
143 Aws::String m_modelArn;
144 bool m_modelArnHasBeenSet = false;
145
146 Aws::String m_modelName;
147 bool m_modelNameHasBeenSet = false;
148
149 Aws::Utils::DateTime m_creationTime{};
150 bool m_creationTimeHasBeenSet = false;
151
152 Aws::String m_baseModelArn;
153 bool m_baseModelArnHasBeenSet = false;
154
155 Aws::String m_baseModelName;
156 bool m_baseModelNameHasBeenSet = false;
157
159 bool m_customizationTypeHasBeenSet = false;
160
161 Aws::String m_ownerAccountId;
162 bool m_ownerAccountIdHasBeenSet = false;
163
164 ModelStatus m_modelStatus{ModelStatus::NOT_SET};
165 bool m_modelStatusHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace Bedrock
170} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue