AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AgentAliasSummary.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/bedrock-agent/model/AgentAliasStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/bedrock-agent/model/AgentAliasRoutingConfigurationListItem.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace BedrockAgent
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_BEDROCKAGENT_API AgentAliasSummary();
39 AWS_BEDROCKAGENT_API AgentAliasSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENT_API AgentAliasSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetAgentAliasId() const{ return m_agentAliasId; }
49 inline bool AgentAliasIdHasBeenSet() const { return m_agentAliasIdHasBeenSet; }
50 inline void SetAgentAliasId(const Aws::String& value) { m_agentAliasIdHasBeenSet = true; m_agentAliasId = value; }
51 inline void SetAgentAliasId(Aws::String&& value) { m_agentAliasIdHasBeenSet = true; m_agentAliasId = std::move(value); }
52 inline void SetAgentAliasId(const char* value) { m_agentAliasIdHasBeenSet = true; m_agentAliasId.assign(value); }
53 inline AgentAliasSummary& WithAgentAliasId(const Aws::String& value) { SetAgentAliasId(value); return *this;}
54 inline AgentAliasSummary& WithAgentAliasId(Aws::String&& value) { SetAgentAliasId(std::move(value)); return *this;}
55 inline AgentAliasSummary& WithAgentAliasId(const char* value) { SetAgentAliasId(value); return *this;}
57
59
62 inline const Aws::String& GetAgentAliasName() const{ return m_agentAliasName; }
63 inline bool AgentAliasNameHasBeenSet() const { return m_agentAliasNameHasBeenSet; }
64 inline void SetAgentAliasName(const Aws::String& value) { m_agentAliasNameHasBeenSet = true; m_agentAliasName = value; }
65 inline void SetAgentAliasName(Aws::String&& value) { m_agentAliasNameHasBeenSet = true; m_agentAliasName = std::move(value); }
66 inline void SetAgentAliasName(const char* value) { m_agentAliasNameHasBeenSet = true; m_agentAliasName.assign(value); }
67 inline AgentAliasSummary& WithAgentAliasName(const Aws::String& value) { SetAgentAliasName(value); return *this;}
68 inline AgentAliasSummary& WithAgentAliasName(Aws::String&& value) { SetAgentAliasName(std::move(value)); return *this;}
69 inline AgentAliasSummary& WithAgentAliasName(const char* value) { SetAgentAliasName(value); return *this;}
71
73
76 inline const AgentAliasStatus& GetAgentAliasStatus() const{ return m_agentAliasStatus; }
77 inline bool AgentAliasStatusHasBeenSet() const { return m_agentAliasStatusHasBeenSet; }
78 inline void SetAgentAliasStatus(const AgentAliasStatus& value) { m_agentAliasStatusHasBeenSet = true; m_agentAliasStatus = value; }
79 inline void SetAgentAliasStatus(AgentAliasStatus&& value) { m_agentAliasStatusHasBeenSet = true; m_agentAliasStatus = std::move(value); }
80 inline AgentAliasSummary& WithAgentAliasStatus(const AgentAliasStatus& value) { SetAgentAliasStatus(value); return *this;}
81 inline AgentAliasSummary& WithAgentAliasStatus(AgentAliasStatus&& value) { SetAgentAliasStatus(std::move(value)); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
89 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
90 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
91 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
92 inline AgentAliasSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
93 inline AgentAliasSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetDescription() const{ return m_description; }
101 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
102 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
103 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
104 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
105 inline AgentAliasSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
106 inline AgentAliasSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
107 inline AgentAliasSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
109
111
115 inline const Aws::Vector<AgentAliasRoutingConfigurationListItem>& GetRoutingConfiguration() const{ return m_routingConfiguration; }
116 inline bool RoutingConfigurationHasBeenSet() const { return m_routingConfigurationHasBeenSet; }
117 inline void SetRoutingConfiguration(const Aws::Vector<AgentAliasRoutingConfigurationListItem>& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = value; }
118 inline void SetRoutingConfiguration(Aws::Vector<AgentAliasRoutingConfigurationListItem>&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = std::move(value); }
121 inline AgentAliasSummary& AddRoutingConfiguration(const AgentAliasRoutingConfigurationListItem& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.push_back(value); return *this; }
122 inline AgentAliasSummary& AddRoutingConfiguration(AgentAliasRoutingConfigurationListItem&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.push_back(std::move(value)); return *this; }
124
126
129 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
130 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
131 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
132 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
133 inline AgentAliasSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
134 inline AgentAliasSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
136 private:
137
138 Aws::String m_agentAliasId;
139 bool m_agentAliasIdHasBeenSet = false;
140
141 Aws::String m_agentAliasName;
142 bool m_agentAliasNameHasBeenSet = false;
143
144 AgentAliasStatus m_agentAliasStatus;
145 bool m_agentAliasStatusHasBeenSet = false;
146
147 Aws::Utils::DateTime m_createdAt;
148 bool m_createdAtHasBeenSet = false;
149
150 Aws::String m_description;
151 bool m_descriptionHasBeenSet = false;
152
154 bool m_routingConfigurationHasBeenSet = false;
155
156 Aws::Utils::DateTime m_updatedAt;
157 bool m_updatedAtHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace BedrockAgent
162} // namespace Aws
void SetUpdatedAt(const Aws::Utils::DateTime &value)
AgentAliasSummary & WithAgentAliasName(Aws::String &&value)
void SetAgentAliasName(const Aws::String &value)
AgentAliasSummary & WithAgentAliasStatus(AgentAliasStatus &&value)
AgentAliasSummary & WithAgentAliasStatus(const AgentAliasStatus &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
AgentAliasSummary & AddRoutingConfiguration(AgentAliasRoutingConfigurationListItem &&value)
const Aws::String & GetAgentAliasName() const
AgentAliasSummary & WithDescription(const Aws::String &value)
AgentAliasSummary & WithDescription(const char *value)
const Aws::Vector< AgentAliasRoutingConfigurationListItem > & GetRoutingConfiguration() const
void SetAgentAliasStatus(AgentAliasStatus &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
const AgentAliasStatus & GetAgentAliasStatus() const
AgentAliasSummary & WithDescription(Aws::String &&value)
AgentAliasSummary & WithAgentAliasId(Aws::String &&value)
void SetAgentAliasId(const Aws::String &value)
AgentAliasSummary & AddRoutingConfiguration(const AgentAliasRoutingConfigurationListItem &value)
AgentAliasSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
AgentAliasSummary & WithAgentAliasName(const Aws::String &value)
AgentAliasSummary & WithRoutingConfiguration(Aws::Vector< AgentAliasRoutingConfigurationListItem > &&value)
AgentAliasSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
AgentAliasSummary & WithRoutingConfiguration(const Aws::Vector< AgentAliasRoutingConfigurationListItem > &value)
AWS_BEDROCKAGENT_API AgentAliasSummary(Aws::Utils::Json::JsonView jsonValue)
void SetRoutingConfiguration(const Aws::Vector< AgentAliasRoutingConfigurationListItem > &value)
AgentAliasSummary & WithAgentAliasName(const char *value)
AgentAliasSummary & WithAgentAliasId(const Aws::String &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
AWS_BEDROCKAGENT_API AgentAliasSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentAliasSummary & WithAgentAliasId(const char *value)
AgentAliasSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetRoutingConfiguration(Aws::Vector< AgentAliasRoutingConfigurationListItem > &&value)
void SetAgentAliasStatus(const AgentAliasStatus &value)
AgentAliasSummary & WithUpdatedAt(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