7#include <aws/assurance/Assurance_EXPORTS.h>
8#include <aws/assurance/model/TaskPriority.h>
9#include <aws/assurance/model/TaskStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/crt/cbor/Cbor.h>
33 AWS_ASSURANCE_API
TaskSummary(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_ASSURANCE_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename EnvironmentT = Aws::String>
45 m_environmentHasBeenSet =
true;
46 m_environment = std::forward<EnvironmentT>(value);
48 template <
typename EnvironmentT = Aws::String>
61 template <
typename ProjectT = Aws::String>
63 m_projectHasBeenSet =
true;
64 m_project = std::forward<ProjectT>(value);
66 template <
typename ProjectT = Aws::String>
79 template <
typename FrameworkT = Aws::String>
81 m_frameworkHasBeenSet =
true;
82 m_framework = std::forward<FrameworkT>(value);
84 template <
typename FrameworkT = Aws::String>
97 template <
typename FrameworkVersionT = Aws::String>
99 m_frameworkVersionHasBeenSet =
true;
100 m_frameworkVersion = std::forward<FrameworkVersionT>(value);
102 template <
typename FrameworkVersionT = Aws::String>
116 template <
typename ControlIdT = Aws::String>
118 m_controlIdHasBeenSet =
true;
119 m_controlId = std::forward<ControlIdT>(value);
121 template <
typename ControlIdT = Aws::String>
134 template <
typename TaskIdT = Aws::String>
136 m_taskIdHasBeenSet =
true;
137 m_taskId = std::forward<TaskIdT>(value);
139 template <
typename TaskIdT = Aws::String>
152 template <
typename TitleT = Aws::String>
154 m_titleHasBeenSet =
true;
155 m_title = std::forward<TitleT>(value);
157 template <
typename TitleT = Aws::String>
159 SetTitle(std::forward<TitleT>(value));
171 m_statusHasBeenSet =
true;
186 template <
typename CreatedByT = Aws::String>
188 m_createdByHasBeenSet =
true;
189 m_createdBy = std::forward<CreatedByT>(value);
191 template <
typename CreatedByT = Aws::String>
205 template <
typename AssessmentIdT = Aws::String>
207 m_assessmentIdHasBeenSet =
true;
208 m_assessmentId = std::forward<AssessmentIdT>(value);
210 template <
typename AssessmentIdT = Aws::String>
223 template <
typename DueAtT = Aws::Utils::DateTime>
225 m_dueAtHasBeenSet =
true;
226 m_dueAt = std::forward<DueAtT>(value);
228 template <
typename DueAtT = Aws::Utils::DateTime>
230 SetDueAt(std::forward<DueAtT>(value));
242 m_priorityHasBeenSet =
true;
274 bool m_environmentHasBeenSet =
false;
275 bool m_projectHasBeenSet =
false;
276 bool m_frameworkHasBeenSet =
false;
277 bool m_frameworkVersionHasBeenSet =
false;
278 bool m_controlIdHasBeenSet =
false;
279 bool m_taskIdHasBeenSet =
false;
280 bool m_titleHasBeenSet =
false;
281 bool m_statusHasBeenSet =
false;
282 bool m_createdByHasBeenSet =
false;
283 bool m_assessmentIdHasBeenSet =
false;
284 bool m_dueAtHasBeenSet =
false;
285 bool m_priorityHasBeenSet =
false;
TaskSummary & WithDueAt(DueAtT &&value)
bool ProjectHasBeenSet() const
bool TitleHasBeenSet() const
TaskPriority GetPriority() const
bool DueAtHasBeenSet() const
TaskSummary & WithTaskId(TaskIdT &&value)
const Aws::String & GetCreatedBy() const
TaskSummary & WithProject(ProjectT &&value)
TaskSummary & WithEnvironment(EnvironmentT &&value)
const Aws::String & GetTitle() const
bool PriorityHasBeenSet() const
const Aws::Utils::DateTime & GetDueAt() const
TaskStatus GetStatus() const
void SetTitle(TitleT &&value)
TaskSummary & WithCreatedBy(CreatedByT &&value)
void SetCreatedBy(CreatedByT &&value)
AWS_ASSURANCE_API TaskSummary()=default
TaskSummary & WithFrameworkVersion(FrameworkVersionT &&value)
void SetTaskId(TaskIdT &&value)
void SetPriority(TaskPriority value)
TaskSummary & WithTitle(TitleT &&value)
AWS_ASSURANCE_API TaskSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool StatusHasBeenSet() const
bool ControlIdHasBeenSet() const
const Aws::String & GetProject() const
bool CreatedByHasBeenSet() const
void SetDueAt(DueAtT &&value)
bool FrameworkVersionHasBeenSet() const
TaskSummary & WithFramework(FrameworkT &&value)
const Aws::String & GetTaskId() const
bool TaskIdHasBeenSet() const
void SetStatus(TaskStatus value)
void SetFrameworkVersion(FrameworkVersionT &&value)
TaskSummary & WithPriority(TaskPriority value)
TaskSummary & WithControlId(ControlIdT &&value)
void SetProject(ProjectT &&value)
const Aws::String & GetFrameworkVersion() const
TaskSummary & WithStatus(TaskStatus value)
void SetAssessmentId(AssessmentIdT &&value)
bool EnvironmentHasBeenSet() const
const Aws::String & GetEnvironment() const
bool FrameworkHasBeenSet() const
void SetEnvironment(EnvironmentT &&value)
const Aws::String & GetControlId() const
AWS_ASSURANCE_API TaskSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
TaskSummary & WithAssessmentId(AssessmentIdT &&value)
void SetFramework(FrameworkT &&value)
void SetControlId(ControlIdT &&value)
const Aws::String & GetFramework() const
bool AssessmentIdHasBeenSet() const
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetAssessmentId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String