AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FoundationModelSummary.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/memory/stl/AWSVector.h>
10#include <aws/bedrock/model/FoundationModelLifecycle.h>
11#include <aws/bedrock/model/ModelModality.h>
12#include <aws/bedrock/model/ModelCustomization.h>
13#include <aws/bedrock/model/InferenceType.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Bedrock
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_BEDROCK_API FoundationModelSummary();
42 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetModelArn() const{ return m_modelArn; }
50 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
51 inline void SetModelArn(const Aws::String& value) { m_modelArnHasBeenSet = true; m_modelArn = value; }
52 inline void SetModelArn(Aws::String&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::move(value); }
53 inline void SetModelArn(const char* value) { m_modelArnHasBeenSet = true; m_modelArn.assign(value); }
54 inline FoundationModelSummary& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
55 inline FoundationModelSummary& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
56 inline FoundationModelSummary& WithModelArn(const char* value) { SetModelArn(value); return *this;}
58
60
63 inline const Aws::String& GetModelId() const{ return m_modelId; }
64 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
65 inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
66 inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
67 inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
68 inline FoundationModelSummary& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
69 inline FoundationModelSummary& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
70 inline FoundationModelSummary& WithModelId(const char* value) { SetModelId(value); return *this;}
72
74
77 inline const Aws::String& GetModelName() const{ return m_modelName; }
78 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
79 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
80 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
81 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
82 inline FoundationModelSummary& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
83 inline FoundationModelSummary& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
84 inline FoundationModelSummary& WithModelName(const char* value) { SetModelName(value); return *this;}
86
88
91 inline const Aws::String& GetProviderName() const{ return m_providerName; }
92 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
93 inline void SetProviderName(const Aws::String& value) { m_providerNameHasBeenSet = true; m_providerName = value; }
94 inline void SetProviderName(Aws::String&& value) { m_providerNameHasBeenSet = true; m_providerName = std::move(value); }
95 inline void SetProviderName(const char* value) { m_providerNameHasBeenSet = true; m_providerName.assign(value); }
96 inline FoundationModelSummary& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
97 inline FoundationModelSummary& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
98 inline FoundationModelSummary& WithProviderName(const char* value) { SetProviderName(value); return *this;}
100
102
105 inline const Aws::Vector<ModelModality>& GetInputModalities() const{ return m_inputModalities; }
106 inline bool InputModalitiesHasBeenSet() const { return m_inputModalitiesHasBeenSet; }
107 inline void SetInputModalities(const Aws::Vector<ModelModality>& value) { m_inputModalitiesHasBeenSet = true; m_inputModalities = value; }
108 inline void SetInputModalities(Aws::Vector<ModelModality>&& value) { m_inputModalitiesHasBeenSet = true; m_inputModalities = std::move(value); }
111 inline FoundationModelSummary& AddInputModalities(const ModelModality& value) { m_inputModalitiesHasBeenSet = true; m_inputModalities.push_back(value); return *this; }
112 inline FoundationModelSummary& AddInputModalities(ModelModality&& value) { m_inputModalitiesHasBeenSet = true; m_inputModalities.push_back(std::move(value)); return *this; }
114
116
119 inline const Aws::Vector<ModelModality>& GetOutputModalities() const{ return m_outputModalities; }
120 inline bool OutputModalitiesHasBeenSet() const { return m_outputModalitiesHasBeenSet; }
121 inline void SetOutputModalities(const Aws::Vector<ModelModality>& value) { m_outputModalitiesHasBeenSet = true; m_outputModalities = value; }
122 inline void SetOutputModalities(Aws::Vector<ModelModality>&& value) { m_outputModalitiesHasBeenSet = true; m_outputModalities = std::move(value); }
125 inline FoundationModelSummary& AddOutputModalities(const ModelModality& value) { m_outputModalitiesHasBeenSet = true; m_outputModalities.push_back(value); return *this; }
126 inline FoundationModelSummary& AddOutputModalities(ModelModality&& value) { m_outputModalitiesHasBeenSet = true; m_outputModalities.push_back(std::move(value)); return *this; }
128
130
133 inline bool GetResponseStreamingSupported() const{ return m_responseStreamingSupported; }
134 inline bool ResponseStreamingSupportedHasBeenSet() const { return m_responseStreamingSupportedHasBeenSet; }
135 inline void SetResponseStreamingSupported(bool value) { m_responseStreamingSupportedHasBeenSet = true; m_responseStreamingSupported = value; }
138
140
143 inline const Aws::Vector<ModelCustomization>& GetCustomizationsSupported() const{ return m_customizationsSupported; }
144 inline bool CustomizationsSupportedHasBeenSet() const { return m_customizationsSupportedHasBeenSet; }
145 inline void SetCustomizationsSupported(const Aws::Vector<ModelCustomization>& value) { m_customizationsSupportedHasBeenSet = true; m_customizationsSupported = value; }
146 inline void SetCustomizationsSupported(Aws::Vector<ModelCustomization>&& value) { m_customizationsSupportedHasBeenSet = true; m_customizationsSupported = std::move(value); }
149 inline FoundationModelSummary& AddCustomizationsSupported(const ModelCustomization& value) { m_customizationsSupportedHasBeenSet = true; m_customizationsSupported.push_back(value); return *this; }
150 inline FoundationModelSummary& AddCustomizationsSupported(ModelCustomization&& value) { m_customizationsSupportedHasBeenSet = true; m_customizationsSupported.push_back(std::move(value)); return *this; }
152
154
157 inline const Aws::Vector<InferenceType>& GetInferenceTypesSupported() const{ return m_inferenceTypesSupported; }
158 inline bool InferenceTypesSupportedHasBeenSet() const { return m_inferenceTypesSupportedHasBeenSet; }
159 inline void SetInferenceTypesSupported(const Aws::Vector<InferenceType>& value) { m_inferenceTypesSupportedHasBeenSet = true; m_inferenceTypesSupported = value; }
160 inline void SetInferenceTypesSupported(Aws::Vector<InferenceType>&& value) { m_inferenceTypesSupportedHasBeenSet = true; m_inferenceTypesSupported = std::move(value); }
163 inline FoundationModelSummary& AddInferenceTypesSupported(const InferenceType& value) { m_inferenceTypesSupportedHasBeenSet = true; m_inferenceTypesSupported.push_back(value); return *this; }
164 inline FoundationModelSummary& AddInferenceTypesSupported(InferenceType&& value) { m_inferenceTypesSupportedHasBeenSet = true; m_inferenceTypesSupported.push_back(std::move(value)); return *this; }
166
168
172 inline const FoundationModelLifecycle& GetModelLifecycle() const{ return m_modelLifecycle; }
173 inline bool ModelLifecycleHasBeenSet() const { return m_modelLifecycleHasBeenSet; }
174 inline void SetModelLifecycle(const FoundationModelLifecycle& value) { m_modelLifecycleHasBeenSet = true; m_modelLifecycle = value; }
175 inline void SetModelLifecycle(FoundationModelLifecycle&& value) { m_modelLifecycleHasBeenSet = true; m_modelLifecycle = std::move(value); }
177 inline FoundationModelSummary& WithModelLifecycle(FoundationModelLifecycle&& value) { SetModelLifecycle(std::move(value)); return *this;}
179 private:
180
181 Aws::String m_modelArn;
182 bool m_modelArnHasBeenSet = false;
183
184 Aws::String m_modelId;
185 bool m_modelIdHasBeenSet = false;
186
187 Aws::String m_modelName;
188 bool m_modelNameHasBeenSet = false;
189
190 Aws::String m_providerName;
191 bool m_providerNameHasBeenSet = false;
192
193 Aws::Vector<ModelModality> m_inputModalities;
194 bool m_inputModalitiesHasBeenSet = false;
195
196 Aws::Vector<ModelModality> m_outputModalities;
197 bool m_outputModalitiesHasBeenSet = false;
198
199 bool m_responseStreamingSupported;
200 bool m_responseStreamingSupportedHasBeenSet = false;
201
202 Aws::Vector<ModelCustomization> m_customizationsSupported;
203 bool m_customizationsSupportedHasBeenSet = false;
204
205 Aws::Vector<InferenceType> m_inferenceTypesSupported;
206 bool m_inferenceTypesSupportedHasBeenSet = false;
207
208 FoundationModelLifecycle m_modelLifecycle;
209 bool m_modelLifecycleHasBeenSet = false;
210 };
211
212} // namespace Model
213} // namespace Bedrock
214} // namespace Aws
FoundationModelSummary & WithInferenceTypesSupported(Aws::Vector< InferenceType > &&value)
AWS_BEDROCK_API FoundationModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
FoundationModelSummary & WithCustomizationsSupported(const Aws::Vector< ModelCustomization > &value)
FoundationModelSummary & WithOutputModalities(Aws::Vector< ModelModality > &&value)
FoundationModelSummary & WithInputModalities(const Aws::Vector< ModelModality > &value)
FoundationModelSummary & WithModelName(const char *value)
FoundationModelSummary & WithOutputModalities(const Aws::Vector< ModelModality > &value)
AWS_BEDROCK_API FoundationModelSummary(Aws::Utils::Json::JsonView jsonValue)
FoundationModelSummary & AddInputModalities(const ModelModality &value)
FoundationModelSummary & WithModelLifecycle(const FoundationModelLifecycle &value)
FoundationModelSummary & WithProviderName(Aws::String &&value)
FoundationModelSummary & WithCustomizationsSupported(Aws::Vector< ModelCustomization > &&value)
FoundationModelSummary & AddOutputModalities(ModelModality &&value)
FoundationModelSummary & AddCustomizationsSupported(const ModelCustomization &value)
FoundationModelSummary & WithModelLifecycle(FoundationModelLifecycle &&value)
FoundationModelSummary & WithModelId(const char *value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
FoundationModelSummary & WithModelId(const Aws::String &value)
FoundationModelSummary & WithProviderName(const Aws::String &value)
FoundationModelSummary & WithInputModalities(Aws::Vector< ModelModality > &&value)
void SetInferenceTypesSupported(Aws::Vector< InferenceType > &&value)
FoundationModelSummary & AddInputModalities(ModelModality &&value)
FoundationModelSummary & WithModelId(Aws::String &&value)
FoundationModelSummary & AddCustomizationsSupported(ModelCustomization &&value)
FoundationModelSummary & WithResponseStreamingSupported(bool value)
const Aws::Vector< InferenceType > & GetInferenceTypesSupported() const
const FoundationModelLifecycle & GetModelLifecycle() const
FoundationModelSummary & AddInferenceTypesSupported(const InferenceType &value)
void SetInputModalities(const Aws::Vector< ModelModality > &value)
FoundationModelSummary & WithModelName(const Aws::String &value)
FoundationModelSummary & WithModelArn(const char *value)
void SetOutputModalities(Aws::Vector< ModelModality > &&value)
FoundationModelSummary & WithInferenceTypesSupported(const Aws::Vector< InferenceType > &value)
void SetModelLifecycle(FoundationModelLifecycle &&value)
const Aws::Vector< ModelModality > & GetInputModalities() const
FoundationModelSummary & WithModelArn(const Aws::String &value)
void SetInputModalities(Aws::Vector< ModelModality > &&value)
void SetOutputModalities(const Aws::Vector< ModelModality > &value)
void SetInferenceTypesSupported(const Aws::Vector< InferenceType > &value)
FoundationModelSummary & AddOutputModalities(const ModelModality &value)
void SetCustomizationsSupported(const Aws::Vector< ModelCustomization > &value)
void SetCustomizationsSupported(Aws::Vector< ModelCustomization > &&value)
FoundationModelSummary & AddInferenceTypesSupported(InferenceType &&value)
FoundationModelSummary & WithModelArn(Aws::String &&value)
const Aws::Vector< ModelModality > & GetOutputModalities() const
const Aws::Vector< ModelCustomization > & GetCustomizationsSupported() const
FoundationModelSummary & WithModelName(Aws::String &&value)
void SetModelLifecycle(const FoundationModelLifecycle &value)
FoundationModelSummary & WithProviderName(const char *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