AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
RecommendationSummary.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/RecommendationStatus.h>
9#include <aws/bedrock-agentcore/model/RecommendationType.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 BedrockAgentCore {
23namespace Model {
24
31 public:
32 AWS_BEDROCKAGENTCORE_API RecommendationSummary() = default;
33 AWS_BEDROCKAGENTCORE_API RecommendationSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKAGENTCORE_API RecommendationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetRecommendationId() const { return m_recommendationId; }
42 inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; }
43 template <typename RecommendationIdT = Aws::String>
44 void SetRecommendationId(RecommendationIdT&& value) {
45 m_recommendationIdHasBeenSet = true;
46 m_recommendationId = std::forward<RecommendationIdT>(value);
47 }
48 template <typename RecommendationIdT = Aws::String>
49 RecommendationSummary& WithRecommendationId(RecommendationIdT&& value) {
50 SetRecommendationId(std::forward<RecommendationIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetRecommendationArn() const { return m_recommendationArn; }
60 inline bool RecommendationArnHasBeenSet() const { return m_recommendationArnHasBeenSet; }
61 template <typename RecommendationArnT = Aws::String>
62 void SetRecommendationArn(RecommendationArnT&& value) {
63 m_recommendationArnHasBeenSet = true;
64 m_recommendationArn = std::forward<RecommendationArnT>(value);
65 }
66 template <typename RecommendationArnT = Aws::String>
67 RecommendationSummary& WithRecommendationArn(RecommendationArnT&& value) {
68 SetRecommendationArn(std::forward<RecommendationArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetName() const { return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 template <typename NameT = Aws::String>
80 void SetName(NameT&& value) {
81 m_nameHasBeenSet = true;
82 m_name = std::forward<NameT>(value);
83 }
84 template <typename NameT = Aws::String>
86 SetName(std::forward<NameT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetDescription() const { return m_description; }
96 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
97 template <typename DescriptionT = Aws::String>
98 void SetDescription(DescriptionT&& value) {
99 m_descriptionHasBeenSet = true;
100 m_description = std::forward<DescriptionT>(value);
101 }
102 template <typename DescriptionT = Aws::String>
103 RecommendationSummary& WithDescription(DescriptionT&& value) {
104 SetDescription(std::forward<DescriptionT>(value));
105 return *this;
106 }
108
110
113 inline RecommendationType GetType() const { return m_type; }
114 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
115 inline void SetType(RecommendationType value) {
116 m_typeHasBeenSet = true;
117 m_type = value;
118 }
120 SetType(value);
121 return *this;
122 }
124
126
129 inline RecommendationStatus GetStatus() const { return m_status; }
130 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
131 inline void SetStatus(RecommendationStatus value) {
132 m_statusHasBeenSet = true;
133 m_status = value;
134 }
136 SetStatus(value);
137 return *this;
138 }
140
142
145 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
146 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
147 template <typename CreatedAtT = Aws::Utils::DateTime>
148 void SetCreatedAt(CreatedAtT&& value) {
149 m_createdAtHasBeenSet = true;
150 m_createdAt = std::forward<CreatedAtT>(value);
151 }
152 template <typename CreatedAtT = Aws::Utils::DateTime>
154 SetCreatedAt(std::forward<CreatedAtT>(value));
155 return *this;
156 }
158
160
163 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
164 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
165 template <typename UpdatedAtT = Aws::Utils::DateTime>
166 void SetUpdatedAt(UpdatedAtT&& value) {
167 m_updatedAtHasBeenSet = true;
168 m_updatedAt = std::forward<UpdatedAtT>(value);
169 }
170 template <typename UpdatedAtT = Aws::Utils::DateTime>
172 SetUpdatedAt(std::forward<UpdatedAtT>(value));
173 return *this;
174 }
176 private:
177 Aws::String m_recommendationId;
178
179 Aws::String m_recommendationArn;
180
181 Aws::String m_name;
182
183 Aws::String m_description;
184
186
188
189 Aws::Utils::DateTime m_createdAt{};
190
191 Aws::Utils::DateTime m_updatedAt{};
192 bool m_recommendationIdHasBeenSet = false;
193 bool m_recommendationArnHasBeenSet = false;
194 bool m_nameHasBeenSet = false;
195 bool m_descriptionHasBeenSet = false;
196 bool m_typeHasBeenSet = false;
197 bool m_statusHasBeenSet = false;
198 bool m_createdAtHasBeenSet = false;
199 bool m_updatedAtHasBeenSet = false;
200};
201
202} // namespace Model
203} // namespace BedrockAgentCore
204} // namespace Aws
RecommendationSummary & WithStatus(RecommendationStatus value)
AWS_BEDROCKAGENTCORE_API RecommendationSummary(Aws::Utils::Json::JsonView jsonValue)
RecommendationSummary & WithRecommendationId(RecommendationIdT &&value)
RecommendationSummary & WithCreatedAt(CreatedAtT &&value)
RecommendationSummary & WithType(RecommendationType value)
RecommendationSummary & WithName(NameT &&value)
AWS_BEDROCKAGENTCORE_API RecommendationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTCORE_API RecommendationSummary()=default
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
RecommendationSummary & WithRecommendationArn(RecommendationArnT &&value)
RecommendationSummary & WithUpdatedAt(UpdatedAtT &&value)
RecommendationSummary & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue