AWS SDK for C++

AWS SDK for C++ Version 1.11.774

Loading...
Searching...
No Matches
AutomatedReasoningPolicyAtomicStatement.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/AutomatedReasoningPolicyStatementLocation.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Bedrock {
21namespace Model {
22
31 public:
32 AWS_BEDROCK_API AutomatedReasoningPolicyAtomicStatement() = default;
35 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetText() const { return m_text; }
61 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
62 template <typename TextT = Aws::String>
63 void SetText(TextT&& value) {
64 m_textHasBeenSet = true;
65 m_text = std::forward<TextT>(value);
66 }
67 template <typename TextT = Aws::String>
69 SetText(std::forward<TextT>(value));
70 return *this;
71 }
73
75
79 inline const AutomatedReasoningPolicyStatementLocation& GetLocation() const { return m_location; }
80 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
81 template <typename LocationT = AutomatedReasoningPolicyStatementLocation>
82 void SetLocation(LocationT&& value) {
83 m_locationHasBeenSet = true;
84 m_location = std::forward<LocationT>(value);
85 }
86 template <typename LocationT = AutomatedReasoningPolicyStatementLocation>
88 SetLocation(std::forward<LocationT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_id;
94
95 Aws::String m_text;
96
98 bool m_idHasBeenSet = false;
99 bool m_textHasBeenSet = false;
100 bool m_locationHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace Bedrock
105} // namespace Aws
AWS_BEDROCK_API AutomatedReasoningPolicyAtomicStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
AutomatedReasoningPolicyAtomicStatement & WithLocation(LocationT &&value)
AWS_BEDROCK_API AutomatedReasoningPolicyAtomicStatement(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AutomatedReasoningPolicyAtomicStatement & WithText(TextT &&value)
const AutomatedReasoningPolicyStatementLocation & GetLocation() const
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