AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetProvisionedModelThroughputResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/ProvisionedModelStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/bedrock/model/CommitmentDuration.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Bedrock
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline int GetModelUnits() const{ return m_modelUnits; }
43 inline void SetModelUnits(int value) { m_modelUnits = value; }
44 inline GetProvisionedModelThroughputResult& WithModelUnits(int value) { SetModelUnits(value); return *this;}
46
48
52 inline int GetDesiredModelUnits() const{ return m_desiredModelUnits; }
53 inline void SetDesiredModelUnits(int value) { m_desiredModelUnits = value; }
56
58
61 inline const Aws::String& GetProvisionedModelName() const{ return m_provisionedModelName; }
62 inline void SetProvisionedModelName(const Aws::String& value) { m_provisionedModelName = value; }
63 inline void SetProvisionedModelName(Aws::String&& value) { m_provisionedModelName = std::move(value); }
64 inline void SetProvisionedModelName(const char* value) { m_provisionedModelName.assign(value); }
69
71
74 inline const Aws::String& GetProvisionedModelArn() const{ return m_provisionedModelArn; }
75 inline void SetProvisionedModelArn(const Aws::String& value) { m_provisionedModelArn = value; }
76 inline void SetProvisionedModelArn(Aws::String&& value) { m_provisionedModelArn = std::move(value); }
77 inline void SetProvisionedModelArn(const char* value) { m_provisionedModelArn.assign(value); }
82
84
88 inline const Aws::String& GetModelArn() const{ return m_modelArn; }
89 inline void SetModelArn(const Aws::String& value) { m_modelArn = value; }
90 inline void SetModelArn(Aws::String&& value) { m_modelArn = std::move(value); }
91 inline void SetModelArn(const char* value) { m_modelArn.assign(value); }
92 inline GetProvisionedModelThroughputResult& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
93 inline GetProvisionedModelThroughputResult& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
94 inline GetProvisionedModelThroughputResult& WithModelArn(const char* value) { SetModelArn(value); return *this;}
96
98
103 inline const Aws::String& GetDesiredModelArn() const{ return m_desiredModelArn; }
104 inline void SetDesiredModelArn(const Aws::String& value) { m_desiredModelArn = value; }
105 inline void SetDesiredModelArn(Aws::String&& value) { m_desiredModelArn = std::move(value); }
106 inline void SetDesiredModelArn(const char* value) { m_desiredModelArn.assign(value); }
109 inline GetProvisionedModelThroughputResult& WithDesiredModelArn(const char* value) { SetDesiredModelArn(value); return *this;}
111
113
118 inline const Aws::String& GetFoundationModelArn() const{ return m_foundationModelArn; }
119 inline void SetFoundationModelArn(const Aws::String& value) { m_foundationModelArn = value; }
120 inline void SetFoundationModelArn(Aws::String&& value) { m_foundationModelArn = std::move(value); }
121 inline void SetFoundationModelArn(const char* value) { m_foundationModelArn.assign(value); }
124 inline GetProvisionedModelThroughputResult& WithFoundationModelArn(const char* value) { SetFoundationModelArn(value); return *this;}
126
128
131 inline const ProvisionedModelStatus& GetStatus() const{ return m_status; }
132 inline void SetStatus(const ProvisionedModelStatus& value) { m_status = value; }
133 inline void SetStatus(ProvisionedModelStatus&& value) { m_status = std::move(value); }
135 inline GetProvisionedModelThroughputResult& WithStatus(ProvisionedModelStatus&& value) { SetStatus(std::move(value)); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
143 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
144 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
148
150
154 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
155 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
156 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
160
162
166 inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; }
167 inline void SetFailureMessage(const Aws::String& value) { m_failureMessage = value; }
168 inline void SetFailureMessage(Aws::String&& value) { m_failureMessage = std::move(value); }
169 inline void SetFailureMessage(const char* value) { m_failureMessage.assign(value); }
171 inline GetProvisionedModelThroughputResult& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;}
172 inline GetProvisionedModelThroughputResult& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;}
174
176
179 inline const CommitmentDuration& GetCommitmentDuration() const{ return m_commitmentDuration; }
180 inline void SetCommitmentDuration(const CommitmentDuration& value) { m_commitmentDuration = value; }
181 inline void SetCommitmentDuration(CommitmentDuration&& value) { m_commitmentDuration = std::move(value); }
185
187
191 inline const Aws::Utils::DateTime& GetCommitmentExpirationTime() const{ return m_commitmentExpirationTime; }
192 inline void SetCommitmentExpirationTime(const Aws::Utils::DateTime& value) { m_commitmentExpirationTime = value; }
193 inline void SetCommitmentExpirationTime(Aws::Utils::DateTime&& value) { m_commitmentExpirationTime = std::move(value); }
197
199
200 inline const Aws::String& GetRequestId() const{ return m_requestId; }
201 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
202 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
203 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
204 inline GetProvisionedModelThroughputResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
205 inline GetProvisionedModelThroughputResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
206 inline GetProvisionedModelThroughputResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
208 private:
209
210 int m_modelUnits;
211
212 int m_desiredModelUnits;
213
214 Aws::String m_provisionedModelName;
215
216 Aws::String m_provisionedModelArn;
217
218 Aws::String m_modelArn;
219
220 Aws::String m_desiredModelArn;
221
222 Aws::String m_foundationModelArn;
223
224 ProvisionedModelStatus m_status;
225
226 Aws::Utils::DateTime m_creationTime;
227
228 Aws::Utils::DateTime m_lastModifiedTime;
229
230 Aws::String m_failureMessage;
231
232 CommitmentDuration m_commitmentDuration;
233
234 Aws::Utils::DateTime m_commitmentExpirationTime;
235
236 Aws::String m_requestId;
237 };
238
239} // namespace Model
240} // namespace Bedrock
241} // namespace Aws
GetProvisionedModelThroughputResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
GetProvisionedModelThroughputResult & WithCreationTime(const Aws::Utils::DateTime &value)
GetProvisionedModelThroughputResult & WithProvisionedModelName(Aws::String &&value)
GetProvisionedModelThroughputResult & WithFailureMessage(const char *value)
GetProvisionedModelThroughputResult & WithDesiredModelArn(Aws::String &&value)
GetProvisionedModelThroughputResult & WithProvisionedModelArn(const Aws::String &value)
GetProvisionedModelThroughputResult & WithModelArn(const Aws::String &value)
GetProvisionedModelThroughputResult & WithCreationTime(Aws::Utils::DateTime &&value)
GetProvisionedModelThroughputResult & WithRequestId(const char *value)
GetProvisionedModelThroughputResult & WithRequestId(Aws::String &&value)
GetProvisionedModelThroughputResult & WithFailureMessage(const Aws::String &value)
GetProvisionedModelThroughputResult & WithProvisionedModelName(const Aws::String &value)
GetProvisionedModelThroughputResult & WithFailureMessage(Aws::String &&value)
GetProvisionedModelThroughputResult & WithCommitmentExpirationTime(Aws::Utils::DateTime &&value)
GetProvisionedModelThroughputResult & WithStatus(ProvisionedModelStatus &&value)
AWS_BEDROCK_API GetProvisionedModelThroughputResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetProvisionedModelThroughputResult & WithModelArn(const char *value)
GetProvisionedModelThroughputResult & WithDesiredModelUnits(int value)
GetProvisionedModelThroughputResult & WithDesiredModelArn(const char *value)
GetProvisionedModelThroughputResult & WithFoundationModelArn(Aws::String &&value)
GetProvisionedModelThroughputResult & WithDesiredModelArn(const Aws::String &value)
GetProvisionedModelThroughputResult & WithCommitmentDuration(const CommitmentDuration &value)
GetProvisionedModelThroughputResult & WithRequestId(const Aws::String &value)
GetProvisionedModelThroughputResult & WithProvisionedModelArn(Aws::String &&value)
GetProvisionedModelThroughputResult & WithFoundationModelArn(const char *value)
GetProvisionedModelThroughputResult & WithCommitmentDuration(CommitmentDuration &&value)
GetProvisionedModelThroughputResult & WithModelArn(Aws::String &&value)
GetProvisionedModelThroughputResult & WithProvisionedModelArn(const char *value)
GetProvisionedModelThroughputResult & WithStatus(const ProvisionedModelStatus &value)
GetProvisionedModelThroughputResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
GetProvisionedModelThroughputResult & WithCommitmentExpirationTime(const Aws::Utils::DateTime &value)
GetProvisionedModelThroughputResult & WithProvisionedModelName(const char *value)
AWS_BEDROCK_API GetProvisionedModelThroughputResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetProvisionedModelThroughputResult & WithFoundationModelArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue