AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFlowResult.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/bedrock-agent/model/FlowDefinition.h>
11#include <aws/bedrock-agent/model/FlowStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/bedrock-agent/model/FlowValidation.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace BedrockAgent
29{
30namespace Model
31{
33 {
34 public:
35 AWS_BEDROCKAGENT_API GetFlowResult();
38
39
41
44 inline const Aws::String& GetArn() const{ return m_arn; }
45 inline void SetArn(const Aws::String& value) { m_arn = value; }
46 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
47 inline void SetArn(const char* value) { m_arn.assign(value); }
48 inline GetFlowResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
49 inline GetFlowResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
50 inline GetFlowResult& WithArn(const char* value) { SetArn(value); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
58 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
59 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
60 inline GetFlowResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
61 inline GetFlowResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
63
65
69 inline const Aws::String& GetCustomerEncryptionKeyArn() const{ return m_customerEncryptionKeyArn; }
70 inline void SetCustomerEncryptionKeyArn(const Aws::String& value) { m_customerEncryptionKeyArn = value; }
71 inline void SetCustomerEncryptionKeyArn(Aws::String&& value) { m_customerEncryptionKeyArn = std::move(value); }
72 inline void SetCustomerEncryptionKeyArn(const char* value) { m_customerEncryptionKeyArn.assign(value); }
74 inline GetFlowResult& WithCustomerEncryptionKeyArn(Aws::String&& value) { SetCustomerEncryptionKeyArn(std::move(value)); return *this;}
75 inline GetFlowResult& WithCustomerEncryptionKeyArn(const char* value) { SetCustomerEncryptionKeyArn(value); return *this;}
77
79
83 inline const FlowDefinition& GetDefinition() const{ return m_definition; }
84 inline void SetDefinition(const FlowDefinition& value) { m_definition = value; }
85 inline void SetDefinition(FlowDefinition&& value) { m_definition = std::move(value); }
86 inline GetFlowResult& WithDefinition(const FlowDefinition& value) { SetDefinition(value); return *this;}
87 inline GetFlowResult& WithDefinition(FlowDefinition&& value) { SetDefinition(std::move(value)); return *this;}
89
91
94 inline const Aws::String& GetDescription() const{ return m_description; }
95 inline void SetDescription(const Aws::String& value) { m_description = value; }
96 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
97 inline void SetDescription(const char* value) { m_description.assign(value); }
98 inline GetFlowResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
99 inline GetFlowResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
100 inline GetFlowResult& WithDescription(const char* value) { SetDescription(value); return *this;}
102
104
110 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
111 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArn = value; }
112 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArn = std::move(value); }
113 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArn.assign(value); }
114 inline GetFlowResult& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;}
115 inline GetFlowResult& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
116 inline GetFlowResult& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
118
120
123 inline const Aws::String& GetId() const{ return m_id; }
124 inline void SetId(const Aws::String& value) { m_id = value; }
125 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
126 inline void SetId(const char* value) { m_id.assign(value); }
127 inline GetFlowResult& WithId(const Aws::String& value) { SetId(value); return *this;}
128 inline GetFlowResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
129 inline GetFlowResult& WithId(const char* value) { SetId(value); return *this;}
131
133
136 inline const Aws::String& GetName() const{ return m_name; }
137 inline void SetName(const Aws::String& value) { m_name = value; }
138 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
139 inline void SetName(const char* value) { m_name.assign(value); }
140 inline GetFlowResult& WithName(const Aws::String& value) { SetName(value); return *this;}
141 inline GetFlowResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
142 inline GetFlowResult& WithName(const char* value) { SetName(value); return *this;}
144
146
163 inline const FlowStatus& GetStatus() const{ return m_status; }
164 inline void SetStatus(const FlowStatus& value) { m_status = value; }
165 inline void SetStatus(FlowStatus&& value) { m_status = std::move(value); }
166 inline GetFlowResult& WithStatus(const FlowStatus& value) { SetStatus(value); return *this;}
167 inline GetFlowResult& WithStatus(FlowStatus&& value) { SetStatus(std::move(value)); return *this;}
169
171
174 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
175 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
176 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
177 inline GetFlowResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
178 inline GetFlowResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
180
182
186 inline const Aws::Vector<FlowValidation>& GetValidations() const{ return m_validations; }
187 inline void SetValidations(const Aws::Vector<FlowValidation>& value) { m_validations = value; }
188 inline void SetValidations(Aws::Vector<FlowValidation>&& value) { m_validations = std::move(value); }
189 inline GetFlowResult& WithValidations(const Aws::Vector<FlowValidation>& value) { SetValidations(value); return *this;}
190 inline GetFlowResult& WithValidations(Aws::Vector<FlowValidation>&& value) { SetValidations(std::move(value)); return *this;}
191 inline GetFlowResult& AddValidations(const FlowValidation& value) { m_validations.push_back(value); return *this; }
192 inline GetFlowResult& AddValidations(FlowValidation&& value) { m_validations.push_back(std::move(value)); return *this; }
194
196
199 inline const Aws::String& GetVersion() const{ return m_version; }
200 inline void SetVersion(const Aws::String& value) { m_version = value; }
201 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
202 inline void SetVersion(const char* value) { m_version.assign(value); }
203 inline GetFlowResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
204 inline GetFlowResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
205 inline GetFlowResult& WithVersion(const char* value) { SetVersion(value); return *this;}
207
209
210 inline const Aws::String& GetRequestId() const{ return m_requestId; }
211 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
212 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
213 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
214 inline GetFlowResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
215 inline GetFlowResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
216 inline GetFlowResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
218 private:
219
220 Aws::String m_arn;
221
222 Aws::Utils::DateTime m_createdAt;
223
224 Aws::String m_customerEncryptionKeyArn;
225
226 FlowDefinition m_definition;
227
228 Aws::String m_description;
229
230 Aws::String m_executionRoleArn;
231
232 Aws::String m_id;
233
234 Aws::String m_name;
235
236 FlowStatus m_status;
237
238 Aws::Utils::DateTime m_updatedAt;
239
240 Aws::Vector<FlowValidation> m_validations;
241
242 Aws::String m_version;
243
244 Aws::String m_requestId;
245 };
246
247} // namespace Model
248} // namespace BedrockAgent
249} // namespace Aws
const Aws::String & GetRequestId() const
const Aws::String & GetArn() const
GetFlowResult & WithRequestId(const Aws::String &value)
GetFlowResult & WithName(const Aws::String &value)
GetFlowResult & WithDescription(const char *value)
void SetValidations(Aws::Vector< FlowValidation > &&value)
AWS_BEDROCKAGENT_API GetFlowResult()
const Aws::Vector< FlowValidation > & GetValidations() const
GetFlowResult & WithId(Aws::String &&value)
const FlowDefinition & GetDefinition() const
GetFlowResult & WithStatus(FlowStatus &&value)
void SetStatus(const FlowStatus &value)
void SetArn(const Aws::String &value)
GetFlowResult & WithDescription(Aws::String &&value)
void SetId(const Aws::String &value)
GetFlowResult & WithValidations(Aws::Vector< FlowValidation > &&value)
void SetExecutionRoleArn(const char *value)
GetFlowResult & WithDefinition(const FlowDefinition &value)
GetFlowResult & WithVersion(const char *value)
GetFlowResult & WithExecutionRoleArn(const char *value)
const Aws::String & GetName() const
void SetVersion(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetFlowResult & WithId(const Aws::String &value)
void SetCustomerEncryptionKeyArn(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetValidations(const Aws::Vector< FlowValidation > &value)
const Aws::String & GetCustomerEncryptionKeyArn() const
void SetDescription(const Aws::String &value)
void SetRequestId(const Aws::String &value)
GetFlowResult & WithValidations(const Aws::Vector< FlowValidation > &value)
GetFlowResult & WithCustomerEncryptionKeyArn(Aws::String &&value)
void SetDefinition(const FlowDefinition &value)
const Aws::String & GetDescription() const
AWS_BEDROCKAGENT_API GetFlowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCustomerEncryptionKeyArn(const char *value)
GetFlowResult & WithArn(Aws::String &&value)
void SetExecutionRoleArn(const Aws::String &value)
GetFlowResult & AddValidations(FlowValidation &&value)
void SetDescription(Aws::String &&value)
AWS_BEDROCKAGENT_API GetFlowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFlowResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetFlowResult & WithName(Aws::String &&value)
const Aws::String & GetExecutionRoleArn() const
void SetRequestId(Aws::String &&value)
GetFlowResult & WithName(const char *value)
GetFlowResult & WithArn(const Aws::String &value)
GetFlowResult & WithId(const char *value)
void SetCustomerEncryptionKeyArn(Aws::String &&value)
GetFlowResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetFlowResult & WithExecutionRoleArn(Aws::String &&value)
GetFlowResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetFlowResult & WithStatus(const FlowStatus &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
GetFlowResult & WithCustomerEncryptionKeyArn(const Aws::String &value)
GetFlowResult & WithVersion(Aws::String &&value)
GetFlowResult & WithCustomerEncryptionKeyArn(const char *value)
const Aws::String & GetVersion() const
const Aws::String & GetId() const
void SetExecutionRoleArn(Aws::String &&value)
void SetName(const Aws::String &value)
GetFlowResult & WithDescription(const Aws::String &value)
const FlowStatus & GetStatus() const
GetFlowResult & WithVersion(const Aws::String &value)
GetFlowResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetFlowResult & WithExecutionRoleArn(const Aws::String &value)
void SetVersion(const Aws::String &value)
GetFlowResult & WithRequestId(Aws::String &&value)
GetFlowResult & WithRequestId(const char *value)
void SetDefinition(FlowDefinition &&value)
void SetDescription(const char *value)
GetFlowResult & AddValidations(const FlowValidation &value)
GetFlowResult & WithDefinition(FlowDefinition &&value)
GetFlowResult & WithArn(const char *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