AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
CreateAutomatedReasoningPolicyResult.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 CreateAutomatedReasoningPolicyResult() = default;
30
32
36 inline const Aws::String& GetPolicyArn() const { return m_policyArn; }
37 template <typename PolicyArnT = Aws::String>
38 void SetPolicyArn(PolicyArnT&& value) {
39 m_policyArnHasBeenSet = true;
40 m_policyArn = std::forward<PolicyArnT>(value);
41 }
42 template <typename PolicyArnT = Aws::String>
44 SetPolicyArn(std::forward<PolicyArnT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetVersion() const { return m_version; }
55 template <typename VersionT = Aws::String>
56 void SetVersion(VersionT&& value) {
57 m_versionHasBeenSet = true;
58 m_version = std::forward<VersionT>(value);
59 }
60 template <typename VersionT = Aws::String>
62 SetVersion(std::forward<VersionT>(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
88 inline const Aws::String& GetDescription() const { return m_description; }
89 template <typename DescriptionT = Aws::String>
91 m_descriptionHasBeenSet = true;
92 m_description = std::forward<DescriptionT>(value);
93 }
94 template <typename DescriptionT = Aws::String>
96 SetDescription(std::forward<DescriptionT>(value));
97 return *this;
98 }
100
102
106 inline const Aws::String& GetDefinitionHash() const { return m_definitionHash; }
107 template <typename DefinitionHashT = Aws::String>
109 m_definitionHashHasBeenSet = true;
110 m_definitionHash = std::forward<DefinitionHashT>(value);
111 }
112 template <typename DefinitionHashT = Aws::String>
114 SetDefinitionHash(std::forward<DefinitionHashT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
124 template <typename CreatedAtT = Aws::Utils::DateTime>
125 void SetCreatedAt(CreatedAtT&& value) {
126 m_createdAtHasBeenSet = true;
127 m_createdAt = std::forward<CreatedAtT>(value);
128 }
129 template <typename CreatedAtT = Aws::Utils::DateTime>
131 SetCreatedAt(std::forward<CreatedAtT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
141 template <typename UpdatedAtT = Aws::Utils::DateTime>
142 void SetUpdatedAt(UpdatedAtT&& value) {
143 m_updatedAtHasBeenSet = true;
144 m_updatedAt = std::forward<UpdatedAtT>(value);
145 }
146 template <typename UpdatedAtT = Aws::Utils::DateTime>
148 SetUpdatedAt(std::forward<UpdatedAtT>(value));
149 return *this;
150 }
152
154
155 inline const Aws::String& GetRequestId() const { return m_requestId; }
156 template <typename RequestIdT = Aws::String>
157 void SetRequestId(RequestIdT&& value) {
158 m_requestIdHasBeenSet = true;
159 m_requestId = std::forward<RequestIdT>(value);
160 }
161 template <typename RequestIdT = Aws::String>
163 SetRequestId(std::forward<RequestIdT>(value));
164 return *this;
165 }
167 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
168
169 private:
170 Aws::String m_policyArn;
171
172 Aws::String m_version;
173
174 Aws::String m_name;
175
176 Aws::String m_description;
177
178 Aws::String m_definitionHash;
179
180 Aws::Utils::DateTime m_createdAt{};
181
182 Aws::Utils::DateTime m_updatedAt{};
183
184 Aws::String m_requestId;
185 Aws::Http::HttpResponseCode m_HttpResponseCode;
186 bool m_policyArnHasBeenSet = false;
187 bool m_versionHasBeenSet = false;
188 bool m_nameHasBeenSet = false;
189 bool m_descriptionHasBeenSet = false;
190 bool m_definitionHashHasBeenSet = false;
191 bool m_createdAtHasBeenSet = false;
192 bool m_updatedAtHasBeenSet = false;
193 bool m_requestIdHasBeenSet = false;
194};
195
196} // namespace Model
197} // namespace Bedrock
198} // namespace Aws
CreateAutomatedReasoningPolicyResult & WithDefinitionHash(DefinitionHashT &&value)
CreateAutomatedReasoningPolicyResult & WithCreatedAt(CreatedAtT &&value)
AWS_BEDROCK_API CreateAutomatedReasoningPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAutomatedReasoningPolicyResult & WithUpdatedAt(UpdatedAtT &&value)
CreateAutomatedReasoningPolicyResult & WithRequestId(RequestIdT &&value)
CreateAutomatedReasoningPolicyResult & WithPolicyArn(PolicyArnT &&value)
CreateAutomatedReasoningPolicyResult & WithName(NameT &&value)
AWS_BEDROCK_API CreateAutomatedReasoningPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAutomatedReasoningPolicyResult & WithVersion(VersionT &&value)
CreateAutomatedReasoningPolicyResult & WithDescription(DescriptionT &&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