AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetWorkerResult.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/HostPropertiesResponse.h>
10#include <aws/deadline/model/WorkerStatus.h>
11#include <aws/deadline/model/LogConfiguration.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace deadline
28{
29namespace Model
30{
32 {
33 public:
34 AWS_DEADLINE_API GetWorkerResult();
37
38
40
43 inline const Aws::String& GetWorkerId() const{ return m_workerId; }
44 inline void SetWorkerId(const Aws::String& value) { m_workerId = value; }
45 inline void SetWorkerId(Aws::String&& value) { m_workerId = std::move(value); }
46 inline void SetWorkerId(const char* value) { m_workerId.assign(value); }
47 inline GetWorkerResult& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;}
48 inline GetWorkerResult& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;}
49 inline GetWorkerResult& WithWorkerId(const char* value) { SetWorkerId(value); return *this;}
51
53
56 inline const Aws::String& GetFarmId() const{ return m_farmId; }
57 inline void SetFarmId(const Aws::String& value) { m_farmId = value; }
58 inline void SetFarmId(Aws::String&& value) { m_farmId = std::move(value); }
59 inline void SetFarmId(const char* value) { m_farmId.assign(value); }
60 inline GetWorkerResult& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
61 inline GetWorkerResult& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
62 inline GetWorkerResult& WithFarmId(const char* value) { SetFarmId(value); return *this;}
64
66
69 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
70 inline void SetFleetId(const Aws::String& value) { m_fleetId = value; }
71 inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); }
72 inline void SetFleetId(const char* value) { m_fleetId.assign(value); }
73 inline GetWorkerResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
74 inline GetWorkerResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
75 inline GetWorkerResult& WithFleetId(const char* value) { SetFleetId(value); return *this;}
77
79
82 inline const HostPropertiesResponse& GetHostProperties() const{ return m_hostProperties; }
83 inline void SetHostProperties(const HostPropertiesResponse& value) { m_hostProperties = value; }
84 inline void SetHostProperties(HostPropertiesResponse&& value) { m_hostProperties = std::move(value); }
85 inline GetWorkerResult& WithHostProperties(const HostPropertiesResponse& value) { SetHostProperties(value); return *this;}
86 inline GetWorkerResult& WithHostProperties(HostPropertiesResponse&& value) { SetHostProperties(std::move(value)); return *this;}
88
90
93 inline const WorkerStatus& GetStatus() const{ return m_status; }
94 inline void SetStatus(const WorkerStatus& value) { m_status = value; }
95 inline void SetStatus(WorkerStatus&& value) { m_status = std::move(value); }
96 inline GetWorkerResult& WithStatus(const WorkerStatus& value) { SetStatus(value); return *this;}
97 inline GetWorkerResult& WithStatus(WorkerStatus&& value) { SetStatus(std::move(value)); return *this;}
99
101
104 inline const LogConfiguration& GetLog() const{ return m_log; }
105 inline void SetLog(const LogConfiguration& value) { m_log = value; }
106 inline void SetLog(LogConfiguration&& value) { m_log = std::move(value); }
107 inline GetWorkerResult& WithLog(const LogConfiguration& value) { SetLog(value); return *this;}
108 inline GetWorkerResult& WithLog(LogConfiguration&& value) { SetLog(std::move(value)); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
116 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
117 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
118 inline GetWorkerResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
119 inline GetWorkerResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
121
123
126 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
127 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
128 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
129 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
130 inline GetWorkerResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
131 inline GetWorkerResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
132 inline GetWorkerResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
140 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
141 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
142 inline GetWorkerResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
143 inline GetWorkerResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
145
147
150 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
151 inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; }
152 inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); }
153 inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); }
154 inline GetWorkerResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
155 inline GetWorkerResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
156 inline GetWorkerResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
158
160
161 inline const Aws::String& GetRequestId() const{ return m_requestId; }
162 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
163 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
164 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
165 inline GetWorkerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
166 inline GetWorkerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
167 inline GetWorkerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
169 private:
170
171 Aws::String m_workerId;
172
173 Aws::String m_farmId;
174
175 Aws::String m_fleetId;
176
177 HostPropertiesResponse m_hostProperties;
178
179 WorkerStatus m_status;
180
181 LogConfiguration m_log;
182
183 Aws::Utils::DateTime m_createdAt;
184
185 Aws::String m_createdBy;
186
187 Aws::Utils::DateTime m_updatedAt;
188
189 Aws::String m_updatedBy;
190
191 Aws::String m_requestId;
192 };
193
194} // namespace Model
195} // namespace deadline
196} // namespace Aws
GetWorkerResult & WithFleetId(Aws::String &&value)
void SetCreatedBy(Aws::String &&value)
void SetFleetId(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
GetWorkerResult & WithUpdatedBy(const char *value)
GetWorkerResult & WithRequestId(Aws::String &&value)
GetWorkerResult & WithFleetId(const char *value)
void SetWorkerId(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetWorkerResult & WithWorkerId(Aws::String &&value)
void SetStatus(WorkerStatus &&value)
const Aws::String & GetCreatedBy() const
void SetFarmId(Aws::String &&value)
GetWorkerResult & WithLog(const LogConfiguration &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetWorkerResult & WithFarmId(const char *value)
GetWorkerResult & WithLog(LogConfiguration &&value)
AWS_DEADLINE_API GetWorkerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetWorkerResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetWorkerResult & WithFarmId(const Aws::String &value)
GetWorkerResult & WithFleetId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
GetWorkerResult & WithRequestId(const char *value)
void SetLog(const LogConfiguration &value)
GetWorkerResult & WithWorkerId(const char *value)
const HostPropertiesResponse & GetHostProperties() const
GetWorkerResult & WithUpdatedBy(const Aws::String &value)
const Aws::String & GetFarmId() const
const Aws::String & GetWorkerId() const
void SetLog(LogConfiguration &&value)
GetWorkerResult & WithHostProperties(HostPropertiesResponse &&value)
const Aws::String & GetUpdatedBy() const
void SetWorkerId(const Aws::String &value)
const Aws::String & GetFleetId() const
void SetRequestId(Aws::String &&value)
void SetCreatedBy(const Aws::String &value)
AWS_DEADLINE_API GetWorkerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFleetId(const Aws::String &value)
GetWorkerResult & WithWorkerId(const Aws::String &value)
const LogConfiguration & GetLog() const
GetWorkerResult & WithFarmId(Aws::String &&value)
GetWorkerResult & WithCreatedAt(Aws::Utils::DateTime &&value)
const WorkerStatus & GetStatus() const
void SetHostProperties(const HostPropertiesResponse &value)
GetWorkerResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetWorkerResult & WithCreatedBy(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
GetWorkerResult & WithCreatedBy(const char *value)
void SetFarmId(const Aws::String &value)
GetWorkerResult & WithHostProperties(const HostPropertiesResponse &value)
GetWorkerResult & WithStatus(const WorkerStatus &value)
void SetUpdatedBy(Aws::String &&value)
void SetUpdatedBy(const Aws::String &value)
GetWorkerResult & WithUpdatedBy(Aws::String &&value)
void SetStatus(const WorkerStatus &value)
const Aws::String & GetRequestId() const
GetWorkerResult & WithStatus(WorkerStatus &&value)
void SetHostProperties(HostPropertiesResponse &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetWorkerResult & WithCreatedBy(Aws::String &&value)
GetWorkerResult & WithRequestId(const Aws::String &value)
GetWorkerResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue