AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DeleteAutomatedReasoningPolicyRequest.h
1
6#pragma once
7#include <aws/bedrock/BedrockRequest.h>
8#include <aws/bedrock/Bedrock_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Bedrock {
18namespace Model {
19
23 public:
24 AWS_BEDROCK_API DeleteAutomatedReasoningPolicyRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteAutomatedReasoningPolicy"; }
31
32 AWS_BEDROCK_API Aws::String SerializePayload() const override;
33
34 AWS_BEDROCK_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
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) {
45 m_policyArnHasBeenSet = true;
46 m_policyArn = std::forward<PolicyArnT>(value);
47 }
48 template <typename PolicyArnT = Aws::String>
50 SetPolicyArn(std::forward<PolicyArnT>(value));
51 return *this;
52 }
54
56
64 inline bool GetForce() const { return m_force; }
65 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
66 inline void SetForce(bool value) {
67 m_forceHasBeenSet = true;
68 m_force = value;
69 }
71 SetForce(value);
72 return *this;
73 }
75 private:
76 Aws::String m_policyArn;
77 bool m_policyArnHasBeenSet = false;
78
79 bool m_force{false};
80 bool m_forceHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace Bedrock
85} // namespace Aws
DeleteAutomatedReasoningPolicyRequest & WithPolicyArn(PolicyArnT &&value)
AWS_BEDROCK_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_BEDROCK_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String