AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
QueueFleetAssociationSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/Deadline_EXPORTS.h>
10#include <aws/deadline/model/QueueFleetAssociationStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace deadline {
22namespace Model {
23
30 public:
31 AWS_DEADLINE_API QueueFleetAssociationSummary() = default;
34 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetQueueId() const { return m_queueId; }
41 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
42 template <typename QueueIdT = Aws::String>
43 void SetQueueId(QueueIdT&& value) {
44 m_queueIdHasBeenSet = true;
45 m_queueId = std::forward<QueueIdT>(value);
46 }
47 template <typename QueueIdT = Aws::String>
49 SetQueueId(std::forward<QueueIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetFleetId() const { return m_fleetId; }
59 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
60 template <typename FleetIdT = Aws::String>
61 void SetFleetId(FleetIdT&& value) {
62 m_fleetIdHasBeenSet = true;
63 m_fleetId = std::forward<FleetIdT>(value);
64 }
65 template <typename FleetIdT = Aws::String>
67 SetFleetId(std::forward<FleetIdT>(value));
68 return *this;
69 }
71
73
82 inline QueueFleetAssociationStatus GetStatus() const { return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
85 m_statusHasBeenSet = true;
86 m_status = value;
87 }
89 SetStatus(value);
90 return *this;
91 }
93
95
98 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
99 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
100 template <typename CreatedAtT = Aws::Utils::DateTime>
101 void SetCreatedAt(CreatedAtT&& value) {
102 m_createdAtHasBeenSet = true;
103 m_createdAt = std::forward<CreatedAtT>(value);
104 }
105 template <typename CreatedAtT = Aws::Utils::DateTime>
107 SetCreatedAt(std::forward<CreatedAtT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
117 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
118 template <typename CreatedByT = Aws::String>
119 void SetCreatedBy(CreatedByT&& value) {
120 m_createdByHasBeenSet = true;
121 m_createdBy = std::forward<CreatedByT>(value);
122 }
123 template <typename CreatedByT = Aws::String>
125 SetCreatedBy(std::forward<CreatedByT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
135 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
136 template <typename UpdatedAtT = Aws::Utils::DateTime>
137 void SetUpdatedAt(UpdatedAtT&& value) {
138 m_updatedAtHasBeenSet = true;
139 m_updatedAt = std::forward<UpdatedAtT>(value);
140 }
141 template <typename UpdatedAtT = Aws::Utils::DateTime>
143 SetUpdatedAt(std::forward<UpdatedAtT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
153 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
154 template <typename UpdatedByT = Aws::String>
155 void SetUpdatedBy(UpdatedByT&& value) {
156 m_updatedByHasBeenSet = true;
157 m_updatedBy = std::forward<UpdatedByT>(value);
158 }
159 template <typename UpdatedByT = Aws::String>
161 SetUpdatedBy(std::forward<UpdatedByT>(value));
162 return *this;
163 }
165 private:
166 Aws::String m_queueId;
167
168 Aws::String m_fleetId;
169
171
172 Aws::Utils::DateTime m_createdAt{};
173
174 Aws::String m_createdBy;
175
176 Aws::Utils::DateTime m_updatedAt{};
177
178 Aws::String m_updatedBy;
179 bool m_queueIdHasBeenSet = false;
180 bool m_fleetIdHasBeenSet = false;
181 bool m_statusHasBeenSet = false;
182 bool m_createdAtHasBeenSet = false;
183 bool m_createdByHasBeenSet = false;
184 bool m_updatedAtHasBeenSet = false;
185 bool m_updatedByHasBeenSet = false;
186};
187
188} // namespace Model
189} // namespace deadline
190} // namespace Aws
QueueFleetAssociationSummary & WithUpdatedAt(UpdatedAtT &&value)
QueueFleetAssociationSummary & WithUpdatedBy(UpdatedByT &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
QueueFleetAssociationSummary & WithFleetId(FleetIdT &&value)
QueueFleetAssociationSummary & WithQueueId(QueueIdT &&value)
QueueFleetAssociationSummary & WithStatus(QueueFleetAssociationStatus value)
AWS_DEADLINE_API QueueFleetAssociationSummary()=default
QueueFleetAssociationSummary & WithCreatedAt(CreatedAtT &&value)
QueueFleetAssociationSummary & WithCreatedBy(CreatedByT &&value)
AWS_DEADLINE_API QueueFleetAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API QueueFleetAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue