AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PromptSummary.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgent
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_BEDROCKAGENT_API PromptSummary() = default;
39 AWS_BEDROCKAGENT_API PromptSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENT_API PromptSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetArn() const { return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 template<typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
53 template<typename ArnT = Aws::String>
54 PromptSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
62 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
63 template<typename CreatedAtT = Aws::Utils::DateTime>
64 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
65 template<typename CreatedAtT = Aws::Utils::DateTime>
66 PromptSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 template<typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
77 template<typename DescriptionT = Aws::String>
78 PromptSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
80
82
85 inline const Aws::String& GetId() const { return m_id; }
86 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
87 template<typename IdT = Aws::String>
88 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
89 template<typename IdT = Aws::String>
90 PromptSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
92
94
97 inline const Aws::String& GetName() const { return m_name; }
98 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
99 template<typename NameT = Aws::String>
100 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
101 template<typename NameT = Aws::String>
102 PromptSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
110 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
111 template<typename UpdatedAtT = Aws::Utils::DateTime>
112 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
113 template<typename UpdatedAtT = Aws::Utils::DateTime>
114 PromptSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
116
118
121 inline const Aws::String& GetVersion() const { return m_version; }
122 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
123 template<typename VersionT = Aws::String>
124 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
125 template<typename VersionT = Aws::String>
126 PromptSummary& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
128 private:
129
130 Aws::String m_arn;
131 bool m_arnHasBeenSet = false;
132
133 Aws::Utils::DateTime m_createdAt{};
134 bool m_createdAtHasBeenSet = false;
135
136 Aws::String m_description;
137 bool m_descriptionHasBeenSet = false;
138
139 Aws::String m_id;
140 bool m_idHasBeenSet = false;
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
145 Aws::Utils::DateTime m_updatedAt{};
146 bool m_updatedAtHasBeenSet = false;
147
148 Aws::String m_version;
149 bool m_versionHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace BedrockAgent
154} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue