AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 CreateFlowVersionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
47 inline CreateFlowVersionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
48 inline CreateFlowVersionResult& 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 CreateFlowVersionResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
59 inline CreateFlowVersionResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
61
63
66 inline const Aws::String& GetCustomerEncryptionKeyArn() const{ return m_customerEncryptionKeyArn; }
67 inline void SetCustomerEncryptionKeyArn(const Aws::String& value) { m_customerEncryptionKeyArn = value; }
68 inline void SetCustomerEncryptionKeyArn(Aws::String&& value) { m_customerEncryptionKeyArn = std::move(value); }
69 inline void SetCustomerEncryptionKeyArn(const char* value) { m_customerEncryptionKeyArn.assign(value); }
72 inline CreateFlowVersionResult& WithCustomerEncryptionKeyArn(const char* value) { SetCustomerEncryptionKeyArn(value); return *this;}
74
76
79 inline const FlowDefinition& GetDefinition() const{ return m_definition; }
80 inline void SetDefinition(const FlowDefinition& value) { m_definition = value; }
81 inline void SetDefinition(FlowDefinition&& value) { m_definition = std::move(value); }
82 inline CreateFlowVersionResult& WithDefinition(const FlowDefinition& value) { SetDefinition(value); return *this;}
83 inline CreateFlowVersionResult& WithDefinition(FlowDefinition&& value) { SetDefinition(std::move(value)); return *this;}
85
87
90 inline const Aws::String& GetDescription() const{ return m_description; }
91 inline void SetDescription(const Aws::String& value) { m_description = value; }
92 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
93 inline void SetDescription(const char* value) { m_description.assign(value); }
94 inline CreateFlowVersionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
95 inline CreateFlowVersionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
96 inline CreateFlowVersionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
98
100
107 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
108 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArn = value; }
109 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArn = std::move(value); }
110 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArn.assign(value); }
112 inline CreateFlowVersionResult& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
113 inline CreateFlowVersionResult& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
115
117
120 inline const Aws::String& GetId() const{ return m_id; }
121 inline void SetId(const Aws::String& value) { m_id = value; }
122 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
123 inline void SetId(const char* value) { m_id.assign(value); }
124 inline CreateFlowVersionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
125 inline CreateFlowVersionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
126 inline CreateFlowVersionResult& WithId(const char* value) { SetId(value); return *this;}
128
130
133 inline const Aws::String& GetName() const{ return m_name; }
134 inline void SetName(const Aws::String& value) { m_name = value; }
135 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
136 inline void SetName(const char* value) { m_name.assign(value); }
137 inline CreateFlowVersionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
138 inline CreateFlowVersionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
139 inline CreateFlowVersionResult& WithName(const char* value) { SetName(value); return *this;}
141
143
146 inline const FlowStatus& GetStatus() const{ return m_status; }
147 inline void SetStatus(const FlowStatus& value) { m_status = value; }
148 inline void SetStatus(FlowStatus&& value) { m_status = std::move(value); }
149 inline CreateFlowVersionResult& WithStatus(const FlowStatus& value) { SetStatus(value); return *this;}
150 inline CreateFlowVersionResult& WithStatus(FlowStatus&& value) { SetStatus(std::move(value)); return *this;}
152
154
158 inline const Aws::String& GetVersion() const{ return m_version; }
159 inline void SetVersion(const Aws::String& value) { m_version = value; }
160 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
161 inline void SetVersion(const char* value) { m_version.assign(value); }
162 inline CreateFlowVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
163 inline CreateFlowVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
164 inline CreateFlowVersionResult& WithVersion(const char* value) { SetVersion(value); return *this;}
166
168
169 inline const Aws::String& GetRequestId() const{ return m_requestId; }
170 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
171 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
172 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
173 inline CreateFlowVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
174 inline CreateFlowVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
175 inline CreateFlowVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
177 private:
178
179 Aws::String m_arn;
180
181 Aws::Utils::DateTime m_createdAt;
182
183 Aws::String m_customerEncryptionKeyArn;
184
185 FlowDefinition m_definition;
186
187 Aws::String m_description;
188
189 Aws::String m_executionRoleArn;
190
191 Aws::String m_id;
192
193 Aws::String m_name;
194
195 FlowStatus m_status;
196
197 Aws::String m_version;
198
199 Aws::String m_requestId;
200 };
201
202} // namespace Model
203} // namespace BedrockAgent
204} // namespace Aws
CreateFlowVersionResult & WithId(Aws::String &&value)
CreateFlowVersionResult & WithDescription(const char *value)
CreateFlowVersionResult & WithRequestId(const char *value)
CreateFlowVersionResult & WithId(const char *value)
CreateFlowVersionResult & WithExecutionRoleArn(const Aws::String &value)
CreateFlowVersionResult & WithVersion(const Aws::String &value)
AWS_BEDROCKAGENT_API CreateFlowVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFlowVersionResult & WithName(Aws::String &&value)
CreateFlowVersionResult & WithArn(const Aws::String &value)
CreateFlowVersionResult & WithCustomerEncryptionKeyArn(const Aws::String &value)
CreateFlowVersionResult & WithName(const char *value)
CreateFlowVersionResult & WithStatus(const FlowStatus &value)
CreateFlowVersionResult & WithStatus(FlowStatus &&value)
CreateFlowVersionResult & WithVersion(const char *value)
CreateFlowVersionResult & WithId(const Aws::String &value)
CreateFlowVersionResult & WithRequestId(Aws::String &&value)
CreateFlowVersionResult & WithExecutionRoleArn(const char *value)
CreateFlowVersionResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreateFlowVersionResult & WithArn(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
CreateFlowVersionResult & WithDefinition(FlowDefinition &&value)
CreateFlowVersionResult & WithExecutionRoleArn(Aws::String &&value)
CreateFlowVersionResult & WithCustomerEncryptionKeyArn(const char *value)
CreateFlowVersionResult & WithDescription(const Aws::String &value)
CreateFlowVersionResult & WithDescription(Aws::String &&value)
AWS_BEDROCKAGENT_API CreateFlowVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFlowVersionResult & WithCustomerEncryptionKeyArn(Aws::String &&value)
CreateFlowVersionResult & WithName(const Aws::String &value)
CreateFlowVersionResult & WithVersion(Aws::String &&value)
CreateFlowVersionResult & WithDefinition(const FlowDefinition &value)
CreateFlowVersionResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateFlowVersionResult & WithRequestId(const Aws::String &value)
CreateFlowVersionResult & WithArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue