7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/model/ProjectStatus.h>
12#include <aws/datazone/model/ProjectDeletionError.h>
50 template<
typename CreatedAtT = Aws::Utils::DateTime>
51 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
52 template<
typename CreatedAtT = Aws::Utils::DateTime>
62 template<
typename CreatedByT = Aws::String>
63 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
64 template<
typename CreatedByT = Aws::String>
74 template<
typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
76 template<
typename DescriptionT = Aws::String>
86 template<
typename DomainIdT = Aws::String>
87 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet =
true; m_domainId = std::forward<DomainIdT>(value); }
88 template<
typename DomainIdT = Aws::String>
98 template<
typename DomainUnitIdT = Aws::String>
99 void SetDomainUnitId(DomainUnitIdT&& value) { m_domainUnitIdHasBeenSet =
true; m_domainUnitId = std::forward<DomainUnitIdT>(value); }
100 template<
typename DomainUnitIdT = Aws::String>
111 template<
typename FailureReasonsT = Aws::Vector<ProjectDeletionError>>
112 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet =
true; m_failureReasons = std::forward<FailureReasonsT>(value); }
113 template<
typename FailureReasonsT = Aws::Vector<ProjectDeletionError>>
115 template<
typename FailureReasonsT = ProjectDeletionError>
116 ProjectSummary&
AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet =
true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
return *
this; }
125 template<
typename IdT = Aws::String>
126 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
127 template<
typename IdT = Aws::String>
137 template<
typename NameT = Aws::String>
138 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
139 template<
typename NameT = Aws::String>
159 template<
typename UpdatedAtT = Aws::Utils::DateTime>
160 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
161 template<
typename UpdatedAtT = Aws::Utils::DateTime>
167 bool m_createdAtHasBeenSet =
false;
170 bool m_createdByHasBeenSet =
false;
173 bool m_descriptionHasBeenSet =
false;
176 bool m_domainIdHasBeenSet =
false;
179 bool m_domainUnitIdHasBeenSet =
false;
182 bool m_failureReasonsHasBeenSet =
false;
185 bool m_idHasBeenSet =
false;
188 bool m_nameHasBeenSet =
false;
191 bool m_projectStatusHasBeenSet =
false;
194 bool m_updatedAtHasBeenSet =
false;
bool IdHasBeenSet() const
bool UpdatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetName() const
ProjectSummary & WithProjectStatus(ProjectStatus value)
void SetDomainId(DomainIdT &&value)
ProjectSummary & AddFailureReasons(FailureReasonsT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::Vector< ProjectDeletionError > & GetFailureReasons() const
bool CreatedByHasBeenSet() const
ProjectStatus GetProjectStatus() const
bool DomainUnitIdHasBeenSet() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectSummary & WithName(NameT &&value)
bool ProjectStatusHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetName(NameT &&value)
ProjectSummary & WithUpdatedAt(UpdatedAtT &&value)
ProjectSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetCreatedBy() const
ProjectSummary & WithDescription(DescriptionT &&value)
void SetFailureReasons(FailureReasonsT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_DATAZONE_API ProjectSummary()=default
bool DomainIdHasBeenSet() const
ProjectSummary & WithDomainId(DomainIdT &&value)
ProjectSummary & WithFailureReasons(FailureReasonsT &&value)
void SetDomainUnitId(DomainUnitIdT &&value)
bool CreatedAtHasBeenSet() const
const Aws::String & GetDomainUnitId() const
void SetProjectStatus(ProjectStatus value)
AWS_DATAZONE_API ProjectSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
bool NameHasBeenSet() const
ProjectSummary & WithDomainUnitId(DomainUnitIdT &&value)
bool FailureReasonsHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetCreatedBy(CreatedByT &&value)
const Aws::String & GetId() const
const Aws::String & GetDomainId() const
ProjectSummary & WithId(IdT &&value)
ProjectSummary & WithCreatedBy(CreatedByT &&value)
AWS_DATAZONE_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue