7#include <aws/datazone/DataZone_EXPORTS.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/model/DomainUnitOwnerProperties.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename CreatedAtT = Aws::Utils::DateTime>
44 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
45 template<
typename CreatedAtT = Aws::Utils::DateTime>
54 template<
typename CreatedByT = Aws::String>
55 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
56 template<
typename CreatedByT = Aws::String>
65 template<
typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
67 template<
typename DescriptionT = Aws::String>
76 template<
typename DomainIdT = Aws::String>
77 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet =
true; m_domainId = std::forward<DomainIdT>(value); }
78 template<
typename DomainIdT = Aws::String>
87 template<
typename IdT = Aws::String>
88 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
89 template<
typename IdT = Aws::String>
98 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
99 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
100 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
109 template<
typename LastUpdatedByT = Aws::String>
110 void SetLastUpdatedBy(LastUpdatedByT&& value) { m_lastUpdatedByHasBeenSet =
true; m_lastUpdatedBy = std::forward<LastUpdatedByT>(value); }
111 template<
typename LastUpdatedByT = Aws::String>
120 template<
typename NameT = Aws::String>
121 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
122 template<
typename NameT = Aws::String>
131 template<
typename OwnersT = Aws::Vector<DomainUnitOwnerProperties>>
132 void SetOwners(OwnersT&& value) { m_ownersHasBeenSet =
true; m_owners = std::forward<OwnersT>(value); }
133 template<
typename OwnersT = Aws::Vector<DomainUnitOwnerProperties>>
135 template<
typename OwnersT = DomainUnitOwnerProperties>
144 template<
typename ParentDomainUnitIdT = Aws::String>
145 void SetParentDomainUnitId(ParentDomainUnitIdT&& value) { m_parentDomainUnitIdHasBeenSet =
true; m_parentDomainUnitId = std::forward<ParentDomainUnitIdT>(value); }
146 template<
typename ParentDomainUnitIdT = Aws::String>
153 template<
typename RequestIdT = Aws::String>
154 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
155 template<
typename RequestIdT = Aws::String>
161 bool m_createdAtHasBeenSet =
false;
164 bool m_createdByHasBeenSet =
false;
167 bool m_descriptionHasBeenSet =
false;
170 bool m_domainIdHasBeenSet =
false;
173 bool m_idHasBeenSet =
false;
176 bool m_lastUpdatedAtHasBeenSet =
false;
179 bool m_lastUpdatedByHasBeenSet =
false;
182 bool m_nameHasBeenSet =
false;
185 bool m_ownersHasBeenSet =
false;
188 bool m_parentDomainUnitIdHasBeenSet =
false;
191 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