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;
44 template<
typename CreatedAtT = Aws::Utils::DateTime>
45 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
46 template<
typename CreatedAtT = Aws::Utils::DateTime>
55 template<
typename CreatedByT = Aws::String>
56 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
57 template<
typename CreatedByT = Aws::String>
66 template<
typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
68 template<
typename DescriptionT = Aws::String>
77 template<
typename DomainIdT = Aws::String>
78 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet =
true; m_domainId = std::forward<DomainIdT>(value); }
79 template<
typename DomainIdT = Aws::String>
88 template<
typename IdT = Aws::String>
89 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
90 template<
typename IdT = Aws::String>
99 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
100 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
101 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
110 template<
typename LastUpdatedByT = Aws::String>
111 void SetLastUpdatedBy(LastUpdatedByT&& value) { m_lastUpdatedByHasBeenSet =
true; m_lastUpdatedBy = std::forward<LastUpdatedByT>(value); }
112 template<
typename LastUpdatedByT = Aws::String>
121 template<
typename NameT = Aws::String>
122 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
123 template<
typename NameT = Aws::String>
132 template<
typename OwnersT = Aws::Vector<DomainUnitOwnerProperties>>
133 void SetOwners(OwnersT&& value) { m_ownersHasBeenSet =
true; m_owners = std::forward<OwnersT>(value); }
134 template<
typename OwnersT = Aws::Vector<DomainUnitOwnerProperties>>
136 template<
typename OwnersT = DomainUnitOwnerProperties>
145 template<
typename ParentDomainUnitIdT = Aws::String>
146 void SetParentDomainUnitId(ParentDomainUnitIdT&& value) { m_parentDomainUnitIdHasBeenSet =
true; m_parentDomainUnitId = std::forward<ParentDomainUnitIdT>(value); }
147 template<
typename ParentDomainUnitIdT = Aws::String>
154 template<
typename RequestIdT = Aws::String>
155 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
156 template<
typename RequestIdT = Aws::String>
162 bool m_createdAtHasBeenSet =
false;
165 bool m_createdByHasBeenSet =
false;
168 bool m_descriptionHasBeenSet =
false;
171 bool m_domainIdHasBeenSet =
false;
174 bool m_idHasBeenSet =
false;
177 bool m_lastUpdatedAtHasBeenSet =
false;
180 bool m_lastUpdatedByHasBeenSet =
false;
183 bool m_nameHasBeenSet =
false;
186 bool m_ownersHasBeenSet =
false;
189 bool m_parentDomainUnitIdHasBeenSet =
false;
192 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
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