AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
GetAutomatedReasoningPolicyResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Bedrock {
23namespace Model {
25 public:
26 AWS_BEDROCK_API GetAutomatedReasoningPolicyResult() = default;
29
31
34 inline const Aws::String& GetPolicyArn() const { return m_policyArn; }
35 template <typename PolicyArnT = Aws::String>
36 void SetPolicyArn(PolicyArnT&& value) {
37 m_policyArnHasBeenSet = true;
38 m_policyArn = std::forward<PolicyArnT>(value);
39 }
40 template <typename PolicyArnT = Aws::String>
42 SetPolicyArn(std::forward<PolicyArnT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetName() const { return m_name; }
52 template <typename NameT = Aws::String>
53 void SetName(NameT&& value) {
54 m_nameHasBeenSet = true;
55 m_name = std::forward<NameT>(value);
56 }
57 template <typename NameT = Aws::String>
59 SetName(std::forward<NameT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetVersion() const { return m_version; }
69 template <typename VersionT = Aws::String>
70 void SetVersion(VersionT&& value) {
71 m_versionHasBeenSet = true;
72 m_version = std::forward<VersionT>(value);
73 }
74 template <typename VersionT = Aws::String>
76 SetVersion(std::forward<VersionT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetPolicyId() const { return m_policyId; }
86 template <typename PolicyIdT = Aws::String>
87 void SetPolicyId(PolicyIdT&& value) {
88 m_policyIdHasBeenSet = true;
89 m_policyId = std::forward<PolicyIdT>(value);
90 }
91 template <typename PolicyIdT = Aws::String>
93 SetPolicyId(std::forward<PolicyIdT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetDescription() const { return m_description; }
103 template <typename DescriptionT = Aws::String>
104 void SetDescription(DescriptionT&& value) {
105 m_descriptionHasBeenSet = true;
106 m_description = std::forward<DescriptionT>(value);
107 }
108 template <typename DescriptionT = Aws::String>
110 SetDescription(std::forward<DescriptionT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::String& GetDefinitionHash() const { return m_definitionHash; }
120 template <typename DefinitionHashT = Aws::String>
121 void SetDefinitionHash(DefinitionHashT&& value) {
122 m_definitionHashHasBeenSet = true;
123 m_definitionHash = std::forward<DefinitionHashT>(value);
124 }
125 template <typename DefinitionHashT = Aws::String>
127 SetDefinitionHash(std::forward<DefinitionHashT>(value));
128 return *this;
129 }
131
133
139 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
140 template <typename KmsKeyArnT = Aws::String>
141 void SetKmsKeyArn(KmsKeyArnT&& value) {
142 m_kmsKeyArnHasBeenSet = true;
143 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
144 }
145 template <typename KmsKeyArnT = Aws::String>
147 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
157 template <typename CreatedAtT = Aws::Utils::DateTime>
158 void SetCreatedAt(CreatedAtT&& value) {
159 m_createdAtHasBeenSet = true;
160 m_createdAt = std::forward<CreatedAtT>(value);
161 }
162 template <typename CreatedAtT = Aws::Utils::DateTime>
164 SetCreatedAt(std::forward<CreatedAtT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
174 template <typename UpdatedAtT = Aws::Utils::DateTime>
175 void SetUpdatedAt(UpdatedAtT&& value) {
176 m_updatedAtHasBeenSet = true;
177 m_updatedAt = std::forward<UpdatedAtT>(value);
178 }
179 template <typename UpdatedAtT = Aws::Utils::DateTime>
181 SetUpdatedAt(std::forward<UpdatedAtT>(value));
182 return *this;
183 }
185
187
188 inline const Aws::String& GetRequestId() const { return m_requestId; }
189 template <typename RequestIdT = Aws::String>
190 void SetRequestId(RequestIdT&& value) {
191 m_requestIdHasBeenSet = true;
192 m_requestId = std::forward<RequestIdT>(value);
193 }
194 template <typename RequestIdT = Aws::String>
196 SetRequestId(std::forward<RequestIdT>(value));
197 return *this;
198 }
200 private:
201 Aws::String m_policyArn;
202 bool m_policyArnHasBeenSet = false;
203
204 Aws::String m_name;
205 bool m_nameHasBeenSet = false;
206
207 Aws::String m_version;
208 bool m_versionHasBeenSet = false;
209
210 Aws::String m_policyId;
211 bool m_policyIdHasBeenSet = false;
212
213 Aws::String m_description;
214 bool m_descriptionHasBeenSet = false;
215
216 Aws::String m_definitionHash;
217 bool m_definitionHashHasBeenSet = false;
218
219 Aws::String m_kmsKeyArn;
220 bool m_kmsKeyArnHasBeenSet = false;
221
222 Aws::Utils::DateTime m_createdAt{};
223 bool m_createdAtHasBeenSet = false;
224
225 Aws::Utils::DateTime m_updatedAt{};
226 bool m_updatedAtHasBeenSet = false;
227
228 Aws::String m_requestId;
229 bool m_requestIdHasBeenSet = false;
230};
231
232} // namespace Model
233} // namespace Bedrock
234} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue