AWS SDK for C++

AWS SDK for C++ Version 1.11.699

Loading...
Searching...
No Matches
UpdateAutomatedReasoningPolicyRequest.h
1
6#pragma once
7#include <aws/bedrock/BedrockRequest.h>
8#include <aws/bedrock/Bedrock_EXPORTS.h>
9#include <aws/bedrock/model/AutomatedReasoningPolicyDefinition.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Bedrock {
16namespace Model {
17
21 public:
22 AWS_BEDROCK_API UpdateAutomatedReasoningPolicyRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateAutomatedReasoningPolicy"; }
29
30 AWS_BEDROCK_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetPolicyArn() const { return m_policyArn; }
38 inline bool PolicyArnHasBeenSet() const { return m_policyArnHasBeenSet; }
39 template <typename PolicyArnT = Aws::String>
40 void SetPolicyArn(PolicyArnT&& value) {
41 m_policyArnHasBeenSet = true;
42 m_policyArn = std::forward<PolicyArnT>(value);
43 }
44 template <typename PolicyArnT = Aws::String>
46 SetPolicyArn(std::forward<PolicyArnT>(value));
47 return *this;
48 }
50
52
56 inline const AutomatedReasoningPolicyDefinition& GetPolicyDefinition() const { return m_policyDefinition; }
57 inline bool PolicyDefinitionHasBeenSet() const { return m_policyDefinitionHasBeenSet; }
58 template <typename PolicyDefinitionT = AutomatedReasoningPolicyDefinition>
59 void SetPolicyDefinition(PolicyDefinitionT&& value) {
60 m_policyDefinitionHasBeenSet = true;
61 m_policyDefinition = std::forward<PolicyDefinitionT>(value);
62 }
63 template <typename PolicyDefinitionT = AutomatedReasoningPolicyDefinition>
65 SetPolicyDefinition(std::forward<PolicyDefinitionT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template <typename NameT = Aws::String>
77 void SetName(NameT&& value) {
78 m_nameHasBeenSet = true;
79 m_name = std::forward<NameT>(value);
80 }
81 template <typename NameT = Aws::String>
83 SetName(std::forward<NameT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetDescription() const { return m_description; }
93 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94 template <typename DescriptionT = Aws::String>
95 void SetDescription(DescriptionT&& value) {
96 m_descriptionHasBeenSet = true;
97 m_description = std::forward<DescriptionT>(value);
98 }
99 template <typename DescriptionT = Aws::String>
101 SetDescription(std::forward<DescriptionT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_policyArn;
107 bool m_policyArnHasBeenSet = false;
108
109 AutomatedReasoningPolicyDefinition m_policyDefinition;
110 bool m_policyDefinitionHasBeenSet = false;
111
112 Aws::String m_name;
113 bool m_nameHasBeenSet = false;
114
115 Aws::String m_description;
116 bool m_descriptionHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace Bedrock
121} // namespace Aws
AWS_BEDROCK_API Aws::String SerializePayload() const override
UpdateAutomatedReasoningPolicyRequest & WithDescription(DescriptionT &&value)
UpdateAutomatedReasoningPolicyRequest & WithPolicyArn(PolicyArnT &&value)
UpdateAutomatedReasoningPolicyRequest & WithPolicyDefinition(PolicyDefinitionT &&value)
UpdateAutomatedReasoningPolicyRequest & WithName(NameT &&value)
const AutomatedReasoningPolicyDefinition & GetPolicyDefinition() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String