AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
RetrievalInstructionSummary.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/RetrievalInstructionLastTransitionStatus.h>
9#include <aws/bedrock-agent/model/RetrievalInstructionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgent {
23namespace Model {
24
32 public:
33 AWS_BEDROCKAGENT_API RetrievalInstructionSummary() = default;
36 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetRetrievalInstructionId() const { return m_retrievalInstructionId; }
43 inline bool RetrievalInstructionIdHasBeenSet() const { return m_retrievalInstructionIdHasBeenSet; }
44 template <typename RetrievalInstructionIdT = Aws::String>
45 void SetRetrievalInstructionId(RetrievalInstructionIdT&& value) {
46 m_retrievalInstructionIdHasBeenSet = true;
47 m_retrievalInstructionId = std::forward<RetrievalInstructionIdT>(value);
48 }
49 template <typename RetrievalInstructionIdT = Aws::String>
50 RetrievalInstructionSummary& WithRetrievalInstructionId(RetrievalInstructionIdT&& value) {
51 SetRetrievalInstructionId(std::forward<RetrievalInstructionIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetRetrievalInstructionArn() const { return m_retrievalInstructionArn; }
61 inline bool RetrievalInstructionArnHasBeenSet() const { return m_retrievalInstructionArnHasBeenSet; }
62 template <typename RetrievalInstructionArnT = Aws::String>
63 void SetRetrievalInstructionArn(RetrievalInstructionArnT&& value) {
64 m_retrievalInstructionArnHasBeenSet = true;
65 m_retrievalInstructionArn = std::forward<RetrievalInstructionArnT>(value);
66 }
67 template <typename RetrievalInstructionArnT = Aws::String>
68 RetrievalInstructionSummary& WithRetrievalInstructionArn(RetrievalInstructionArnT&& value) {
69 SetRetrievalInstructionArn(std::forward<RetrievalInstructionArnT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetName() const { return m_name; }
79 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 template <typename NameT = Aws::String>
81 void SetName(NameT&& value) {
82 m_nameHasBeenSet = true;
83 m_name = std::forward<NameT>(value);
84 }
85 template <typename NameT = Aws::String>
87 SetName(std::forward<NameT>(value));
88 return *this;
89 }
91
93
97 inline RetrievalInstructionStatus GetStatus() const { return m_status; }
98 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
100 m_statusHasBeenSet = true;
101 m_status = value;
102 }
104 SetStatus(value);
105 return *this;
106 }
108
110
114 inline RetrievalInstructionLastTransitionStatus GetLastTransitionStatus() const { return m_lastTransitionStatus; }
115 inline bool LastTransitionStatusHasBeenSet() const { return m_lastTransitionStatusHasBeenSet; }
117 m_lastTransitionStatusHasBeenSet = true;
118 m_lastTransitionStatus = value;
119 }
125
127
130 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
131 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
132 template <typename CreatedAtT = Aws::Utils::DateTime>
133 void SetCreatedAt(CreatedAtT&& value) {
134 m_createdAtHasBeenSet = true;
135 m_createdAt = std::forward<CreatedAtT>(value);
136 }
137 template <typename CreatedAtT = Aws::Utils::DateTime>
139 SetCreatedAt(std::forward<CreatedAtT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
149 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
150 template <typename UpdatedAtT = Aws::Utils::DateTime>
151 void SetUpdatedAt(UpdatedAtT&& value) {
152 m_updatedAtHasBeenSet = true;
153 m_updatedAt = std::forward<UpdatedAtT>(value);
154 }
155 template <typename UpdatedAtT = Aws::Utils::DateTime>
157 SetUpdatedAt(std::forward<UpdatedAtT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::String& GetDescription() const { return m_description; }
167 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
168 template <typename DescriptionT = Aws::String>
169 void SetDescription(DescriptionT&& value) {
170 m_descriptionHasBeenSet = true;
171 m_description = std::forward<DescriptionT>(value);
172 }
173 template <typename DescriptionT = Aws::String>
175 SetDescription(std::forward<DescriptionT>(value));
176 return *this;
177 }
179 private:
180 Aws::String m_retrievalInstructionId;
181
182 Aws::String m_retrievalInstructionArn;
183
184 Aws::String m_name;
185
187
189
190 Aws::Utils::DateTime m_createdAt{};
191
192 Aws::Utils::DateTime m_updatedAt{};
193
194 Aws::String m_description;
195 bool m_retrievalInstructionIdHasBeenSet = false;
196 bool m_retrievalInstructionArnHasBeenSet = false;
197 bool m_nameHasBeenSet = false;
198 bool m_statusHasBeenSet = false;
199 bool m_lastTransitionStatusHasBeenSet = false;
200 bool m_createdAtHasBeenSet = false;
201 bool m_updatedAtHasBeenSet = false;
202 bool m_descriptionHasBeenSet = false;
203};
204
205} // namespace Model
206} // namespace BedrockAgent
207} // namespace Aws
RetrievalInstructionLastTransitionStatus GetLastTransitionStatus() const
RetrievalInstructionSummary & WithName(NameT &&value)
RetrievalInstructionSummary & WithRetrievalInstructionArn(RetrievalInstructionArnT &&value)
void SetRetrievalInstructionArn(RetrievalInstructionArnT &&value)
RetrievalInstructionSummary & WithCreatedAt(CreatedAtT &&value)
AWS_BEDROCKAGENT_API RetrievalInstructionSummary()=default
RetrievalInstructionSummary & WithUpdatedAt(UpdatedAtT &&value)
RetrievalInstructionSummary & WithDescription(DescriptionT &&value)
void SetLastTransitionStatus(RetrievalInstructionLastTransitionStatus value)
AWS_BEDROCKAGENT_API RetrievalInstructionSummary(Aws::Utils::Json::JsonView jsonValue)
RetrievalInstructionSummary & WithLastTransitionStatus(RetrievalInstructionLastTransitionStatus value)
RetrievalInstructionSummary & WithStatus(RetrievalInstructionStatus value)
RetrievalInstructionSummary & WithRetrievalInstructionId(RetrievalInstructionIdT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API RetrievalInstructionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue