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>
32 AWS_ASSURANCE_API
Task() =
default;
33 AWS_ASSURANCE_API
Task(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_ASSURANCE_API
Task&
operator=(
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));
170 template <
typename DescriptionT = Aws::String>
172 m_descriptionHasBeenSet =
true;
173 m_description = std::forward<DescriptionT>(value);
175 template <
typename DescriptionT = Aws::String>
189 m_statusHasBeenSet =
true;
204 template <
typename CreatedByT = Aws::String>
206 m_createdByHasBeenSet =
true;
207 m_createdBy = std::forward<CreatedByT>(value);
209 template <
typename CreatedByT = Aws::String>
222 template <
typename DueAtT = Aws::Utils::DateTime>
224 m_dueAtHasBeenSet =
true;
225 m_dueAt = std::forward<DueAtT>(value);
227 template <
typename DueAtT = Aws::Utils::DateTime>
229 SetDueAt(std::forward<DueAtT>(value));
241 m_priorityHasBeenSet =
true;
256 template <
typename CreatedAtT = Aws::Utils::DateTime>
258 m_createdAtHasBeenSet =
true;
259 m_createdAt = std::forward<CreatedAtT>(value);
261 template <
typename CreatedAtT = Aws::Utils::DateTime>
274 template <
typename UpdatedAtT = Aws::Utils::DateTime>
276 m_updatedAtHasBeenSet =
true;
277 m_updatedAt = std::forward<UpdatedAtT>(value);
279 template <
typename UpdatedAtT = Aws::Utils::DateTime>
313 bool m_environmentHasBeenSet =
false;
314 bool m_projectHasBeenSet =
false;
315 bool m_frameworkHasBeenSet =
false;
316 bool m_frameworkVersionHasBeenSet =
false;
317 bool m_controlIdHasBeenSet =
false;
318 bool m_taskIdHasBeenSet =
false;
319 bool m_titleHasBeenSet =
false;
320 bool m_descriptionHasBeenSet =
false;
321 bool m_statusHasBeenSet =
false;
322 bool m_createdByHasBeenSet =
false;
323 bool m_dueAtHasBeenSet =
false;
324 bool m_priorityHasBeenSet =
false;
325 bool m_createdAtHasBeenSet =
false;
326 bool m_updatedAtHasBeenSet =
false;
AWS_ASSURANCE_API Task & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetTaskId(TaskIdT &&value)
void SetControlId(ControlIdT &&value)
bool EnvironmentHasBeenSet() const
const Aws::String & GetProject() const
void SetPriority(TaskPriority value)
bool DueAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool CreatedAtHasBeenSet() const
bool UpdatedAtHasBeenSet() const
Task & WithUpdatedAt(UpdatedAtT &&value)
Task & WithDescription(DescriptionT &&value)
bool TaskIdHasBeenSet() const
Task & WithFramework(FrameworkT &&value)
Task & WithTaskId(TaskIdT &&value)
Task & WithProject(ProjectT &&value)
Task & WithPriority(TaskPriority value)
bool FrameworkHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
bool TitleHasBeenSet() const
const Aws::String & GetControlId() const
Task & WithEnvironment(EnvironmentT &&value)
const Aws::String & GetFrameworkVersion() const
AWS_ASSURANCE_API Task()=default
const Aws::String & GetTitle() const
void SetFramework(FrameworkT &&value)
bool ControlIdHasBeenSet() const
Task & WithTitle(TitleT &&value)
Task & WithStatus(TaskStatus value)
const Aws::String & GetCreatedBy() const
const Aws::String & GetTaskId() const
bool DescriptionHasBeenSet() const
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetDescription(DescriptionT &&value)
const Aws::String & GetFramework() const
bool ProjectHasBeenSet() const
Task & WithCreatedBy(CreatedByT &&value)
void SetFrameworkVersion(FrameworkVersionT &&value)
bool FrameworkVersionHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
Task & WithFrameworkVersion(FrameworkVersionT &&value)
const Aws::String & GetEnvironment() const
Task & WithCreatedAt(CreatedAtT &&value)
AWS_ASSURANCE_API Task(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetCreatedBy(CreatedByT &&value)
TaskStatus GetStatus() const
void SetTitle(TitleT &&value)
void SetStatus(TaskStatus value)
const Aws::String & GetDescription() const
void SetEnvironment(EnvironmentT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
TaskPriority GetPriority() const
bool StatusHasBeenSet() const
void SetDueAt(DueAtT &&value)
bool CreatedByHasBeenSet() const
const Aws::Utils::DateTime & GetDueAt() const
Task & WithControlId(ControlIdT &&value)
Task & WithDueAt(DueAtT &&value)
bool PriorityHasBeenSet() const
void SetProject(ProjectT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String