AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename AgentNameT = Aws::String>
50 void SetAgentName(AgentNameT&& value) { m_agentNameHasBeenSet = true; m_agentName = std::forward<AgentNameT>(value); }
51 template<typename AgentNameT = Aws::String>
52 AgentVersionSummary& WithAgentName(AgentNameT&& value) { SetAgentName(std::forward<AgentNameT>(value)); return *this;}
54
56
59 inline AgentStatus GetAgentStatus() const { return m_agentStatus; }
60 inline bool AgentStatusHasBeenSet() const { return m_agentStatusHasBeenSet; }
61 inline void SetAgentStatus(AgentStatus value) { m_agentStatusHasBeenSet = true; m_agentStatus = value; }
62 inline AgentVersionSummary& WithAgentStatus(AgentStatus value) { SetAgentStatus(value); return *this;}
64
66
69 inline const Aws::String& GetAgentVersion() const { return m_agentVersion; }
70 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
71 template<typename AgentVersionT = Aws::String>
72 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::forward<AgentVersionT>(value); }
73 template<typename AgentVersionT = Aws::String>
74 AgentVersionSummary& WithAgentVersion(AgentVersionT&& value) { SetAgentVersion(std::forward<AgentVersionT>(value)); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
82 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
83 template<typename CreatedAtT = Aws::Utils::DateTime>
84 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
85 template<typename CreatedAtT = Aws::Utils::DateTime>
86 AgentVersionSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
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>
96 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
97 template<typename DescriptionT = Aws::String>
98 AgentVersionSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
100
102
105 inline const GuardrailConfiguration& GetGuardrailConfiguration() const { return m_guardrailConfiguration; }
106 inline bool GuardrailConfigurationHasBeenSet() const { return m_guardrailConfigurationHasBeenSet; }
107 template<typename GuardrailConfigurationT = GuardrailConfiguration>
108 void SetGuardrailConfiguration(GuardrailConfigurationT&& value) { m_guardrailConfigurationHasBeenSet = true; m_guardrailConfiguration = std::forward<GuardrailConfigurationT>(value); }
109 template<typename GuardrailConfigurationT = GuardrailConfiguration>
110 AgentVersionSummary& WithGuardrailConfiguration(GuardrailConfigurationT&& value) { SetGuardrailConfiguration(std::forward<GuardrailConfigurationT>(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 AgentVersionSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
124 private:
125
126 Aws::String m_agentName;
127 bool m_agentNameHasBeenSet = false;
128
129 AgentStatus m_agentStatus{AgentStatus::NOT_SET};
130 bool m_agentStatusHasBeenSet = false;
131
132 Aws::String m_agentVersion;
133 bool m_agentVersionHasBeenSet = false;
134
135 Aws::Utils::DateTime m_createdAt{};
136 bool m_createdAtHasBeenSet = false;
137
138 Aws::String m_description;
139 bool m_descriptionHasBeenSet = false;
140
141 GuardrailConfiguration m_guardrailConfiguration;
142 bool m_guardrailConfigurationHasBeenSet = false;
143
144 Aws::Utils::DateTime m_updatedAt{};
145 bool m_updatedAtHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace BedrockAgent
150} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue