7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/DomainUnitOwnerProperties.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename IdT = Aws::String>
39 m_idHasBeenSet =
true;
40 m_id = std::forward<IdT>(value);
42 template <
typename IdT = Aws::String>
44 SetId(std::forward<IdT>(value));
54 template <
typename DomainIdT = Aws::String>
56 m_domainIdHasBeenSet =
true;
57 m_domainId = std::forward<DomainIdT>(value);
59 template <
typename DomainIdT = Aws::String>
71 template <
typename NameT = Aws::String>
73 m_nameHasBeenSet =
true;
74 m_name = std::forward<NameT>(value);
76 template <
typename NameT = Aws::String>
78 SetName(std::forward<NameT>(value));
88 template <
typename OwnersT = Aws::Vector<DomainUnitOwnerProperties>>
90 m_ownersHasBeenSet =
true;
91 m_owners = std::forward<OwnersT>(value);
93 template <
typename OwnersT = Aws::Vector<DomainUnitOwnerProperties>>
98 template <
typename OwnersT = DomainUnitOwnerProperties>
100 m_ownersHasBeenSet =
true;
101 m_owners.emplace_back(std::forward<OwnersT>(value));
111 template <
typename DescriptionT = Aws::String>
113 m_descriptionHasBeenSet =
true;
114 m_description = std::forward<DescriptionT>(value);
116 template <
typename DescriptionT = Aws::String>
128 template <
typename ParentDomainUnitIdT = Aws::String>
130 m_parentDomainUnitIdHasBeenSet =
true;
131 m_parentDomainUnitId = std::forward<ParentDomainUnitIdT>(value);
133 template <
typename ParentDomainUnitIdT = Aws::String>
146 template <
typename CreatedAtT = Aws::Utils::DateTime>
148 m_createdAtHasBeenSet =
true;
149 m_createdAt = std::forward<CreatedAtT>(value);
151 template <
typename CreatedAtT = Aws::Utils::DateTime>
163 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
165 m_lastUpdatedAtHasBeenSet =
true;
166 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
168 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
180 template <
typename CreatedByT = Aws::String>
182 m_createdByHasBeenSet =
true;
183 m_createdBy = std::forward<CreatedByT>(value);
185 template <
typename CreatedByT = Aws::String>
197 template <
typename LastUpdatedByT = Aws::String>
199 m_lastUpdatedByHasBeenSet =
true;
200 m_lastUpdatedBy = std::forward<LastUpdatedByT>(value);
202 template <
typename LastUpdatedByT = Aws::String>
212 template <
typename RequestIdT = Aws::String>
214 m_requestIdHasBeenSet =
true;
215 m_requestId = std::forward<RequestIdT>(value);
217 template <
typename RequestIdT = Aws::String>
245 bool m_idHasBeenSet =
false;
246 bool m_domainIdHasBeenSet =
false;
247 bool m_nameHasBeenSet =
false;
248 bool m_ownersHasBeenSet =
false;
249 bool m_descriptionHasBeenSet =
false;
250 bool m_parentDomainUnitIdHasBeenSet =
false;
251 bool m_createdAtHasBeenSet =
false;
252 bool m_lastUpdatedAtHasBeenSet =
false;
253 bool m_createdByHasBeenSet =
false;
254 bool m_lastUpdatedByHasBeenSet =
false;
255 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetCreatedBy() const
void SetCreatedBy(CreatedByT &&value)
UpdateDomainUnitResult & AddOwners(OwnersT &&value)
void SetRequestId(RequestIdT &&value)
void SetOwners(OwnersT &&value)
const Aws::Vector< DomainUnitOwnerProperties > & GetOwners() const
const Aws::String & GetLastUpdatedBy() const
AWS_DATAZONE_API UpdateDomainUnitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedAt(CreatedAtT &&value)
UpdateDomainUnitResult & WithCreatedBy(CreatedByT &&value)
void SetName(NameT &&value)
UpdateDomainUnitResult & WithDescription(DescriptionT &&value)
const Aws::String & GetId() const
UpdateDomainUnitResult & WithRequestId(RequestIdT &&value)
UpdateDomainUnitResult & WithCreatedAt(CreatedAtT &&value)
AWS_DATAZONE_API UpdateDomainUnitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDomainId() const
UpdateDomainUnitResult & WithOwners(OwnersT &&value)
AWS_DATAZONE_API UpdateDomainUnitResult()=default
void SetDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetParentDomainUnitId() const
const Aws::String & GetDescription() const
void SetParentDomainUnitId(ParentDomainUnitIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
UpdateDomainUnitResult & WithName(NameT &&value)
UpdateDomainUnitResult & WithLastUpdatedBy(LastUpdatedByT &&value)
const Aws::String & GetName() const
void SetLastUpdatedBy(LastUpdatedByT &&value)
UpdateDomainUnitResult & WithId(IdT &&value)
UpdateDomainUnitResult & WithParentDomainUnitId(ParentDomainUnitIdT &&value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::String & GetRequestId() const
UpdateDomainUnitResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
void SetDomainId(DomainIdT &&value)
UpdateDomainUnitResult & WithDomainId(DomainIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue