AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateDomainUnitResult.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataZone
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DATAZONE_API UpdateDomainUnitResult() = default;
36
37
39
43 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
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>
47 UpdateDomainUnitResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
49
51
54 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
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>
58 UpdateDomainUnitResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDescription() const { return m_description; }
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>
69 UpdateDomainUnitResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
71
73
76 inline const Aws::String& GetDomainId() const { return m_domainId; }
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>
80 UpdateDomainUnitResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
82
84
87 inline const Aws::String& GetId() const { return m_id; }
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>
91 UpdateDomainUnitResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
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>
102 UpdateDomainUnitResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
104
106
109 inline const Aws::String& GetLastUpdatedBy() const { return m_lastUpdatedBy; }
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>
113 UpdateDomainUnitResult& WithLastUpdatedBy(LastUpdatedByT&& value) { SetLastUpdatedBy(std::forward<LastUpdatedByT>(value)); return *this;}
115
117
120 inline const Aws::String& GetName() const { return m_name; }
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>
124 UpdateDomainUnitResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
126
128
131 inline const Aws::Vector<DomainUnitOwnerProperties>& GetOwners() const { return m_owners; }
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>>
135 UpdateDomainUnitResult& WithOwners(OwnersT&& value) { SetOwners(std::forward<OwnersT>(value)); return *this;}
136 template<typename OwnersT = DomainUnitOwnerProperties>
137 UpdateDomainUnitResult& AddOwners(OwnersT&& value) { m_ownersHasBeenSet = true; m_owners.emplace_back(std::forward<OwnersT>(value)); return *this; }
139
141
144 inline const Aws::String& GetParentDomainUnitId() const { return m_parentDomainUnitId; }
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>
148 UpdateDomainUnitResult& WithParentDomainUnitId(ParentDomainUnitIdT&& value) { SetParentDomainUnitId(std::forward<ParentDomainUnitIdT>(value)); return *this;}
150
152
153 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
157 UpdateDomainUnitResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
159 private:
160
161 Aws::Utils::DateTime m_createdAt{};
162 bool m_createdAtHasBeenSet = false;
163
164 Aws::String m_createdBy;
165 bool m_createdByHasBeenSet = false;
166
167 Aws::String m_description;
168 bool m_descriptionHasBeenSet = false;
169
170 Aws::String m_domainId;
171 bool m_domainIdHasBeenSet = false;
172
173 Aws::String m_id;
174 bool m_idHasBeenSet = false;
175
176 Aws::Utils::DateTime m_lastUpdatedAt{};
177 bool m_lastUpdatedAtHasBeenSet = false;
178
179 Aws::String m_lastUpdatedBy;
180 bool m_lastUpdatedByHasBeenSet = false;
181
182 Aws::String m_name;
183 bool m_nameHasBeenSet = false;
184
186 bool m_ownersHasBeenSet = false;
187
188 Aws::String m_parentDomainUnitId;
189 bool m_parentDomainUnitIdHasBeenSet = false;
190
191 Aws::String m_requestId;
192 bool m_requestIdHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace DataZone
197} // namespace Aws
UpdateDomainUnitResult & AddOwners(OwnersT &&value)
const Aws::Vector< DomainUnitOwnerProperties > & GetOwners() const
AWS_DATAZONE_API UpdateDomainUnitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDomainUnitResult & WithCreatedBy(CreatedByT &&value)
UpdateDomainUnitResult & WithDescription(DescriptionT &&value)
UpdateDomainUnitResult & WithRequestId(RequestIdT &&value)
UpdateDomainUnitResult & WithCreatedAt(CreatedAtT &&value)
AWS_DATAZONE_API UpdateDomainUnitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDomainUnitResult & WithOwners(OwnersT &&value)
AWS_DATAZONE_API UpdateDomainUnitResult()=default
const Aws::Utils::DateTime & GetCreatedAt() const
void SetParentDomainUnitId(ParentDomainUnitIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
UpdateDomainUnitResult & WithName(NameT &&value)
UpdateDomainUnitResult & WithLastUpdatedBy(LastUpdatedByT &&value)
UpdateDomainUnitResult & WithId(IdT &&value)
UpdateDomainUnitResult & WithParentDomainUnitId(ParentDomainUnitIdT &&value)
UpdateDomainUnitResult & WithLastUpdatedAt(LastUpdatedAtT &&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