AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
UpdateDomainResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/SingleSignOn.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DataZone {
25namespace Model {
27 public:
28 AWS_DATAZONE_API UpdateDomainResult() = default;
31
33
36 inline const Aws::String& GetId() const { return m_id; }
37 template <typename IdT = Aws::String>
38 void SetId(IdT&& value) {
39 m_idHasBeenSet = true;
40 m_id = std::forward<IdT>(value);
41 }
42 template <typename IdT = Aws::String>
43 UpdateDomainResult& WithId(IdT&& value) {
44 SetId(std::forward<IdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetRootDomainUnitId() const { return m_rootDomainUnitId; }
54 template <typename RootDomainUnitIdT = Aws::String>
55 void SetRootDomainUnitId(RootDomainUnitIdT&& value) {
56 m_rootDomainUnitIdHasBeenSet = true;
57 m_rootDomainUnitId = std::forward<RootDomainUnitIdT>(value);
58 }
59 template <typename RootDomainUnitIdT = Aws::String>
60 UpdateDomainResult& WithRootDomainUnitId(RootDomainUnitIdT&& value) {
61 SetRootDomainUnitId(std::forward<RootDomainUnitIdT>(value));
62 return *this;
63 }
65
67
71 inline const Aws::String& GetDescription() const { return m_description; }
72 template <typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) {
74 m_descriptionHasBeenSet = true;
75 m_description = std::forward<DescriptionT>(value);
76 }
77 template <typename DescriptionT = Aws::String>
78 UpdateDomainResult& WithDescription(DescriptionT&& value) {
79 SetDescription(std::forward<DescriptionT>(value));
80 return *this;
81 }
83
85
88 inline const SingleSignOn& GetSingleSignOn() const { return m_singleSignOn; }
89 template <typename SingleSignOnT = SingleSignOn>
90 void SetSingleSignOn(SingleSignOnT&& value) {
91 m_singleSignOnHasBeenSet = true;
92 m_singleSignOn = std::forward<SingleSignOnT>(value);
93 }
94 template <typename SingleSignOnT = SingleSignOn>
95 UpdateDomainResult& WithSingleSignOn(SingleSignOnT&& value) {
96 SetSingleSignOn(std::forward<SingleSignOnT>(value));
97 return *this;
98 }
100
102
106 inline const Aws::String& GetDomainExecutionRole() const { return m_domainExecutionRole; }
107 template <typename DomainExecutionRoleT = Aws::String>
108 void SetDomainExecutionRole(DomainExecutionRoleT&& value) {
109 m_domainExecutionRoleHasBeenSet = true;
110 m_domainExecutionRole = std::forward<DomainExecutionRoleT>(value);
111 }
112 template <typename DomainExecutionRoleT = Aws::String>
113 UpdateDomainResult& WithDomainExecutionRole(DomainExecutionRoleT&& value) {
114 SetDomainExecutionRole(std::forward<DomainExecutionRoleT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::String& GetServiceRole() const { return m_serviceRole; }
124 template <typename ServiceRoleT = Aws::String>
125 void SetServiceRole(ServiceRoleT&& value) {
126 m_serviceRoleHasBeenSet = true;
127 m_serviceRole = std::forward<ServiceRoleT>(value);
128 }
129 template <typename ServiceRoleT = Aws::String>
130 UpdateDomainResult& WithServiceRole(ServiceRoleT&& value) {
131 SetServiceRole(std::forward<ServiceRoleT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::String& GetName() const { return m_name; }
141 template <typename NameT = Aws::String>
142 void SetName(NameT&& value) {
143 m_nameHasBeenSet = true;
144 m_name = std::forward<NameT>(value);
145 }
146 template <typename NameT = Aws::String>
147 UpdateDomainResult& WithName(NameT&& value) {
148 SetName(std::forward<NameT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
158 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
159 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
160 m_lastUpdatedAtHasBeenSet = true;
161 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
162 }
163 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
164 UpdateDomainResult& WithLastUpdatedAt(LastUpdatedAtT&& value) {
165 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
166 return *this;
167 }
169
171
172 inline const Aws::String& GetRequestId() const { return m_requestId; }
173 template <typename RequestIdT = Aws::String>
174 void SetRequestId(RequestIdT&& value) {
175 m_requestIdHasBeenSet = true;
176 m_requestId = std::forward<RequestIdT>(value);
177 }
178 template <typename RequestIdT = Aws::String>
179 UpdateDomainResult& WithRequestId(RequestIdT&& value) {
180 SetRequestId(std::forward<RequestIdT>(value));
181 return *this;
182 }
184 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
185
186 private:
187 Aws::String m_id;
188
189 Aws::String m_rootDomainUnitId;
190
191 Aws::String m_description;
192
193 SingleSignOn m_singleSignOn;
194
195 Aws::String m_domainExecutionRole;
196
197 Aws::String m_serviceRole;
198
199 Aws::String m_name;
200
201 Aws::Utils::DateTime m_lastUpdatedAt{};
202
203 Aws::String m_requestId;
204 Aws::Http::HttpResponseCode m_HttpResponseCode;
205 bool m_idHasBeenSet = false;
206 bool m_rootDomainUnitIdHasBeenSet = false;
207 bool m_descriptionHasBeenSet = false;
208 bool m_singleSignOnHasBeenSet = false;
209 bool m_domainExecutionRoleHasBeenSet = false;
210 bool m_serviceRoleHasBeenSet = false;
211 bool m_nameHasBeenSet = false;
212 bool m_lastUpdatedAtHasBeenSet = false;
213 bool m_requestIdHasBeenSet = false;
214};
215
216} // namespace Model
217} // namespace DataZone
218} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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