AWS SDK for C++  1.9.159
AWS SDK for C++
QueueSummary.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Connect
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetId() const{ return m_id; }
45 
49  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 
54  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
55 
59  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
60 
64  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 
69  inline QueueSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
74  inline QueueSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
75 
79  inline QueueSummary& WithId(const char* value) { SetId(value); return *this;}
80 
81 
85  inline const Aws::String& GetArn() const{ return m_arn; }
86 
90  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
91 
95  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
96 
100  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
101 
105  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
106 
110  inline QueueSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
111 
115  inline QueueSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
116 
120  inline QueueSummary& WithArn(const char* value) { SetArn(value); return *this;}
121 
122 
126  inline const Aws::String& GetName() const{ return m_name; }
127 
131  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
132 
136  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
137 
141  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
142 
146  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
147 
151  inline QueueSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
152 
156  inline QueueSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
157 
161  inline QueueSummary& WithName(const char* value) { SetName(value); return *this;}
162 
163 
167  inline const QueueType& GetQueueType() const{ return m_queueType; }
168 
172  inline bool QueueTypeHasBeenSet() const { return m_queueTypeHasBeenSet; }
173 
177  inline void SetQueueType(const QueueType& value) { m_queueTypeHasBeenSet = true; m_queueType = value; }
178 
182  inline void SetQueueType(QueueType&& value) { m_queueTypeHasBeenSet = true; m_queueType = std::move(value); }
183 
187  inline QueueSummary& WithQueueType(const QueueType& value) { SetQueueType(value); return *this;}
188 
192  inline QueueSummary& WithQueueType(QueueType&& value) { SetQueueType(std::move(value)); return *this;}
193 
194  private:
195 
196  Aws::String m_id;
197  bool m_idHasBeenSet;
198 
199  Aws::String m_arn;
200  bool m_arnHasBeenSet;
201 
202  Aws::String m_name;
203  bool m_nameHasBeenSet;
204 
205  QueueType m_queueType;
206  bool m_queueTypeHasBeenSet;
207  };
208 
209 } // namespace Model
210 } // namespace Connect
211 } // namespace Aws
Aws::Connect::Model::QueueSummary::WithId
QueueSummary & WithId(const Aws::String &value)
Definition: QueueSummary.h:69
Aws::Connect::Model::QueueSummary::GetName
const Aws::String & GetName() const
Definition: QueueSummary.h:126
Aws::Connect::Model::QueueSummary::WithName
QueueSummary & WithName(Aws::String &&value)
Definition: QueueSummary.h:156
Aws::Connect::Model::QueueSummary::SetArn
void SetArn(const char *value)
Definition: QueueSummary.h:105
Aws::Connect::Model::QueueSummary::WithId
QueueSummary & WithId(const char *value)
Definition: QueueSummary.h:79
Aws::Connect::Model::QueueSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: QueueSummary.h:90
Aws::Connect::Model::QueueSummary::SetName
void SetName(const char *value)
Definition: QueueSummary.h:146
Aws::Connect::Model::QueueSummary::WithName
QueueSummary & WithName(const char *value)
Definition: QueueSummary.h:161
Aws::Connect::Model::QueueSummary::GetArn
const Aws::String & GetArn() const
Definition: QueueSummary.h:85
Aws::Connect::Model::QueueSummary::GetId
const Aws::String & GetId() const
Definition: QueueSummary.h:44
Aws::Connect::Model::QueueSummary::WithQueueType
QueueSummary & WithQueueType(const QueueType &value)
Definition: QueueSummary.h:187
Aws::Connect::Model::QueueSummary::SetId
void SetId(Aws::String &&value)
Definition: QueueSummary.h:59
Aws::Connect::Model::QueueSummary::SetArn
void SetArn(const Aws::String &value)
Definition: QueueSummary.h:95
Aws::Connect::Model::QueueSummary::QueueTypeHasBeenSet
bool QueueTypeHasBeenSet() const
Definition: QueueSummary.h:172
Aws::Connect::Model::QueueSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: QueueSummary.h:131
QueueType.h
Aws::Connect::Model::QueueSummary::SetQueueType
void SetQueueType(const QueueType &value)
Definition: QueueSummary.h:177
Aws::Connect::Model::QueueSummary::WithQueueType
QueueSummary & WithQueueType(QueueType &&value)
Definition: QueueSummary.h:192
Aws::Connect::Model::QueueSummary::QueueSummary
QueueSummary()
Aws::Connect::Model::QueueSummary::SetId
void SetId(const Aws::String &value)
Definition: QueueSummary.h:54
Aws::Connect::Model::QueueSummary::WithArn
QueueSummary & WithArn(const Aws::String &value)
Definition: QueueSummary.h:110
Aws::Connect::Model::QueueSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::QueueSummary
Definition: QueueSummary.h:33
Aws::Connect::Model::QueueSummary::SetId
void SetId(const char *value)
Definition: QueueSummary.h:64
Aws::Connect::Model::QueueSummary::WithName
QueueSummary & WithName(const Aws::String &value)
Definition: QueueSummary.h:151
Aws::Connect::Model::QueueSummary::SetQueueType
void SetQueueType(QueueType &&value)
Definition: QueueSummary.h:182
Aws::Connect::Model::QueueSummary::WithArn
QueueSummary & WithArn(Aws::String &&value)
Definition: QueueSummary.h:115
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::QueueType
QueueType
Definition: QueueType.h:17
Aws::Connect::Model::QueueSummary::operator=
QueueSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::QueueSummary::GetQueueType
const QueueType & GetQueueType() const
Definition: QueueSummary.h:167
Aws::Connect::Model::QueueSummary::SetName
void SetName(const Aws::String &value)
Definition: QueueSummary.h:136
Aws::Connect::Model::QueueSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: QueueSummary.h:49
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::QueueSummary::WithArn
QueueSummary & WithArn(const char *value)
Definition: QueueSummary.h:120
Aws::Connect::Model::QueueSummary::SetArn
void SetArn(Aws::String &&value)
Definition: QueueSummary.h:100
Aws::Connect::Model::QueueSummary::WithId
QueueSummary & WithId(Aws::String &&value)
Definition: QueueSummary.h:74
Aws::Connect::Model::QueueSummary::QueueSummary
QueueSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::QueueSummary::SetName
void SetName(Aws::String &&value)
Definition: QueueSummary.h:141