AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
UpdateAutomatedReasoningPolicyResult.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 UpdateAutomatedReasoningPolicyResult() = default;
30
32
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
52 inline const Aws::String& GetName() const { return m_name; }
53 template <typename NameT = Aws::String>
54 void SetName(NameT&& value) {
55 m_nameHasBeenSet = true;
56 m_name = std::forward<NameT>(value);
57 }
58 template <typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetDefinitionHash() const { return m_definitionHash; }
70 template <typename DefinitionHashT = Aws::String>
72 m_definitionHashHasBeenSet = true;
73 m_definitionHash = std::forward<DefinitionHashT>(value);
74 }
75 template <typename DefinitionHashT = Aws::String>
77 SetDefinitionHash(std::forward<DefinitionHashT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
87 template <typename UpdatedAtT = Aws::Utils::DateTime>
88 void SetUpdatedAt(UpdatedAtT&& value) {
89 m_updatedAtHasBeenSet = true;
90 m_updatedAt = std::forward<UpdatedAtT>(value);
91 }
92 template <typename UpdatedAtT = Aws::Utils::DateTime>
94 SetUpdatedAt(std::forward<UpdatedAtT>(value));
95 return *this;
96 }
98
100
101 inline const Aws::String& GetRequestId() const { return m_requestId; }
102 template <typename RequestIdT = Aws::String>
103 void SetRequestId(RequestIdT&& value) {
104 m_requestIdHasBeenSet = true;
105 m_requestId = std::forward<RequestIdT>(value);
106 }
107 template <typename RequestIdT = Aws::String>
109 SetRequestId(std::forward<RequestIdT>(value));
110 return *this;
111 }
113 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
114
115 private:
116 Aws::String m_policyArn;
117
118 Aws::String m_name;
119
120 Aws::String m_definitionHash;
121
122 Aws::Utils::DateTime m_updatedAt{};
123
124 Aws::String m_requestId;
125 Aws::Http::HttpResponseCode m_HttpResponseCode;
126 bool m_policyArnHasBeenSet = false;
127 bool m_nameHasBeenSet = false;
128 bool m_definitionHashHasBeenSet = false;
129 bool m_updatedAtHasBeenSet = false;
130 bool m_requestIdHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace Bedrock
135} // 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::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