AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
UpdateAutomatedReasoningPolicyRequest.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/BedrockRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock/model/AutomatedReasoningPolicyDefinition.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Bedrock
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_BEDROCK_API UpdateAutomatedReasoningPolicyRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateAutomatedReasoningPolicy"; }
32
33 AWS_BEDROCK_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetPolicyArn() const { return m_policyArn; }
42 inline bool PolicyArnHasBeenSet() const { return m_policyArnHasBeenSet; }
43 template<typename PolicyArnT = Aws::String>
44 void SetPolicyArn(PolicyArnT&& value) { m_policyArnHasBeenSet = true; m_policyArn = std::forward<PolicyArnT>(value); }
45 template<typename PolicyArnT = Aws::String>
46 UpdateAutomatedReasoningPolicyRequest& WithPolicyArn(PolicyArnT&& value) { SetPolicyArn(std::forward<PolicyArnT>(value)); return *this;}
48
50
54 inline const AutomatedReasoningPolicyDefinition& GetPolicyDefinition() const { return m_policyDefinition; }
55 inline bool PolicyDefinitionHasBeenSet() const { return m_policyDefinitionHasBeenSet; }
56 template<typename PolicyDefinitionT = AutomatedReasoningPolicyDefinition>
57 void SetPolicyDefinition(PolicyDefinitionT&& value) { m_policyDefinitionHasBeenSet = true; m_policyDefinition = std::forward<PolicyDefinitionT>(value); }
58 template<typename PolicyDefinitionT = AutomatedReasoningPolicyDefinition>
59 UpdateAutomatedReasoningPolicyRequest& WithPolicyDefinition(PolicyDefinitionT&& value) { SetPolicyDefinition(std::forward<PolicyDefinitionT>(value)); return *this;}
61
63
66 inline const Aws::String& GetName() const { return m_name; }
67 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
68 template<typename NameT = Aws::String>
69 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
70 template<typename NameT = Aws::String>
71 UpdateAutomatedReasoningPolicyRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
73
75
78 inline const Aws::String& GetDescription() const { return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 template<typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
82 template<typename DescriptionT = Aws::String>
83 UpdateAutomatedReasoningPolicyRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
85 private:
86
87 Aws::String m_policyArn;
88 bool m_policyArnHasBeenSet = false;
89
90 AutomatedReasoningPolicyDefinition m_policyDefinition;
91 bool m_policyDefinitionHasBeenSet = false;
92
93 Aws::String m_name;
94 bool m_nameHasBeenSet = false;
95
96 Aws::String m_description;
97 bool m_descriptionHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Bedrock
102} // 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