AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
InferenceProfileSummary.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/bedrock/model/InferenceProfileStatus.h>
12#include <aws/bedrock/model/InferenceProfileType.h>
13#include <aws/bedrock/model/InferenceProfileModel.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
38 {
39 public:
40 AWS_BEDROCK_API InferenceProfileSummary() = default;
43 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetInferenceProfileName() const { return m_inferenceProfileName; }
51 inline bool InferenceProfileNameHasBeenSet() const { return m_inferenceProfileNameHasBeenSet; }
52 template<typename InferenceProfileNameT = Aws::String>
53 void SetInferenceProfileName(InferenceProfileNameT&& value) { m_inferenceProfileNameHasBeenSet = true; m_inferenceProfileName = std::forward<InferenceProfileNameT>(value); }
54 template<typename InferenceProfileNameT = Aws::String>
55 InferenceProfileSummary& WithInferenceProfileName(InferenceProfileNameT&& value) { SetInferenceProfileName(std::forward<InferenceProfileNameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetDescription() const { return m_description; }
63 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
64 template<typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
66 template<typename DescriptionT = Aws::String>
67 InferenceProfileSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
75 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
76 template<typename CreatedAtT = Aws::Utils::DateTime>
77 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
78 template<typename CreatedAtT = Aws::Utils::DateTime>
79 InferenceProfileSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
87 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
88 template<typename UpdatedAtT = Aws::Utils::DateTime>
89 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
90 template<typename UpdatedAtT = Aws::Utils::DateTime>
91 InferenceProfileSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
93
95
98 inline const Aws::String& GetInferenceProfileArn() const { return m_inferenceProfileArn; }
99 inline bool InferenceProfileArnHasBeenSet() const { return m_inferenceProfileArnHasBeenSet; }
100 template<typename InferenceProfileArnT = Aws::String>
101 void SetInferenceProfileArn(InferenceProfileArnT&& value) { m_inferenceProfileArnHasBeenSet = true; m_inferenceProfileArn = std::forward<InferenceProfileArnT>(value); }
102 template<typename InferenceProfileArnT = Aws::String>
103 InferenceProfileSummary& WithInferenceProfileArn(InferenceProfileArnT&& value) { SetInferenceProfileArn(std::forward<InferenceProfileArnT>(value)); return *this;}
105
107
110 inline const Aws::Vector<InferenceProfileModel>& GetModels() const { return m_models; }
111 inline bool ModelsHasBeenSet() const { return m_modelsHasBeenSet; }
112 template<typename ModelsT = Aws::Vector<InferenceProfileModel>>
113 void SetModels(ModelsT&& value) { m_modelsHasBeenSet = true; m_models = std::forward<ModelsT>(value); }
114 template<typename ModelsT = Aws::Vector<InferenceProfileModel>>
115 InferenceProfileSummary& WithModels(ModelsT&& value) { SetModels(std::forward<ModelsT>(value)); return *this;}
116 template<typename ModelsT = InferenceProfileModel>
117 InferenceProfileSummary& AddModels(ModelsT&& value) { m_modelsHasBeenSet = true; m_models.emplace_back(std::forward<ModelsT>(value)); return *this; }
119
121
124 inline const Aws::String& GetInferenceProfileId() const { return m_inferenceProfileId; }
125 inline bool InferenceProfileIdHasBeenSet() const { return m_inferenceProfileIdHasBeenSet; }
126 template<typename InferenceProfileIdT = Aws::String>
127 void SetInferenceProfileId(InferenceProfileIdT&& value) { m_inferenceProfileIdHasBeenSet = true; m_inferenceProfileId = std::forward<InferenceProfileIdT>(value); }
128 template<typename InferenceProfileIdT = Aws::String>
129 InferenceProfileSummary& WithInferenceProfileId(InferenceProfileIdT&& value) { SetInferenceProfileId(std::forward<InferenceProfileIdT>(value)); return *this;}
131
133
137 inline InferenceProfileStatus GetStatus() const { return m_status; }
138 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
139 inline void SetStatus(InferenceProfileStatus value) { m_statusHasBeenSet = true; m_status = value; }
142
144
153 inline InferenceProfileType GetType() const { return m_type; }
154 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
155 inline void SetType(InferenceProfileType value) { m_typeHasBeenSet = true; m_type = value; }
156 inline InferenceProfileSummary& WithType(InferenceProfileType value) { SetType(value); return *this;}
158 private:
159
160 Aws::String m_inferenceProfileName;
161 bool m_inferenceProfileNameHasBeenSet = false;
162
163 Aws::String m_description;
164 bool m_descriptionHasBeenSet = false;
165
166 Aws::Utils::DateTime m_createdAt{};
167 bool m_createdAtHasBeenSet = false;
168
169 Aws::Utils::DateTime m_updatedAt{};
170 bool m_updatedAtHasBeenSet = false;
171
172 Aws::String m_inferenceProfileArn;
173 bool m_inferenceProfileArnHasBeenSet = false;
174
176 bool m_modelsHasBeenSet = false;
177
178 Aws::String m_inferenceProfileId;
179 bool m_inferenceProfileIdHasBeenSet = false;
180
182 bool m_statusHasBeenSet = false;
183
185 bool m_typeHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace Bedrock
190} // namespace Aws
const Aws::Vector< InferenceProfileModel > & GetModels() const
InferenceProfileSummary & WithCreatedAt(CreatedAtT &&value)
InferenceProfileSummary & WithDescription(DescriptionT &&value)
InferenceProfileSummary & WithStatus(InferenceProfileStatus value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetInferenceProfileName(InferenceProfileNameT &&value)
AWS_BEDROCK_API InferenceProfileSummary()=default
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceProfileSummary & AddModels(ModelsT &&value)
InferenceProfileSummary & WithInferenceProfileId(InferenceProfileIdT &&value)
void SetInferenceProfileId(InferenceProfileIdT &&value)
AWS_BEDROCK_API InferenceProfileSummary(Aws::Utils::Json::JsonView jsonValue)
InferenceProfileSummary & WithModels(ModelsT &&value)
InferenceProfileSummary & WithInferenceProfileName(InferenceProfileNameT &&value)
AWS_BEDROCK_API InferenceProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
InferenceProfileSummary & WithUpdatedAt(UpdatedAtT &&value)
InferenceProfileSummary & WithType(InferenceProfileType value)
InferenceProfileSummary & WithInferenceProfileArn(InferenceProfileArnT &&value)
void SetInferenceProfileArn(InferenceProfileArnT &&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