AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDomainUnitResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.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 CreateDomainUnitResult();
36
37
39
42 inline const Aws::Vector<Aws::String>& GetAncestorDomainUnitIds() const{ return m_ancestorDomainUnitIds; }
43 inline void SetAncestorDomainUnitIds(const Aws::Vector<Aws::String>& value) { m_ancestorDomainUnitIds = value; }
44 inline void SetAncestorDomainUnitIds(Aws::Vector<Aws::String>&& value) { m_ancestorDomainUnitIds = std::move(value); }
47 inline CreateDomainUnitResult& AddAncestorDomainUnitIds(const Aws::String& value) { m_ancestorDomainUnitIds.push_back(value); return *this; }
48 inline CreateDomainUnitResult& AddAncestorDomainUnitIds(Aws::String&& value) { m_ancestorDomainUnitIds.push_back(std::move(value)); return *this; }
49 inline CreateDomainUnitResult& AddAncestorDomainUnitIds(const char* value) { m_ancestorDomainUnitIds.push_back(value); return *this; }
51
53
56 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
57 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
58 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
59 inline CreateDomainUnitResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
60 inline CreateDomainUnitResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
62
64
67 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
68 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
69 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
70 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
71 inline CreateDomainUnitResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
72 inline CreateDomainUnitResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
73 inline CreateDomainUnitResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
75
77
80 inline const Aws::String& GetDescription() const{ return m_description; }
81 inline void SetDescription(const Aws::String& value) { m_description = value; }
82 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
83 inline void SetDescription(const char* value) { m_description.assign(value); }
84 inline CreateDomainUnitResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
85 inline CreateDomainUnitResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
86 inline CreateDomainUnitResult& WithDescription(const char* value) { SetDescription(value); return *this;}
88
90
93 inline const Aws::String& GetDomainId() const{ return m_domainId; }
94 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
95 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
96 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
97 inline CreateDomainUnitResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
98 inline CreateDomainUnitResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
99 inline CreateDomainUnitResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
101
103
106 inline const Aws::String& GetId() const{ return m_id; }
107 inline void SetId(const Aws::String& value) { m_id = value; }
108 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
109 inline void SetId(const char* value) { m_id.assign(value); }
110 inline CreateDomainUnitResult& WithId(const Aws::String& value) { SetId(value); return *this;}
111 inline CreateDomainUnitResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
112 inline CreateDomainUnitResult& WithId(const char* value) { SetId(value); return *this;}
114
116
119 inline const Aws::String& GetName() const{ return m_name; }
120 inline void SetName(const Aws::String& value) { m_name = value; }
121 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
122 inline void SetName(const char* value) { m_name.assign(value); }
123 inline CreateDomainUnitResult& WithName(const Aws::String& value) { SetName(value); return *this;}
124 inline CreateDomainUnitResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
125 inline CreateDomainUnitResult& WithName(const char* value) { SetName(value); return *this;}
127
129
132 inline const Aws::Vector<DomainUnitOwnerProperties>& GetOwners() const{ return m_owners; }
133 inline void SetOwners(const Aws::Vector<DomainUnitOwnerProperties>& value) { m_owners = value; }
134 inline void SetOwners(Aws::Vector<DomainUnitOwnerProperties>&& value) { m_owners = std::move(value); }
136 inline CreateDomainUnitResult& WithOwners(Aws::Vector<DomainUnitOwnerProperties>&& value) { SetOwners(std::move(value)); return *this;}
137 inline CreateDomainUnitResult& AddOwners(const DomainUnitOwnerProperties& value) { m_owners.push_back(value); return *this; }
138 inline CreateDomainUnitResult& AddOwners(DomainUnitOwnerProperties&& value) { m_owners.push_back(std::move(value)); return *this; }
140
142
145 inline const Aws::String& GetParentDomainUnitId() const{ return m_parentDomainUnitId; }
146 inline void SetParentDomainUnitId(const Aws::String& value) { m_parentDomainUnitId = value; }
147 inline void SetParentDomainUnitId(Aws::String&& value) { m_parentDomainUnitId = std::move(value); }
148 inline void SetParentDomainUnitId(const char* value) { m_parentDomainUnitId.assign(value); }
150 inline CreateDomainUnitResult& WithParentDomainUnitId(Aws::String&& value) { SetParentDomainUnitId(std::move(value)); return *this;}
151 inline CreateDomainUnitResult& WithParentDomainUnitId(const char* value) { SetParentDomainUnitId(value); return *this;}
153
155
156 inline const Aws::String& GetRequestId() const{ return m_requestId; }
157 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
158 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
159 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
160 inline CreateDomainUnitResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
161 inline CreateDomainUnitResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
162 inline CreateDomainUnitResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
164 private:
165
166 Aws::Vector<Aws::String> m_ancestorDomainUnitIds;
167
168 Aws::Utils::DateTime m_createdAt;
169
170 Aws::String m_createdBy;
171
172 Aws::String m_description;
173
174 Aws::String m_domainId;
175
176 Aws::String m_id;
177
178 Aws::String m_name;
179
181
182 Aws::String m_parentDomainUnitId;
183
184 Aws::String m_requestId;
185 };
186
187} // namespace Model
188} // namespace DataZone
189} // namespace Aws
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetAncestorDomainUnitIds(Aws::Vector< Aws::String > &&value)
CreateDomainUnitResult & WithName(const char *value)
CreateDomainUnitResult & WithOwners(Aws::Vector< DomainUnitOwnerProperties > &&value)
CreateDomainUnitResult & WithParentDomainUnitId(const char *value)
CreateDomainUnitResult & WithId(const Aws::String &value)
CreateDomainUnitResult & WithCreatedBy(const char *value)
CreateDomainUnitResult & AddAncestorDomainUnitIds(const char *value)
void SetOwners(const Aws::Vector< DomainUnitOwnerProperties > &value)
CreateDomainUnitResult & WithName(const Aws::String &value)
const Aws::Vector< DomainUnitOwnerProperties > & GetOwners() const
CreateDomainUnitResult & WithDescription(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAncestorDomainUnitIds() const
CreateDomainUnitResult & WithId(const char *value)
CreateDomainUnitResult & WithId(Aws::String &&value)
CreateDomainUnitResult & WithParentDomainUnitId(const Aws::String &value)
CreateDomainUnitResult & WithDomainId(const Aws::String &value)
CreateDomainUnitResult & WithCreatedBy(const Aws::String &value)
CreateDomainUnitResult & WithDomainId(Aws::String &&value)
CreateDomainUnitResult & WithDomainId(const char *value)
CreateDomainUnitResult & AddAncestorDomainUnitIds(Aws::String &&value)
void SetAncestorDomainUnitIds(const Aws::Vector< Aws::String > &value)
CreateDomainUnitResult & AddOwners(DomainUnitOwnerProperties &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateDomainUnitResult & WithAncestorDomainUnitIds(Aws::Vector< Aws::String > &&value)
CreateDomainUnitResult & WithAncestorDomainUnitIds(const Aws::Vector< Aws::String > &value)
AWS_DATAZONE_API CreateDomainUnitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDomainUnitResult & AddAncestorDomainUnitIds(const Aws::String &value)
void SetOwners(Aws::Vector< DomainUnitOwnerProperties > &&value)
CreateDomainUnitResult & WithParentDomainUnitId(Aws::String &&value)
CreateDomainUnitResult & WithRequestId(Aws::String &&value)
CreateDomainUnitResult & WithCreatedBy(Aws::String &&value)
CreateDomainUnitResult & AddOwners(const DomainUnitOwnerProperties &value)
CreateDomainUnitResult & WithDescription(const char *value)
CreateDomainUnitResult & WithName(Aws::String &&value)
CreateDomainUnitResult & WithDescription(const Aws::String &value)
CreateDomainUnitResult & WithRequestId(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
CreateDomainUnitResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateDomainUnitResult & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_DATAZONE_API CreateDomainUnitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDomainUnitResult & WithOwners(const Aws::Vector< DomainUnitOwnerProperties > &value)
CreateDomainUnitResult & WithRequestId(const 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