AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
AutomatedReasoningPolicyDefinitionVariable.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
30 public:
31 AWS_BEDROCK_API AutomatedReasoningPolicyDefinitionVariable() = default;
34 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 template <typename TypeT = Aws::String>
63 void SetType(TypeT&& value) {
64 m_typeHasBeenSet = true;
65 m_type = std::forward<TypeT>(value);
66 }
67 template <typename TypeT = Aws::String>
69 SetType(std::forward<TypeT>(value));
70 return *this;
71 }
73
75
80 inline const Aws::String& GetDescription() const { return m_description; }
81 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 template <typename DescriptionT = Aws::String>
84 m_descriptionHasBeenSet = true;
85 m_description = std::forward<DescriptionT>(value);
86 }
87 template <typename DescriptionT = Aws::String>
89 SetDescription(std::forward<DescriptionT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_name;
95
96 Aws::String m_type;
97
98 Aws::String m_description;
99 bool m_nameHasBeenSet = false;
100 bool m_typeHasBeenSet = false;
101 bool m_descriptionHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace Bedrock
106} // namespace Aws
AutomatedReasoningPolicyDefinitionVariable & WithDescription(DescriptionT &&value)
AWS_BEDROCK_API AutomatedReasoningPolicyDefinitionVariable & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API AutomatedReasoningPolicyDefinitionVariable(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() 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