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/GoalContent.h>
11#include <aws/devops-agent/model/GoalSchedule.h>
12#include <aws/devops-agent/model/GoalStatus.h>
13#include <aws/devops-agent/model/GoalType.h>
24namespace DevOpsAgent {
35 AWS_DEVOPSAGENT_API
Goal() =
default;
46 template <
typename AgentSpaceArnT = Aws::String>
48 m_agentSpaceArnHasBeenSet =
true;
49 m_agentSpaceArn = std::forward<AgentSpaceArnT>(value);
51 template <
typename AgentSpaceArnT = Aws::String>
64 template <
typename GoalIdT = Aws::String>
66 m_goalIdHasBeenSet =
true;
67 m_goalId = std::forward<GoalIdT>(value);
69 template <
typename GoalIdT = Aws::String>
82 template <
typename TitleT = Aws::String>
84 m_titleHasBeenSet =
true;
85 m_title = std::forward<TitleT>(value);
87 template <
typename TitleT = Aws::String>
89 SetTitle(std::forward<TitleT>(value));
100 template <
typename ContentT = GoalContent>
102 m_contentHasBeenSet =
true;
103 m_content = std::forward<ContentT>(value);
105 template <
typename ContentT = GoalContent>
119 m_statusHasBeenSet =
true;
135 m_goalTypeHasBeenSet =
true;
150 template <
typename CreatedAtT = Aws::Utils::DateTime>
152 m_createdAtHasBeenSet =
true;
153 m_createdAt = std::forward<CreatedAtT>(value);
155 template <
typename CreatedAtT = Aws::Utils::DateTime>
168 template <
typename UpdatedAtT = Aws::Utils::DateTime>
170 m_updatedAtHasBeenSet =
true;
171 m_updatedAt = std::forward<UpdatedAtT>(value);
173 template <
typename UpdatedAtT = Aws::Utils::DateTime>
186 template <
typename LastEvaluatedAtT = Aws::Utils::DateTime>
188 m_lastEvaluatedAtHasBeenSet =
true;
189 m_lastEvaluatedAt = std::forward<LastEvaluatedAtT>(value);
191 template <
typename LastEvaluatedAtT = Aws::Utils::DateTime>
204 template <
typename LastTaskIdT = Aws::String>
206 m_lastTaskIdHasBeenSet =
true;
207 m_lastTaskId = std::forward<LastTaskIdT>(value);
209 template <
typename LastTaskIdT = Aws::String>
222 template <
typename LastSuccessfulTaskIdT = Aws::String>
224 m_lastSuccessfulTaskIdHasBeenSet =
true;
225 m_lastSuccessfulTaskId = std::forward<LastSuccessfulTaskIdT>(value);
227 template <
typename LastSuccessfulTaskIdT = Aws::String>
241 m_versionHasBeenSet =
true;
257 template <
typename EvaluationScheduleT = GoalSchedule>
259 m_evaluationScheduleHasBeenSet =
true;
260 m_evaluationSchedule = std::forward<EvaluationScheduleT>(value);
262 template <
typename EvaluationScheduleT = GoalSchedule>
293 GoalSchedule m_evaluationSchedule;
294 bool m_agentSpaceArnHasBeenSet =
false;
295 bool m_goalIdHasBeenSet =
false;
296 bool m_titleHasBeenSet =
false;
297 bool m_contentHasBeenSet =
false;
298 bool m_statusHasBeenSet =
false;
299 bool m_goalTypeHasBeenSet =
false;
300 bool m_createdAtHasBeenSet =
false;
301 bool m_updatedAtHasBeenSet =
false;
302 bool m_lastEvaluatedAtHasBeenSet =
false;
303 bool m_lastTaskIdHasBeenSet =
false;
304 bool m_lastSuccessfulTaskIdHasBeenSet =
false;
305 bool m_versionHasBeenSet =
false;
306 bool m_evaluationScheduleHasBeenSet =
false;
bool UpdatedAtHasBeenSet() const
Goal & WithUpdatedAt(UpdatedAtT &&value)
void SetVersion(int value)
Goal & WithTitle(TitleT &&value)
const Aws::String & GetAgentSpaceArn() const
AWS_DEVOPSAGENT_API Goal(Aws::Utils::Json::JsonView jsonValue)
void SetLastTaskId(LastTaskIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
Goal & WithCreatedAt(CreatedAtT &&value)
GoalType GetGoalType() const
bool StatusHasBeenSet() const
const Aws::String & GetLastSuccessfulTaskId() const
AWS_DEVOPSAGENT_API Goal()=default
const GoalSchedule & GetEvaluationSchedule() const
void SetUpdatedAt(UpdatedAtT &&value)
Goal & WithAgentSpaceArn(AgentSpaceArnT &&value)
bool LastTaskIdHasBeenSet() const
void SetTitle(TitleT &&value)
Goal & WithGoalType(GoalType value)
bool ContentHasBeenSet() const
bool TitleHasBeenSet() const
Goal & WithContent(ContentT &&value)
bool LastSuccessfulTaskIdHasBeenSet() const
void SetLastSuccessfulTaskId(LastSuccessfulTaskIdT &&value)
const GoalContent & GetContent() const
bool AgentSpaceArnHasBeenSet() const
const Aws::String & GetTitle() const
const Aws::Utils::DateTime & GetLastEvaluatedAt() const
Goal & WithLastEvaluatedAt(LastEvaluatedAtT &&value)
Goal & WithEvaluationSchedule(EvaluationScheduleT &&value)
void SetLastEvaluatedAt(LastEvaluatedAtT &&value)
AWS_DEVOPSAGENT_API Goal & operator=(Aws::Utils::Json::JsonView jsonValue)
Goal & WithVersion(int value)
Goal & WithLastTaskId(LastTaskIdT &&value)
bool VersionHasBeenSet() const
void SetStatus(GoalStatus value)
bool GoalIdHasBeenSet() const
Goal & WithGoalId(GoalIdT &&value)
void SetAgentSpaceArn(AgentSpaceArnT &&value)
bool GoalTypeHasBeenSet() const
void SetContent(ContentT &&value)
const Aws::String & GetLastTaskId() const
Goal & WithStatus(GoalStatus value)
void SetGoalId(GoalIdT &&value)
void SetGoalType(GoalType value)
bool LastEvaluatedAtHasBeenSet() const
Goal & WithLastSuccessfulTaskId(LastSuccessfulTaskIdT &&value)
bool EvaluationScheduleHasBeenSet() const
const Aws::String & GetGoalId() const
GoalStatus GetStatus() const
bool CreatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEvaluationSchedule(EvaluationScheduleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue