AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetInferenceProfileResult.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{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Bedrock
29{
30namespace Model
31{
33 {
34 public:
35 AWS_BEDROCK_API GetInferenceProfileResult();
38
39
41
44 inline const Aws::String& GetInferenceProfileName() const{ return m_inferenceProfileName; }
45 inline void SetInferenceProfileName(const Aws::String& value) { m_inferenceProfileName = value; }
46 inline void SetInferenceProfileName(Aws::String&& value) { m_inferenceProfileName = std::move(value); }
47 inline void SetInferenceProfileName(const char* value) { m_inferenceProfileName.assign(value); }
50 inline GetInferenceProfileResult& WithInferenceProfileName(const char* value) { SetInferenceProfileName(value); return *this;}
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline void SetDescription(const Aws::String& value) { m_description = value; }
59 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
60 inline void SetDescription(const char* value) { m_description.assign(value); }
61 inline GetInferenceProfileResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
62 inline GetInferenceProfileResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
63 inline GetInferenceProfileResult& WithDescription(const char* value) { SetDescription(value); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
71 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
72 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
73 inline GetInferenceProfileResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
74 inline GetInferenceProfileResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
82 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
83 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
84 inline GetInferenceProfileResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
85 inline GetInferenceProfileResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
87
89
92 inline const Aws::String& GetInferenceProfileArn() const{ return m_inferenceProfileArn; }
93 inline void SetInferenceProfileArn(const Aws::String& value) { m_inferenceProfileArn = value; }
94 inline void SetInferenceProfileArn(Aws::String&& value) { m_inferenceProfileArn = std::move(value); }
95 inline void SetInferenceProfileArn(const char* value) { m_inferenceProfileArn.assign(value); }
97 inline GetInferenceProfileResult& WithInferenceProfileArn(Aws::String&& value) { SetInferenceProfileArn(std::move(value)); return *this;}
98 inline GetInferenceProfileResult& WithInferenceProfileArn(const char* value) { SetInferenceProfileArn(value); return *this;}
100
102
105 inline const Aws::Vector<InferenceProfileModel>& GetModels() const{ return m_models; }
106 inline void SetModels(const Aws::Vector<InferenceProfileModel>& value) { m_models = value; }
107 inline void SetModels(Aws::Vector<InferenceProfileModel>&& value) { m_models = std::move(value); }
109 inline GetInferenceProfileResult& WithModels(Aws::Vector<InferenceProfileModel>&& value) { SetModels(std::move(value)); return *this;}
110 inline GetInferenceProfileResult& AddModels(const InferenceProfileModel& value) { m_models.push_back(value); return *this; }
111 inline GetInferenceProfileResult& AddModels(InferenceProfileModel&& value) { m_models.push_back(std::move(value)); return *this; }
113
115
118 inline const Aws::String& GetInferenceProfileId() const{ return m_inferenceProfileId; }
119 inline void SetInferenceProfileId(const Aws::String& value) { m_inferenceProfileId = value; }
120 inline void SetInferenceProfileId(Aws::String&& value) { m_inferenceProfileId = std::move(value); }
121 inline void SetInferenceProfileId(const char* value) { m_inferenceProfileId.assign(value); }
123 inline GetInferenceProfileResult& WithInferenceProfileId(Aws::String&& value) { SetInferenceProfileId(std::move(value)); return *this;}
124 inline GetInferenceProfileResult& WithInferenceProfileId(const char* value) { SetInferenceProfileId(value); return *this;}
126
128
132 inline const InferenceProfileStatus& GetStatus() const{ return m_status; }
133 inline void SetStatus(const InferenceProfileStatus& value) { m_status = value; }
134 inline void SetStatus(InferenceProfileStatus&& value) { m_status = std::move(value); }
135 inline GetInferenceProfileResult& WithStatus(const InferenceProfileStatus& value) { SetStatus(value); return *this;}
136 inline GetInferenceProfileResult& WithStatus(InferenceProfileStatus&& value) { SetStatus(std::move(value)); return *this;}
138
140
149 inline const InferenceProfileType& GetType() const{ return m_type; }
150 inline void SetType(const InferenceProfileType& value) { m_type = value; }
151 inline void SetType(InferenceProfileType&& value) { m_type = std::move(value); }
152 inline GetInferenceProfileResult& WithType(const InferenceProfileType& value) { SetType(value); return *this;}
153 inline GetInferenceProfileResult& WithType(InferenceProfileType&& value) { SetType(std::move(value)); return *this;}
155
157
158 inline const Aws::String& GetRequestId() const{ return m_requestId; }
159 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
160 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
161 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
162 inline GetInferenceProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
163 inline GetInferenceProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
164 inline GetInferenceProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
166 private:
167
168 Aws::String m_inferenceProfileName;
169
170 Aws::String m_description;
171
172 Aws::Utils::DateTime m_createdAt;
173
174 Aws::Utils::DateTime m_updatedAt;
175
176 Aws::String m_inferenceProfileArn;
177
179
180 Aws::String m_inferenceProfileId;
181
182 InferenceProfileStatus m_status;
183
185
186 Aws::String m_requestId;
187 };
188
189} // namespace Model
190} // namespace Bedrock
191} // namespace Aws
GetInferenceProfileResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetInferenceProfileResult & WithInferenceProfileName(const Aws::String &value)
GetInferenceProfileResult & WithType(const InferenceProfileType &value)
GetInferenceProfileResult & WithRequestId(const Aws::String &value)
void SetModels(Aws::Vector< InferenceProfileModel > &&value)
GetInferenceProfileResult & WithDescription(Aws::String &&value)
GetInferenceProfileResult & WithModels(Aws::Vector< InferenceProfileModel > &&value)
GetInferenceProfileResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
GetInferenceProfileResult & WithInferenceProfileArn(const Aws::String &value)
GetInferenceProfileResult & WithCreatedAt(Aws::Utils::DateTime &&value)
const InferenceProfileStatus & GetStatus() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_BEDROCK_API GetInferenceProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCK_API GetInferenceProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInferenceProfileResult & WithInferenceProfileName(const char *value)
GetInferenceProfileResult & WithStatus(InferenceProfileStatus &&value)
void SetStatus(const InferenceProfileStatus &value)
void SetModels(const Aws::Vector< InferenceProfileModel > &value)
GetInferenceProfileResult & WithInferenceProfileArn(const char *value)
const Aws::Vector< InferenceProfileModel > & GetModels() const
GetInferenceProfileResult & WithDescription(const char *value)
GetInferenceProfileResult & WithInferenceProfileArn(Aws::String &&value)
void SetType(const InferenceProfileType &value)
GetInferenceProfileResult & WithInferenceProfileId(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetInferenceProfileResult & AddModels(const InferenceProfileModel &value)
GetInferenceProfileResult & WithRequestId(Aws::String &&value)
GetInferenceProfileResult & WithModels(const Aws::Vector< InferenceProfileModel > &value)
GetInferenceProfileResult & WithRequestId(const char *value)
GetInferenceProfileResult & WithStatus(const InferenceProfileStatus &value)
GetInferenceProfileResult & WithInferenceProfileId(const Aws::String &value)
GetInferenceProfileResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetInferenceProfileResult & WithInferenceProfileName(Aws::String &&value)
GetInferenceProfileResult & WithDescription(const Aws::String &value)
GetInferenceProfileResult & WithType(InferenceProfileType &&value)
GetInferenceProfileResult & WithInferenceProfileId(Aws::String &&value)
GetInferenceProfileResult & AddModels(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