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/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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline QueueSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline QueueSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline QueueSummary& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const Aws::String& GetArn() const{ return m_arn; }
61 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
62 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
63 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
64 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
65 inline QueueSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
66 inline QueueSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
67 inline QueueSummary& WithArn(const char* value) { SetArn(value); return *this;}
69
71
74 inline const Aws::String& GetName() const{ return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
77 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 inline QueueSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline QueueSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline QueueSummary& WithName(const char* value) { SetName(value); return *this;}
83
85
88 inline const QueueType& GetQueueType() const{ return m_queueType; }
89 inline bool QueueTypeHasBeenSet() const { return m_queueTypeHasBeenSet; }
90 inline void SetQueueType(const QueueType& value) { m_queueTypeHasBeenSet = true; m_queueType = value; }
91 inline void SetQueueType(QueueType&& value) { m_queueTypeHasBeenSet = true; m_queueType = std::move(value); }
92 inline QueueSummary& WithQueueType(const QueueType& value) { SetQueueType(value); return *this;}
93 inline QueueSummary& WithQueueType(QueueType&& value) { SetQueueType(std::move(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
101 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
102 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
103 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
104 inline QueueSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
105 inline QueueSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
107
109
112 inline const Aws::String& GetLastModifiedRegion() const{ return m_lastModifiedRegion; }
113 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
114 inline void SetLastModifiedRegion(const Aws::String& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = value; }
115 inline void SetLastModifiedRegion(Aws::String&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::move(value); }
116 inline void SetLastModifiedRegion(const char* value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion.assign(value); }
117 inline QueueSummary& WithLastModifiedRegion(const Aws::String& value) { SetLastModifiedRegion(value); return *this;}
118 inline QueueSummary& WithLastModifiedRegion(Aws::String&& value) { SetLastModifiedRegion(std::move(value)); return *this;}
119 inline QueueSummary& WithLastModifiedRegion(const char* value) { SetLastModifiedRegion(value); return *this;}
121 private:
122
123 Aws::String m_id;
124 bool m_idHasBeenSet = false;
125
126 Aws::String m_arn;
127 bool m_arnHasBeenSet = false;
128
129 Aws::String m_name;
130 bool m_nameHasBeenSet = false;
131
132 QueueType m_queueType;
133 bool m_queueTypeHasBeenSet = false;
134
135 Aws::Utils::DateTime m_lastModifiedTime;
136 bool m_lastModifiedTimeHasBeenSet = false;
137
138 Aws::String m_lastModifiedRegion;
139 bool m_lastModifiedRegionHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace Connect
144} // namespace Aws
QueueSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
QueueSummary & WithQueueType(const QueueType &value)
AWS_CONNECT_API QueueSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const char *value)
QueueSummary & WithName(const Aws::String &value)
const Aws::String & GetName() const
void SetId(const Aws::String &value)
const QueueType & GetQueueType() const
void SetQueueType(const QueueType &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
QueueSummary & WithId(Aws::String &&value)
QueueSummary & WithId(const Aws::String &value)
const Aws::String & GetArn() const
void SetLastModifiedRegion(Aws::String &&value)
void SetName(const Aws::String &value)
AWS_CONNECT_API QueueSummary(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedRegion(const char *value)
QueueSummary & WithQueueType(QueueType &&value)
QueueSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetLastModifiedRegion(const Aws::String &value)
QueueSummary & WithId(const char *value)
QueueSummary & WithLastModifiedRegion(const Aws::String &value)
void SetQueueType(QueueType &&value)
void SetId(const char *value)
void SetArn(Aws::String &&value)
QueueSummary & WithLastModifiedRegion(const char *value)
const Aws::String & GetLastModifiedRegion() const
void SetId(Aws::String &&value)
QueueSummary & WithArn(const char *value)
void SetName(Aws::String &&value)
QueueSummary & WithName(Aws::String &&value)
QueueSummary & WithArn(Aws::String &&value)
void SetArn(const Aws::String &value)
QueueSummary & WithArn(const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetName(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
QueueSummary & WithName(const char *value)
QueueSummary & WithLastModifiedRegion(Aws::String &&value)
const Aws::String & GetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue