AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
GetAutomatedReasoningPolicyResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Bedrock {
24namespace Model {
26 public:
27 AWS_BEDROCK_API GetAutomatedReasoningPolicyResult() = default;
30
32
35 inline const Aws::String& GetPolicyArn() const { return m_policyArn; }
36 template <typename PolicyArnT = Aws::String>
37 void SetPolicyArn(PolicyArnT&& value) {
38 m_policyArnHasBeenSet = true;
39 m_policyArn = std::forward<PolicyArnT>(value);
40 }
41 template <typename PolicyArnT = Aws::String>
43 SetPolicyArn(std::forward<PolicyArnT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template <typename NameT = Aws::String>
54 void SetName(NameT&& value) {
55 m_nameHasBeenSet = true;
56 m_name = std::forward<NameT>(value);
57 }
58 template <typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetVersion() const { return m_version; }
70 template <typename VersionT = Aws::String>
71 void SetVersion(VersionT&& value) {
72 m_versionHasBeenSet = true;
73 m_version = std::forward<VersionT>(value);
74 }
75 template <typename VersionT = Aws::String>
77 SetVersion(std::forward<VersionT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetPolicyId() const { return m_policyId; }
87 template <typename PolicyIdT = Aws::String>
88 void SetPolicyId(PolicyIdT&& value) {
89 m_policyIdHasBeenSet = true;
90 m_policyId = std::forward<PolicyIdT>(value);
91 }
92 template <typename PolicyIdT = Aws::String>
94 SetPolicyId(std::forward<PolicyIdT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetDescription() const { return m_description; }
104 template <typename DescriptionT = Aws::String>
106 m_descriptionHasBeenSet = true;
107 m_description = std::forward<DescriptionT>(value);
108 }
109 template <typename DescriptionT = Aws::String>
111 SetDescription(std::forward<DescriptionT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::String& GetDefinitionHash() const { return m_definitionHash; }
121 template <typename DefinitionHashT = Aws::String>
123 m_definitionHashHasBeenSet = true;
124 m_definitionHash = std::forward<DefinitionHashT>(value);
125 }
126 template <typename DefinitionHashT = Aws::String>
128 SetDefinitionHash(std::forward<DefinitionHashT>(value));
129 return *this;
130 }
132
134
140 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
141 template <typename KmsKeyArnT = Aws::String>
142 void SetKmsKeyArn(KmsKeyArnT&& value) {
143 m_kmsKeyArnHasBeenSet = true;
144 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
145 }
146 template <typename KmsKeyArnT = Aws::String>
148 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
158 template <typename CreatedAtT = Aws::Utils::DateTime>
159 void SetCreatedAt(CreatedAtT&& value) {
160 m_createdAtHasBeenSet = true;
161 m_createdAt = std::forward<CreatedAtT>(value);
162 }
163 template <typename CreatedAtT = Aws::Utils::DateTime>
165 SetCreatedAt(std::forward<CreatedAtT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
175 template <typename UpdatedAtT = Aws::Utils::DateTime>
176 void SetUpdatedAt(UpdatedAtT&& value) {
177 m_updatedAtHasBeenSet = true;
178 m_updatedAt = std::forward<UpdatedAtT>(value);
179 }
180 template <typename UpdatedAtT = Aws::Utils::DateTime>
182 SetUpdatedAt(std::forward<UpdatedAtT>(value));
183 return *this;
184 }
186
188
189 inline const Aws::String& GetRequestId() const { return m_requestId; }
190 template <typename RequestIdT = Aws::String>
191 void SetRequestId(RequestIdT&& value) {
192 m_requestIdHasBeenSet = true;
193 m_requestId = std::forward<RequestIdT>(value);
194 }
195 template <typename RequestIdT = Aws::String>
197 SetRequestId(std::forward<RequestIdT>(value));
198 return *this;
199 }
201 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
202
203 private:
204 Aws::String m_policyArn;
205
206 Aws::String m_name;
207
208 Aws::String m_version;
209
210 Aws::String m_policyId;
211
212 Aws::String m_description;
213
214 Aws::String m_definitionHash;
215
216 Aws::String m_kmsKeyArn;
217
218 Aws::Utils::DateTime m_createdAt{};
219
220 Aws::Utils::DateTime m_updatedAt{};
221
222 Aws::String m_requestId;
223 Aws::Http::HttpResponseCode m_HttpResponseCode;
224 bool m_policyArnHasBeenSet = false;
225 bool m_nameHasBeenSet = false;
226 bool m_versionHasBeenSet = false;
227 bool m_policyIdHasBeenSet = false;
228 bool m_descriptionHasBeenSet = false;
229 bool m_definitionHashHasBeenSet = false;
230 bool m_kmsKeyArnHasBeenSet = false;
231 bool m_createdAtHasBeenSet = false;
232 bool m_updatedAtHasBeenSet = false;
233 bool m_requestIdHasBeenSet = false;
234};
235
236} // namespace Model
237} // namespace Bedrock
238} // namespace Aws
GetAutomatedReasoningPolicyResult & WithName(NameT &&value)
GetAutomatedReasoningPolicyResult & WithDefinitionHash(DefinitionHashT &&value)
GetAutomatedReasoningPolicyResult & WithVersion(VersionT &&value)
AWS_BEDROCK_API GetAutomatedReasoningPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAutomatedReasoningPolicyResult & WithUpdatedAt(UpdatedAtT &&value)
GetAutomatedReasoningPolicyResult & WithCreatedAt(CreatedAtT &&value)
GetAutomatedReasoningPolicyResult & WithPolicyArn(PolicyArnT &&value)
GetAutomatedReasoningPolicyResult & WithPolicyId(PolicyIdT &&value)
GetAutomatedReasoningPolicyResult & WithRequestId(RequestIdT &&value)
GetAutomatedReasoningPolicyResult & WithDescription(DescriptionT &&value)
AWS_BEDROCK_API GetAutomatedReasoningPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAutomatedReasoningPolicyResult & WithKmsKeyArn(KmsKeyArnT &&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