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 ParentDomainUnitIdT = Aws::String>
90 m_parentDomainUnitIdHasBeenSet =
true;
91 m_parentDomainUnitId = std::forward<ParentDomainUnitIdT>(value);
93 template <
typename ParentDomainUnitIdT = Aws::String>
105 template <
typename DescriptionT = Aws::String>
107 m_descriptionHasBeenSet =
true;
108 m_description = std::forward<DescriptionT>(value);
110 template <
typename DescriptionT = Aws::String>
122 template <
typename OwnersT = Aws::Vector<DomainUnitOwnerProperties>>
124 m_ownersHasBeenSet =
true;
125 m_owners = std::forward<OwnersT>(value);
127 template <
typename OwnersT = Aws::Vector<DomainUnitOwnerProperties>>
132 template <
typename OwnersT = DomainUnitOwnerProperties>
134 m_ownersHasBeenSet =
true;
135 m_owners.emplace_back(std::forward<OwnersT>(value));
145 template <
typename CreatedAtT = Aws::Utils::DateTime>
147 m_createdAtHasBeenSet =
true;
148 m_createdAt = std::forward<CreatedAtT>(value);
150 template <
typename CreatedAtT = Aws::Utils::DateTime>
162 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
164 m_lastUpdatedAtHasBeenSet =
true;
165 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
167 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
179 template <
typename CreatedByT = Aws::String>
181 m_createdByHasBeenSet =
true;
182 m_createdBy = std::forward<CreatedByT>(value);
184 template <
typename CreatedByT = Aws::String>
196 template <
typename LastUpdatedByT = Aws::String>
198 m_lastUpdatedByHasBeenSet =
true;
199 m_lastUpdatedBy = std::forward<LastUpdatedByT>(value);
201 template <
typename LastUpdatedByT = Aws::String>
211 template <
typename RequestIdT = Aws::String>
213 m_requestIdHasBeenSet =
true;
214 m_requestId = std::forward<RequestIdT>(value);
216 template <
typename RequestIdT = Aws::String>
244 bool m_idHasBeenSet =
false;
245 bool m_domainIdHasBeenSet =
false;
246 bool m_nameHasBeenSet =
false;
247 bool m_parentDomainUnitIdHasBeenSet =
false;
248 bool m_descriptionHasBeenSet =
false;
249 bool m_ownersHasBeenSet =
false;
250 bool m_createdAtHasBeenSet =
false;
251 bool m_lastUpdatedAtHasBeenSet =
false;
252 bool m_createdByHasBeenSet =
false;
253 bool m_lastUpdatedByHasBeenSet =
false;
254 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetLastUpdatedBy() const
const Aws::String & GetName() const
const Aws::String & GetParentDomainUnitId() const
AWS_DATAZONE_API GetDomainUnitResult()=default
void SetParentDomainUnitId(ParentDomainUnitIdT &&value)
const Aws::String & GetCreatedBy() const
void SetOwners(OwnersT &&value)
GetDomainUnitResult & WithLastUpdatedBy(LastUpdatedByT &&value)
void SetDomainId(DomainIdT &&value)
void SetRequestId(RequestIdT &&value)
AWS_DATAZONE_API GetDomainUnitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetName(NameT &&value)
GetDomainUnitResult & WithParentDomainUnitId(ParentDomainUnitIdT &&value)
GetDomainUnitResult & WithDescription(DescriptionT &&value)
GetDomainUnitResult & WithDomainId(DomainIdT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetId() const
const Aws::Vector< DomainUnitOwnerProperties > & GetOwners() const
GetDomainUnitResult & AddOwners(OwnersT &&value)
GetDomainUnitResult & WithRequestId(RequestIdT &&value)
AWS_DATAZONE_API GetDomainUnitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDomainUnitResult & WithOwners(OwnersT &&value)
GetDomainUnitResult & WithId(IdT &&value)
GetDomainUnitResult & WithName(NameT &&value)
void SetDescription(DescriptionT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetCreatedBy(CreatedByT &&value)
GetDomainUnitResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::String & GetDomainId() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetLastUpdatedBy(LastUpdatedByT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
GetDomainUnitResult & WithCreatedBy(CreatedByT &&value)
GetDomainUnitResult & WithCreatedAt(CreatedAtT &&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