AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInferenceProfileName(const Aws::String& value) { m_inferenceProfileNameHasBeenSet = true; m_inferenceProfileName = value; }
53 inline void SetInferenceProfileName(Aws::String&& value) { m_inferenceProfileNameHasBeenSet = true; m_inferenceProfileName = std::move(value); }
54 inline void SetInferenceProfileName(const char* value) { m_inferenceProfileNameHasBeenSet = true; m_inferenceProfileName.assign(value); }
56 inline InferenceProfileSummary& WithInferenceProfileName(Aws::String&& value) { SetInferenceProfileName(std::move(value)); return *this;}
57 inline InferenceProfileSummary& WithInferenceProfileName(const char* value) { SetInferenceProfileName(value); return *this;}
59
61
64 inline const Aws::String& GetDescription() const{ return m_description; }
65 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
66 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
67 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
68 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
69 inline InferenceProfileSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
70 inline InferenceProfileSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
71 inline InferenceProfileSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
79 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
80 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
81 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
82 inline InferenceProfileSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
83 inline InferenceProfileSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
91 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
92 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
93 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
94 inline InferenceProfileSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
95 inline InferenceProfileSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
97
99
102 inline const Aws::String& GetInferenceProfileArn() const{ return m_inferenceProfileArn; }
103 inline bool InferenceProfileArnHasBeenSet() const { return m_inferenceProfileArnHasBeenSet; }
104 inline void SetInferenceProfileArn(const Aws::String& value) { m_inferenceProfileArnHasBeenSet = true; m_inferenceProfileArn = value; }
105 inline void SetInferenceProfileArn(Aws::String&& value) { m_inferenceProfileArnHasBeenSet = true; m_inferenceProfileArn = std::move(value); }
106 inline void SetInferenceProfileArn(const char* value) { m_inferenceProfileArnHasBeenSet = true; m_inferenceProfileArn.assign(value); }
108 inline InferenceProfileSummary& WithInferenceProfileArn(Aws::String&& value) { SetInferenceProfileArn(std::move(value)); return *this;}
109 inline InferenceProfileSummary& WithInferenceProfileArn(const char* value) { SetInferenceProfileArn(value); return *this;}
111
113
116 inline const Aws::Vector<InferenceProfileModel>& GetModels() const{ return m_models; }
117 inline bool ModelsHasBeenSet() const { return m_modelsHasBeenSet; }
118 inline void SetModels(const Aws::Vector<InferenceProfileModel>& value) { m_modelsHasBeenSet = true; m_models = value; }
119 inline void SetModels(Aws::Vector<InferenceProfileModel>&& value) { m_modelsHasBeenSet = true; m_models = std::move(value); }
121 inline InferenceProfileSummary& WithModels(Aws::Vector<InferenceProfileModel>&& value) { SetModels(std::move(value)); return *this;}
122 inline InferenceProfileSummary& AddModels(const InferenceProfileModel& value) { m_modelsHasBeenSet = true; m_models.push_back(value); return *this; }
123 inline InferenceProfileSummary& AddModels(InferenceProfileModel&& value) { m_modelsHasBeenSet = true; m_models.push_back(std::move(value)); return *this; }
125
127
130 inline const Aws::String& GetInferenceProfileId() const{ return m_inferenceProfileId; }
131 inline bool InferenceProfileIdHasBeenSet() const { return m_inferenceProfileIdHasBeenSet; }
132 inline void SetInferenceProfileId(const Aws::String& value) { m_inferenceProfileIdHasBeenSet = true; m_inferenceProfileId = value; }
133 inline void SetInferenceProfileId(Aws::String&& value) { m_inferenceProfileIdHasBeenSet = true; m_inferenceProfileId = std::move(value); }
134 inline void SetInferenceProfileId(const char* value) { m_inferenceProfileIdHasBeenSet = true; m_inferenceProfileId.assign(value); }
136 inline InferenceProfileSummary& WithInferenceProfileId(Aws::String&& value) { SetInferenceProfileId(std::move(value)); return *this;}
137 inline InferenceProfileSummary& WithInferenceProfileId(const char* value) { SetInferenceProfileId(value); return *this;}
139
141
145 inline const InferenceProfileStatus& GetStatus() const{ return m_status; }
146 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
147 inline void SetStatus(const InferenceProfileStatus& value) { m_statusHasBeenSet = true; m_status = value; }
148 inline void SetStatus(InferenceProfileStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
149 inline InferenceProfileSummary& WithStatus(const InferenceProfileStatus& value) { SetStatus(value); return *this;}
150 inline InferenceProfileSummary& WithStatus(InferenceProfileStatus&& value) { SetStatus(std::move(value)); return *this;}
152
154
163 inline const InferenceProfileType& GetType() const{ return m_type; }
164 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
165 inline void SetType(const InferenceProfileType& value) { m_typeHasBeenSet = true; m_type = value; }
166 inline void SetType(InferenceProfileType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
167 inline InferenceProfileSummary& WithType(const InferenceProfileType& value) { SetType(value); return *this;}
168 inline InferenceProfileSummary& WithType(InferenceProfileType&& value) { SetType(std::move(value)); return *this;}
170 private:
171
172 Aws::String m_inferenceProfileName;
173 bool m_inferenceProfileNameHasBeenSet = false;
174
175 Aws::String m_description;
176 bool m_descriptionHasBeenSet = false;
177
178 Aws::Utils::DateTime m_createdAt;
179 bool m_createdAtHasBeenSet = false;
180
181 Aws::Utils::DateTime m_updatedAt;
182 bool m_updatedAtHasBeenSet = false;
183
184 Aws::String m_inferenceProfileArn;
185 bool m_inferenceProfileArnHasBeenSet = false;
186
188 bool m_modelsHasBeenSet = false;
189
190 Aws::String m_inferenceProfileId;
191 bool m_inferenceProfileIdHasBeenSet = false;
192
193 InferenceProfileStatus m_status;
194 bool m_statusHasBeenSet = false;
195
197 bool m_typeHasBeenSet = false;
198 };
199
200} // namespace Model
201} // namespace Bedrock
202} // namespace Aws
const Aws::Vector< InferenceProfileModel > & GetModels() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
InferenceProfileSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
InferenceProfileSummary & WithInferenceProfileId(const Aws::String &value)
InferenceProfileSummary & WithStatus(const InferenceProfileStatus &value)
const Aws::Utils::DateTime & GetCreatedAt() const
InferenceProfileSummary & AddModels(InferenceProfileModel &&value)
void SetType(const InferenceProfileType &value)
InferenceProfileSummary & WithModels(const Aws::Vector< InferenceProfileModel > &value)
InferenceProfileSummary & WithDescription(const char *value)
const Aws::Utils::DateTime & GetUpdatedAt() const
InferenceProfileSummary & WithInferenceProfileArn(Aws::String &&value)
void SetStatus(InferenceProfileStatus &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceProfileSummary & WithInferenceProfileId(Aws::String &&value)
InferenceProfileSummary & WithInferenceProfileName(const char *value)
InferenceProfileSummary & AddModels(const InferenceProfileModel &value)
const InferenceProfileType & GetType() const
InferenceProfileSummary & WithInferenceProfileName(Aws::String &&value)
InferenceProfileSummary & WithInferenceProfileArn(const Aws::String &value)
InferenceProfileSummary & WithType(InferenceProfileType &&value)
const InferenceProfileStatus & GetStatus() const
InferenceProfileSummary & WithType(const InferenceProfileType &value)
InferenceProfileSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
InferenceProfileSummary & WithInferenceProfileId(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
InferenceProfileSummary & WithInferenceProfileArn(const char *value)
AWS_BEDROCK_API InferenceProfileSummary(Aws::Utils::Json::JsonView jsonValue)
void SetModels(Aws::Vector< InferenceProfileModel > &&value)
InferenceProfileSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_BEDROCK_API InferenceProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInferenceProfileName(const Aws::String &value)
InferenceProfileSummary & WithInferenceProfileName(const Aws::String &value)
InferenceProfileSummary & WithDescription(const Aws::String &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
InferenceProfileSummary & WithStatus(InferenceProfileStatus &&value)
InferenceProfileSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetStatus(const InferenceProfileStatus &value)
InferenceProfileSummary & WithDescription(Aws::String &&value)
InferenceProfileSummary & WithModels(Aws::Vector< InferenceProfileModel > &&value)
void SetModels(const Aws::Vector< InferenceProfileModel > &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