AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
43 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
44 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
45 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
46 inline UpdateDomainUnitResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
47 inline UpdateDomainUnitResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
49
51
54 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
55 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
56 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
57 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
58 inline UpdateDomainUnitResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
59 inline UpdateDomainUnitResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
60 inline UpdateDomainUnitResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
62
64
67 inline const Aws::String& GetDescription() const{ return m_description; }
68 inline void SetDescription(const Aws::String& value) { m_description = value; }
69 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
70 inline void SetDescription(const char* value) { m_description.assign(value); }
71 inline UpdateDomainUnitResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
72 inline UpdateDomainUnitResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
73 inline UpdateDomainUnitResult& WithDescription(const char* value) { SetDescription(value); return *this;}
75
77
80 inline const Aws::String& GetDomainId() const{ return m_domainId; }
81 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
82 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
83 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
84 inline UpdateDomainUnitResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
85 inline UpdateDomainUnitResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
86 inline UpdateDomainUnitResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
88
90
93 inline const Aws::String& GetId() const{ return m_id; }
94 inline void SetId(const Aws::String& value) { m_id = value; }
95 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
96 inline void SetId(const char* value) { m_id.assign(value); }
97 inline UpdateDomainUnitResult& WithId(const Aws::String& value) { SetId(value); return *this;}
98 inline UpdateDomainUnitResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
99 inline UpdateDomainUnitResult& WithId(const char* value) { SetId(value); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
107 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
108 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
110 inline UpdateDomainUnitResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
112
114
117 inline const Aws::String& GetLastUpdatedBy() const{ return m_lastUpdatedBy; }
118 inline void SetLastUpdatedBy(const Aws::String& value) { m_lastUpdatedBy = value; }
119 inline void SetLastUpdatedBy(Aws::String&& value) { m_lastUpdatedBy = std::move(value); }
120 inline void SetLastUpdatedBy(const char* value) { m_lastUpdatedBy.assign(value); }
121 inline UpdateDomainUnitResult& WithLastUpdatedBy(const Aws::String& value) { SetLastUpdatedBy(value); return *this;}
122 inline UpdateDomainUnitResult& WithLastUpdatedBy(Aws::String&& value) { SetLastUpdatedBy(std::move(value)); return *this;}
123 inline UpdateDomainUnitResult& WithLastUpdatedBy(const char* value) { SetLastUpdatedBy(value); return *this;}
125
127
130 inline const Aws::String& GetName() const{ return m_name; }
131 inline void SetName(const Aws::String& value) { m_name = value; }
132 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
133 inline void SetName(const char* value) { m_name.assign(value); }
134 inline UpdateDomainUnitResult& WithName(const Aws::String& value) { SetName(value); return *this;}
135 inline UpdateDomainUnitResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
136 inline UpdateDomainUnitResult& WithName(const char* value) { SetName(value); return *this;}
138
140
143 inline const Aws::Vector<DomainUnitOwnerProperties>& GetOwners() const{ return m_owners; }
144 inline void SetOwners(const Aws::Vector<DomainUnitOwnerProperties>& value) { m_owners = value; }
145 inline void SetOwners(Aws::Vector<DomainUnitOwnerProperties>&& value) { m_owners = std::move(value); }
147 inline UpdateDomainUnitResult& WithOwners(Aws::Vector<DomainUnitOwnerProperties>&& value) { SetOwners(std::move(value)); return *this;}
148 inline UpdateDomainUnitResult& AddOwners(const DomainUnitOwnerProperties& value) { m_owners.push_back(value); return *this; }
149 inline UpdateDomainUnitResult& AddOwners(DomainUnitOwnerProperties&& value) { m_owners.push_back(std::move(value)); return *this; }
151
153
156 inline const Aws::String& GetParentDomainUnitId() const{ return m_parentDomainUnitId; }
157 inline void SetParentDomainUnitId(const Aws::String& value) { m_parentDomainUnitId = value; }
158 inline void SetParentDomainUnitId(Aws::String&& value) { m_parentDomainUnitId = std::move(value); }
159 inline void SetParentDomainUnitId(const char* value) { m_parentDomainUnitId.assign(value); }
161 inline UpdateDomainUnitResult& WithParentDomainUnitId(Aws::String&& value) { SetParentDomainUnitId(std::move(value)); return *this;}
162 inline UpdateDomainUnitResult& WithParentDomainUnitId(const char* value) { SetParentDomainUnitId(value); return *this;}
164
166
167 inline const Aws::String& GetRequestId() const{ return m_requestId; }
168 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
169 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
170 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
171 inline UpdateDomainUnitResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
172 inline UpdateDomainUnitResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
173 inline UpdateDomainUnitResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
175 private:
176
177 Aws::Utils::DateTime m_createdAt;
178
179 Aws::String m_createdBy;
180
181 Aws::String m_description;
182
183 Aws::String m_domainId;
184
185 Aws::String m_id;
186
187 Aws::Utils::DateTime m_lastUpdatedAt;
188
189 Aws::String m_lastUpdatedBy;
190
191 Aws::String m_name;
192
194
195 Aws::String m_parentDomainUnitId;
196
197 Aws::String m_requestId;
198 };
199
200} // namespace Model
201} // namespace DataZone
202} // namespace Aws
const Aws::Vector< DomainUnitOwnerProperties > & GetOwners() const
UpdateDomainUnitResult & WithLastUpdatedBy(const Aws::String &value)
UpdateDomainUnitResult & WithCreatedBy(Aws::String &&value)
UpdateDomainUnitResult & WithDomainId(Aws::String &&value)
AWS_DATAZONE_API UpdateDomainUnitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDomainUnitResult & WithName(const Aws::String &value)
UpdateDomainUnitResult & WithOwners(const Aws::Vector< DomainUnitOwnerProperties > &value)
UpdateDomainUnitResult & WithCreatedAt(Aws::Utils::DateTime &&value)
UpdateDomainUnitResult & WithDomainId(const char *value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
UpdateDomainUnitResult & WithDescription(const Aws::String &value)
UpdateDomainUnitResult & WithCreatedBy(const Aws::String &value)
UpdateDomainUnitResult & WithName(Aws::String &&value)
void SetOwners(Aws::Vector< DomainUnitOwnerProperties > &&value)
UpdateDomainUnitResult & WithId(const char *value)
UpdateDomainUnitResult & WithDomainId(const Aws::String &value)
UpdateDomainUnitResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
UpdateDomainUnitResult & WithCreatedAt(const Aws::Utils::DateTime &value)
UpdateDomainUnitResult & WithRequestId(const Aws::String &value)
void SetOwners(const Aws::Vector< DomainUnitOwnerProperties > &value)
AWS_DATAZONE_API UpdateDomainUnitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDomainUnitResult & AddOwners(const DomainUnitOwnerProperties &value)
UpdateDomainUnitResult & WithParentDomainUnitId(const Aws::String &value)
UpdateDomainUnitResult & WithParentDomainUnitId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
UpdateDomainUnitResult & AddOwners(DomainUnitOwnerProperties &&value)
UpdateDomainUnitResult & WithId(Aws::String &&value)
UpdateDomainUnitResult & WithId(const Aws::String &value)
UpdateDomainUnitResult & WithLastUpdatedBy(const char *value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
UpdateDomainUnitResult & WithCreatedBy(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
UpdateDomainUnitResult & WithParentDomainUnitId(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
UpdateDomainUnitResult & WithRequestId(const char *value)
UpdateDomainUnitResult & WithOwners(Aws::Vector< DomainUnitOwnerProperties > &&value)
UpdateDomainUnitResult & WithRequestId(Aws::String &&value)
UpdateDomainUnitResult & WithName(const char *value)
UpdateDomainUnitResult & WithLastUpdatedBy(Aws::String &&value)
UpdateDomainUnitResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
UpdateDomainUnitResult & WithDescription(const char *value)
UpdateDomainUnitResult & WithDescription(Aws::String &&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