AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFlowResult.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 <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 UpdateFlowResult();
36
37
39
42 inline const Aws::String& GetArn() const{ return m_arn; }
43 inline void SetArn(const Aws::String& value) { m_arn = value; }
44 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
45 inline void SetArn(const char* value) { m_arn.assign(value); }
46 inline UpdateFlowResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
47 inline UpdateFlowResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
48 inline UpdateFlowResult& WithArn(const char* value) { SetArn(value); return *this;}
50
52
55 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
56 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
57 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
58 inline UpdateFlowResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
59 inline UpdateFlowResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
61
63
67 inline const Aws::String& GetCustomerEncryptionKeyArn() const{ return m_customerEncryptionKeyArn; }
68 inline void SetCustomerEncryptionKeyArn(const Aws::String& value) { m_customerEncryptionKeyArn = value; }
69 inline void SetCustomerEncryptionKeyArn(Aws::String&& value) { m_customerEncryptionKeyArn = std::move(value); }
70 inline void SetCustomerEncryptionKeyArn(const char* value) { m_customerEncryptionKeyArn.assign(value); }
72 inline UpdateFlowResult& WithCustomerEncryptionKeyArn(Aws::String&& value) { SetCustomerEncryptionKeyArn(std::move(value)); return *this;}
73 inline UpdateFlowResult& WithCustomerEncryptionKeyArn(const char* value) { SetCustomerEncryptionKeyArn(value); return *this;}
75
77
80 inline const FlowDefinition& GetDefinition() const{ return m_definition; }
81 inline void SetDefinition(const FlowDefinition& value) { m_definition = value; }
82 inline void SetDefinition(FlowDefinition&& value) { m_definition = std::move(value); }
83 inline UpdateFlowResult& WithDefinition(const FlowDefinition& value) { SetDefinition(value); return *this;}
84 inline UpdateFlowResult& WithDefinition(FlowDefinition&& value) { SetDefinition(std::move(value)); return *this;}
86
88
91 inline const Aws::String& GetDescription() const{ return m_description; }
92 inline void SetDescription(const Aws::String& value) { m_description = value; }
93 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
94 inline void SetDescription(const char* value) { m_description.assign(value); }
95 inline UpdateFlowResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
96 inline UpdateFlowResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
97 inline UpdateFlowResult& WithDescription(const char* value) { SetDescription(value); return *this;}
99
101
108 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
109 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArn = value; }
110 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArn = std::move(value); }
111 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArn.assign(value); }
112 inline UpdateFlowResult& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;}
113 inline UpdateFlowResult& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
114 inline UpdateFlowResult& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
116
118
121 inline const Aws::String& GetId() const{ return m_id; }
122 inline void SetId(const Aws::String& value) { m_id = value; }
123 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
124 inline void SetId(const char* value) { m_id.assign(value); }
125 inline UpdateFlowResult& WithId(const Aws::String& value) { SetId(value); return *this;}
126 inline UpdateFlowResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
127 inline UpdateFlowResult& WithId(const char* value) { SetId(value); return *this;}
129
131
134 inline const Aws::String& GetName() const{ return m_name; }
135 inline void SetName(const Aws::String& value) { m_name = value; }
136 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
137 inline void SetName(const char* value) { m_name.assign(value); }
138 inline UpdateFlowResult& WithName(const Aws::String& value) { SetName(value); return *this;}
139 inline UpdateFlowResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
140 inline UpdateFlowResult& WithName(const char* value) { SetName(value); return *this;}
142
144
149 inline const FlowStatus& GetStatus() const{ return m_status; }
150 inline void SetStatus(const FlowStatus& value) { m_status = value; }
151 inline void SetStatus(FlowStatus&& value) { m_status = std::move(value); }
152 inline UpdateFlowResult& WithStatus(const FlowStatus& value) { SetStatus(value); return *this;}
153 inline UpdateFlowResult& WithStatus(FlowStatus&& value) { SetStatus(std::move(value)); return *this;}
155
157
160 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
161 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
162 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
163 inline UpdateFlowResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
164 inline UpdateFlowResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
166
168
172 inline const Aws::String& GetVersion() const{ return m_version; }
173 inline void SetVersion(const Aws::String& value) { m_version = value; }
174 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
175 inline void SetVersion(const char* value) { m_version.assign(value); }
176 inline UpdateFlowResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
177 inline UpdateFlowResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
178 inline UpdateFlowResult& WithVersion(const char* value) { SetVersion(value); return *this;}
180
182
183 inline const Aws::String& GetRequestId() const{ return m_requestId; }
184 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
185 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
186 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
187 inline UpdateFlowResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
188 inline UpdateFlowResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
189 inline UpdateFlowResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
191 private:
192
193 Aws::String m_arn;
194
195 Aws::Utils::DateTime m_createdAt;
196
197 Aws::String m_customerEncryptionKeyArn;
198
199 FlowDefinition m_definition;
200
201 Aws::String m_description;
202
203 Aws::String m_executionRoleArn;
204
205 Aws::String m_id;
206
207 Aws::String m_name;
208
209 FlowStatus m_status;
210
211 Aws::Utils::DateTime m_updatedAt;
212
213 Aws::String m_version;
214
215 Aws::String m_requestId;
216 };
217
218} // namespace Model
219} // namespace BedrockAgent
220} // namespace Aws
AWS_BEDROCKAGENT_API UpdateFlowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFlowResult & WithStatus(FlowStatus &&value)
UpdateFlowResult & WithName(const Aws::String &value)
UpdateFlowResult & WithStatus(const FlowStatus &value)
void SetArn(const Aws::String &value)
void SetCustomerEncryptionKeyArn(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetDefinition(FlowDefinition &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
UpdateFlowResult & WithId(const Aws::String &value)
UpdateFlowResult & WithDescription(const char *value)
UpdateFlowResult & WithVersion(const Aws::String &value)
UpdateFlowResult & WithName(Aws::String &&value)
void SetDefinition(const FlowDefinition &value)
UpdateFlowResult & WithExecutionRoleArn(const Aws::String &value)
void SetName(const Aws::String &value)
UpdateFlowResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetStatus(const FlowStatus &value)
UpdateFlowResult & WithCreatedAt(const Aws::Utils::DateTime &value)
UpdateFlowResult & WithCustomerEncryptionKeyArn(Aws::String &&value)
void SetExecutionRoleArn(const Aws::String &value)
UpdateFlowResult & WithCreatedAt(Aws::Utils::DateTime &&value)
UpdateFlowResult & WithDescription(Aws::String &&value)
UpdateFlowResult & WithId(Aws::String &&value)
const Aws::String & GetExecutionRoleArn() const
const Aws::String & GetCustomerEncryptionKeyArn() const
void SetDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
UpdateFlowResult & WithArn(const char *value)
UpdateFlowResult & WithRequestId(const Aws::String &value)
UpdateFlowResult & WithName(const char *value)
UpdateFlowResult & WithArn(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
UpdateFlowResult & WithExecutionRoleArn(const char *value)
void SetCustomerEncryptionKeyArn(Aws::String &&value)
UpdateFlowResult & WithArn(Aws::String &&value)
void SetVersion(const Aws::String &value)
UpdateFlowResult & WithDescription(const Aws::String &value)
UpdateFlowResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
const FlowDefinition & GetDefinition() const
void SetCustomerEncryptionKeyArn(const Aws::String &value)
UpdateFlowResult & WithRequestId(const char *value)
AWS_BEDROCKAGENT_API UpdateFlowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFlowResult & WithDefinition(FlowDefinition &&value)
UpdateFlowResult & WithCustomerEncryptionKeyArn(const char *value)
UpdateFlowResult & WithRequestId(Aws::String &&value)
UpdateFlowResult & WithExecutionRoleArn(Aws::String &&value)
const Aws::String & GetDescription() const
UpdateFlowResult & WithDefinition(const FlowDefinition &value)
UpdateFlowResult & WithId(const char *value)
UpdateFlowResult & WithCustomerEncryptionKeyArn(const Aws::String &value)
UpdateFlowResult & WithVersion(Aws::String &&value)
UpdateFlowResult & WithVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue