AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
QueueSummary.h
1
6#pragma once
7#include <aws/pcs/PCS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/pcs/model/QueueStatus.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 PCS
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PCS_API QueueSummary() = default;
41
42
44
47 inline const Aws::String& GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 QueueSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetId() const { return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 template<typename IdT = Aws::String>
62 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
63 template<typename IdT = Aws::String>
64 QueueSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetArn() const { return m_arn; }
72 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
73 template<typename ArnT = Aws::String>
74 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
75 template<typename ArnT = Aws::String>
76 QueueSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
78
80
83 inline const Aws::String& GetClusterId() const { return m_clusterId; }
84 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
85 template<typename ClusterIdT = Aws::String>
86 void SetClusterId(ClusterIdT&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::forward<ClusterIdT>(value); }
87 template<typename ClusterIdT = Aws::String>
88 QueueSummary& WithClusterId(ClusterIdT&& value) { SetClusterId(std::forward<ClusterIdT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
96 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
97 template<typename CreatedAtT = Aws::Utils::DateTime>
98 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
99 template<typename CreatedAtT = Aws::Utils::DateTime>
100 QueueSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
108 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
109 template<typename ModifiedAtT = Aws::Utils::DateTime>
110 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
111 template<typename ModifiedAtT = Aws::Utils::DateTime>
112 QueueSummary& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
114
116
129 inline QueueStatus GetStatus() const { return m_status; }
130 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
131 inline void SetStatus(QueueStatus value) { m_statusHasBeenSet = true; m_status = value; }
132 inline QueueSummary& WithStatus(QueueStatus value) { SetStatus(value); return *this;}
134 private:
135
136 Aws::String m_name;
137 bool m_nameHasBeenSet = false;
138
139 Aws::String m_id;
140 bool m_idHasBeenSet = false;
141
142 Aws::String m_arn;
143 bool m_arnHasBeenSet = false;
144
145 Aws::String m_clusterId;
146 bool m_clusterIdHasBeenSet = false;
147
148 Aws::Utils::DateTime m_createdAt{};
149 bool m_createdAtHasBeenSet = false;
150
151 Aws::Utils::DateTime m_modifiedAt{};
152 bool m_modifiedAtHasBeenSet = false;
153
155 bool m_statusHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace PCS
160} // namespace Aws
QueueSummary & WithStatus(QueueStatus value)
void SetArn(ArnT &&value)
QueueSummary & WithArn(ArnT &&value)
void SetStatus(QueueStatus value)
void SetClusterId(ClusterIdT &&value)
QueueSummary & WithModifiedAt(ModifiedAtT &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
const Aws::String & GetId() const
QueueSummary & WithCreatedAt(CreatedAtT &&value)
QueueStatus GetStatus() const
AWS_PCS_API QueueSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
QueueSummary & WithClusterId(ClusterIdT &&value)
void SetName(NameT &&value)
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetModifiedAt(ModifiedAtT &&value)
QueueSummary & WithId(IdT &&value)
AWS_PCS_API QueueSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_PCS_API QueueSummary()=default
const Aws::String & GetClusterId() const
void SetCreatedAt(CreatedAtT &&value)
QueueSummary & WithName(NameT &&value)
const Aws::String & GetArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue