AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AgentVersionSummary.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/core/utils/DateTime.h>
11#include <aws/bedrock-agent/model/GuardrailConfiguration.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 AgentVersionSummary();
38 AWS_BEDROCKAGENT_API AgentVersionSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetAgentName() const{ return m_agentName; }
48 inline bool AgentNameHasBeenSet() const { return m_agentNameHasBeenSet; }
49 inline void SetAgentName(const Aws::String& value) { m_agentNameHasBeenSet = true; m_agentName = value; }
50 inline void SetAgentName(Aws::String&& value) { m_agentNameHasBeenSet = true; m_agentName = std::move(value); }
51 inline void SetAgentName(const char* value) { m_agentNameHasBeenSet = true; m_agentName.assign(value); }
52 inline AgentVersionSummary& WithAgentName(const Aws::String& value) { SetAgentName(value); return *this;}
53 inline AgentVersionSummary& WithAgentName(Aws::String&& value) { SetAgentName(std::move(value)); return *this;}
54 inline AgentVersionSummary& WithAgentName(const char* value) { SetAgentName(value); return *this;}
56
58
61 inline const AgentStatus& GetAgentStatus() const{ return m_agentStatus; }
62 inline bool AgentStatusHasBeenSet() const { return m_agentStatusHasBeenSet; }
63 inline void SetAgentStatus(const AgentStatus& value) { m_agentStatusHasBeenSet = true; m_agentStatus = value; }
64 inline void SetAgentStatus(AgentStatus&& value) { m_agentStatusHasBeenSet = true; m_agentStatus = std::move(value); }
65 inline AgentVersionSummary& WithAgentStatus(const AgentStatus& value) { SetAgentStatus(value); return *this;}
66 inline AgentVersionSummary& WithAgentStatus(AgentStatus&& value) { SetAgentStatus(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
74 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
75 inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; }
76 inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); }
77 inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); }
78 inline AgentVersionSummary& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
79 inline AgentVersionSummary& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
80 inline AgentVersionSummary& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
88 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
89 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
90 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
91 inline AgentVersionSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
92 inline AgentVersionSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetDescription() const{ return m_description; }
100 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
101 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
102 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
103 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
104 inline AgentVersionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
105 inline AgentVersionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
106 inline AgentVersionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
108
110
113 inline const GuardrailConfiguration& GetGuardrailConfiguration() const{ return m_guardrailConfiguration; }
114 inline bool GuardrailConfigurationHasBeenSet() const { return m_guardrailConfigurationHasBeenSet; }
115 inline void SetGuardrailConfiguration(const GuardrailConfiguration& value) { m_guardrailConfigurationHasBeenSet = true; m_guardrailConfiguration = value; }
116 inline void SetGuardrailConfiguration(GuardrailConfiguration&& value) { m_guardrailConfigurationHasBeenSet = true; m_guardrailConfiguration = std::move(value); }
120
122
125 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
126 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
127 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
128 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
129 inline AgentVersionSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
130 inline AgentVersionSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
132 private:
133
134 Aws::String m_agentName;
135 bool m_agentNameHasBeenSet = false;
136
137 AgentStatus m_agentStatus;
138 bool m_agentStatusHasBeenSet = false;
139
140 Aws::String m_agentVersion;
141 bool m_agentVersionHasBeenSet = false;
142
143 Aws::Utils::DateTime m_createdAt;
144 bool m_createdAtHasBeenSet = false;
145
146 Aws::String m_description;
147 bool m_descriptionHasBeenSet = false;
148
149 GuardrailConfiguration m_guardrailConfiguration;
150 bool m_guardrailConfigurationHasBeenSet = false;
151
152 Aws::Utils::DateTime m_updatedAt;
153 bool m_updatedAtHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace BedrockAgent
158} // namespace Aws
AgentVersionSummary & WithAgentStatus(const AgentStatus &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
AgentVersionSummary & WithDescription(const Aws::String &value)
const GuardrailConfiguration & GetGuardrailConfiguration() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
AWS_BEDROCKAGENT_API AgentVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentVersionSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
AgentVersionSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
AgentVersionSummary & WithAgentStatus(AgentStatus &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AgentVersionSummary & WithAgentName(const Aws::String &value)
AgentVersionSummary & WithAgentVersion(Aws::String &&value)
AgentVersionSummary & WithAgentVersion(const Aws::String &value)
void SetGuardrailConfiguration(GuardrailConfiguration &&value)
void SetGuardrailConfiguration(const GuardrailConfiguration &value)
AgentVersionSummary & WithDescription(const char *value)
AgentVersionSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
AgentVersionSummary & WithAgentVersion(const char *value)
AgentVersionSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
AWS_BEDROCKAGENT_API AgentVersionSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(Aws::Utils::DateTime &&value)
AgentVersionSummary & WithAgentName(Aws::String &&value)
AgentVersionSummary & WithAgentName(const char *value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
AgentVersionSummary & WithGuardrailConfiguration(GuardrailConfiguration &&value)
AgentVersionSummary & WithDescription(Aws::String &&value)
AgentVersionSummary & WithGuardrailConfiguration(const GuardrailConfiguration &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue