AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
UpdateRetrievalInstructionResult.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/http/HttpResponse.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace BedrockAgent {
26namespace Model {
28 public:
29 AWS_BEDROCKAGENT_API UpdateRetrievalInstructionResult() = default;
32
34
37 inline const Aws::String& GetRetrievalInstructionId() const { return m_retrievalInstructionId; }
38 template <typename RetrievalInstructionIdT = Aws::String>
39 void SetRetrievalInstructionId(RetrievalInstructionIdT&& value) {
40 m_retrievalInstructionIdHasBeenSet = true;
41 m_retrievalInstructionId = std::forward<RetrievalInstructionIdT>(value);
42 }
43 template <typename RetrievalInstructionIdT = Aws::String>
45 SetRetrievalInstructionId(std::forward<RetrievalInstructionIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetRetrievalInstructionArn() const { return m_retrievalInstructionArn; }
55 template <typename RetrievalInstructionArnT = Aws::String>
56 void SetRetrievalInstructionArn(RetrievalInstructionArnT&& value) {
57 m_retrievalInstructionArnHasBeenSet = true;
58 m_retrievalInstructionArn = std::forward<RetrievalInstructionArnT>(value);
59 }
60 template <typename RetrievalInstructionArnT = Aws::String>
62 SetRetrievalInstructionArn(std::forward<RetrievalInstructionArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 template <typename NameT = Aws::String>
73 void SetName(NameT&& value) {
74 m_nameHasBeenSet = true;
75 m_name = std::forward<NameT>(value);
76 }
77 template <typename NameT = Aws::String>
79 SetName(std::forward<NameT>(value));
80 return *this;
81 }
83
85
89 inline RetrievalInstructionStatus GetStatus() const { return m_status; }
91 m_statusHasBeenSet = true;
92 m_status = value;
93 }
95 SetStatus(value);
96 return *this;
97 }
99
101
105 inline RetrievalInstructionLastTransitionStatus GetLastTransitionStatus() const { return m_lastTransitionStatus; }
107 m_lastTransitionStatusHasBeenSet = true;
108 m_lastTransitionStatus = value;
109 }
115
117
120 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
121 template <typename CreatedAtT = Aws::Utils::DateTime>
122 void SetCreatedAt(CreatedAtT&& value) {
123 m_createdAtHasBeenSet = true;
124 m_createdAt = std::forward<CreatedAtT>(value);
125 }
126 template <typename CreatedAtT = Aws::Utils::DateTime>
128 SetCreatedAt(std::forward<CreatedAtT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
138 template <typename UpdatedAtT = Aws::Utils::DateTime>
139 void SetUpdatedAt(UpdatedAtT&& value) {
140 m_updatedAtHasBeenSet = true;
141 m_updatedAt = std::forward<UpdatedAtT>(value);
142 }
143 template <typename UpdatedAtT = Aws::Utils::DateTime>
145 SetUpdatedAt(std::forward<UpdatedAtT>(value));
146 return *this;
147 }
149
151
152 inline const Aws::String& GetRequestId() const { return m_requestId; }
153 template <typename RequestIdT = Aws::String>
154 void SetRequestId(RequestIdT&& value) {
155 m_requestIdHasBeenSet = true;
156 m_requestId = std::forward<RequestIdT>(value);
157 }
158 template <typename RequestIdT = Aws::String>
160 SetRequestId(std::forward<RequestIdT>(value));
161 return *this;
162 }
164 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
165
166 private:
167 Aws::String m_retrievalInstructionId;
168
169 Aws::String m_retrievalInstructionArn;
170
171 Aws::String m_name;
172
174
176
177 Aws::Utils::DateTime m_createdAt{};
178
179 Aws::Utils::DateTime m_updatedAt{};
180
181 Aws::String m_requestId;
182 Aws::Http::HttpResponseCode m_HttpResponseCode;
183 bool m_retrievalInstructionIdHasBeenSet = false;
184 bool m_retrievalInstructionArnHasBeenSet = false;
185 bool m_nameHasBeenSet = false;
186 bool m_statusHasBeenSet = false;
187 bool m_lastTransitionStatusHasBeenSet = false;
188 bool m_createdAtHasBeenSet = false;
189 bool m_updatedAtHasBeenSet = false;
190 bool m_requestIdHasBeenSet = false;
191};
192
193} // namespace Model
194} // namespace BedrockAgent
195} // namespace Aws
AWS_BEDROCKAGENT_API UpdateRetrievalInstructionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCKAGENT_API UpdateRetrievalInstructionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRetrievalInstructionResult & WithRetrievalInstructionArn(RetrievalInstructionArnT &&value)
AWS_BEDROCKAGENT_API UpdateRetrievalInstructionResult()=default
UpdateRetrievalInstructionResult & WithCreatedAt(CreatedAtT &&value)
UpdateRetrievalInstructionResult & WithRequestId(RequestIdT &&value)
UpdateRetrievalInstructionResult & WithStatus(RetrievalInstructionStatus value)
void SetLastTransitionStatus(RetrievalInstructionLastTransitionStatus value)
UpdateRetrievalInstructionResult & WithLastTransitionStatus(RetrievalInstructionLastTransitionStatus value)
RetrievalInstructionLastTransitionStatus GetLastTransitionStatus() const
UpdateRetrievalInstructionResult & WithUpdatedAt(UpdatedAtT &&value)
UpdateRetrievalInstructionResult & WithRetrievalInstructionId(RetrievalInstructionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue