AWS SDK for C++

AWS SDK for C++ Version 1.11.636

Loading...
Searching...
No Matches
GetAutomatedReasoningPolicyResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Bedrock
25{
26namespace Model
27{
29 {
30 public:
31 AWS_BEDROCK_API GetAutomatedReasoningPolicyResult() = default;
34
35
37
40 inline const Aws::String& GetPolicyArn() const { return m_policyArn; }
41 template<typename PolicyArnT = Aws::String>
42 void SetPolicyArn(PolicyArnT&& value) { m_policyArnHasBeenSet = true; m_policyArn = std::forward<PolicyArnT>(value); }
43 template<typename PolicyArnT = Aws::String>
44 GetAutomatedReasoningPolicyResult& WithPolicyArn(PolicyArnT&& value) { SetPolicyArn(std::forward<PolicyArnT>(value)); return *this;}
46
48
51 inline const Aws::String& GetName() const { return m_name; }
52 template<typename NameT = Aws::String>
53 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
54 template<typename NameT = Aws::String>
55 GetAutomatedReasoningPolicyResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetVersion() const { return m_version; }
63 template<typename VersionT = Aws::String>
64 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
65 template<typename VersionT = Aws::String>
66 GetAutomatedReasoningPolicyResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
68
70
73 inline const Aws::String& GetPolicyId() const { return m_policyId; }
74 template<typename PolicyIdT = Aws::String>
75 void SetPolicyId(PolicyIdT&& value) { m_policyIdHasBeenSet = true; m_policyId = std::forward<PolicyIdT>(value); }
76 template<typename PolicyIdT = Aws::String>
77 GetAutomatedReasoningPolicyResult& WithPolicyId(PolicyIdT&& value) { SetPolicyId(std::forward<PolicyIdT>(value)); return *this;}
79
81
84 inline const Aws::String& GetDescription() const { return m_description; }
85 template<typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
87 template<typename DescriptionT = Aws::String>
88 GetAutomatedReasoningPolicyResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
90
92
95 inline const Aws::String& GetDefinitionHash() const { return m_definitionHash; }
96 template<typename DefinitionHashT = Aws::String>
97 void SetDefinitionHash(DefinitionHashT&& value) { m_definitionHashHasBeenSet = true; m_definitionHash = std::forward<DefinitionHashT>(value); }
98 template<typename DefinitionHashT = Aws::String>
99 GetAutomatedReasoningPolicyResult& WithDefinitionHash(DefinitionHashT&& value) { SetDefinitionHash(std::forward<DefinitionHashT>(value)); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
107 template<typename CreatedAtT = Aws::Utils::DateTime>
108 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
109 template<typename CreatedAtT = Aws::Utils::DateTime>
110 GetAutomatedReasoningPolicyResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
118 template<typename UpdatedAtT = Aws::Utils::DateTime>
119 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
120 template<typename UpdatedAtT = Aws::Utils::DateTime>
121 GetAutomatedReasoningPolicyResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
123
125
126 inline const Aws::String& GetRequestId() const { return m_requestId; }
127 template<typename RequestIdT = Aws::String>
128 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
129 template<typename RequestIdT = Aws::String>
130 GetAutomatedReasoningPolicyResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
132 private:
133
134 Aws::String m_policyArn;
135 bool m_policyArnHasBeenSet = false;
136
137 Aws::String m_name;
138 bool m_nameHasBeenSet = false;
139
140 Aws::String m_version;
141 bool m_versionHasBeenSet = false;
142
143 Aws::String m_policyId;
144 bool m_policyIdHasBeenSet = false;
145
146 Aws::String m_description;
147 bool m_descriptionHasBeenSet = false;
148
149 Aws::String m_definitionHash;
150 bool m_definitionHashHasBeenSet = false;
151
152 Aws::Utils::DateTime m_createdAt{};
153 bool m_createdAtHasBeenSet = false;
154
155 Aws::Utils::DateTime m_updatedAt{};
156 bool m_updatedAtHasBeenSet = false;
157
158 Aws::String m_requestId;
159 bool m_requestIdHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace Bedrock
164} // 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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue