AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FlowAliasSummary.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{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgent
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_BEDROCKAGENT_API FlowAliasSummary();
41 AWS_BEDROCKAGENT_API FlowAliasSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENT_API FlowAliasSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetArn() const{ return m_arn; }
51 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
52 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
53 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
54 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
55 inline FlowAliasSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
56 inline FlowAliasSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
57 inline FlowAliasSummary& WithArn(const char* value) { SetArn(value); return *this;}
59
61
64 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
65 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
66 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
67 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
68 inline FlowAliasSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
69 inline FlowAliasSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
71
73
76 inline const Aws::String& GetDescription() const{ return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
79 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
80 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
81 inline FlowAliasSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 inline FlowAliasSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline FlowAliasSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
85
87
90 inline const Aws::String& GetFlowId() const{ return m_flowId; }
91 inline bool FlowIdHasBeenSet() const { return m_flowIdHasBeenSet; }
92 inline void SetFlowId(const Aws::String& value) { m_flowIdHasBeenSet = true; m_flowId = value; }
93 inline void SetFlowId(Aws::String&& value) { m_flowIdHasBeenSet = true; m_flowId = std::move(value); }
94 inline void SetFlowId(const char* value) { m_flowIdHasBeenSet = true; m_flowId.assign(value); }
95 inline FlowAliasSummary& WithFlowId(const Aws::String& value) { SetFlowId(value); return *this;}
96 inline FlowAliasSummary& WithFlowId(Aws::String&& value) { SetFlowId(std::move(value)); return *this;}
97 inline FlowAliasSummary& WithFlowId(const char* value) { SetFlowId(value); return *this;}
99
101
104 inline const Aws::String& GetId() const{ return m_id; }
105 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
106 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
107 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
108 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
109 inline FlowAliasSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
110 inline FlowAliasSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
111 inline FlowAliasSummary& WithId(const char* value) { SetId(value); return *this;}
113
115
118 inline const Aws::String& GetName() const{ return m_name; }
119 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
120 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
121 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
122 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
123 inline FlowAliasSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
124 inline FlowAliasSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
125 inline FlowAliasSummary& WithName(const char* value) { SetName(value); return *this;}
127
129
133 inline const Aws::Vector<FlowAliasRoutingConfigurationListItem>& GetRoutingConfiguration() const{ return m_routingConfiguration; }
134 inline bool RoutingConfigurationHasBeenSet() const { return m_routingConfigurationHasBeenSet; }
135 inline void SetRoutingConfiguration(const Aws::Vector<FlowAliasRoutingConfigurationListItem>& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = value; }
136 inline void SetRoutingConfiguration(Aws::Vector<FlowAliasRoutingConfigurationListItem>&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = std::move(value); }
139 inline FlowAliasSummary& AddRoutingConfiguration(const FlowAliasRoutingConfigurationListItem& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.push_back(value); return *this; }
140 inline FlowAliasSummary& AddRoutingConfiguration(FlowAliasRoutingConfigurationListItem&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.push_back(std::move(value)); return *this; }
142
144
147 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
148 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
149 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
150 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
151 inline FlowAliasSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
152 inline FlowAliasSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
154 private:
155
156 Aws::String m_arn;
157 bool m_arnHasBeenSet = false;
158
159 Aws::Utils::DateTime m_createdAt;
160 bool m_createdAtHasBeenSet = false;
161
162 Aws::String m_description;
163 bool m_descriptionHasBeenSet = false;
164
165 Aws::String m_flowId;
166 bool m_flowIdHasBeenSet = false;
167
168 Aws::String m_id;
169 bool m_idHasBeenSet = false;
170
171 Aws::String m_name;
172 bool m_nameHasBeenSet = false;
173
175 bool m_routingConfigurationHasBeenSet = false;
176
177 Aws::Utils::DateTime m_updatedAt;
178 bool m_updatedAtHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace BedrockAgent
183} // namespace Aws
FlowAliasSummary & WithArn(const char *value)
FlowAliasSummary & WithId(Aws::String &&value)
const Aws::String & GetDescription() const
FlowAliasSummary & WithDescription(Aws::String &&value)
FlowAliasSummary & WithArn(Aws::String &&value)
FlowAliasSummary & AddRoutingConfiguration(FlowAliasRoutingConfigurationListItem &&value)
FlowAliasSummary & WithRoutingConfiguration(Aws::Vector< FlowAliasRoutingConfigurationListItem > &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetRoutingConfiguration(const Aws::Vector< FlowAliasRoutingConfigurationListItem > &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
FlowAliasSummary & WithId(const Aws::String &value)
FlowAliasSummary & WithDescription(const Aws::String &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
FlowAliasSummary & WithRoutingConfiguration(const Aws::Vector< FlowAliasRoutingConfigurationListItem > &value)
void SetDescription(const Aws::String &value)
FlowAliasSummary & AddRoutingConfiguration(const FlowAliasRoutingConfigurationListItem &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
FlowAliasSummary & WithName(const char *value)
FlowAliasSummary & WithName(const Aws::String &value)
void SetArn(const Aws::String &value)
FlowAliasSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
FlowAliasSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
FlowAliasSummary & WithFlowId(Aws::String &&value)
AWS_BEDROCKAGENT_API FlowAliasSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
FlowAliasSummary & WithArn(const Aws::String &value)
FlowAliasSummary & WithFlowId(const Aws::String &value)
FlowAliasSummary & WithFlowId(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
const Aws::Vector< FlowAliasRoutingConfigurationListItem > & GetRoutingConfiguration() const
FlowAliasSummary & WithDescription(const char *value)
FlowAliasSummary & WithName(Aws::String &&value)
AWS_BEDROCKAGENT_API FlowAliasSummary(Aws::Utils::Json::JsonView jsonValue)
void SetFlowId(const Aws::String &value)
void SetRoutingConfiguration(Aws::Vector< FlowAliasRoutingConfigurationListItem > &&value)
FlowAliasSummary & WithId(const char *value)
FlowAliasSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
FlowAliasSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue