AWS SDK for C++

AWS SDK for C++ Version 1.11.634

Loading...
Searching...
No Matches
UpdateAutomatedReasoningPolicyResult.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 UpdateAutomatedReasoningPolicyResult() = 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 UpdateAutomatedReasoningPolicyResult& 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 UpdateAutomatedReasoningPolicyResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetDefinitionHash() const { return m_definitionHash; }
63 template<typename DefinitionHashT = Aws::String>
64 void SetDefinitionHash(DefinitionHashT&& value) { m_definitionHashHasBeenSet = true; m_definitionHash = std::forward<DefinitionHashT>(value); }
65 template<typename DefinitionHashT = Aws::String>
66 UpdateAutomatedReasoningPolicyResult& WithDefinitionHash(DefinitionHashT&& value) { SetDefinitionHash(std::forward<DefinitionHashT>(value)); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
74 template<typename UpdatedAtT = Aws::Utils::DateTime>
75 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
76 template<typename UpdatedAtT = Aws::Utils::DateTime>
77 UpdateAutomatedReasoningPolicyResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template<typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
85 template<typename RequestIdT = Aws::String>
86 UpdateAutomatedReasoningPolicyResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_policyArn;
91 bool m_policyArnHasBeenSet = false;
92
93 Aws::String m_name;
94 bool m_nameHasBeenSet = false;
95
96 Aws::String m_definitionHash;
97 bool m_definitionHashHasBeenSet = false;
98
99 Aws::Utils::DateTime m_updatedAt{};
100 bool m_updatedAtHasBeenSet = false;
101
102 Aws::String m_requestId;
103 bool m_requestIdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Bedrock
108} // namespace Aws
UpdateAutomatedReasoningPolicyResult & WithName(NameT &&value)
UpdateAutomatedReasoningPolicyResult & WithPolicyArn(PolicyArnT &&value)
UpdateAutomatedReasoningPolicyResult & WithRequestId(RequestIdT &&value)
AWS_BEDROCK_API UpdateAutomatedReasoningPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAutomatedReasoningPolicyResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_BEDROCK_API UpdateAutomatedReasoningPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAutomatedReasoningPolicyResult & WithDefinitionHash(DefinitionHashT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue