AWS SDK for C++

AWS SDK for C++ Version 1.11.780

Loading...
Searching...
No Matches
GetQueueFleetAssociationResult.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#include <aws/deadline/model/QueueFleetAssociationStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace deadline {
25namespace Model {
33 public:
34 AWS_DEADLINE_API GetQueueFleetAssociationResult() = default;
37
39
42 inline const Aws::String& GetQueueId() const { return m_queueId; }
43 template <typename QueueIdT = Aws::String>
44 void SetQueueId(QueueIdT&& value) {
45 m_queueIdHasBeenSet = true;
46 m_queueId = std::forward<QueueIdT>(value);
47 }
48 template <typename QueueIdT = Aws::String>
50 SetQueueId(std::forward<QueueIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetFleetId() const { return m_fleetId; }
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
76 inline QueueFleetAssociationStatus GetStatus() const { return m_status; }
78 m_statusHasBeenSet = true;
79 m_status = value;
80 }
82 SetStatus(value);
83 return *this;
84 }
86
88
91 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
92 template <typename CreatedAtT = Aws::Utils::DateTime>
93 void SetCreatedAt(CreatedAtT&& value) {
94 m_createdAtHasBeenSet = true;
95 m_createdAt = std::forward<CreatedAtT>(value);
96 }
97 template <typename CreatedAtT = Aws::Utils::DateTime>
99 SetCreatedAt(std::forward<CreatedAtT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
109 template <typename CreatedByT = Aws::String>
110 void SetCreatedBy(CreatedByT&& value) {
111 m_createdByHasBeenSet = true;
112 m_createdBy = std::forward<CreatedByT>(value);
113 }
114 template <typename CreatedByT = Aws::String>
116 SetCreatedBy(std::forward<CreatedByT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
126 template <typename UpdatedAtT = Aws::Utils::DateTime>
127 void SetUpdatedAt(UpdatedAtT&& value) {
128 m_updatedAtHasBeenSet = true;
129 m_updatedAt = std::forward<UpdatedAtT>(value);
130 }
131 template <typename UpdatedAtT = Aws::Utils::DateTime>
133 SetUpdatedAt(std::forward<UpdatedAtT>(value));
134 return *this;
135 }
137
139
142 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
143 template <typename UpdatedByT = Aws::String>
144 void SetUpdatedBy(UpdatedByT&& value) {
145 m_updatedByHasBeenSet = true;
146 m_updatedBy = std::forward<UpdatedByT>(value);
147 }
148 template <typename UpdatedByT = Aws::String>
150 SetUpdatedBy(std::forward<UpdatedByT>(value));
151 return *this;
152 }
154
156
157 inline const Aws::String& GetRequestId() const { return m_requestId; }
158 template <typename RequestIdT = Aws::String>
159 void SetRequestId(RequestIdT&& value) {
160 m_requestIdHasBeenSet = true;
161 m_requestId = std::forward<RequestIdT>(value);
162 }
163 template <typename RequestIdT = Aws::String>
165 SetRequestId(std::forward<RequestIdT>(value));
166 return *this;
167 }
169 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
170
171 private:
172 Aws::String m_queueId;
173
174 Aws::String m_fleetId;
175
177
178 Aws::Utils::DateTime m_createdAt{};
179
180 Aws::String m_createdBy;
181
182 Aws::Utils::DateTime m_updatedAt{};
183
184 Aws::String m_updatedBy;
185
186 Aws::String m_requestId;
187 Aws::Http::HttpResponseCode m_HttpResponseCode;
188 bool m_queueIdHasBeenSet = false;
189 bool m_fleetIdHasBeenSet = false;
190 bool m_statusHasBeenSet = false;
191 bool m_createdAtHasBeenSet = false;
192 bool m_createdByHasBeenSet = false;
193 bool m_updatedAtHasBeenSet = false;
194 bool m_updatedByHasBeenSet = false;
195 bool m_requestIdHasBeenSet = false;
196};
197
198} // namespace Model
199} // namespace deadline
200} // namespace Aws
GetQueueFleetAssociationResult & WithUpdatedAt(UpdatedAtT &&value)
GetQueueFleetAssociationResult & WithCreatedBy(CreatedByT &&value)
AWS_DEADLINE_API GetQueueFleetAssociationResult()=default
GetQueueFleetAssociationResult & WithCreatedAt(CreatedAtT &&value)
GetQueueFleetAssociationResult & WithRequestId(RequestIdT &&value)
AWS_DEADLINE_API GetQueueFleetAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DEADLINE_API GetQueueFleetAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQueueFleetAssociationResult & WithUpdatedBy(UpdatedByT &&value)
GetQueueFleetAssociationResult & WithFleetId(FleetIdT &&value)
GetQueueFleetAssociationResult & WithStatus(QueueFleetAssociationStatus value)
GetQueueFleetAssociationResult & WithQueueId(QueueIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue