AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
AutomatedReasoningPolicySummary.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/DateTime.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
30 public:
31 AWS_BEDROCK_API AutomatedReasoningPolicySummary() = default;
34 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetPolicyArn() const { return m_policyArn; }
41 inline bool PolicyArnHasBeenSet() const { return m_policyArnHasBeenSet; }
42 template <typename PolicyArnT = Aws::String>
43 void SetPolicyArn(PolicyArnT&& value) {
44 m_policyArnHasBeenSet = true;
45 m_policyArn = std::forward<PolicyArnT>(value);
46 }
47 template <typename PolicyArnT = Aws::String>
49 SetPolicyArn(std::forward<PolicyArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template <typename DescriptionT = Aws::String>
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetVersion() const { return m_version; }
95 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
96 template <typename VersionT = Aws::String>
97 void SetVersion(VersionT&& value) {
98 m_versionHasBeenSet = true;
99 m_version = std::forward<VersionT>(value);
100 }
101 template <typename VersionT = Aws::String>
103 SetVersion(std::forward<VersionT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetPolicyId() const { return m_policyId; }
113 inline bool PolicyIdHasBeenSet() const { return m_policyIdHasBeenSet; }
114 template <typename PolicyIdT = Aws::String>
115 void SetPolicyId(PolicyIdT&& value) {
116 m_policyIdHasBeenSet = true;
117 m_policyId = std::forward<PolicyIdT>(value);
118 }
119 template <typename PolicyIdT = Aws::String>
121 SetPolicyId(std::forward<PolicyIdT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
131 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
132 template <typename CreatedAtT = Aws::Utils::DateTime>
133 void SetCreatedAt(CreatedAtT&& value) {
134 m_createdAtHasBeenSet = true;
135 m_createdAt = std::forward<CreatedAtT>(value);
136 }
137 template <typename CreatedAtT = Aws::Utils::DateTime>
139 SetCreatedAt(std::forward<CreatedAtT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
149 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
150 template <typename UpdatedAtT = Aws::Utils::DateTime>
151 void SetUpdatedAt(UpdatedAtT&& value) {
152 m_updatedAtHasBeenSet = true;
153 m_updatedAt = std::forward<UpdatedAtT>(value);
154 }
155 template <typename UpdatedAtT = Aws::Utils::DateTime>
157 SetUpdatedAt(std::forward<UpdatedAtT>(value));
158 return *this;
159 }
161 private:
162 Aws::String m_policyArn;
163
164 Aws::String m_name;
165
166 Aws::String m_description;
167
168 Aws::String m_version;
169
170 Aws::String m_policyId;
171
172 Aws::Utils::DateTime m_createdAt{};
173
174 Aws::Utils::DateTime m_updatedAt{};
175 bool m_policyArnHasBeenSet = false;
176 bool m_nameHasBeenSet = false;
177 bool m_descriptionHasBeenSet = false;
178 bool m_versionHasBeenSet = false;
179 bool m_policyIdHasBeenSet = false;
180 bool m_createdAtHasBeenSet = false;
181 bool m_updatedAtHasBeenSet = false;
182};
183
184} // namespace Model
185} // namespace Bedrock
186} // namespace Aws
AutomatedReasoningPolicySummary & WithVersion(VersionT &&value)
AWS_BEDROCK_API AutomatedReasoningPolicySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AutomatedReasoningPolicySummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API AutomatedReasoningPolicySummary(Aws::Utils::Json::JsonView jsonValue)
AutomatedReasoningPolicySummary & WithCreatedAt(CreatedAtT &&value)
AutomatedReasoningPolicySummary & WithPolicyArn(PolicyArnT &&value)
AutomatedReasoningPolicySummary & WithPolicyId(PolicyIdT &&value)
AWS_BEDROCK_API AutomatedReasoningPolicySummary()=default
AutomatedReasoningPolicySummary & WithDescription(DescriptionT &&value)
AutomatedReasoningPolicySummary & WithName(NameT &&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