AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
CustomModelDeploymentSummary.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/bedrock/model/CustomModelDeploymentStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Bedrock
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_BEDROCK_API CustomModelDeploymentSummary() = default;
40 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetCustomModelDeploymentArn() const { return m_customModelDeploymentArn; }
48 inline bool CustomModelDeploymentArnHasBeenSet() const { return m_customModelDeploymentArnHasBeenSet; }
49 template<typename CustomModelDeploymentArnT = Aws::String>
50 void SetCustomModelDeploymentArn(CustomModelDeploymentArnT&& value) { m_customModelDeploymentArnHasBeenSet = true; m_customModelDeploymentArn = std::forward<CustomModelDeploymentArnT>(value); }
51 template<typename CustomModelDeploymentArnT = Aws::String>
52 CustomModelDeploymentSummary& WithCustomModelDeploymentArn(CustomModelDeploymentArnT&& value) { SetCustomModelDeploymentArn(std::forward<CustomModelDeploymentArnT>(value)); return *this;}
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>
62 void SetCustomModelDeploymentName(CustomModelDeploymentNameT&& value) { m_customModelDeploymentNameHasBeenSet = true; m_customModelDeploymentName = std::forward<CustomModelDeploymentNameT>(value); }
63 template<typename CustomModelDeploymentNameT = Aws::String>
64 CustomModelDeploymentSummary& WithCustomModelDeploymentName(CustomModelDeploymentNameT&& value) { SetCustomModelDeploymentName(std::forward<CustomModelDeploymentNameT>(value)); return *this;}
66
68
72 inline const Aws::String& GetModelArn() const { return m_modelArn; }
73 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
74 template<typename ModelArnT = Aws::String>
75 void SetModelArn(ModelArnT&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::forward<ModelArnT>(value); }
76 template<typename ModelArnT = Aws::String>
77 CustomModelDeploymentSummary& WithModelArn(ModelArnT&& value) { SetModelArn(std::forward<ModelArnT>(value)); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
85 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
86 template<typename CreatedAtT = Aws::Utils::DateTime>
87 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
88 template<typename CreatedAtT = Aws::Utils::DateTime>
89 CustomModelDeploymentSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
91
93
97 inline CustomModelDeploymentStatus GetStatus() const { return m_status; }
98 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
99 inline void SetStatus(CustomModelDeploymentStatus value) { m_statusHasBeenSet = true; m_status = value; }
102
104
107 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
108 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
109 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
110 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
111 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
112 CustomModelDeploymentSummary& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
114
116
120 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
121 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
122 template<typename FailureMessageT = Aws::String>
123 void SetFailureMessage(FailureMessageT&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::forward<FailureMessageT>(value); }
124 template<typename FailureMessageT = Aws::String>
125 CustomModelDeploymentSummary& WithFailureMessage(FailureMessageT&& value) { SetFailureMessage(std::forward<FailureMessageT>(value)); return *this;}
127 private:
128
129 Aws::String m_customModelDeploymentArn;
130 bool m_customModelDeploymentArnHasBeenSet = false;
131
132 Aws::String m_customModelDeploymentName;
133 bool m_customModelDeploymentNameHasBeenSet = false;
134
135 Aws::String m_modelArn;
136 bool m_modelArnHasBeenSet = false;
137
138 Aws::Utils::DateTime m_createdAt{};
139 bool m_createdAtHasBeenSet = false;
140
142 bool m_statusHasBeenSet = false;
143
144 Aws::Utils::DateTime m_lastUpdatedAt{};
145 bool m_lastUpdatedAtHasBeenSet = false;
146
147 Aws::String m_failureMessage;
148 bool m_failureMessageHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace Bedrock
153} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue