AWS SDK for C++

AWS SDK for C++ Version 1.11.778

Loading...
Searching...
No Matches
GetMonitorResult.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/deadline/Deadline_EXPORTS.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 deadline {
24namespace Model {
26 public:
27 AWS_DEADLINE_API GetMonitorResult() = default;
30
32
35 inline const Aws::String& GetMonitorId() const { return m_monitorId; }
36 template <typename MonitorIdT = Aws::String>
37 void SetMonitorId(MonitorIdT&& value) {
38 m_monitorIdHasBeenSet = true;
39 m_monitorId = std::forward<MonitorIdT>(value);
40 }
41 template <typename MonitorIdT = Aws::String>
42 GetMonitorResult& WithMonitorId(MonitorIdT&& value) {
43 SetMonitorId(std::forward<MonitorIdT>(value));
44 return *this;
45 }
47
49
55 inline const Aws::String& GetDisplayName() const { return m_displayName; }
56 template <typename DisplayNameT = Aws::String>
57 void SetDisplayName(DisplayNameT&& value) {
58 m_displayNameHasBeenSet = true;
59 m_displayName = std::forward<DisplayNameT>(value);
60 }
61 template <typename DisplayNameT = Aws::String>
62 GetMonitorResult& WithDisplayName(DisplayNameT&& value) {
63 SetDisplayName(std::forward<DisplayNameT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetSubdomain() const { return m_subdomain; }
74 template <typename SubdomainT = Aws::String>
75 void SetSubdomain(SubdomainT&& value) {
76 m_subdomainHasBeenSet = true;
77 m_subdomain = std::forward<SubdomainT>(value);
78 }
79 template <typename SubdomainT = Aws::String>
80 GetMonitorResult& WithSubdomain(SubdomainT&& value) {
81 SetSubdomain(std::forward<SubdomainT>(value));
82 return *this;
83 }
85
87
91 inline const Aws::String& GetUrl() const { return m_url; }
92 template <typename UrlT = Aws::String>
93 void SetUrl(UrlT&& value) {
94 m_urlHasBeenSet = true;
95 m_url = std::forward<UrlT>(value);
96 }
97 template <typename UrlT = Aws::String>
98 GetMonitorResult& WithUrl(UrlT&& value) {
99 SetUrl(std::forward<UrlT>(value));
100 return *this;
101 }
103
105
109 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
110 template <typename RoleArnT = Aws::String>
111 void SetRoleArn(RoleArnT&& value) {
112 m_roleArnHasBeenSet = true;
113 m_roleArn = std::forward<RoleArnT>(value);
114 }
115 template <typename RoleArnT = Aws::String>
116 GetMonitorResult& WithRoleArn(RoleArnT&& value) {
117 SetRoleArn(std::forward<RoleArnT>(value));
118 return *this;
119 }
121
123
127 inline const Aws::String& GetIdentityCenterInstanceArn() const { return m_identityCenterInstanceArn; }
128 template <typename IdentityCenterInstanceArnT = Aws::String>
129 void SetIdentityCenterInstanceArn(IdentityCenterInstanceArnT&& value) {
130 m_identityCenterInstanceArnHasBeenSet = true;
131 m_identityCenterInstanceArn = std::forward<IdentityCenterInstanceArnT>(value);
132 }
133 template <typename IdentityCenterInstanceArnT = Aws::String>
134 GetMonitorResult& WithIdentityCenterInstanceArn(IdentityCenterInstanceArnT&& value) {
135 SetIdentityCenterInstanceArn(std::forward<IdentityCenterInstanceArnT>(value));
136 return *this;
137 }
139
141
145 inline const Aws::String& GetIdentityCenterApplicationArn() const { return m_identityCenterApplicationArn; }
146 template <typename IdentityCenterApplicationArnT = Aws::String>
147 void SetIdentityCenterApplicationArn(IdentityCenterApplicationArnT&& value) {
148 m_identityCenterApplicationArnHasBeenSet = true;
149 m_identityCenterApplicationArn = std::forward<IdentityCenterApplicationArnT>(value);
150 }
151 template <typename IdentityCenterApplicationArnT = Aws::String>
152 GetMonitorResult& WithIdentityCenterApplicationArn(IdentityCenterApplicationArnT&& value) {
153 SetIdentityCenterApplicationArn(std::forward<IdentityCenterApplicationArnT>(value));
154 return *this;
155 }
157
159
162 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
163 template <typename CreatedAtT = Aws::Utils::DateTime>
164 void SetCreatedAt(CreatedAtT&& value) {
165 m_createdAtHasBeenSet = true;
166 m_createdAt = std::forward<CreatedAtT>(value);
167 }
168 template <typename CreatedAtT = Aws::Utils::DateTime>
169 GetMonitorResult& WithCreatedAt(CreatedAtT&& value) {
170 SetCreatedAt(std::forward<CreatedAtT>(value));
171 return *this;
172 }
174
176
179 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
180 template <typename CreatedByT = Aws::String>
181 void SetCreatedBy(CreatedByT&& value) {
182 m_createdByHasBeenSet = true;
183 m_createdBy = std::forward<CreatedByT>(value);
184 }
185 template <typename CreatedByT = Aws::String>
186 GetMonitorResult& WithCreatedBy(CreatedByT&& value) {
187 SetCreatedBy(std::forward<CreatedByT>(value));
188 return *this;
189 }
191
193
197 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
198 template <typename UpdatedAtT = Aws::Utils::DateTime>
199 void SetUpdatedAt(UpdatedAtT&& value) {
200 m_updatedAtHasBeenSet = true;
201 m_updatedAt = std::forward<UpdatedAtT>(value);
202 }
203 template <typename UpdatedAtT = Aws::Utils::DateTime>
204 GetMonitorResult& WithUpdatedAt(UpdatedAtT&& value) {
205 SetUpdatedAt(std::forward<UpdatedAtT>(value));
206 return *this;
207 }
209
211
214 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
215 template <typename UpdatedByT = Aws::String>
216 void SetUpdatedBy(UpdatedByT&& value) {
217 m_updatedByHasBeenSet = true;
218 m_updatedBy = std::forward<UpdatedByT>(value);
219 }
220 template <typename UpdatedByT = Aws::String>
221 GetMonitorResult& WithUpdatedBy(UpdatedByT&& value) {
222 SetUpdatedBy(std::forward<UpdatedByT>(value));
223 return *this;
224 }
226
228
229 inline const Aws::String& GetRequestId() const { return m_requestId; }
230 template <typename RequestIdT = Aws::String>
231 void SetRequestId(RequestIdT&& value) {
232 m_requestIdHasBeenSet = true;
233 m_requestId = std::forward<RequestIdT>(value);
234 }
235 template <typename RequestIdT = Aws::String>
236 GetMonitorResult& WithRequestId(RequestIdT&& value) {
237 SetRequestId(std::forward<RequestIdT>(value));
238 return *this;
239 }
241 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
242
243 private:
244 Aws::String m_monitorId;
245
246 Aws::String m_displayName;
247
248 Aws::String m_subdomain;
249
250 Aws::String m_url;
251
252 Aws::String m_roleArn;
253
254 Aws::String m_identityCenterInstanceArn;
255
256 Aws::String m_identityCenterApplicationArn;
257
258 Aws::Utils::DateTime m_createdAt{};
259
260 Aws::String m_createdBy;
261
262 Aws::Utils::DateTime m_updatedAt{};
263
264 Aws::String m_updatedBy;
265
266 Aws::String m_requestId;
267 Aws::Http::HttpResponseCode m_HttpResponseCode;
268 bool m_monitorIdHasBeenSet = false;
269 bool m_displayNameHasBeenSet = false;
270 bool m_subdomainHasBeenSet = false;
271 bool m_urlHasBeenSet = false;
272 bool m_roleArnHasBeenSet = false;
273 bool m_identityCenterInstanceArnHasBeenSet = false;
274 bool m_identityCenterApplicationArnHasBeenSet = false;
275 bool m_createdAtHasBeenSet = false;
276 bool m_createdByHasBeenSet = false;
277 bool m_updatedAtHasBeenSet = false;
278 bool m_updatedByHasBeenSet = false;
279 bool m_requestIdHasBeenSet = false;
280};
281
282} // namespace Model
283} // namespace deadline
284} // namespace Aws
GetMonitorResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetUpdatedBy() const
GetMonitorResult & WithCreatedBy(CreatedByT &&value)
const Aws::String & GetRoleArn() const
const Aws::String & GetRequestId() const
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetUrl() const
void SetIdentityCenterInstanceArn(IdentityCenterInstanceArnT &&value)
const Aws::String & GetMonitorId() const
GetMonitorResult & WithRoleArn(RoleArnT &&value)
GetMonitorResult & WithIdentityCenterApplicationArn(IdentityCenterApplicationArnT &&value)
void SetIdentityCenterApplicationArn(IdentityCenterApplicationArnT &&value)
GetMonitorResult & WithUpdatedBy(UpdatedByT &&value)
GetMonitorResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_DEADLINE_API GetMonitorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetIdentityCenterInstanceArn() const
GetMonitorResult & WithDisplayName(DisplayNameT &&value)
GetMonitorResult & WithIdentityCenterInstanceArn(IdentityCenterInstanceArnT &&value)
const Aws::String & GetCreatedBy() const
GetMonitorResult & WithCreatedAt(CreatedAtT &&value)
GetMonitorResult & WithUrl(UrlT &&value)
GetMonitorResult & WithSubdomain(SubdomainT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_DEADLINE_API GetMonitorResult()=default
GetMonitorResult & WithMonitorId(MonitorIdT &&value)
const Aws::String & GetSubdomain() const
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_DEADLINE_API GetMonitorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDisplayName() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetIdentityCenterApplicationArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue