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 AncestorDomainUnitIdsT = Aws::Vector<Aws::String>>
147 m_ancestorDomainUnitIdsHasBeenSet =
true;
148 m_ancestorDomainUnitIds = std::forward<AncestorDomainUnitIdsT>(value);
150 template <
typename AncestorDomainUnitIdsT = Aws::Vector<Aws::String>>
155 template <
typename AncestorDomainUnitIdsT = Aws::String>
157 m_ancestorDomainUnitIdsHasBeenSet =
true;
158 m_ancestorDomainUnitIds.emplace_back(std::forward<AncestorDomainUnitIdsT>(value));
168 template <
typename CreatedAtT = Aws::Utils::DateTime>
170 m_createdAtHasBeenSet =
true;
171 m_createdAt = std::forward<CreatedAtT>(value);
173 template <
typename CreatedAtT = Aws::Utils::DateTime>
185 template <
typename CreatedByT = Aws::String>
187 m_createdByHasBeenSet =
true;
188 m_createdBy = std::forward<CreatedByT>(value);
190 template <
typename CreatedByT = Aws::String>
200 template <
typename RequestIdT = Aws::String>
202 m_requestIdHasBeenSet =
true;
203 m_requestId = std::forward<RequestIdT>(value);
205 template <
typename RequestIdT = Aws::String>
231 bool m_idHasBeenSet =
false;
232 bool m_domainIdHasBeenSet =
false;
233 bool m_nameHasBeenSet =
false;
234 bool m_parentDomainUnitIdHasBeenSet =
false;
235 bool m_descriptionHasBeenSet =
false;
236 bool m_ownersHasBeenSet =
false;
237 bool m_ancestorDomainUnitIdsHasBeenSet =
false;
238 bool m_createdAtHasBeenSet =
false;
239 bool m_createdByHasBeenSet =
false;
240 bool m_requestIdHasBeenSet =
false;
CreateDomainUnitResult & WithRequestId(RequestIdT &&value)
void SetCreatedBy(CreatedByT &&value)
void SetRequestId(RequestIdT &&value)
CreateDomainUnitResult & WithParentDomainUnitId(ParentDomainUnitIdT &&value)
void SetAncestorDomainUnitIds(AncestorDomainUnitIdsT &&value)
CreateDomainUnitResult & WithId(IdT &&value)
const Aws::Vector< DomainUnitOwnerProperties > & GetOwners() const
CreateDomainUnitResult & WithDescription(DescriptionT &&value)
const Aws::Vector< Aws::String > & GetAncestorDomainUnitIds() const
void SetOwners(OwnersT &&value)
CreateDomainUnitResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetName() const
AWS_DATAZONE_API CreateDomainUnitResult()=default
CreateDomainUnitResult & AddOwners(OwnersT &&value)
const Aws::String & GetDomainId() const
const Aws::String & GetParentDomainUnitId() const
CreateDomainUnitResult & WithDomainId(DomainIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetDescription(DescriptionT &&value)
void SetDomainId(DomainIdT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetDescription() const
CreateDomainUnitResult & WithCreatedBy(CreatedByT &&value)
AWS_DATAZONE_API CreateDomainUnitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetName(NameT &&value)
CreateDomainUnitResult & AddAncestorDomainUnitIds(AncestorDomainUnitIdsT &&value)
void SetCreatedAt(CreatedAtT &&value)
CreateDomainUnitResult & WithAncestorDomainUnitIds(AncestorDomainUnitIdsT &&value)
CreateDomainUnitResult & WithName(NameT &&value)
AWS_DATAZONE_API CreateDomainUnitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetCreatedBy() const
CreateDomainUnitResult & WithOwners(OwnersT &&value)
const Aws::String & GetId() const
void SetParentDomainUnitId(ParentDomainUnitIdT &&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