AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline PromptSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline PromptSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline PromptSummary& WithArn(const char* value) { SetArn(value); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
64 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
65 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
66 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
67 inline PromptSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
68 inline PromptSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline PromptSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline PromptSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline PromptSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
89 inline const Aws::String& GetId() const{ return m_id; }
90 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
91 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
92 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
93 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
94 inline PromptSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
95 inline PromptSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
96 inline PromptSummary& WithId(const char* value) { SetId(value); return *this;}
98
100
103 inline const Aws::String& GetName() const{ return m_name; }
104 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
105 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
106 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
107 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
108 inline PromptSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
109 inline PromptSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
110 inline PromptSummary& WithName(const char* value) { SetName(value); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
118 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
119 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
120 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
121 inline PromptSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
122 inline PromptSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
124
126
129 inline const Aws::String& GetVersion() const{ return m_version; }
130 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
131 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
132 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
133 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
134 inline PromptSummary& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
135 inline PromptSummary& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
136 inline PromptSummary& WithVersion(const char* value) { SetVersion(value); return *this;}
138 private:
139
140 Aws::String m_arn;
141 bool m_arnHasBeenSet = false;
142
143 Aws::Utils::DateTime m_createdAt;
144 bool m_createdAtHasBeenSet = false;
145
146 Aws::String m_description;
147 bool m_descriptionHasBeenSet = false;
148
149 Aws::String m_id;
150 bool m_idHasBeenSet = false;
151
152 Aws::String m_name;
153 bool m_nameHasBeenSet = false;
154
155 Aws::Utils::DateTime m_updatedAt;
156 bool m_updatedAtHasBeenSet = false;
157
158 Aws::String m_version;
159 bool m_versionHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace BedrockAgent
164} // namespace Aws
PromptSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetVersion(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetVersion(Aws::String &&value)
PromptSummary & WithId(const Aws::String &value)
const Aws::String & GetVersion() const
PromptSummary & WithDescription(const Aws::String &value)
PromptSummary & WithName(const char *value)
PromptSummary & WithName(Aws::String &&value)
AWS_BEDROCKAGENT_API PromptSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PromptSummary & WithVersion(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
PromptSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
PromptSummary & WithDescription(const char *value)
PromptSummary & WithArn(const char *value)
PromptSummary & WithName(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetName(const Aws::String &value)
PromptSummary & WithArn(const Aws::String &value)
AWS_BEDROCKAGENT_API PromptSummary(Aws::Utils::Json::JsonView jsonValue)
PromptSummary & WithDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
PromptSummary & WithVersion(const Aws::String &value)
const Aws::String & GetArn() const
PromptSummary & WithId(Aws::String &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(Aws::String &&value)
const Aws::String & GetDescription() const
PromptSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetId(const Aws::String &value)
PromptSummary & WithId(const char *value)
PromptSummary & WithVersion(const char *value)
const Aws::String & GetName() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetDescription(const char *value)
PromptSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetArn(const Aws::String &value)
PromptSummary & WithArn(Aws::String &&value)
const Aws::String & GetId() const
AWS_BEDROCKAGENT_API PromptSummary()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue