AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateDomainResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/datazone/model/SingleSignOn.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DataZone
26{
27namespace Model
28{
30 {
31 public:
32 AWS_DATAZONE_API UpdateDomainResult() = default;
35
36
38
42 inline const Aws::String& GetDescription() const { return m_description; }
43 template<typename DescriptionT = Aws::String>
44 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
45 template<typename DescriptionT = Aws::String>
46 UpdateDomainResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
48
50
54 inline const Aws::String& GetDomainExecutionRole() const { return m_domainExecutionRole; }
55 template<typename DomainExecutionRoleT = Aws::String>
56 void SetDomainExecutionRole(DomainExecutionRoleT&& value) { m_domainExecutionRoleHasBeenSet = true; m_domainExecutionRole = std::forward<DomainExecutionRoleT>(value); }
57 template<typename DomainExecutionRoleT = Aws::String>
58 UpdateDomainResult& WithDomainExecutionRole(DomainExecutionRoleT&& value) { SetDomainExecutionRole(std::forward<DomainExecutionRoleT>(value)); return *this;}
60
62
65 inline const Aws::String& GetId() const { return m_id; }
66 template<typename IdT = Aws::String>
67 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
68 template<typename IdT = Aws::String>
69 UpdateDomainResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
77 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
78 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
79 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
80 UpdateDomainResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
82
84
87 inline const Aws::String& GetName() const { return m_name; }
88 template<typename NameT = Aws::String>
89 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
90 template<typename NameT = Aws::String>
91 UpdateDomainResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
93
95
98 inline const Aws::String& GetRootDomainUnitId() const { return m_rootDomainUnitId; }
99 template<typename RootDomainUnitIdT = Aws::String>
100 void SetRootDomainUnitId(RootDomainUnitIdT&& value) { m_rootDomainUnitIdHasBeenSet = true; m_rootDomainUnitId = std::forward<RootDomainUnitIdT>(value); }
101 template<typename RootDomainUnitIdT = Aws::String>
102 UpdateDomainResult& WithRootDomainUnitId(RootDomainUnitIdT&& value) { SetRootDomainUnitId(std::forward<RootDomainUnitIdT>(value)); return *this;}
104
106
109 inline const Aws::String& GetServiceRole() const { return m_serviceRole; }
110 template<typename ServiceRoleT = Aws::String>
111 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::forward<ServiceRoleT>(value); }
112 template<typename ServiceRoleT = Aws::String>
113 UpdateDomainResult& WithServiceRole(ServiceRoleT&& value) { SetServiceRole(std::forward<ServiceRoleT>(value)); return *this;}
115
117
120 inline const SingleSignOn& GetSingleSignOn() const { return m_singleSignOn; }
121 template<typename SingleSignOnT = SingleSignOn>
122 void SetSingleSignOn(SingleSignOnT&& value) { m_singleSignOnHasBeenSet = true; m_singleSignOn = std::forward<SingleSignOnT>(value); }
123 template<typename SingleSignOnT = SingleSignOn>
124 UpdateDomainResult& WithSingleSignOn(SingleSignOnT&& value) { SetSingleSignOn(std::forward<SingleSignOnT>(value)); return *this;}
126
128
129 inline const Aws::String& GetRequestId() const { return m_requestId; }
130 template<typename RequestIdT = Aws::String>
131 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
132 template<typename RequestIdT = Aws::String>
133 UpdateDomainResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
135 private:
136
137 Aws::String m_description;
138 bool m_descriptionHasBeenSet = false;
139
140 Aws::String m_domainExecutionRole;
141 bool m_domainExecutionRoleHasBeenSet = false;
142
143 Aws::String m_id;
144 bool m_idHasBeenSet = false;
145
146 Aws::Utils::DateTime m_lastUpdatedAt{};
147 bool m_lastUpdatedAtHasBeenSet = false;
148
149 Aws::String m_name;
150 bool m_nameHasBeenSet = false;
151
152 Aws::String m_rootDomainUnitId;
153 bool m_rootDomainUnitIdHasBeenSet = false;
154
155 Aws::String m_serviceRole;
156 bool m_serviceRoleHasBeenSet = false;
157
158 SingleSignOn m_singleSignOn;
159 bool m_singleSignOnHasBeenSet = false;
160
161 Aws::String m_requestId;
162 bool m_requestIdHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace DataZone
167} // 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