7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
10#include <aws/devops-agent/model/RecommendationContent.h>
11#include <aws/devops-agent/model/RecommendationPriority.h>
12#include <aws/devops-agent/model/RecommendationStatus.h>
23namespace DevOpsAgent {
45 template <
typename AgentSpaceArnT = Aws::String>
47 m_agentSpaceArnHasBeenSet =
true;
48 m_agentSpaceArn = std::forward<AgentSpaceArnT>(value);
50 template <
typename AgentSpaceArnT = Aws::String>
63 template <
typename RecommendationIdT = Aws::String>
65 m_recommendationIdHasBeenSet =
true;
66 m_recommendationId = std::forward<RecommendationIdT>(value);
68 template <
typename RecommendationIdT = Aws::String>
81 template <
typename TaskIdT = Aws::String>
83 m_taskIdHasBeenSet =
true;
84 m_taskId = std::forward<TaskIdT>(value);
86 template <
typename TaskIdT = Aws::String>
99 template <
typename GoalIdT = Aws::String>
101 m_goalIdHasBeenSet =
true;
102 m_goalId = std::forward<GoalIdT>(value);
104 template <
typename GoalIdT = Aws::String>
117 template <
typename TitleT = Aws::String>
119 m_titleHasBeenSet =
true;
120 m_title = std::forward<TitleT>(value);
122 template <
typename TitleT = Aws::String>
124 SetTitle(std::forward<TitleT>(value));
135 template <
typename ContentT = RecommendationContent>
137 m_contentHasBeenSet =
true;
138 m_content = std::forward<ContentT>(value);
140 template <
typename ContentT = RecommendationContent>
154 m_statusHasBeenSet =
true;
170 m_priorityHasBeenSet =
true;
186 m_goalVersionHasBeenSet =
true;
187 m_goalVersion = value;
201 template <
typename AdditionalContextT = Aws::String>
203 m_additionalContextHasBeenSet =
true;
204 m_additionalContext = std::forward<AdditionalContextT>(value);
206 template <
typename AdditionalContextT = Aws::String>
219 template <
typename CreatedAtT = Aws::Utils::DateTime>
221 m_createdAtHasBeenSet =
true;
222 m_createdAt = std::forward<CreatedAtT>(value);
224 template <
typename CreatedAtT = Aws::Utils::DateTime>
237 template <
typename UpdatedAtT = Aws::Utils::DateTime>
239 m_updatedAtHasBeenSet =
true;
240 m_updatedAt = std::forward<UpdatedAtT>(value);
242 template <
typename UpdatedAtT = Aws::Utils::DateTime>
256 m_versionHasBeenSet =
true;
281 long long m_goalVersion{0};
289 long long m_version{0};
290 bool m_agentSpaceArnHasBeenSet =
false;
291 bool m_recommendationIdHasBeenSet =
false;
292 bool m_taskIdHasBeenSet =
false;
293 bool m_goalIdHasBeenSet =
false;
294 bool m_titleHasBeenSet =
false;
295 bool m_contentHasBeenSet =
false;
296 bool m_statusHasBeenSet =
false;
297 bool m_priorityHasBeenSet =
false;
298 bool m_goalVersionHasBeenSet =
false;
299 bool m_additionalContextHasBeenSet =
false;
300 bool m_createdAtHasBeenSet =
false;
301 bool m_updatedAtHasBeenSet =
false;
302 bool m_versionHasBeenSet =
false;
Recommendation & WithStatus(RecommendationStatus value)
Recommendation & WithVersion(long long value)
const Aws::String & GetRecommendationId() const
bool ContentHasBeenSet() const
Recommendation & WithContent(ContentT &&value)
AWS_DEVOPSAGENT_API Recommendation()=default
AWS_DEVOPSAGENT_API Recommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreatedAtHasBeenSet() const
const Aws::String & GetAgentSpaceArn() const
void SetTitle(TitleT &&value)
long long GetVersion() const
const Aws::String & GetTaskId() const
Recommendation & WithAdditionalContext(AdditionalContextT &&value)
Recommendation & WithAgentSpaceArn(AgentSpaceArnT &&value)
Recommendation & WithGoalId(GoalIdT &&value)
long long GetGoalVersion() const
bool UpdatedAtHasBeenSet() const
bool TitleHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const RecommendationContent & GetContent() const
bool StatusHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetTaskId(TaskIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
bool GoalIdHasBeenSet() const
void SetGoalId(GoalIdT &&value)
bool PriorityHasBeenSet() const
void SetVersion(long long value)
Recommendation & WithRecommendationId(RecommendationIdT &&value)
RecommendationPriority GetPriority() const
AWS_DEVOPSAGENT_API Recommendation(Aws::Utils::Json::JsonView jsonValue)
bool GoalVersionHasBeenSet() const
const Aws::String & GetGoalId() const
void SetRecommendationId(RecommendationIdT &&value)
Recommendation & WithTaskId(TaskIdT &&value)
void SetAgentSpaceArn(AgentSpaceArnT &&value)
void SetGoalVersion(long long value)
const Aws::String & GetTitle() const
bool VersionHasBeenSet() const
Recommendation & WithCreatedAt(CreatedAtT &&value)
void SetPriority(RecommendationPriority value)
RecommendationStatus GetStatus() const
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
bool TaskIdHasBeenSet() const
Recommendation & WithUpdatedAt(UpdatedAtT &&value)
void SetAdditionalContext(AdditionalContextT &&value)
Recommendation & WithTitle(TitleT &&value)
Recommendation & WithPriority(RecommendationPriority value)
bool AdditionalContextHasBeenSet() const
void SetContent(ContentT &&value)
bool RecommendationIdHasBeenSet() const
void SetStatus(RecommendationStatus value)
Recommendation & WithGoalVersion(long long value)
void SetCreatedAt(CreatedAtT &&value)
bool AgentSpaceArnHasBeenSet() const
const Aws::String & GetAdditionalContext() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue