AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDomainUnitResult.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 GetDomainUnitResult();
36
37
39
42 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
43 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
44 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
45 inline GetDomainUnitResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
46 inline GetDomainUnitResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
48
50
53 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
54 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
55 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
56 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
57 inline GetDomainUnitResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
58 inline GetDomainUnitResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
59 inline GetDomainUnitResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
61
63
66 inline const Aws::String& GetDescription() const{ return m_description; }
67 inline void SetDescription(const Aws::String& value) { m_description = value; }
68 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
69 inline void SetDescription(const char* value) { m_description.assign(value); }
70 inline GetDomainUnitResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
71 inline GetDomainUnitResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
72 inline GetDomainUnitResult& WithDescription(const char* value) { SetDescription(value); return *this;}
74
76
79 inline const Aws::String& GetDomainId() const{ return m_domainId; }
80 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
81 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
82 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
83 inline GetDomainUnitResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
84 inline GetDomainUnitResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
85 inline GetDomainUnitResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
87
89
92 inline const Aws::String& GetId() const{ return m_id; }
93 inline void SetId(const Aws::String& value) { m_id = value; }
94 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
95 inline void SetId(const char* value) { m_id.assign(value); }
96 inline GetDomainUnitResult& WithId(const Aws::String& value) { SetId(value); return *this;}
97 inline GetDomainUnitResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
98 inline GetDomainUnitResult& WithId(const char* value) { SetId(value); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
106 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
107 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
108 inline GetDomainUnitResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
109 inline GetDomainUnitResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
111
113
116 inline const Aws::String& GetLastUpdatedBy() const{ return m_lastUpdatedBy; }
117 inline void SetLastUpdatedBy(const Aws::String& value) { m_lastUpdatedBy = value; }
118 inline void SetLastUpdatedBy(Aws::String&& value) { m_lastUpdatedBy = std::move(value); }
119 inline void SetLastUpdatedBy(const char* value) { m_lastUpdatedBy.assign(value); }
120 inline GetDomainUnitResult& WithLastUpdatedBy(const Aws::String& value) { SetLastUpdatedBy(value); return *this;}
121 inline GetDomainUnitResult& WithLastUpdatedBy(Aws::String&& value) { SetLastUpdatedBy(std::move(value)); return *this;}
122 inline GetDomainUnitResult& WithLastUpdatedBy(const char* value) { SetLastUpdatedBy(value); return *this;}
124
126
129 inline const Aws::String& GetName() const{ return m_name; }
130 inline void SetName(const Aws::String& value) { m_name = value; }
131 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
132 inline void SetName(const char* value) { m_name.assign(value); }
133 inline GetDomainUnitResult& WithName(const Aws::String& value) { SetName(value); return *this;}
134 inline GetDomainUnitResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
135 inline GetDomainUnitResult& WithName(const char* value) { SetName(value); return *this;}
137
139
142 inline const Aws::Vector<DomainUnitOwnerProperties>& GetOwners() const{ return m_owners; }
143 inline void SetOwners(const Aws::Vector<DomainUnitOwnerProperties>& value) { m_owners = value; }
144 inline void SetOwners(Aws::Vector<DomainUnitOwnerProperties>&& value) { m_owners = std::move(value); }
146 inline GetDomainUnitResult& WithOwners(Aws::Vector<DomainUnitOwnerProperties>&& value) { SetOwners(std::move(value)); return *this;}
147 inline GetDomainUnitResult& AddOwners(const DomainUnitOwnerProperties& value) { m_owners.push_back(value); return *this; }
148 inline GetDomainUnitResult& AddOwners(DomainUnitOwnerProperties&& value) { m_owners.push_back(std::move(value)); return *this; }
150
152
155 inline const Aws::String& GetParentDomainUnitId() const{ return m_parentDomainUnitId; }
156 inline void SetParentDomainUnitId(const Aws::String& value) { m_parentDomainUnitId = value; }
157 inline void SetParentDomainUnitId(Aws::String&& value) { m_parentDomainUnitId = std::move(value); }
158 inline void SetParentDomainUnitId(const char* value) { m_parentDomainUnitId.assign(value); }
160 inline GetDomainUnitResult& WithParentDomainUnitId(Aws::String&& value) { SetParentDomainUnitId(std::move(value)); return *this;}
161 inline GetDomainUnitResult& WithParentDomainUnitId(const char* value) { SetParentDomainUnitId(value); return *this;}
163
165
166 inline const Aws::String& GetRequestId() const{ return m_requestId; }
167 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
168 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
169 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
170 inline GetDomainUnitResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
171 inline GetDomainUnitResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
172 inline GetDomainUnitResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
174 private:
175
176 Aws::Utils::DateTime m_createdAt;
177
178 Aws::String m_createdBy;
179
180 Aws::String m_description;
181
182 Aws::String m_domainId;
183
184 Aws::String m_id;
185
186 Aws::Utils::DateTime m_lastUpdatedAt;
187
188 Aws::String m_lastUpdatedBy;
189
190 Aws::String m_name;
191
193
194 Aws::String m_parentDomainUnitId;
195
196 Aws::String m_requestId;
197 };
198
199} // namespace Model
200} // namespace DataZone
201} // namespace Aws
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetDomainUnitResult & WithName(Aws::String &&value)
GetDomainUnitResult & WithRequestId(const char *value)
void SetDescription(const Aws::String &value)
const Aws::String & GetParentDomainUnitId() const
GetDomainUnitResult & WithOwners(const Aws::Vector< DomainUnitOwnerProperties > &value)
GetDomainUnitResult & WithDomainId(const Aws::String &value)
void SetLastUpdatedBy(const Aws::String &value)
void SetDomainId(const Aws::String &value)
GetDomainUnitResult & WithCreatedBy(Aws::String &&value)
GetDomainUnitResult & AddOwners(const DomainUnitOwnerProperties &value)
GetDomainUnitResult & WithCreatedBy(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetOwners(Aws::Vector< DomainUnitOwnerProperties > &&value)
GetDomainUnitResult & WithName(const Aws::String &value)
GetDomainUnitResult & WithId(const char *value)
AWS_DATAZONE_API GetDomainUnitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDomainUnitResult & WithRequestId(const Aws::String &value)
GetDomainUnitResult & WithDomainId(const char *value)
void SetParentDomainUnitId(const Aws::String &value)
GetDomainUnitResult & WithRequestId(Aws::String &&value)
GetDomainUnitResult & WithLastUpdatedBy(const char *value)
GetDomainUnitResult & WithId(const Aws::String &value)
GetDomainUnitResult & WithParentDomainUnitId(Aws::String &&value)
const Aws::Vector< DomainUnitOwnerProperties > & GetOwners() const
GetDomainUnitResult & WithDescription(const char *value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetCreatedBy(const Aws::String &value)
AWS_DATAZONE_API GetDomainUnitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
GetDomainUnitResult & WithDomainId(Aws::String &&value)
GetDomainUnitResult & WithCreatedBy(const char *value)
GetDomainUnitResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetOwners(const Aws::Vector< DomainUnitOwnerProperties > &value)
GetDomainUnitResult & WithLastUpdatedBy(Aws::String &&value)
GetDomainUnitResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
GetDomainUnitResult & WithOwners(Aws::Vector< DomainUnitOwnerProperties > &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetDomainUnitResult & WithDescription(const Aws::String &value)
GetDomainUnitResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
GetDomainUnitResult & AddOwners(DomainUnitOwnerProperties &&value)
GetDomainUnitResult & WithId(Aws::String &&value)
GetDomainUnitResult & WithName(const char *value)
GetDomainUnitResult & WithLastUpdatedBy(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
GetDomainUnitResult & WithDescription(Aws::String &&value)
GetDomainUnitResult & WithParentDomainUnitId(const Aws::String &value)
GetDomainUnitResult & WithParentDomainUnitId(const char *value)
GetDomainUnitResult & WithLastUpdatedAt(Aws::Utils::DateTime &&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