AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
AgentVersionSummary.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 AgentVersionSummary() = default;
35 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetAgentName() const { return m_agentName; }
42 inline bool AgentNameHasBeenSet() const { return m_agentNameHasBeenSet; }
43 template <typename AgentNameT = Aws::String>
44 void SetAgentName(AgentNameT&& value) {
45 m_agentNameHasBeenSet = true;
46 m_agentName = std::forward<AgentNameT>(value);
47 }
48 template <typename AgentNameT = Aws::String>
50 SetAgentName(std::forward<AgentNameT>(value));
51 return *this;
52 }
54
56
59 inline AgentStatus GetAgentStatus() const { return m_agentStatus; }
60 inline bool AgentStatusHasBeenSet() const { return m_agentStatusHasBeenSet; }
61 inline void SetAgentStatus(AgentStatus value) {
62 m_agentStatusHasBeenSet = true;
63 m_agentStatus = value;
64 }
66 SetAgentStatus(value);
67 return *this;
68 }
70
72
75 inline const Aws::String& GetAgentVersion() const { return m_agentVersion; }
76 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
77 template <typename AgentVersionT = Aws::String>
79 m_agentVersionHasBeenSet = true;
80 m_agentVersion = std::forward<AgentVersionT>(value);
81 }
82 template <typename AgentVersionT = Aws::String>
84 SetAgentVersion(std::forward<AgentVersionT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
94 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
95 template <typename CreatedAtT = Aws::Utils::DateTime>
96 void SetCreatedAt(CreatedAtT&& value) {
97 m_createdAtHasBeenSet = true;
98 m_createdAt = std::forward<CreatedAtT>(value);
99 }
100 template <typename CreatedAtT = Aws::Utils::DateTime>
102 SetCreatedAt(std::forward<CreatedAtT>(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& GetDescription() const { return m_description; }
130 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
131 template <typename DescriptionT = Aws::String>
133 m_descriptionHasBeenSet = true;
134 m_description = std::forward<DescriptionT>(value);
135 }
136 template <typename DescriptionT = Aws::String>
138 SetDescription(std::forward<DescriptionT>(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_agentName;
162
163 AgentStatus m_agentStatus{AgentStatus::NOT_SET};
164
165 Aws::String m_agentVersion;
166
167 Aws::Utils::DateTime m_createdAt{};
168
169 Aws::Utils::DateTime m_updatedAt{};
170
171 Aws::String m_description;
172
173 GuardrailConfiguration m_guardrailConfiguration;
174 bool m_agentNameHasBeenSet = false;
175 bool m_agentStatusHasBeenSet = false;
176 bool m_agentVersionHasBeenSet = false;
177 bool m_createdAtHasBeenSet = false;
178 bool m_updatedAtHasBeenSet = false;
179 bool m_descriptionHasBeenSet = false;
180 bool m_guardrailConfigurationHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace BedrockAgent
185} // namespace Aws
AgentVersionSummary & WithCreatedAt(CreatedAtT &&value)
AgentVersionSummary & WithGuardrailConfiguration(GuardrailConfigurationT &&value)
const GuardrailConfiguration & GetGuardrailConfiguration() const
AWS_BEDROCKAGENT_API AgentVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentVersionSummary & WithDescription(DescriptionT &&value)
AWS_BEDROCKAGENT_API AgentVersionSummary()=default
void SetGuardrailConfiguration(GuardrailConfigurationT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AgentVersionSummary & WithAgentVersion(AgentVersionT &&value)
AgentVersionSummary & WithAgentName(AgentNameT &&value)
AWS_BEDROCKAGENT_API AgentVersionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AgentVersionSummary & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AgentVersionSummary & WithAgentStatus(AgentStatus 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