AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetFlowVersionResult.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 GetFlowVersionResult() = 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 GetFlowVersionResult& 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 GetFlowVersionResult& 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 GetFlowVersionResult& 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 GetFlowVersionResult& 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 GetFlowVersionResult& 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 GetFlowVersionResult& 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 GetFlowVersionResult& 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 GetFlowVersionResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
130
132
135 inline FlowStatus GetStatus() const { return m_status; }
136 inline void SetStatus(FlowStatus value) { m_statusHasBeenSet = true; m_status = value; }
137 inline GetFlowVersionResult& WithStatus(FlowStatus value) { SetStatus(value); return *this;}
139
141
144 inline const Aws::String& GetVersion() const { return m_version; }
145 template<typename VersionT = Aws::String>
146 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
147 template<typename VersionT = Aws::String>
148 GetFlowVersionResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
150
152
153 inline const Aws::String& GetRequestId() const { return m_requestId; }
154 template<typename RequestIdT = Aws::String>
155 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
156 template<typename RequestIdT = Aws::String>
157 GetFlowVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
159 private:
160
161 Aws::String m_arn;
162 bool m_arnHasBeenSet = false;
163
164 Aws::Utils::DateTime m_createdAt{};
165 bool m_createdAtHasBeenSet = false;
166
167 Aws::String m_customerEncryptionKeyArn;
168 bool m_customerEncryptionKeyArnHasBeenSet = false;
169
170 FlowDefinition m_definition;
171 bool m_definitionHasBeenSet = false;
172
173 Aws::String m_description;
174 bool m_descriptionHasBeenSet = false;
175
176 Aws::String m_executionRoleArn;
177 bool m_executionRoleArnHasBeenSet = false;
178
179 Aws::String m_id;
180 bool m_idHasBeenSet = false;
181
182 Aws::String m_name;
183 bool m_nameHasBeenSet = false;
184
186 bool m_statusHasBeenSet = false;
187
188 Aws::String m_version;
189 bool m_versionHasBeenSet = false;
190
191 Aws::String m_requestId;
192 bool m_requestIdHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace BedrockAgent
197} // namespace Aws
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
GetFlowVersionResult & WithVersion(VersionT &&value)
GetFlowVersionResult & WithCreatedAt(CreatedAtT &&value)
AWS_BEDROCKAGENT_API GetFlowVersionResult()=default
GetFlowVersionResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetFlowVersionResult & WithRequestId(RequestIdT &&value)
AWS_BEDROCKAGENT_API GetFlowVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFlowVersionResult & WithDefinition(DefinitionT &&value)
GetFlowVersionResult & WithName(NameT &&value)
GetFlowVersionResult & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
AWS_BEDROCKAGENT_API GetFlowVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
GetFlowVersionResult & WithArn(ArnT &&value)
GetFlowVersionResult & WithStatus(FlowStatus value)
GetFlowVersionResult & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue