AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkerSearchSummary.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/WorkerStatus.h>
10#include <aws/deadline/model/HostPropertiesResponse.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace deadline
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_DEADLINE_API WorkerSearchSummary();
40 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
48 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
49 inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
50 inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
51 inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
52 inline WorkerSearchSummary& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
53 inline WorkerSearchSummary& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
54 inline WorkerSearchSummary& WithFleetId(const char* value) { SetFleetId(value); return *this;}
56
58
61 inline const Aws::String& GetWorkerId() const{ return m_workerId; }
62 inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; }
63 inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; }
64 inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); }
65 inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); }
66 inline WorkerSearchSummary& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;}
67 inline WorkerSearchSummary& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;}
68 inline WorkerSearchSummary& WithWorkerId(const char* value) { SetWorkerId(value); return *this;}
70
72
75 inline const WorkerStatus& GetStatus() const{ return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(const WorkerStatus& value) { m_statusHasBeenSet = true; m_status = value; }
78 inline void SetStatus(WorkerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
79 inline WorkerSearchSummary& WithStatus(const WorkerStatus& value) { SetStatus(value); return *this;}
80 inline WorkerSearchSummary& WithStatus(WorkerStatus&& value) { SetStatus(std::move(value)); return *this;}
82
84
87 inline const HostPropertiesResponse& GetHostProperties() const{ return m_hostProperties; }
88 inline bool HostPropertiesHasBeenSet() const { return m_hostPropertiesHasBeenSet; }
89 inline void SetHostProperties(const HostPropertiesResponse& value) { m_hostPropertiesHasBeenSet = true; m_hostProperties = value; }
90 inline void SetHostProperties(HostPropertiesResponse&& value) { m_hostPropertiesHasBeenSet = true; m_hostProperties = std::move(value); }
92 inline WorkerSearchSummary& WithHostProperties(HostPropertiesResponse&& value) { SetHostProperties(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
100 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
101 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
102 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
103 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
104 inline WorkerSearchSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
105 inline WorkerSearchSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
106 inline WorkerSearchSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
114 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
115 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
116 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
117 inline WorkerSearchSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
118 inline WorkerSearchSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
120
122
125 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
126 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
127 inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; }
128 inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); }
129 inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); }
130 inline WorkerSearchSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
131 inline WorkerSearchSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
132 inline WorkerSearchSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
140 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
141 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
142 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
143 inline WorkerSearchSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
144 inline WorkerSearchSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
146 private:
147
148 Aws::String m_fleetId;
149 bool m_fleetIdHasBeenSet = false;
150
151 Aws::String m_workerId;
152 bool m_workerIdHasBeenSet = false;
153
154 WorkerStatus m_status;
155 bool m_statusHasBeenSet = false;
156
157 HostPropertiesResponse m_hostProperties;
158 bool m_hostPropertiesHasBeenSet = false;
159
160 Aws::String m_createdBy;
161 bool m_createdByHasBeenSet = false;
162
163 Aws::Utils::DateTime m_createdAt;
164 bool m_createdAtHasBeenSet = false;
165
166 Aws::String m_updatedBy;
167 bool m_updatedByHasBeenSet = false;
168
169 Aws::Utils::DateTime m_updatedAt;
170 bool m_updatedAtHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace deadline
175} // namespace Aws
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
WorkerSearchSummary & WithCreatedBy(const Aws::String &value)
WorkerSearchSummary & WithWorkerId(const char *value)
WorkerSearchSummary & WithStatus(const WorkerStatus &value)
WorkerSearchSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
AWS_DEADLINE_API WorkerSearchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdatedAt() const
WorkerSearchSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetHostProperties(const HostPropertiesResponse &value)
WorkerSearchSummary & WithHostProperties(const HostPropertiesResponse &value)
void SetCreatedBy(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetHostProperties(HostPropertiesResponse &&value)
WorkerSearchSummary & WithFleetId(Aws::String &&value)
WorkerSearchSummary & WithFleetId(const Aws::String &value)
WorkerSearchSummary & WithUpdatedBy(const Aws::String &value)
WorkerSearchSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
WorkerSearchSummary & WithStatus(WorkerStatus &&value)
AWS_DEADLINE_API WorkerSearchSummary(Aws::Utils::Json::JsonView jsonValue)
WorkerSearchSummary & WithWorkerId(const Aws::String &value)
WorkerSearchSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
WorkerSearchSummary & WithWorkerId(Aws::String &&value)
void SetWorkerId(const Aws::String &value)
void SetUpdatedBy(const Aws::String &value)
void SetStatus(const WorkerStatus &value)
WorkerSearchSummary & WithUpdatedBy(Aws::String &&value)
WorkerSearchSummary & WithUpdatedBy(const char *value)
WorkerSearchSummary & WithHostProperties(HostPropertiesResponse &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
WorkerSearchSummary & WithCreatedBy(const char *value)
WorkerSearchSummary & WithCreatedBy(Aws::String &&value)
void SetFleetId(const Aws::String &value)
WorkerSearchSummary & WithFleetId(const char *value)
const HostPropertiesResponse & GetHostProperties() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue