AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline QueueSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline QueueSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline QueueSummary& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::String& GetId() const{ return m_id; }
62 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
63 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
64 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
65 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
66 inline QueueSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
67 inline QueueSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
68 inline QueueSummary& WithId(const char* value) { SetId(value); return *this;}
70
72
75 inline const Aws::String& GetArn() const{ return m_arn; }
76 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
77 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
78 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
79 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
80 inline QueueSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
81 inline QueueSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
82 inline QueueSummary& WithArn(const char* value) { SetArn(value); return *this;}
84
86
89 inline const Aws::String& GetClusterId() const{ return m_clusterId; }
90 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
91 inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
92 inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
93 inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
94 inline QueueSummary& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
95 inline QueueSummary& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
96 inline QueueSummary& WithClusterId(const char* value) { SetClusterId(value); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
104 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
105 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
106 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
107 inline QueueSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
108 inline QueueSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
116 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
117 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; }
118 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); }
119 inline QueueSummary& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;}
120 inline QueueSummary& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
122
124
128 inline const QueueStatus& GetStatus() const{ return m_status; }
129 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
130 inline void SetStatus(const QueueStatus& value) { m_statusHasBeenSet = true; m_status = value; }
131 inline void SetStatus(QueueStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
132 inline QueueSummary& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;}
133 inline QueueSummary& WithStatus(QueueStatus&& value) { SetStatus(std::move(value)); return *this;}
135 private:
136
137 Aws::String m_name;
138 bool m_nameHasBeenSet = false;
139
140 Aws::String m_id;
141 bool m_idHasBeenSet = false;
142
143 Aws::String m_arn;
144 bool m_arnHasBeenSet = false;
145
146 Aws::String m_clusterId;
147 bool m_clusterIdHasBeenSet = false;
148
149 Aws::Utils::DateTime m_createdAt;
150 bool m_createdAtHasBeenSet = false;
151
152 Aws::Utils::DateTime m_modifiedAt;
153 bool m_modifiedAtHasBeenSet = false;
154
155 QueueStatus m_status;
156 bool m_statusHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace PCS
161} // namespace Aws
QueueSummary & WithArn(const char *value)
QueueSummary & WithModifiedAt(Aws::Utils::DateTime &&value)
QueueSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetId(Aws::String &&value)
QueueSummary & WithClusterId(const char *value)
QueueSummary & WithModifiedAt(const Aws::Utils::DateTime &value)
void SetClusterId(const Aws::String &value)
void SetArn(Aws::String &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
const Aws::String & GetId() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetStatus(QueueStatus &&value)
void SetName(const Aws::String &value)
void SetStatus(const QueueStatus &value)
QueueSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
QueueSummary & WithStatus(QueueStatus &&value)
void SetModifiedAt(const Aws::Utils::DateTime &value)
void SetId(const char *value)
const QueueStatus & GetStatus() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetClusterId(Aws::String &&value)
QueueSummary & WithStatus(const QueueStatus &value)
QueueSummary & WithName(const char *value)
void SetName(Aws::String &&value)
AWS_PCS_API QueueSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
QueueSummary & WithName(const Aws::String &value)
QueueSummary & WithClusterId(Aws::String &&value)
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetCreatedAt() const
QueueSummary & WithId(Aws::String &&value)
AWS_PCS_API QueueSummary(Aws::Utils::Json::JsonView jsonValue)
void SetId(const Aws::String &value)
QueueSummary & WithName(Aws::String &&value)
QueueSummary & WithClusterId(const Aws::String &value)
void SetModifiedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetClusterId() const
void SetArn(const char *value)
void SetClusterId(const char *value)
void SetName(const char *value)
QueueSummary & WithId(const char *value)
void SetArn(const Aws::String &value)
QueueSummary & WithArn(Aws::String &&value)
const Aws::String & GetArn() const
QueueSummary & WithId(const Aws::String &value)
QueueSummary & WithArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue