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/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/QueueType.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 Connect
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CONNECT_API QueueSummary() = default;
37 AWS_CONNECT_API QueueSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 QueueSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
62 template<typename ArnT = Aws::String>
63 QueueSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
65
67
70 inline const Aws::String& GetName() const { return m_name; }
71 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
72 template<typename NameT = Aws::String>
73 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
74 template<typename NameT = Aws::String>
75 QueueSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
77
79
82 inline QueueType GetQueueType() const { return m_queueType; }
83 inline bool QueueTypeHasBeenSet() const { return m_queueTypeHasBeenSet; }
84 inline void SetQueueType(QueueType value) { m_queueTypeHasBeenSet = true; m_queueType = value; }
85 inline QueueSummary& WithQueueType(QueueType value) { SetQueueType(value); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
93 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
94 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
95 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
96 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
97 QueueSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
99
101
104 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
105 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
106 template<typename LastModifiedRegionT = Aws::String>
107 void SetLastModifiedRegion(LastModifiedRegionT&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value); }
108 template<typename LastModifiedRegionT = Aws::String>
109 QueueSummary& WithLastModifiedRegion(LastModifiedRegionT&& value) { SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value)); return *this;}
111 private:
112
113 Aws::String m_id;
114 bool m_idHasBeenSet = false;
115
116 Aws::String m_arn;
117 bool m_arnHasBeenSet = false;
118
119 Aws::String m_name;
120 bool m_nameHasBeenSet = false;
121
122 QueueType m_queueType{QueueType::NOT_SET};
123 bool m_queueTypeHasBeenSet = false;
124
125 Aws::Utils::DateTime m_lastModifiedTime{};
126 bool m_lastModifiedTimeHasBeenSet = false;
127
128 Aws::String m_lastModifiedRegion;
129 bool m_lastModifiedRegionHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace Connect
134} // 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