AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
AutomatedReasoningCheckRule.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Bedrock {
20namespace Model {
21
29 public:
30 AWS_BEDROCK_API AutomatedReasoningCheckRule() = default;
33 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetPolicyVersionArn() const { return m_policyVersionArn; }
59 inline bool PolicyVersionArnHasBeenSet() const { return m_policyVersionArnHasBeenSet; }
60 template <typename PolicyVersionArnT = Aws::String>
62 m_policyVersionArnHasBeenSet = true;
63 m_policyVersionArn = std::forward<PolicyVersionArnT>(value);
64 }
65 template <typename PolicyVersionArnT = Aws::String>
67 SetPolicyVersionArn(std::forward<PolicyVersionArnT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_id;
73
74 Aws::String m_policyVersionArn;
75 bool m_idHasBeenSet = false;
76 bool m_policyVersionArnHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Bedrock
81} // namespace Aws
AWS_BEDROCK_API AutomatedReasoningCheckRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API AutomatedReasoningCheckRule(Aws::Utils::Json::JsonView jsonValue)
AutomatedReasoningCheckRule & WithPolicyVersionArn(PolicyVersionArnT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API AutomatedReasoningCheckRule()=default
AutomatedReasoningCheckRule & WithId(IdT &&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