AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename QueueIdT = Aws::String>
49 void SetQueueId(QueueIdT&& value) { m_queueIdHasBeenSet = true; m_queueId = std::forward<QueueIdT>(value); }
50 template<typename QueueIdT = Aws::String>
51 QueueFleetAssociationSummary& WithQueueId(QueueIdT&& value) { SetQueueId(std::forward<QueueIdT>(value)); return *this;}
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) { m_fleetIdHasBeenSet = true; m_fleetId = std::forward<FleetIdT>(value); }
62 template<typename FleetIdT = Aws::String>
63 QueueFleetAssociationSummary& WithFleetId(FleetIdT&& value) { SetFleetId(std::forward<FleetIdT>(value)); return *this;}
65
67
76 inline QueueFleetAssociationStatus GetStatus() const { return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(QueueFleetAssociationStatus value) { m_statusHasBeenSet = true; m_status = value; }
81
83
86 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
87 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
88 template<typename CreatedAtT = Aws::Utils::DateTime>
89 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
90 template<typename CreatedAtT = Aws::Utils::DateTime>
91 QueueFleetAssociationSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
93
95
98 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
99 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
100 template<typename CreatedByT = Aws::String>
101 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
102 template<typename CreatedByT = Aws::String>
103 QueueFleetAssociationSummary& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
105
107
110 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
111 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
112 template<typename UpdatedAtT = Aws::Utils::DateTime>
113 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
114 template<typename UpdatedAtT = Aws::Utils::DateTime>
115 QueueFleetAssociationSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
117
119
122 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
123 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
124 template<typename UpdatedByT = Aws::String>
125 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::forward<UpdatedByT>(value); }
126 template<typename UpdatedByT = Aws::String>
127 QueueFleetAssociationSummary& WithUpdatedBy(UpdatedByT&& value) { SetUpdatedBy(std::forward<UpdatedByT>(value)); return *this;}
129 private:
130
131 Aws::String m_queueId;
132 bool m_queueIdHasBeenSet = false;
133
134 Aws::String m_fleetId;
135 bool m_fleetIdHasBeenSet = false;
136
138 bool m_statusHasBeenSet = false;
139
140 Aws::Utils::DateTime m_createdAt{};
141 bool m_createdAtHasBeenSet = false;
142
143 Aws::String m_createdBy;
144 bool m_createdByHasBeenSet = false;
145
146 Aws::Utils::DateTime m_updatedAt{};
147 bool m_updatedAtHasBeenSet = false;
148
149 Aws::String m_updatedBy;
150 bool m_updatedByHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace deadline
155} // 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