AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
QueueSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/QueueType.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect {
22namespace Model {
23
30 public:
31 AWS_CONNECT_API QueueSummary() = default;
32 AWS_CONNECT_API QueueSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
48 QueueSummary& WithId(IdT&& value) {
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetArn() const { return m_arn; }
59 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
60 template <typename ArnT = Aws::String>
61 void SetArn(ArnT&& value) {
62 m_arnHasBeenSet = true;
63 m_arn = std::forward<ArnT>(value);
64 }
65 template <typename ArnT = Aws::String>
66 QueueSummary& WithArn(ArnT&& value) {
67 SetArn(std::forward<ArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 template <typename NameT = Aws::String>
79 void SetName(NameT&& value) {
80 m_nameHasBeenSet = true;
81 m_name = std::forward<NameT>(value);
82 }
83 template <typename NameT = Aws::String>
84 QueueSummary& WithName(NameT&& value) {
85 SetName(std::forward<NameT>(value));
86 return *this;
87 }
89
91
94 inline QueueType GetQueueType() const { return m_queueType; }
95 inline bool QueueTypeHasBeenSet() const { return m_queueTypeHasBeenSet; }
96 inline void SetQueueType(QueueType value) {
97 m_queueTypeHasBeenSet = true;
98 m_queueType = value;
99 }
101 SetQueueType(value);
102 return *this;
103 }
105
107
110 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
111 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
112 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
113 void SetLastModifiedTime(LastModifiedTimeT&& value) {
114 m_lastModifiedTimeHasBeenSet = true;
115 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
116 }
117 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
118 QueueSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
119 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
129 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
130 template <typename LastModifiedRegionT = Aws::String>
131 void SetLastModifiedRegion(LastModifiedRegionT&& value) {
132 m_lastModifiedRegionHasBeenSet = true;
133 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
134 }
135 template <typename LastModifiedRegionT = Aws::String>
136 QueueSummary& WithLastModifiedRegion(LastModifiedRegionT&& value) {
137 SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value));
138 return *this;
139 }
141 private:
142 Aws::String m_id;
143
144 Aws::String m_arn;
145
146 Aws::String m_name;
147
148 QueueType m_queueType{QueueType::NOT_SET};
149
150 Aws::Utils::DateTime m_lastModifiedTime{};
151
152 Aws::String m_lastModifiedRegion;
153 bool m_idHasBeenSet = false;
154 bool m_arnHasBeenSet = false;
155 bool m_nameHasBeenSet = false;
156 bool m_queueTypeHasBeenSet = false;
157 bool m_lastModifiedTimeHasBeenSet = false;
158 bool m_lastModifiedRegionHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace Connect
163} // namespace Aws
QueueSummary & WithQueueType(QueueType value)
void SetLastModifiedRegion(LastModifiedRegionT &&value)
AWS_CONNECT_API QueueSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
QueueSummary & WithName(NameT &&value)
const Aws::String & GetArn() const
void SetQueueType(QueueType value)
QueueSummary & WithId(IdT &&value)
AWS_CONNECT_API QueueSummary(Aws::Utils::Json::JsonView jsonValue)
QueueSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
QueueSummary & WithLastModifiedRegion(LastModifiedRegionT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
AWS_CONNECT_API QueueSummary()=default
const Aws::String & GetLastModifiedRegion() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
QueueSummary & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue