AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueueFleetAssociationSummary.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/QueueFleetAssociationStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace deadline
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DEADLINE_API QueueFleetAssociationSummary();
39 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetQueueId() const{ return m_queueId; }
47 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
48 inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
49 inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
50 inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
51 inline QueueFleetAssociationSummary& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
52 inline QueueFleetAssociationSummary& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
53 inline QueueFleetAssociationSummary& WithQueueId(const char* value) { SetQueueId(value); return *this;}
55
57
60 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
61 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
62 inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
63 inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
64 inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
65 inline QueueFleetAssociationSummary& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
66 inline QueueFleetAssociationSummary& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
67 inline QueueFleetAssociationSummary& WithFleetId(const char* value) { SetFleetId(value); return *this;}
69
71
80 inline const QueueFleetAssociationStatus& GetStatus() const{ return m_status; }
81 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
82 inline void SetStatus(const QueueFleetAssociationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
83 inline void SetStatus(QueueFleetAssociationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
85 inline QueueFleetAssociationSummary& WithStatus(QueueFleetAssociationStatus&& value) { SetStatus(std::move(value)); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
93 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
94 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
95 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
96 inline QueueFleetAssociationSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
97 inline QueueFleetAssociationSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
99
101
104 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
105 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
106 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
107 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
108 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
109 inline QueueFleetAssociationSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
110 inline QueueFleetAssociationSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
111 inline QueueFleetAssociationSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
119 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
120 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
121 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
123 inline QueueFleetAssociationSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
125
127
130 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
131 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
132 inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; }
133 inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); }
134 inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); }
135 inline QueueFleetAssociationSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
136 inline QueueFleetAssociationSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
137 inline QueueFleetAssociationSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
139 private:
140
141 Aws::String m_queueId;
142 bool m_queueIdHasBeenSet = false;
143
144 Aws::String m_fleetId;
145 bool m_fleetIdHasBeenSet = false;
146
148 bool m_statusHasBeenSet = false;
149
150 Aws::Utils::DateTime m_createdAt;
151 bool m_createdAtHasBeenSet = false;
152
153 Aws::String m_createdBy;
154 bool m_createdByHasBeenSet = false;
155
156 Aws::Utils::DateTime m_updatedAt;
157 bool m_updatedAtHasBeenSet = false;
158
159 Aws::String m_updatedBy;
160 bool m_updatedByHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace deadline
165} // namespace Aws
QueueFleetAssociationSummary & WithQueueId(const Aws::String &value)
QueueFleetAssociationSummary & WithUpdatedBy(const Aws::String &value)
QueueFleetAssociationSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
QueueFleetAssociationSummary & WithFleetId(Aws::String &&value)
QueueFleetAssociationSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetStatus(const QueueFleetAssociationStatus &value)
const QueueFleetAssociationStatus & GetStatus() const
QueueFleetAssociationSummary & WithStatus(const QueueFleetAssociationStatus &value)
QueueFleetAssociationSummary & WithCreatedBy(const Aws::String &value)
QueueFleetAssociationSummary & WithQueueId(Aws::String &&value)
QueueFleetAssociationSummary & WithUpdatedBy(const char *value)
AWS_DEADLINE_API QueueFleetAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
QueueFleetAssociationSummary & WithFleetId(const Aws::String &value)
QueueFleetAssociationSummary & WithFleetId(const char *value)
QueueFleetAssociationSummary & WithCreatedBy(const char *value)
QueueFleetAssociationSummary & WithQueueId(const char *value)
QueueFleetAssociationSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
QueueFleetAssociationSummary & WithUpdatedBy(Aws::String &&value)
QueueFleetAssociationSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
QueueFleetAssociationSummary & WithStatus(QueueFleetAssociationStatus &&value)
AWS_DEADLINE_API QueueFleetAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
QueueFleetAssociationSummary & WithCreatedBy(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue