AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
QueueLimitAssociationSummary.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/deadline/model/QueueLimitAssociationStatus.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
35 {
36 public:
37 AWS_DEADLINE_API QueueLimitAssociationSummary() = default;
40 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
48 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
49 template<typename CreatedAtT = Aws::Utils::DateTime>
50 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
51 template<typename CreatedAtT = Aws::Utils::DateTime>
52 QueueLimitAssociationSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
54
56
59 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
60 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
61 template<typename CreatedByT = Aws::String>
62 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
63 template<typename CreatedByT = Aws::String>
64 QueueLimitAssociationSummary& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
66
68
72 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
73 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
74 template<typename UpdatedAtT = Aws::Utils::DateTime>
75 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
76 template<typename UpdatedAtT = Aws::Utils::DateTime>
77 QueueLimitAssociationSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
79
81
84 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
85 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
86 template<typename UpdatedByT = Aws::String>
87 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::forward<UpdatedByT>(value); }
88 template<typename UpdatedByT = Aws::String>
89 QueueLimitAssociationSummary& WithUpdatedBy(UpdatedByT&& value) { SetUpdatedBy(std::forward<UpdatedByT>(value)); return *this;}
91
93
96 inline const Aws::String& GetQueueId() const { return m_queueId; }
97 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
98 template<typename QueueIdT = Aws::String>
99 void SetQueueId(QueueIdT&& value) { m_queueIdHasBeenSet = true; m_queueId = std::forward<QueueIdT>(value); }
100 template<typename QueueIdT = Aws::String>
101 QueueLimitAssociationSummary& WithQueueId(QueueIdT&& value) { SetQueueId(std::forward<QueueIdT>(value)); return *this;}
103
105
108 inline const Aws::String& GetLimitId() const { return m_limitId; }
109 inline bool LimitIdHasBeenSet() const { return m_limitIdHasBeenSet; }
110 template<typename LimitIdT = Aws::String>
111 void SetLimitId(LimitIdT&& value) { m_limitIdHasBeenSet = true; m_limitId = std::forward<LimitIdT>(value); }
112 template<typename LimitIdT = Aws::String>
113 QueueLimitAssociationSummary& WithLimitId(LimitIdT&& value) { SetLimitId(std::forward<LimitIdT>(value)); return *this;}
115
117
126 inline QueueLimitAssociationStatus GetStatus() const { return m_status; }
127 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
128 inline void SetStatus(QueueLimitAssociationStatus value) { m_statusHasBeenSet = true; m_status = value; }
131 private:
132
133 Aws::Utils::DateTime m_createdAt{};
134 bool m_createdAtHasBeenSet = false;
135
136 Aws::String m_createdBy;
137 bool m_createdByHasBeenSet = false;
138
139 Aws::Utils::DateTime m_updatedAt{};
140 bool m_updatedAtHasBeenSet = false;
141
142 Aws::String m_updatedBy;
143 bool m_updatedByHasBeenSet = false;
144
145 Aws::String m_queueId;
146 bool m_queueIdHasBeenSet = false;
147
148 Aws::String m_limitId;
149 bool m_limitIdHasBeenSet = false;
150
152 bool m_statusHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace deadline
157} // namespace Aws
QueueLimitAssociationSummary & WithCreatedBy(CreatedByT &&value)
AWS_DEADLINE_API QueueLimitAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
QueueLimitAssociationSummary & WithStatus(QueueLimitAssociationStatus value)
QueueLimitAssociationSummary & WithCreatedAt(CreatedAtT &&value)
QueueLimitAssociationSummary & WithLimitId(LimitIdT &&value)
QueueLimitAssociationSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_DEADLINE_API QueueLimitAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API QueueLimitAssociationSummary()=default
QueueLimitAssociationSummary & WithUpdatedBy(UpdatedByT &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
QueueLimitAssociationSummary & WithQueueId(QueueIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue