AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CustomModelDeploymentSummary.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/CustomModelDeploymentStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Bedrock {
22namespace Model {
23
31 public:
32 AWS_BEDROCK_API CustomModelDeploymentSummary() = default;
35 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetCustomModelDeploymentArn() const { return m_customModelDeploymentArn; }
42 inline bool CustomModelDeploymentArnHasBeenSet() const { return m_customModelDeploymentArnHasBeenSet; }
43 template <typename CustomModelDeploymentArnT = Aws::String>
45 m_customModelDeploymentArnHasBeenSet = true;
46 m_customModelDeploymentArn = std::forward<CustomModelDeploymentArnT>(value);
47 }
48 template <typename CustomModelDeploymentArnT = Aws::String>
50 SetCustomModelDeploymentArn(std::forward<CustomModelDeploymentArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetCustomModelDeploymentName() const { return m_customModelDeploymentName; }
60 inline bool CustomModelDeploymentNameHasBeenSet() const { return m_customModelDeploymentNameHasBeenSet; }
61 template <typename CustomModelDeploymentNameT = Aws::String>
63 m_customModelDeploymentNameHasBeenSet = true;
64 m_customModelDeploymentName = std::forward<CustomModelDeploymentNameT>(value);
65 }
66 template <typename CustomModelDeploymentNameT = Aws::String>
68 SetCustomModelDeploymentName(std::forward<CustomModelDeploymentNameT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetModelArn() const { return m_modelArn; }
79 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
80 template <typename ModelArnT = Aws::String>
81 void SetModelArn(ModelArnT&& value) {
82 m_modelArnHasBeenSet = true;
83 m_modelArn = std::forward<ModelArnT>(value);
84 }
85 template <typename ModelArnT = Aws::String>
87 SetModelArn(std::forward<ModelArnT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
97 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
98 template <typename CreatedAtT = Aws::Utils::DateTime>
99 void SetCreatedAt(CreatedAtT&& value) {
100 m_createdAtHasBeenSet = true;
101 m_createdAt = std::forward<CreatedAtT>(value);
102 }
103 template <typename CreatedAtT = Aws::Utils::DateTime>
105 SetCreatedAt(std::forward<CreatedAtT>(value));
106 return *this;
107 }
109
111
115 inline CustomModelDeploymentStatus GetStatus() const { return m_status; }
116 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
118 m_statusHasBeenSet = true;
119 m_status = value;
120 }
122 SetStatus(value);
123 return *this;
124 }
126
128
131 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
132 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
133 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
135 m_lastUpdatedAtHasBeenSet = true;
136 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
137 }
138 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
140 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
141 return *this;
142 }
144
146
150 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
151 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
152 template <typename FailureMessageT = Aws::String>
154 m_failureMessageHasBeenSet = true;
155 m_failureMessage = std::forward<FailureMessageT>(value);
156 }
157 template <typename FailureMessageT = Aws::String>
159 SetFailureMessage(std::forward<FailureMessageT>(value));
160 return *this;
161 }
163 private:
164 Aws::String m_customModelDeploymentArn;
165
166 Aws::String m_customModelDeploymentName;
167
168 Aws::String m_modelArn;
169
170 Aws::Utils::DateTime m_createdAt{};
171
173
174 Aws::Utils::DateTime m_lastUpdatedAt{};
175
176 Aws::String m_failureMessage;
177 bool m_customModelDeploymentArnHasBeenSet = false;
178 bool m_customModelDeploymentNameHasBeenSet = false;
179 bool m_modelArnHasBeenSet = false;
180 bool m_createdAtHasBeenSet = false;
181 bool m_statusHasBeenSet = false;
182 bool m_lastUpdatedAtHasBeenSet = false;
183 bool m_failureMessageHasBeenSet = false;
184};
185
186} // namespace Model
187} // namespace Bedrock
188} // namespace Aws
CustomModelDeploymentSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
void SetCustomModelDeploymentArn(CustomModelDeploymentArnT &&value)
CustomModelDeploymentSummary & WithCustomModelDeploymentArn(CustomModelDeploymentArnT &&value)
AWS_BEDROCK_API CustomModelDeploymentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API CustomModelDeploymentSummary()=default
void SetCustomModelDeploymentName(CustomModelDeploymentNameT &&value)
CustomModelDeploymentSummary & WithCustomModelDeploymentName(CustomModelDeploymentNameT &&value)
CustomModelDeploymentSummary & WithStatus(CustomModelDeploymentStatus value)
AWS_BEDROCK_API CustomModelDeploymentSummary(Aws::Utils::Json::JsonView jsonValue)
CustomModelDeploymentSummary & WithFailureMessage(FailureMessageT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
CustomModelDeploymentSummary & WithModelArn(ModelArnT &&value)
CustomModelDeploymentSummary & WithCreatedAt(CreatedAtT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue