7#include <aws/core/http/HttpResponse.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/DataZone_EXPORTS.h>
12#include <aws/datazone/model/DomainUnitOwnerProperties.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename IdT = Aws::String>
40 m_idHasBeenSet =
true;
41 m_id = std::forward<IdT>(value);
43 template <
typename IdT = Aws::String>
45 SetId(std::forward<IdT>(value));
55 template <
typename DomainIdT = Aws::String>
57 m_domainIdHasBeenSet =
true;
58 m_domainId = std::forward<DomainIdT>(value);
60 template <
typename DomainIdT = Aws::String>
72 template <
typename NameT = Aws::String>
74 m_nameHasBeenSet =
true;
75 m_name = std::forward<NameT>(value);
77 template <
typename NameT = Aws::String>
79 SetName(std::forward<NameT>(value));
89 template <
typename OwnersT = Aws::Vector<DomainUnitOwnerProperties>>
91 m_ownersHasBeenSet =
true;
92 m_owners = std::forward<OwnersT>(value);
94 template <
typename OwnersT = Aws::Vector<DomainUnitOwnerProperties>>
99 template <
typename OwnersT = DomainUnitOwnerProperties>
101 m_ownersHasBeenSet =
true;
102 m_owners.emplace_back(std::forward<OwnersT>(value));
112 template <
typename DescriptionT = Aws::String>
114 m_descriptionHasBeenSet =
true;
115 m_description = std::forward<DescriptionT>(value);
117 template <
typename DescriptionT = Aws::String>
129 template <
typename ParentDomainUnitIdT = Aws::String>
131 m_parentDomainUnitIdHasBeenSet =
true;
132 m_parentDomainUnitId = std::forward<ParentDomainUnitIdT>(value);
134 template <
typename ParentDomainUnitIdT = Aws::String>
147 template <
typename CreatedAtT = Aws::Utils::DateTime>
149 m_createdAtHasBeenSet =
true;
150 m_createdAt = std::forward<CreatedAtT>(value);
152 template <
typename CreatedAtT = Aws::Utils::DateTime>
164 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
166 m_lastUpdatedAtHasBeenSet =
true;
167 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
169 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
181 template <
typename CreatedByT = Aws::String>
183 m_createdByHasBeenSet =
true;
184 m_createdBy = std::forward<CreatedByT>(value);
186 template <
typename CreatedByT = Aws::String>
198 template <
typename LastUpdatedByT = Aws::String>
200 m_lastUpdatedByHasBeenSet =
true;
201 m_lastUpdatedBy = std::forward<LastUpdatedByT>(value);
203 template <
typename LastUpdatedByT = Aws::String>
213 template <
typename RequestIdT = Aws::String>
215 m_requestIdHasBeenSet =
true;
216 m_requestId = std::forward<RequestIdT>(value);
218 template <
typename RequestIdT = Aws::String>
249 bool m_idHasBeenSet =
false;
250 bool m_domainIdHasBeenSet =
false;
251 bool m_nameHasBeenSet =
false;
252 bool m_ownersHasBeenSet =
false;
253 bool m_descriptionHasBeenSet =
false;
254 bool m_parentDomainUnitIdHasBeenSet =
false;
255 bool m_createdAtHasBeenSet =
false;
256 bool m_lastUpdatedAtHasBeenSet =
false;
257 bool m_createdByHasBeenSet =
false;
258 bool m_lastUpdatedByHasBeenSet =
false;
259 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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