AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
PromptSummary.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_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 BedrockAgent {
21namespace Model {
22
32 public:
33 AWS_BEDROCKAGENT_API PromptSummary() = default;
36 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetDescription() const { return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 template <typename DescriptionT = Aws::String>
64 m_descriptionHasBeenSet = true;
65 m_description = std::forward<DescriptionT>(value);
66 }
67 template <typename DescriptionT = Aws::String>
69 SetDescription(std::forward<DescriptionT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetId() const { return m_id; }
79 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
80 template <typename IdT = Aws::String>
81 void SetId(IdT&& value) {
82 m_idHasBeenSet = true;
83 m_id = std::forward<IdT>(value);
84 }
85 template <typename IdT = Aws::String>
87 SetId(std::forward<IdT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetArn() const { return m_arn; }
98 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
99 template <typename ArnT = Aws::String>
100 void SetArn(ArnT&& value) {
101 m_arnHasBeenSet = true;
102 m_arn = std::forward<ArnT>(value);
103 }
104 template <typename ArnT = Aws::String>
106 SetArn(std::forward<ArnT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::String& GetVersion() const { return m_version; }
116 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
117 template <typename VersionT = Aws::String>
118 void SetVersion(VersionT&& value) {
119 m_versionHasBeenSet = true;
120 m_version = std::forward<VersionT>(value);
121 }
122 template <typename VersionT = Aws::String>
124 SetVersion(std::forward<VersionT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
134 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
135 template <typename CreatedAtT = Aws::Utils::DateTime>
136 void SetCreatedAt(CreatedAtT&& value) {
137 m_createdAtHasBeenSet = true;
138 m_createdAt = std::forward<CreatedAtT>(value);
139 }
140 template <typename CreatedAtT = Aws::Utils::DateTime>
142 SetCreatedAt(std::forward<CreatedAtT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
152 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
153 template <typename UpdatedAtT = Aws::Utils::DateTime>
154 void SetUpdatedAt(UpdatedAtT&& value) {
155 m_updatedAtHasBeenSet = true;
156 m_updatedAt = std::forward<UpdatedAtT>(value);
157 }
158 template <typename UpdatedAtT = Aws::Utils::DateTime>
160 SetUpdatedAt(std::forward<UpdatedAtT>(value));
161 return *this;
162 }
164 private:
165 Aws::String m_name;
166
167 Aws::String m_description;
168
169 Aws::String m_id;
170
171 Aws::String m_arn;
172
173 Aws::String m_version;
174
175 Aws::Utils::DateTime m_createdAt{};
176
177 Aws::Utils::DateTime m_updatedAt{};
178 bool m_nameHasBeenSet = false;
179 bool m_descriptionHasBeenSet = false;
180 bool m_idHasBeenSet = false;
181 bool m_arnHasBeenSet = false;
182 bool m_versionHasBeenSet = false;
183 bool m_createdAtHasBeenSet = false;
184 bool m_updatedAtHasBeenSet = false;
185};
186
187} // namespace Model
188} // namespace BedrockAgent
189} // namespace Aws
const Aws::Utils::DateTime & GetCreatedAt() const
PromptSummary & WithUpdatedAt(UpdatedAtT &&value)
PromptSummary & WithDescription(DescriptionT &&value)
void SetCreatedAt(CreatedAtT &&value)
PromptSummary & WithName(NameT &&value)
const Aws::String & GetVersion() const
AWS_BEDROCKAGENT_API PromptSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PromptSummary & WithCreatedAt(CreatedAtT &&value)
AWS_BEDROCKAGENT_API PromptSummary(Aws::Utils::Json::JsonView jsonValue)
PromptSummary & WithArn(ArnT &&value)
PromptSummary & WithId(IdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetArn() const
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetName() const
PromptSummary & WithVersion(VersionT &&value)
const Aws::String & GetId() const
void SetUpdatedAt(UpdatedAtT &&value)
AWS_BEDROCKAGENT_API PromptSummary()=default
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