AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AgentSummary.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/AgentStatus.h>
10#include <aws/bedrock-agent/model/GuardrailConfiguration.h>
11#include <aws/core/utils/DateTime.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
35 {
36 public:
37 AWS_BEDROCKAGENT_API AgentSummary() = default;
38 AWS_BEDROCKAGENT_API AgentSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENT_API AgentSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetAgentId() const { return m_agentId; }
48 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
49 template<typename AgentIdT = Aws::String>
50 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet = true; m_agentId = std::forward<AgentIdT>(value); }
51 template<typename AgentIdT = Aws::String>
52 AgentSummary& WithAgentId(AgentIdT&& value) { SetAgentId(std::forward<AgentIdT>(value)); return *this;}
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) { m_agentNameHasBeenSet = true; m_agentName = std::forward<AgentNameT>(value); }
63 template<typename AgentNameT = Aws::String>
64 AgentSummary& WithAgentName(AgentNameT&& value) { SetAgentName(std::forward<AgentNameT>(value)); return *this;}
66
68
71 inline AgentStatus GetAgentStatus() const { return m_agentStatus; }
72 inline bool AgentStatusHasBeenSet() const { return m_agentStatusHasBeenSet; }
73 inline void SetAgentStatus(AgentStatus value) { m_agentStatusHasBeenSet = true; m_agentStatus = value; }
74 inline AgentSummary& WithAgentStatus(AgentStatus value) { SetAgentStatus(value); return *this;}
76
78
81 inline const Aws::String& GetDescription() const { return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 template<typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
85 template<typename DescriptionT = Aws::String>
86 AgentSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
88
90
93 inline const GuardrailConfiguration& GetGuardrailConfiguration() const { return m_guardrailConfiguration; }
94 inline bool GuardrailConfigurationHasBeenSet() const { return m_guardrailConfigurationHasBeenSet; }
95 template<typename GuardrailConfigurationT = GuardrailConfiguration>
96 void SetGuardrailConfiguration(GuardrailConfigurationT&& value) { m_guardrailConfigurationHasBeenSet = true; m_guardrailConfiguration = std::forward<GuardrailConfigurationT>(value); }
97 template<typename GuardrailConfigurationT = GuardrailConfiguration>
98 AgentSummary& WithGuardrailConfiguration(GuardrailConfigurationT&& value) { SetGuardrailConfiguration(std::forward<GuardrailConfigurationT>(value)); return *this;}
100
102
105 inline const Aws::String& GetLatestAgentVersion() const { return m_latestAgentVersion; }
106 inline bool LatestAgentVersionHasBeenSet() const { return m_latestAgentVersionHasBeenSet; }
107 template<typename LatestAgentVersionT = Aws::String>
108 void SetLatestAgentVersion(LatestAgentVersionT&& value) { m_latestAgentVersionHasBeenSet = true; m_latestAgentVersion = std::forward<LatestAgentVersionT>(value); }
109 template<typename LatestAgentVersionT = Aws::String>
110 AgentSummary& WithLatestAgentVersion(LatestAgentVersionT&& value) { SetLatestAgentVersion(std::forward<LatestAgentVersionT>(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
118 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
119 template<typename UpdatedAtT = Aws::Utils::DateTime>
120 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
121 template<typename UpdatedAtT = Aws::Utils::DateTime>
122 AgentSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
124 private:
125
126 Aws::String m_agentId;
127 bool m_agentIdHasBeenSet = false;
128
129 Aws::String m_agentName;
130 bool m_agentNameHasBeenSet = false;
131
132 AgentStatus m_agentStatus{AgentStatus::NOT_SET};
133 bool m_agentStatusHasBeenSet = false;
134
135 Aws::String m_description;
136 bool m_descriptionHasBeenSet = false;
137
138 GuardrailConfiguration m_guardrailConfiguration;
139 bool m_guardrailConfigurationHasBeenSet = false;
140
141 Aws::String m_latestAgentVersion;
142 bool m_latestAgentVersionHasBeenSet = false;
143
144 Aws::Utils::DateTime m_updatedAt{};
145 bool m_updatedAtHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace BedrockAgent
150} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue