AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFlowAliasResult.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/bedrock-agent/model/FlowAliasRoutingConfigurationListItem.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 GetFlowAliasResult();
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 GetFlowAliasResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
47 inline GetFlowAliasResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
48 inline GetFlowAliasResult& 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 GetFlowAliasResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
59 inline GetFlowAliasResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
61
63
66 inline const Aws::String& GetDescription() const{ return m_description; }
67 inline void SetDescription(const Aws::String& value) { m_description = value; }
68 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
69 inline void SetDescription(const char* value) { m_description.assign(value); }
70 inline GetFlowAliasResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
71 inline GetFlowAliasResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
72 inline GetFlowAliasResult& WithDescription(const char* value) { SetDescription(value); return *this;}
74
76
79 inline const Aws::String& GetFlowId() const{ return m_flowId; }
80 inline void SetFlowId(const Aws::String& value) { m_flowId = value; }
81 inline void SetFlowId(Aws::String&& value) { m_flowId = std::move(value); }
82 inline void SetFlowId(const char* value) { m_flowId.assign(value); }
83 inline GetFlowAliasResult& WithFlowId(const Aws::String& value) { SetFlowId(value); return *this;}
84 inline GetFlowAliasResult& WithFlowId(Aws::String&& value) { SetFlowId(std::move(value)); return *this;}
85 inline GetFlowAliasResult& WithFlowId(const char* value) { SetFlowId(value); return *this;}
87
89
92 inline const Aws::String& GetId() const{ return m_id; }
93 inline void SetId(const Aws::String& value) { m_id = value; }
94 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
95 inline void SetId(const char* value) { m_id.assign(value); }
96 inline GetFlowAliasResult& WithId(const Aws::String& value) { SetId(value); return *this;}
97 inline GetFlowAliasResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
98 inline GetFlowAliasResult& WithId(const char* value) { SetId(value); return *this;}
100
102
105 inline const Aws::String& GetName() const{ return m_name; }
106 inline void SetName(const Aws::String& value) { m_name = value; }
107 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
108 inline void SetName(const char* value) { m_name.assign(value); }
109 inline GetFlowAliasResult& WithName(const Aws::String& value) { SetName(value); return *this;}
110 inline GetFlowAliasResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
111 inline GetFlowAliasResult& WithName(const char* value) { SetName(value); return *this;}
113
115
118 inline const Aws::Vector<FlowAliasRoutingConfigurationListItem>& GetRoutingConfiguration() const{ return m_routingConfiguration; }
119 inline void SetRoutingConfiguration(const Aws::Vector<FlowAliasRoutingConfigurationListItem>& value) { m_routingConfiguration = value; }
120 inline void SetRoutingConfiguration(Aws::Vector<FlowAliasRoutingConfigurationListItem>&& value) { m_routingConfiguration = std::move(value); }
123 inline GetFlowAliasResult& AddRoutingConfiguration(const FlowAliasRoutingConfigurationListItem& value) { m_routingConfiguration.push_back(value); return *this; }
124 inline GetFlowAliasResult& AddRoutingConfiguration(FlowAliasRoutingConfigurationListItem&& value) { m_routingConfiguration.push_back(std::move(value)); return *this; }
126
128
131 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
132 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
133 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
134 inline GetFlowAliasResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
135 inline GetFlowAliasResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
137
139
140 inline const Aws::String& GetRequestId() const{ return m_requestId; }
141 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
142 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
143 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
144 inline GetFlowAliasResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
145 inline GetFlowAliasResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
146 inline GetFlowAliasResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
148 private:
149
150 Aws::String m_arn;
151
152 Aws::Utils::DateTime m_createdAt;
153
154 Aws::String m_description;
155
156 Aws::String m_flowId;
157
158 Aws::String m_id;
159
160 Aws::String m_name;
161
163
164 Aws::Utils::DateTime m_updatedAt;
165
166 Aws::String m_requestId;
167 };
168
169} // namespace Model
170} // namespace BedrockAgent
171} // namespace Aws
GetFlowAliasResult & AddRoutingConfiguration(const FlowAliasRoutingConfigurationListItem &value)
void SetRoutingConfiguration(Aws::Vector< FlowAliasRoutingConfigurationListItem > &&value)
GetFlowAliasResult & WithRequestId(const char *value)
GetFlowAliasResult & WithFlowId(const char *value)
void SetDescription(const Aws::String &value)
GetFlowAliasResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetFlowAliasResult & WithRequestId(const Aws::String &value)
GetFlowAliasResult & WithDescription(const char *value)
GetFlowAliasResult & WithId(const char *value)
GetFlowAliasResult & WithRequestId(Aws::String &&value)
GetFlowAliasResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
GetFlowAliasResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetFlowAliasResult & WithRoutingConfiguration(Aws::Vector< FlowAliasRoutingConfigurationListItem > &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetFlowAliasResult & WithName(Aws::String &&value)
void SetRoutingConfiguration(const Aws::Vector< FlowAliasRoutingConfigurationListItem > &value)
GetFlowAliasResult & AddRoutingConfiguration(FlowAliasRoutingConfigurationListItem &&value)
GetFlowAliasResult & WithId(Aws::String &&value)
GetFlowAliasResult & WithFlowId(Aws::String &&value)
GetFlowAliasResult & WithFlowId(const Aws::String &value)
AWS_BEDROCKAGENT_API GetFlowAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFlowAliasResult & WithId(const Aws::String &value)
GetFlowAliasResult & WithDescription(const Aws::String &value)
GetFlowAliasResult & WithDescription(Aws::String &&value)
GetFlowAliasResult & WithRoutingConfiguration(const Aws::Vector< FlowAliasRoutingConfigurationListItem > &value)
GetFlowAliasResult & WithName(const char *value)
AWS_BEDROCKAGENT_API GetFlowAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFlowAliasResult & WithName(const Aws::String &value)
GetFlowAliasResult & WithArn(const char *value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
GetFlowAliasResult & WithArn(Aws::String &&value)
GetFlowAliasResult & WithArn(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetFlowAliasResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Vector< FlowAliasRoutingConfigurationListItem > & GetRoutingConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue