AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPromptResult.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/bedrock-agent/model/PromptVariant.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace BedrockAgent
27{
28namespace Model
29{
31 {
32 public:
33 AWS_BEDROCKAGENT_API GetPromptResult();
36
37
39
43 inline const Aws::String& GetArn() const{ return m_arn; }
44 inline void SetArn(const Aws::String& value) { m_arn = value; }
45 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
46 inline void SetArn(const char* value) { m_arn.assign(value); }
47 inline GetPromptResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline GetPromptResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline GetPromptResult& WithArn(const char* value) { SetArn(value); return *this;}
51
53
56 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
57 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
58 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
59 inline GetPromptResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
60 inline GetPromptResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
62
64
68 inline const Aws::String& GetCustomerEncryptionKeyArn() const{ return m_customerEncryptionKeyArn; }
69 inline void SetCustomerEncryptionKeyArn(const Aws::String& value) { m_customerEncryptionKeyArn = value; }
70 inline void SetCustomerEncryptionKeyArn(Aws::String&& value) { m_customerEncryptionKeyArn = std::move(value); }
71 inline void SetCustomerEncryptionKeyArn(const char* value) { m_customerEncryptionKeyArn.assign(value); }
73 inline GetPromptResult& WithCustomerEncryptionKeyArn(Aws::String&& value) { SetCustomerEncryptionKeyArn(std::move(value)); return *this;}
74 inline GetPromptResult& WithCustomerEncryptionKeyArn(const char* value) { SetCustomerEncryptionKeyArn(value); return *this;}
76
78
84 inline const Aws::String& GetDefaultVariant() const{ return m_defaultVariant; }
85 inline void SetDefaultVariant(const Aws::String& value) { m_defaultVariant = value; }
86 inline void SetDefaultVariant(Aws::String&& value) { m_defaultVariant = std::move(value); }
87 inline void SetDefaultVariant(const char* value) { m_defaultVariant.assign(value); }
88 inline GetPromptResult& WithDefaultVariant(const Aws::String& value) { SetDefaultVariant(value); return *this;}
89 inline GetPromptResult& WithDefaultVariant(Aws::String&& value) { SetDefaultVariant(std::move(value)); return *this;}
90 inline GetPromptResult& WithDefaultVariant(const char* value) { SetDefaultVariant(value); return *this;}
92
94
97 inline const Aws::String& GetDescription() const{ return m_description; }
98 inline void SetDescription(const Aws::String& value) { m_description = value; }
99 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
100 inline void SetDescription(const char* value) { m_description.assign(value); }
101 inline GetPromptResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
102 inline GetPromptResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
103 inline GetPromptResult& WithDescription(const char* value) { SetDescription(value); return *this;}
105
107
110 inline const Aws::String& GetId() const{ return m_id; }
111 inline void SetId(const Aws::String& value) { m_id = value; }
112 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
113 inline void SetId(const char* value) { m_id.assign(value); }
114 inline GetPromptResult& WithId(const Aws::String& value) { SetId(value); return *this;}
115 inline GetPromptResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
116 inline GetPromptResult& WithId(const char* value) { SetId(value); return *this;}
118
120
123 inline const Aws::String& GetName() const{ return m_name; }
124 inline void SetName(const Aws::String& value) { m_name = value; }
125 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
126 inline void SetName(const char* value) { m_name.assign(value); }
127 inline GetPromptResult& WithName(const Aws::String& value) { SetName(value); return *this;}
128 inline GetPromptResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
129 inline GetPromptResult& WithName(const char* value) { SetName(value); return *this;}
131
133
136 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
137 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
138 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
139 inline GetPromptResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
140 inline GetPromptResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
142
144
147 inline const Aws::Vector<PromptVariant>& GetVariants() const{ return m_variants; }
148 inline void SetVariants(const Aws::Vector<PromptVariant>& value) { m_variants = value; }
149 inline void SetVariants(Aws::Vector<PromptVariant>&& value) { m_variants = std::move(value); }
150 inline GetPromptResult& WithVariants(const Aws::Vector<PromptVariant>& value) { SetVariants(value); return *this;}
151 inline GetPromptResult& WithVariants(Aws::Vector<PromptVariant>&& value) { SetVariants(std::move(value)); return *this;}
152 inline GetPromptResult& AddVariants(const PromptVariant& value) { m_variants.push_back(value); return *this; }
153 inline GetPromptResult& AddVariants(PromptVariant&& value) { m_variants.push_back(std::move(value)); return *this; }
155
157
160 inline const Aws::String& GetVersion() const{ return m_version; }
161 inline void SetVersion(const Aws::String& value) { m_version = value; }
162 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
163 inline void SetVersion(const char* value) { m_version.assign(value); }
164 inline GetPromptResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
165 inline GetPromptResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
166 inline GetPromptResult& WithVersion(const char* value) { SetVersion(value); return *this;}
168
170
171 inline const Aws::String& GetRequestId() const{ return m_requestId; }
172 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
173 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
174 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
175 inline GetPromptResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
176 inline GetPromptResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
177 inline GetPromptResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
179 private:
180
181 Aws::String m_arn;
182
183 Aws::Utils::DateTime m_createdAt;
184
185 Aws::String m_customerEncryptionKeyArn;
186
187 Aws::String m_defaultVariant;
188
189 Aws::String m_description;
190
191 Aws::String m_id;
192
193 Aws::String m_name;
194
195 Aws::Utils::DateTime m_updatedAt;
196
198
199 Aws::String m_version;
200
201 Aws::String m_requestId;
202 };
203
204} // namespace Model
205} // namespace BedrockAgent
206} // namespace Aws
GetPromptResult & WithRequestId(const char *value)
void SetId(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetPromptResult & WithId(const char *value)
GetPromptResult & WithVersion(Aws::String &&value)
GetPromptResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
AWS_BEDROCKAGENT_API GetPromptResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPromptResult & WithCustomerEncryptionKeyArn(const char *value)
GetPromptResult & WithArn(const char *value)
GetPromptResult & WithId(const Aws::String &value)
GetPromptResult & WithDescription(Aws::String &&value)
const Aws::String & GetRequestId() const
void SetArn(const Aws::String &value)
GetPromptResult & WithDefaultVariant(const char *value)
void SetCustomerEncryptionKeyArn(Aws::String &&value)
GetPromptResult & WithVersion(const Aws::String &value)
GetPromptResult & WithArn(Aws::String &&value)
GetPromptResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetPromptResult & WithCustomerEncryptionKeyArn(const Aws::String &value)
void SetVariants(Aws::Vector< PromptVariant > &&value)
GetPromptResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetRequestId(const Aws::String &value)
AWS_BEDROCKAGENT_API GetPromptResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPromptResult & WithDefaultVariant(const Aws::String &value)
GetPromptResult & WithId(Aws::String &&value)
void SetVariants(const Aws::Vector< PromptVariant > &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetVersion(const Aws::String &value)
void SetCustomerEncryptionKeyArn(const char *value)
void SetName(const Aws::String &value)
GetPromptResult & AddVariants(const PromptVariant &value)
void SetDefaultVariant(Aws::String &&value)
void SetCustomerEncryptionKeyArn(const Aws::String &value)
GetPromptResult & WithVariants(Aws::Vector< PromptVariant > &&value)
void SetDescription(const Aws::String &value)
const Aws::Vector< PromptVariant > & GetVariants() const
const Aws::String & GetDefaultVariant() const
GetPromptResult & WithDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetDefaultVariant(const Aws::String &value)
GetPromptResult & WithVersion(const char *value)
GetPromptResult & WithRequestId(Aws::String &&value)
GetPromptResult & WithDescription(const char *value)
GetPromptResult & WithRequestId(const Aws::String &value)
GetPromptResult & WithCustomerEncryptionKeyArn(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetPromptResult & AddVariants(PromptVariant &&value)
GetPromptResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetPromptResult & WithName(Aws::String &&value)
const Aws::String & GetDescription() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
GetPromptResult & WithDefaultVariant(Aws::String &&value)
GetPromptResult & WithVariants(const Aws::Vector< PromptVariant > &value)
const Aws::String & GetCustomerEncryptionKeyArn() const
GetPromptResult & WithName(const char *value)
GetPromptResult & WithArn(const Aws::String &value)
GetPromptResult & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue