7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/DomainUnitOwnerProperties.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename AncestorDomainUnitIdsT = Aws::Vector<Aws::String>>
44 void SetAncestorDomainUnitIds(AncestorDomainUnitIdsT&& value) { m_ancestorDomainUnitIdsHasBeenSet =
true; m_ancestorDomainUnitIds = std::forward<AncestorDomainUnitIdsT>(value); }
45 template<
typename AncestorDomainUnitIdsT = Aws::Vector<Aws::String>>
47 template<
typename AncestorDomainUnitIdsT = Aws::String>
56 template<
typename CreatedAtT = Aws::Utils::DateTime>
57 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
58 template<
typename CreatedAtT = Aws::Utils::DateTime>
67 template<
typename CreatedByT = Aws::String>
68 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
69 template<
typename CreatedByT = Aws::String>
78 template<
typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
80 template<
typename DescriptionT = Aws::String>
89 template<
typename DomainIdT = Aws::String>
90 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet =
true; m_domainId = std::forward<DomainIdT>(value); }
91 template<
typename DomainIdT = Aws::String>
100 template<
typename IdT = Aws::String>
101 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
102 template<
typename IdT = Aws::String>
111 template<
typename NameT = Aws::String>
112 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
113 template<
typename NameT = Aws::String>
122 template<
typename OwnersT = Aws::Vector<DomainUnitOwnerProperties>>
123 void SetOwners(OwnersT&& value) { m_ownersHasBeenSet =
true; m_owners = std::forward<OwnersT>(value); }
124 template<
typename OwnersT = Aws::Vector<DomainUnitOwnerProperties>>
126 template<
typename OwnersT = DomainUnitOwnerProperties>
135 template<
typename ParentDomainUnitIdT = Aws::String>
136 void SetParentDomainUnitId(ParentDomainUnitIdT&& value) { m_parentDomainUnitIdHasBeenSet =
true; m_parentDomainUnitId = std::forward<ParentDomainUnitIdT>(value); }
137 template<
typename ParentDomainUnitIdT = Aws::String>
144 template<
typename RequestIdT = Aws::String>
145 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
146 template<
typename RequestIdT = Aws::String>
152 bool m_ancestorDomainUnitIdsHasBeenSet =
false;
155 bool m_createdAtHasBeenSet =
false;
158 bool m_createdByHasBeenSet =
false;
161 bool m_descriptionHasBeenSet =
false;
164 bool m_domainIdHasBeenSet =
false;
167 bool m_idHasBeenSet =
false;
170 bool m_nameHasBeenSet =
false;
173 bool m_ownersHasBeenSet =
false;
176 bool m_parentDomainUnitIdHasBeenSet =
false;
179 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