AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CreateAutomatedReasoningPolicyResult.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 CreateAutomatedReasoningPolicyResult() = default;
29
31
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
53 inline const Aws::String& GetVersion() const { return m_version; }
54 template <typename VersionT = Aws::String>
55 void SetVersion(VersionT&& value) {
56 m_versionHasBeenSet = true;
57 m_version = std::forward<VersionT>(value);
58 }
59 template <typename VersionT = Aws::String>
61 SetVersion(std::forward<VersionT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetName() const { return m_name; }
71 template <typename NameT = Aws::String>
72 void SetName(NameT&& value) {
73 m_nameHasBeenSet = true;
74 m_name = std::forward<NameT>(value);
75 }
76 template <typename NameT = Aws::String>
78 SetName(std::forward<NameT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetDescription() const { return m_description; }
88 template <typename DescriptionT = Aws::String>
90 m_descriptionHasBeenSet = true;
91 m_description = std::forward<DescriptionT>(value);
92 }
93 template <typename DescriptionT = Aws::String>
95 SetDescription(std::forward<DescriptionT>(value));
96 return *this;
97 }
99
101
105 inline const Aws::String& GetDefinitionHash() const { return m_definitionHash; }
106 template <typename DefinitionHashT = Aws::String>
108 m_definitionHashHasBeenSet = true;
109 m_definitionHash = std::forward<DefinitionHashT>(value);
110 }
111 template <typename DefinitionHashT = Aws::String>
113 SetDefinitionHash(std::forward<DefinitionHashT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
123 template <typename CreatedAtT = Aws::Utils::DateTime>
124 void SetCreatedAt(CreatedAtT&& value) {
125 m_createdAtHasBeenSet = true;
126 m_createdAt = std::forward<CreatedAtT>(value);
127 }
128 template <typename CreatedAtT = Aws::Utils::DateTime>
130 SetCreatedAt(std::forward<CreatedAtT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
140 template <typename UpdatedAtT = Aws::Utils::DateTime>
141 void SetUpdatedAt(UpdatedAtT&& value) {
142 m_updatedAtHasBeenSet = true;
143 m_updatedAt = std::forward<UpdatedAtT>(value);
144 }
145 template <typename UpdatedAtT = Aws::Utils::DateTime>
147 SetUpdatedAt(std::forward<UpdatedAtT>(value));
148 return *this;
149 }
151
153
154 inline const Aws::String& GetRequestId() const { return m_requestId; }
155 template <typename RequestIdT = Aws::String>
156 void SetRequestId(RequestIdT&& value) {
157 m_requestIdHasBeenSet = true;
158 m_requestId = std::forward<RequestIdT>(value);
159 }
160 template <typename RequestIdT = Aws::String>
162 SetRequestId(std::forward<RequestIdT>(value));
163 return *this;
164 }
166 private:
167 Aws::String m_policyArn;
168
169 Aws::String m_version;
170
171 Aws::String m_name;
172
173 Aws::String m_description;
174
175 Aws::String m_definitionHash;
176
177 Aws::Utils::DateTime m_createdAt{};
178
179 Aws::Utils::DateTime m_updatedAt{};
180
181 Aws::String m_requestId;
182 bool m_policyArnHasBeenSet = false;
183 bool m_versionHasBeenSet = false;
184 bool m_nameHasBeenSet = false;
185 bool m_descriptionHasBeenSet = false;
186 bool m_definitionHashHasBeenSet = false;
187 bool m_createdAtHasBeenSet = false;
188 bool m_updatedAtHasBeenSet = false;
189 bool m_requestIdHasBeenSet = false;
190};
191
192} // namespace Model
193} // namespace Bedrock
194} // 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