AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; }
50 inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); }
51 inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); }
52 inline AgentSummary& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
53 inline AgentSummary& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
54 inline AgentSummary& WithAgentId(const char* value) { SetAgentId(value); return *this;}
56
58
61 inline const Aws::String& GetAgentName() const{ return m_agentName; }
62 inline bool AgentNameHasBeenSet() const { return m_agentNameHasBeenSet; }
63 inline void SetAgentName(const Aws::String& value) { m_agentNameHasBeenSet = true; m_agentName = value; }
64 inline void SetAgentName(Aws::String&& value) { m_agentNameHasBeenSet = true; m_agentName = std::move(value); }
65 inline void SetAgentName(const char* value) { m_agentNameHasBeenSet = true; m_agentName.assign(value); }
66 inline AgentSummary& WithAgentName(const Aws::String& value) { SetAgentName(value); return *this;}
67 inline AgentSummary& WithAgentName(Aws::String&& value) { SetAgentName(std::move(value)); return *this;}
68 inline AgentSummary& WithAgentName(const char* value) { SetAgentName(value); return *this;}
70
72
75 inline const AgentStatus& GetAgentStatus() const{ return m_agentStatus; }
76 inline bool AgentStatusHasBeenSet() const { return m_agentStatusHasBeenSet; }
77 inline void SetAgentStatus(const AgentStatus& value) { m_agentStatusHasBeenSet = true; m_agentStatus = value; }
78 inline void SetAgentStatus(AgentStatus&& value) { m_agentStatusHasBeenSet = true; m_agentStatus = std::move(value); }
79 inline AgentSummary& WithAgentStatus(const AgentStatus& value) { SetAgentStatus(value); return *this;}
80 inline AgentSummary& WithAgentStatus(AgentStatus&& value) { SetAgentStatus(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetDescription() const{ return m_description; }
88 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
89 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
90 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
91 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
92 inline AgentSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
93 inline AgentSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
94 inline AgentSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
96
98
101 inline const GuardrailConfiguration& GetGuardrailConfiguration() const{ return m_guardrailConfiguration; }
102 inline bool GuardrailConfigurationHasBeenSet() const { return m_guardrailConfigurationHasBeenSet; }
103 inline void SetGuardrailConfiguration(const GuardrailConfiguration& value) { m_guardrailConfigurationHasBeenSet = true; m_guardrailConfiguration = value; }
104 inline void SetGuardrailConfiguration(GuardrailConfiguration&& value) { m_guardrailConfigurationHasBeenSet = true; m_guardrailConfiguration = std::move(value); }
108
110
113 inline const Aws::String& GetLatestAgentVersion() const{ return m_latestAgentVersion; }
114 inline bool LatestAgentVersionHasBeenSet() const { return m_latestAgentVersionHasBeenSet; }
115 inline void SetLatestAgentVersion(const Aws::String& value) { m_latestAgentVersionHasBeenSet = true; m_latestAgentVersion = value; }
116 inline void SetLatestAgentVersion(Aws::String&& value) { m_latestAgentVersionHasBeenSet = true; m_latestAgentVersion = std::move(value); }
117 inline void SetLatestAgentVersion(const char* value) { m_latestAgentVersionHasBeenSet = true; m_latestAgentVersion.assign(value); }
118 inline AgentSummary& WithLatestAgentVersion(const Aws::String& value) { SetLatestAgentVersion(value); return *this;}
119 inline AgentSummary& WithLatestAgentVersion(Aws::String&& value) { SetLatestAgentVersion(std::move(value)); return *this;}
120 inline AgentSummary& WithLatestAgentVersion(const char* value) { SetLatestAgentVersion(value); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
128 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
129 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
130 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
131 inline AgentSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
132 inline AgentSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
134 private:
135
136 Aws::String m_agentId;
137 bool m_agentIdHasBeenSet = false;
138
139 Aws::String m_agentName;
140 bool m_agentNameHasBeenSet = false;
141
142 AgentStatus m_agentStatus;
143 bool m_agentStatusHasBeenSet = false;
144
145 Aws::String m_description;
146 bool m_descriptionHasBeenSet = false;
147
148 GuardrailConfiguration m_guardrailConfiguration;
149 bool m_guardrailConfigurationHasBeenSet = false;
150
151 Aws::String m_latestAgentVersion;
152 bool m_latestAgentVersionHasBeenSet = false;
153
154 Aws::Utils::DateTime m_updatedAt;
155 bool m_updatedAtHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace BedrockAgent
160} // namespace Aws
void SetAgentStatus(AgentStatus &&value)
const Aws::String & GetAgentId() const
void SetLatestAgentVersion(Aws::String &&value)
AgentSummary & WithAgentName(const Aws::String &value)
AgentSummary & WithLatestAgentVersion(Aws::String &&value)
const Aws::String & GetDescription() const
const Aws::String & GetAgentName() const
AgentSummary & WithAgentId(const Aws::String &value)
AgentSummary & WithDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AgentSummary & WithAgentId(Aws::String &&value)
void SetDescription(const Aws::String &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(Aws::String &&value)
void SetAgentName(const char *value)
AgentSummary & WithAgentStatus(AgentStatus &&value)
void SetDescription(const char *value)
AgentSummary & WithDescription(Aws::String &&value)
AgentSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
AgentSummary & WithDescription(const char *value)
const AgentStatus & GetAgentStatus() const
AWS_BEDROCKAGENT_API AgentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAgentName(const Aws::String &value)
void SetGuardrailConfiguration(GuardrailConfiguration &&value)
void SetAgentId(Aws::String &&value)
void SetAgentName(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
AgentSummary & WithGuardrailConfiguration(const GuardrailConfiguration &value)
void SetGuardrailConfiguration(const GuardrailConfiguration &value)
void SetAgentId(const char *value)
AgentSummary & WithAgentName(const char *value)
void SetLatestAgentVersion(const char *value)
void SetAgentId(const Aws::String &value)
AWS_BEDROCKAGENT_API AgentSummary()
AgentSummary & WithLatestAgentVersion(const Aws::String &value)
AWS_BEDROCKAGENT_API AgentSummary(Aws::Utils::Json::JsonView jsonValue)
AgentSummary & WithAgentName(Aws::String &&value)
void SetAgentStatus(const AgentStatus &value)
const Aws::String & GetLatestAgentVersion() const
AgentSummary & WithLatestAgentVersion(const char *value)
AgentSummary & WithAgentId(const char *value)
const GuardrailConfiguration & GetGuardrailConfiguration() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
AgentSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetLatestAgentVersion(const Aws::String &value)
AgentSummary & WithGuardrailConfiguration(GuardrailConfiguration &&value)
AgentSummary & WithAgentStatus(const AgentStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue