AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateDomainResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/SingleSignOn.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace DataZone {
24namespace Model {
26 public:
27 AWS_DATAZONE_API UpdateDomainResult() = default;
30
32
35 inline const Aws::String& GetId() const { return m_id; }
36 template <typename IdT = Aws::String>
37 void SetId(IdT&& value) {
38 m_idHasBeenSet = true;
39 m_id = std::forward<IdT>(value);
40 }
41 template <typename IdT = Aws::String>
42 UpdateDomainResult& WithId(IdT&& value) {
43 SetId(std::forward<IdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetRootDomainUnitId() const { return m_rootDomainUnitId; }
53 template <typename RootDomainUnitIdT = Aws::String>
54 void SetRootDomainUnitId(RootDomainUnitIdT&& value) {
55 m_rootDomainUnitIdHasBeenSet = true;
56 m_rootDomainUnitId = std::forward<RootDomainUnitIdT>(value);
57 }
58 template <typename RootDomainUnitIdT = Aws::String>
59 UpdateDomainResult& WithRootDomainUnitId(RootDomainUnitIdT&& value) {
60 SetRootDomainUnitId(std::forward<RootDomainUnitIdT>(value));
61 return *this;
62 }
64
66
70 inline const Aws::String& GetDescription() const { return m_description; }
71 template <typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) {
73 m_descriptionHasBeenSet = true;
74 m_description = std::forward<DescriptionT>(value);
75 }
76 template <typename DescriptionT = Aws::String>
77 UpdateDomainResult& WithDescription(DescriptionT&& value) {
78 SetDescription(std::forward<DescriptionT>(value));
79 return *this;
80 }
82
84
87 inline const SingleSignOn& GetSingleSignOn() const { return m_singleSignOn; }
88 template <typename SingleSignOnT = SingleSignOn>
89 void SetSingleSignOn(SingleSignOnT&& value) {
90 m_singleSignOnHasBeenSet = true;
91 m_singleSignOn = std::forward<SingleSignOnT>(value);
92 }
93 template <typename SingleSignOnT = SingleSignOn>
94 UpdateDomainResult& WithSingleSignOn(SingleSignOnT&& value) {
95 SetSingleSignOn(std::forward<SingleSignOnT>(value));
96 return *this;
97 }
99
101
105 inline const Aws::String& GetDomainExecutionRole() const { return m_domainExecutionRole; }
106 template <typename DomainExecutionRoleT = Aws::String>
107 void SetDomainExecutionRole(DomainExecutionRoleT&& value) {
108 m_domainExecutionRoleHasBeenSet = true;
109 m_domainExecutionRole = std::forward<DomainExecutionRoleT>(value);
110 }
111 template <typename DomainExecutionRoleT = Aws::String>
112 UpdateDomainResult& WithDomainExecutionRole(DomainExecutionRoleT&& value) {
113 SetDomainExecutionRole(std::forward<DomainExecutionRoleT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetServiceRole() const { return m_serviceRole; }
123 template <typename ServiceRoleT = Aws::String>
124 void SetServiceRole(ServiceRoleT&& value) {
125 m_serviceRoleHasBeenSet = true;
126 m_serviceRole = std::forward<ServiceRoleT>(value);
127 }
128 template <typename ServiceRoleT = Aws::String>
129 UpdateDomainResult& WithServiceRole(ServiceRoleT&& value) {
130 SetServiceRole(std::forward<ServiceRoleT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::String& GetName() const { return m_name; }
140 template <typename NameT = Aws::String>
141 void SetName(NameT&& value) {
142 m_nameHasBeenSet = true;
143 m_name = std::forward<NameT>(value);
144 }
145 template <typename NameT = Aws::String>
146 UpdateDomainResult& WithName(NameT&& value) {
147 SetName(std::forward<NameT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
157 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
158 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
159 m_lastUpdatedAtHasBeenSet = true;
160 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
161 }
162 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
163 UpdateDomainResult& WithLastUpdatedAt(LastUpdatedAtT&& value) {
164 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
165 return *this;
166 }
168
170
171 inline const Aws::String& GetRequestId() const { return m_requestId; }
172 template <typename RequestIdT = Aws::String>
173 void SetRequestId(RequestIdT&& value) {
174 m_requestIdHasBeenSet = true;
175 m_requestId = std::forward<RequestIdT>(value);
176 }
177 template <typename RequestIdT = Aws::String>
178 UpdateDomainResult& WithRequestId(RequestIdT&& value) {
179 SetRequestId(std::forward<RequestIdT>(value));
180 return *this;
181 }
183 private:
184 Aws::String m_id;
185
186 Aws::String m_rootDomainUnitId;
187
188 Aws::String m_description;
189
190 SingleSignOn m_singleSignOn;
191
192 Aws::String m_domainExecutionRole;
193
194 Aws::String m_serviceRole;
195
196 Aws::String m_name;
197
198 Aws::Utils::DateTime m_lastUpdatedAt{};
199
200 Aws::String m_requestId;
201 bool m_idHasBeenSet = false;
202 bool m_rootDomainUnitIdHasBeenSet = false;
203 bool m_descriptionHasBeenSet = false;
204 bool m_singleSignOnHasBeenSet = false;
205 bool m_domainExecutionRoleHasBeenSet = false;
206 bool m_serviceRoleHasBeenSet = false;
207 bool m_nameHasBeenSet = false;
208 bool m_lastUpdatedAtHasBeenSet = false;
209 bool m_requestIdHasBeenSet = false;
210};
211
212} // namespace Model
213} // namespace DataZone
214} // namespace Aws
const Aws::Utils::DateTime & GetLastUpdatedAt() const
UpdateDomainResult & WithRequestId(RequestIdT &&value)
void SetSingleSignOn(SingleSignOnT &&value)
const SingleSignOn & GetSingleSignOn() const
UpdateDomainResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
AWS_DATAZONE_API UpdateDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API UpdateDomainResult()=default
UpdateDomainResult & WithId(IdT &&value)
void SetRootDomainUnitId(RootDomainUnitIdT &&value)
UpdateDomainResult & WithSingleSignOn(SingleSignOnT &&value)
UpdateDomainResult & WithServiceRole(ServiceRoleT &&value)
UpdateDomainResult & WithRootDomainUnitId(RootDomainUnitIdT &&value)
void SetDomainExecutionRole(DomainExecutionRoleT &&value)
UpdateDomainResult & WithDescription(DescriptionT &&value)
UpdateDomainResult & WithDomainExecutionRole(DomainExecutionRoleT &&value)
const Aws::String & GetDomainExecutionRole() const
AWS_DATAZONE_API UpdateDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRootDomainUnitId() const
UpdateDomainResult & WithName(NameT &&value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::String & GetDescription() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue