AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
36
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 template<typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
45 template<typename ArnT = Aws::String>
46 UpdateFlowResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
48
50
53 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
54 template<typename CreatedAtT = Aws::Utils::DateTime>
55 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
56 template<typename CreatedAtT = Aws::Utils::DateTime>
57 UpdateFlowResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
59
61
65 inline const Aws::String& GetCustomerEncryptionKeyArn() const { return m_customerEncryptionKeyArn; }
66 template<typename CustomerEncryptionKeyArnT = Aws::String>
67 void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { m_customerEncryptionKeyArnHasBeenSet = true; m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value); }
68 template<typename CustomerEncryptionKeyArnT = Aws::String>
69 UpdateFlowResult& WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { SetCustomerEncryptionKeyArn(std::forward<CustomerEncryptionKeyArnT>(value)); return *this;}
71
73
76 inline const FlowDefinition& GetDefinition() const { return m_definition; }
77 template<typename DefinitionT = FlowDefinition>
78 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet = true; m_definition = std::forward<DefinitionT>(value); }
79 template<typename DefinitionT = FlowDefinition>
80 UpdateFlowResult& WithDefinition(DefinitionT&& value) { SetDefinition(std::forward<DefinitionT>(value)); return *this;}
82
84
87 inline const Aws::String& GetDescription() const { return m_description; }
88 template<typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
90 template<typename DescriptionT = Aws::String>
91 UpdateFlowResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
93
95
102 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
103 template<typename ExecutionRoleArnT = Aws::String>
104 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
105 template<typename ExecutionRoleArnT = Aws::String>
106 UpdateFlowResult& WithExecutionRoleArn(ExecutionRoleArnT&& value) { SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value)); return *this;}
108
110
113 inline const Aws::String& GetId() const { return m_id; }
114 template<typename IdT = Aws::String>
115 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
116 template<typename IdT = Aws::String>
117 UpdateFlowResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
119
121
124 inline const Aws::String& GetName() const { return m_name; }
125 template<typename NameT = Aws::String>
126 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
127 template<typename NameT = Aws::String>
128 UpdateFlowResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
130
132
137 inline FlowStatus GetStatus() const { return m_status; }
138 inline void SetStatus(FlowStatus value) { m_statusHasBeenSet = true; m_status = value; }
139 inline UpdateFlowResult& WithStatus(FlowStatus value) { SetStatus(value); return *this;}
141
143
146 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
147 template<typename UpdatedAtT = Aws::Utils::DateTime>
148 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
149 template<typename UpdatedAtT = Aws::Utils::DateTime>
150 UpdateFlowResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
152
154
158 inline const Aws::String& GetVersion() const { return m_version; }
159 template<typename VersionT = Aws::String>
160 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
161 template<typename VersionT = Aws::String>
162 UpdateFlowResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
164
166
167 inline const Aws::String& GetRequestId() const { return m_requestId; }
168 template<typename RequestIdT = Aws::String>
169 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
170 template<typename RequestIdT = Aws::String>
171 UpdateFlowResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
173 private:
174
175 Aws::String m_arn;
176 bool m_arnHasBeenSet = false;
177
178 Aws::Utils::DateTime m_createdAt{};
179 bool m_createdAtHasBeenSet = false;
180
181 Aws::String m_customerEncryptionKeyArn;
182 bool m_customerEncryptionKeyArnHasBeenSet = false;
183
184 FlowDefinition m_definition;
185 bool m_definitionHasBeenSet = false;
186
187 Aws::String m_description;
188 bool m_descriptionHasBeenSet = false;
189
190 Aws::String m_executionRoleArn;
191 bool m_executionRoleArnHasBeenSet = false;
192
193 Aws::String m_id;
194 bool m_idHasBeenSet = false;
195
196 Aws::String m_name;
197 bool m_nameHasBeenSet = false;
198
200 bool m_statusHasBeenSet = false;
201
202 Aws::Utils::DateTime m_updatedAt{};
203 bool m_updatedAtHasBeenSet = false;
204
205 Aws::String m_version;
206 bool m_versionHasBeenSet = false;
207
208 Aws::String m_requestId;
209 bool m_requestIdHasBeenSet = false;
210 };
211
212} // namespace Model
213} // namespace BedrockAgent
214} // namespace Aws
AWS_BEDROCKAGENT_API UpdateFlowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFlowResult & WithCreatedAt(CreatedAtT &&value)
UpdateFlowResult & WithDescription(DescriptionT &&value)
UpdateFlowResult & WithId(IdT &&value)
const Aws::String & GetExecutionRoleArn() const
UpdateFlowResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetCustomerEncryptionKeyArn() const
UpdateFlowResult & WithRequestId(RequestIdT &&value)
AWS_BEDROCKAGENT_API UpdateFlowResult()=default
UpdateFlowResult & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
UpdateFlowResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
UpdateFlowResult & WithName(NameT &&value)
UpdateFlowResult & WithDefinition(DefinitionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
UpdateFlowResult & WithArn(ArnT &&value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
const FlowDefinition & GetDefinition() const
AWS_BEDROCKAGENT_API UpdateFlowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDescription() const
UpdateFlowResult & WithVersion(VersionT &&value)
UpdateFlowResult & WithStatus(FlowStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue