AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
AgentSummary.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/AgentStatus.h>
9#include <aws/bedrock-agent/model/GuardrailConfiguration.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgent {
23namespace Model {
24
31 public:
32 AWS_BEDROCKAGENT_API AgentSummary() = default;
35 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetAgentId() const { return m_agentId; }
42 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
43 template <typename AgentIdT = Aws::String>
44 void SetAgentId(AgentIdT&& value) {
45 m_agentIdHasBeenSet = true;
46 m_agentId = std::forward<AgentIdT>(value);
47 }
48 template <typename AgentIdT = Aws::String>
50 SetAgentId(std::forward<AgentIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetAgentName() const { return m_agentName; }
60 inline bool AgentNameHasBeenSet() const { return m_agentNameHasBeenSet; }
61 template <typename AgentNameT = Aws::String>
62 void SetAgentName(AgentNameT&& value) {
63 m_agentNameHasBeenSet = true;
64 m_agentName = std::forward<AgentNameT>(value);
65 }
66 template <typename AgentNameT = Aws::String>
68 SetAgentName(std::forward<AgentNameT>(value));
69 return *this;
70 }
72
74
77 inline AgentStatus GetAgentStatus() const { return m_agentStatus; }
78 inline bool AgentStatusHasBeenSet() const { return m_agentStatusHasBeenSet; }
79 inline void SetAgentStatus(AgentStatus value) {
80 m_agentStatusHasBeenSet = true;
81 m_agentStatus = value;
82 }
84 SetAgentStatus(value);
85 return *this;
86 }
88
90
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template <typename DescriptionT = Aws::String>
97 m_descriptionHasBeenSet = true;
98 m_description = std::forward<DescriptionT>(value);
99 }
100 template <typename DescriptionT = Aws::String>
102 SetDescription(std::forward<DescriptionT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
112 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
113 template <typename UpdatedAtT = Aws::Utils::DateTime>
114 void SetUpdatedAt(UpdatedAtT&& value) {
115 m_updatedAtHasBeenSet = true;
116 m_updatedAt = std::forward<UpdatedAtT>(value);
117 }
118 template <typename UpdatedAtT = Aws::Utils::DateTime>
120 SetUpdatedAt(std::forward<UpdatedAtT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetLatestAgentVersion() const { return m_latestAgentVersion; }
130 inline bool LatestAgentVersionHasBeenSet() const { return m_latestAgentVersionHasBeenSet; }
131 template <typename LatestAgentVersionT = Aws::String>
133 m_latestAgentVersionHasBeenSet = true;
134 m_latestAgentVersion = std::forward<LatestAgentVersionT>(value);
135 }
136 template <typename LatestAgentVersionT = Aws::String>
138 SetLatestAgentVersion(std::forward<LatestAgentVersionT>(value));
139 return *this;
140 }
142
144
147 inline const GuardrailConfiguration& GetGuardrailConfiguration() const { return m_guardrailConfiguration; }
148 inline bool GuardrailConfigurationHasBeenSet() const { return m_guardrailConfigurationHasBeenSet; }
149 template <typename GuardrailConfigurationT = GuardrailConfiguration>
151 m_guardrailConfigurationHasBeenSet = true;
152 m_guardrailConfiguration = std::forward<GuardrailConfigurationT>(value);
153 }
154 template <typename GuardrailConfigurationT = GuardrailConfiguration>
156 SetGuardrailConfiguration(std::forward<GuardrailConfigurationT>(value));
157 return *this;
158 }
160 private:
161 Aws::String m_agentId;
162
163 Aws::String m_agentName;
164
165 AgentStatus m_agentStatus{AgentStatus::NOT_SET};
166
167 Aws::String m_description;
168
169 Aws::Utils::DateTime m_updatedAt{};
170
171 Aws::String m_latestAgentVersion;
172
173 GuardrailConfiguration m_guardrailConfiguration;
174 bool m_agentIdHasBeenSet = false;
175 bool m_agentNameHasBeenSet = false;
176 bool m_agentStatusHasBeenSet = false;
177 bool m_descriptionHasBeenSet = false;
178 bool m_updatedAtHasBeenSet = false;
179 bool m_latestAgentVersionHasBeenSet = false;
180 bool m_guardrailConfigurationHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace BedrockAgent
185} // namespace Aws
const Aws::String & GetAgentId() const
AgentSummary & WithAgentStatus(AgentStatus value)
void SetLatestAgentVersion(LatestAgentVersionT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetAgentName() const
const Aws::Utils::DateTime & GetUpdatedAt() const
AgentSummary & WithDescription(DescriptionT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAgentStatus(AgentStatus value)
void SetAgentName(AgentNameT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
AWS_BEDROCKAGENT_API AgentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentSummary & WithUpdatedAt(UpdatedAtT &&value)
void SetGuardrailConfiguration(GuardrailConfigurationT &&value)
AgentSummary & WithLatestAgentVersion(LatestAgentVersionT &&value)
AgentSummary & WithGuardrailConfiguration(GuardrailConfigurationT &&value)
AgentSummary & WithAgentName(AgentNameT &&value)
AWS_BEDROCKAGENT_API AgentSummary()=default
AWS_BEDROCKAGENT_API AgentSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLatestAgentVersion() const
const GuardrailConfiguration & GetGuardrailConfiguration() const
void SetDescription(DescriptionT &&value)
AgentSummary & WithAgentId(AgentIdT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue