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 ParentDomainUnitIdT = Aws::String>
91 m_parentDomainUnitIdHasBeenSet =
true;
92 m_parentDomainUnitId = std::forward<ParentDomainUnitIdT>(value);
94 template <
typename ParentDomainUnitIdT = Aws::String>
106 template <
typename DescriptionT = Aws::String>
108 m_descriptionHasBeenSet =
true;
109 m_description = std::forward<DescriptionT>(value);
111 template <
typename DescriptionT = Aws::String>
123 template <
typename OwnersT = Aws::Vector<DomainUnitOwnerProperties>>
125 m_ownersHasBeenSet =
true;
126 m_owners = std::forward<OwnersT>(value);
128 template <
typename OwnersT = Aws::Vector<DomainUnitOwnerProperties>>
133 template <
typename OwnersT = DomainUnitOwnerProperties>
135 m_ownersHasBeenSet =
true;
136 m_owners.emplace_back(std::forward<OwnersT>(value));
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>
248 bool m_idHasBeenSet =
false;
249 bool m_domainIdHasBeenSet =
false;
250 bool m_nameHasBeenSet =
false;
251 bool m_parentDomainUnitIdHasBeenSet =
false;
252 bool m_descriptionHasBeenSet =
false;
253 bool m_ownersHasBeenSet =
false;
254 bool m_createdAtHasBeenSet =
false;
255 bool m_lastUpdatedAtHasBeenSet =
false;
256 bool m_createdByHasBeenSet =
false;
257 bool m_lastUpdatedByHasBeenSet =
false;
258 bool m_requestIdHasBeenSet =
false;
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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