AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvisionedModelSummary.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/bedrock/model/CommitmentDuration.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Bedrock
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_BEDROCK_API ProvisionedModelSummary();
43 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetProvisionedModelName() const{ return m_provisionedModelName; }
51 inline bool ProvisionedModelNameHasBeenSet() const { return m_provisionedModelNameHasBeenSet; }
52 inline void SetProvisionedModelName(const Aws::String& value) { m_provisionedModelNameHasBeenSet = true; m_provisionedModelName = value; }
53 inline void SetProvisionedModelName(Aws::String&& value) { m_provisionedModelNameHasBeenSet = true; m_provisionedModelName = std::move(value); }
54 inline void SetProvisionedModelName(const char* value) { m_provisionedModelNameHasBeenSet = true; m_provisionedModelName.assign(value); }
56 inline ProvisionedModelSummary& WithProvisionedModelName(Aws::String&& value) { SetProvisionedModelName(std::move(value)); return *this;}
57 inline ProvisionedModelSummary& WithProvisionedModelName(const char* value) { SetProvisionedModelName(value); return *this;}
59
61
64 inline const Aws::String& GetProvisionedModelArn() const{ return m_provisionedModelArn; }
65 inline bool ProvisionedModelArnHasBeenSet() const { return m_provisionedModelArnHasBeenSet; }
66 inline void SetProvisionedModelArn(const Aws::String& value) { m_provisionedModelArnHasBeenSet = true; m_provisionedModelArn = value; }
67 inline void SetProvisionedModelArn(Aws::String&& value) { m_provisionedModelArnHasBeenSet = true; m_provisionedModelArn = std::move(value); }
68 inline void SetProvisionedModelArn(const char* value) { m_provisionedModelArnHasBeenSet = true; m_provisionedModelArn.assign(value); }
70 inline ProvisionedModelSummary& WithProvisionedModelArn(Aws::String&& value) { SetProvisionedModelArn(std::move(value)); return *this;}
71 inline ProvisionedModelSummary& WithProvisionedModelArn(const char* value) { SetProvisionedModelArn(value); return *this;}
73
75
79 inline const Aws::String& GetModelArn() const{ return m_modelArn; }
80 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
81 inline void SetModelArn(const Aws::String& value) { m_modelArnHasBeenSet = true; m_modelArn = value; }
82 inline void SetModelArn(Aws::String&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::move(value); }
83 inline void SetModelArn(const char* value) { m_modelArnHasBeenSet = true; m_modelArn.assign(value); }
84 inline ProvisionedModelSummary& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
85 inline ProvisionedModelSummary& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
86 inline ProvisionedModelSummary& WithModelArn(const char* value) { SetModelArn(value); return *this;}
88
90
95 inline const Aws::String& GetDesiredModelArn() const{ return m_desiredModelArn; }
96 inline bool DesiredModelArnHasBeenSet() const { return m_desiredModelArnHasBeenSet; }
97 inline void SetDesiredModelArn(const Aws::String& value) { m_desiredModelArnHasBeenSet = true; m_desiredModelArn = value; }
98 inline void SetDesiredModelArn(Aws::String&& value) { m_desiredModelArnHasBeenSet = true; m_desiredModelArn = std::move(value); }
99 inline void SetDesiredModelArn(const char* value) { m_desiredModelArnHasBeenSet = true; m_desiredModelArn.assign(value); }
100 inline ProvisionedModelSummary& WithDesiredModelArn(const Aws::String& value) { SetDesiredModelArn(value); return *this;}
101 inline ProvisionedModelSummary& WithDesiredModelArn(Aws::String&& value) { SetDesiredModelArn(std::move(value)); return *this;}
102 inline ProvisionedModelSummary& WithDesiredModelArn(const char* value) { SetDesiredModelArn(value); return *this;}
104
106
111 inline const Aws::String& GetFoundationModelArn() const{ return m_foundationModelArn; }
112 inline bool FoundationModelArnHasBeenSet() const { return m_foundationModelArnHasBeenSet; }
113 inline void SetFoundationModelArn(const Aws::String& value) { m_foundationModelArnHasBeenSet = true; m_foundationModelArn = value; }
114 inline void SetFoundationModelArn(Aws::String&& value) { m_foundationModelArnHasBeenSet = true; m_foundationModelArn = std::move(value); }
115 inline void SetFoundationModelArn(const char* value) { m_foundationModelArnHasBeenSet = true; m_foundationModelArn.assign(value); }
117 inline ProvisionedModelSummary& WithFoundationModelArn(Aws::String&& value) { SetFoundationModelArn(std::move(value)); return *this;}
118 inline ProvisionedModelSummary& WithFoundationModelArn(const char* value) { SetFoundationModelArn(value); return *this;}
120
122
125 inline int GetModelUnits() const{ return m_modelUnits; }
126 inline bool ModelUnitsHasBeenSet() const { return m_modelUnitsHasBeenSet; }
127 inline void SetModelUnits(int value) { m_modelUnitsHasBeenSet = true; m_modelUnits = value; }
128 inline ProvisionedModelSummary& WithModelUnits(int value) { SetModelUnits(value); return *this;}
130
132
136 inline int GetDesiredModelUnits() const{ return m_desiredModelUnits; }
137 inline bool DesiredModelUnitsHasBeenSet() const { return m_desiredModelUnitsHasBeenSet; }
138 inline void SetDesiredModelUnits(int value) { m_desiredModelUnitsHasBeenSet = true; m_desiredModelUnits = value; }
139 inline ProvisionedModelSummary& WithDesiredModelUnits(int value) { SetDesiredModelUnits(value); return *this;}
141
143
146 inline const ProvisionedModelStatus& GetStatus() const{ return m_status; }
147 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
148 inline void SetStatus(const ProvisionedModelStatus& value) { m_statusHasBeenSet = true; m_status = value; }
149 inline void SetStatus(ProvisionedModelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
150 inline ProvisionedModelSummary& WithStatus(const ProvisionedModelStatus& value) { SetStatus(value); return *this;}
151 inline ProvisionedModelSummary& WithStatus(ProvisionedModelStatus&& value) { SetStatus(std::move(value)); return *this;}
153
155
158 inline const CommitmentDuration& GetCommitmentDuration() const{ return m_commitmentDuration; }
159 inline bool CommitmentDurationHasBeenSet() const { return m_commitmentDurationHasBeenSet; }
160 inline void SetCommitmentDuration(const CommitmentDuration& value) { m_commitmentDurationHasBeenSet = true; m_commitmentDuration = value; }
161 inline void SetCommitmentDuration(CommitmentDuration&& value) { m_commitmentDurationHasBeenSet = true; m_commitmentDuration = std::move(value); }
165
167
171 inline const Aws::Utils::DateTime& GetCommitmentExpirationTime() const{ return m_commitmentExpirationTime; }
172 inline bool CommitmentExpirationTimeHasBeenSet() const { return m_commitmentExpirationTimeHasBeenSet; }
173 inline void SetCommitmentExpirationTime(const Aws::Utils::DateTime& value) { m_commitmentExpirationTimeHasBeenSet = true; m_commitmentExpirationTime = value; }
174 inline void SetCommitmentExpirationTime(Aws::Utils::DateTime&& value) { m_commitmentExpirationTimeHasBeenSet = true; m_commitmentExpirationTime = std::move(value); }
178
180
183 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
184 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
185 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
186 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
188 inline ProvisionedModelSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
190
192
195 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
196 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
197 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
198 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
202 private:
203
204 Aws::String m_provisionedModelName;
205 bool m_provisionedModelNameHasBeenSet = false;
206
207 Aws::String m_provisionedModelArn;
208 bool m_provisionedModelArnHasBeenSet = false;
209
210 Aws::String m_modelArn;
211 bool m_modelArnHasBeenSet = false;
212
213 Aws::String m_desiredModelArn;
214 bool m_desiredModelArnHasBeenSet = false;
215
216 Aws::String m_foundationModelArn;
217 bool m_foundationModelArnHasBeenSet = false;
218
219 int m_modelUnits;
220 bool m_modelUnitsHasBeenSet = false;
221
222 int m_desiredModelUnits;
223 bool m_desiredModelUnitsHasBeenSet = false;
224
225 ProvisionedModelStatus m_status;
226 bool m_statusHasBeenSet = false;
227
228 CommitmentDuration m_commitmentDuration;
229 bool m_commitmentDurationHasBeenSet = false;
230
231 Aws::Utils::DateTime m_commitmentExpirationTime;
232 bool m_commitmentExpirationTimeHasBeenSet = false;
233
234 Aws::Utils::DateTime m_creationTime;
235 bool m_creationTimeHasBeenSet = false;
236
237 Aws::Utils::DateTime m_lastModifiedTime;
238 bool m_lastModifiedTimeHasBeenSet = false;
239 };
240
241} // namespace Model
242} // namespace Bedrock
243} // namespace Aws
ProvisionedModelSummary & WithModelUnits(int value)
ProvisionedModelSummary & WithProvisionedModelName(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ProvisionedModelSummary & WithModelArn(Aws::String &&value)
ProvisionedModelSummary & WithCommitmentExpirationTime(Aws::Utils::DateTime &&value)
AWS_BEDROCK_API ProvisionedModelSummary(Aws::Utils::Json::JsonView jsonValue)
ProvisionedModelSummary & WithDesiredModelArn(const Aws::String &value)
ProvisionedModelSummary & WithProvisionedModelArn(const Aws::String &value)
ProvisionedModelSummary & WithStatus(const ProvisionedModelStatus &value)
AWS_BEDROCK_API ProvisionedModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ProvisionedModelSummary & WithCommitmentDuration(const CommitmentDuration &value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetStatus(const ProvisionedModelStatus &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
ProvisionedModelSummary & WithCommitmentExpirationTime(const Aws::Utils::DateTime &value)
ProvisionedModelSummary & WithModelArn(const char *value)
ProvisionedModelSummary & WithFoundationModelArn(const Aws::String &value)
const ProvisionedModelStatus & GetStatus() const
ProvisionedModelSummary & WithDesiredModelArn(const char *value)
void SetStatus(ProvisionedModelStatus &&value)
ProvisionedModelSummary & WithCommitmentDuration(CommitmentDuration &&value)
void SetCommitmentDuration(CommitmentDuration &&value)
void SetProvisionedModelArn(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
ProvisionedModelSummary & WithStatus(ProvisionedModelStatus &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
ProvisionedModelSummary & WithProvisionedModelArn(Aws::String &&value)
ProvisionedModelSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
const CommitmentDuration & GetCommitmentDuration() const
ProvisionedModelSummary & WithProvisionedModelName(const Aws::String &value)
void SetCommitmentExpirationTime(Aws::Utils::DateTime &&value)
void SetCommitmentDuration(const CommitmentDuration &value)
ProvisionedModelSummary & WithCreationTime(const Aws::Utils::DateTime &value)
ProvisionedModelSummary & WithModelArn(const Aws::String &value)
ProvisionedModelSummary & WithFoundationModelArn(const char *value)
ProvisionedModelSummary & WithProvisionedModelName(Aws::String &&value)
void SetProvisionedModelName(const Aws::String &value)
ProvisionedModelSummary & WithDesiredModelArn(Aws::String &&value)
ProvisionedModelSummary & WithCreationTime(Aws::Utils::DateTime &&value)
ProvisionedModelSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
ProvisionedModelSummary & WithFoundationModelArn(Aws::String &&value)
ProvisionedModelSummary & WithProvisionedModelArn(const char *value)
const Aws::Utils::DateTime & GetCommitmentExpirationTime() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetCommitmentExpirationTime(const Aws::Utils::DateTime &value)
ProvisionedModelSummary & WithDesiredModelUnits(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue