AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 GetFlowVersionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
47 inline GetFlowVersionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
48 inline GetFlowVersionResult& 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 GetFlowVersionResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
59 inline GetFlowVersionResult& 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); }
73 inline GetFlowVersionResult& 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 GetFlowVersionResult& WithDefinition(const FlowDefinition& value) { SetDefinition(value); return *this;}
84 inline GetFlowVersionResult& 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 GetFlowVersionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
96 inline GetFlowVersionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
97 inline GetFlowVersionResult& 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 GetFlowVersionResult& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;}
113 inline GetFlowVersionResult& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
114 inline GetFlowVersionResult& 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 GetFlowVersionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
126 inline GetFlowVersionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
127 inline GetFlowVersionResult& 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 GetFlowVersionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
139 inline GetFlowVersionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
140 inline GetFlowVersionResult& WithName(const char* value) { SetName(value); return *this;}
142
144
147 inline const FlowStatus& GetStatus() const{ return m_status; }
148 inline void SetStatus(const FlowStatus& value) { m_status = value; }
149 inline void SetStatus(FlowStatus&& value) { m_status = std::move(value); }
150 inline GetFlowVersionResult& WithStatus(const FlowStatus& value) { SetStatus(value); return *this;}
151 inline GetFlowVersionResult& WithStatus(FlowStatus&& value) { SetStatus(std::move(value)); return *this;}
153
155
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 GetFlowVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
163 inline GetFlowVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
164 inline GetFlowVersionResult& 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 GetFlowVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
174 inline GetFlowVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
175 inline GetFlowVersionResult& 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
GetFlowVersionResult & WithExecutionRoleArn(const char *value)
GetFlowVersionResult & WithId(const char *value)
GetFlowVersionResult & WithStatus(const FlowStatus &value)
GetFlowVersionResult & WithDescription(const char *value)
GetFlowVersionResult & WithId(const Aws::String &value)
GetFlowVersionResult & WithCustomerEncryptionKeyArn(const char *value)
GetFlowVersionResult & WithRequestId(const char *value)
GetFlowVersionResult & WithDefinition(const FlowDefinition &value)
GetFlowVersionResult & WithName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetFlowVersionResult & WithArn(Aws::String &&value)
GetFlowVersionResult & WithDescription(Aws::String &&value)
GetFlowVersionResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetFlowVersionResult & WithStatus(FlowStatus &&value)
GetFlowVersionResult & WithVersion(const char *value)
GetFlowVersionResult & WithExecutionRoleArn(Aws::String &&value)
AWS_BEDROCKAGENT_API GetFlowVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFlowVersionResult & WithExecutionRoleArn(const Aws::String &value)
GetFlowVersionResult & WithId(Aws::String &&value)
GetFlowVersionResult & WithName(Aws::String &&value)
GetFlowVersionResult & WithName(const char *value)
void SetCustomerEncryptionKeyArn(const Aws::String &value)
GetFlowVersionResult & WithArn(const char *value)
GetFlowVersionResult & WithVersion(Aws::String &&value)
void SetDefinition(const FlowDefinition &value)
GetFlowVersionResult & WithDefinition(FlowDefinition &&value)
GetFlowVersionResult & WithRequestId(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetFlowVersionResult & WithDescription(const Aws::String &value)
GetFlowVersionResult & WithArn(const Aws::String &value)
AWS_BEDROCKAGENT_API GetFlowVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFlowVersionResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetFlowVersionResult & WithRequestId(Aws::String &&value)
GetFlowVersionResult & WithCustomerEncryptionKeyArn(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetFlowVersionResult & WithCustomerEncryptionKeyArn(const Aws::String &value)
GetFlowVersionResult & WithVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue