AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateFlowVersionResult.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 CreateFlowVersionResult() = 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 CreateFlowVersionResult& 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 CreateFlowVersionResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
59
61
64 inline const Aws::String& GetCustomerEncryptionKeyArn() const { return m_customerEncryptionKeyArn; }
65 template<typename CustomerEncryptionKeyArnT = Aws::String>
66 void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { m_customerEncryptionKeyArnHasBeenSet = true; m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value); }
67 template<typename CustomerEncryptionKeyArnT = Aws::String>
68 CreateFlowVersionResult& WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { SetCustomerEncryptionKeyArn(std::forward<CustomerEncryptionKeyArnT>(value)); return *this;}
70
72
75 inline const FlowDefinition& GetDefinition() const { return m_definition; }
76 template<typename DefinitionT = FlowDefinition>
77 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet = true; m_definition = std::forward<DefinitionT>(value); }
78 template<typename DefinitionT = FlowDefinition>
79 CreateFlowVersionResult& WithDefinition(DefinitionT&& value) { SetDefinition(std::forward<DefinitionT>(value)); return *this;}
81
83
86 inline const Aws::String& GetDescription() const { return m_description; }
87 template<typename DescriptionT = Aws::String>
88 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
89 template<typename DescriptionT = Aws::String>
90 CreateFlowVersionResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
92
94
101 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
102 template<typename ExecutionRoleArnT = Aws::String>
103 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
104 template<typename ExecutionRoleArnT = Aws::String>
105 CreateFlowVersionResult& WithExecutionRoleArn(ExecutionRoleArnT&& value) { SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value)); return *this;}
107
109
112 inline const Aws::String& GetId() const { return m_id; }
113 template<typename IdT = Aws::String>
114 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
115 template<typename IdT = Aws::String>
116 CreateFlowVersionResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
118
120
123 inline const Aws::String& GetName() const { return m_name; }
124 template<typename NameT = Aws::String>
125 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
126 template<typename NameT = Aws::String>
127 CreateFlowVersionResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
129
131
134 inline FlowStatus GetStatus() const { return m_status; }
135 inline void SetStatus(FlowStatus value) { m_statusHasBeenSet = true; m_status = value; }
136 inline CreateFlowVersionResult& WithStatus(FlowStatus value) { SetStatus(value); return *this;}
138
140
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 CreateFlowVersionResult& 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 CreateFlowVersionResult& 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
AWS_BEDROCKAGENT_API CreateFlowVersionResult()=default
AWS_BEDROCKAGENT_API CreateFlowVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFlowVersionResult & WithName(NameT &&value)
CreateFlowVersionResult & WithCreatedAt(CreatedAtT &&value)
CreateFlowVersionResult & WithRequestId(RequestIdT &&value)
CreateFlowVersionResult & WithVersion(VersionT &&value)
CreateFlowVersionResult & WithDefinition(DefinitionT &&value)
CreateFlowVersionResult & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
CreateFlowVersionResult & WithDescription(DescriptionT &&value)
CreateFlowVersionResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
CreateFlowVersionResult & WithArn(ArnT &&value)
AWS_BEDROCKAGENT_API CreateFlowVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFlowVersionResult & WithStatus(FlowStatus value)
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue