AWS SDK for C++  1.9.157
AWS SDK for C++
UpdateQueueStatusRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Connect
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateQueueStatus"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
40  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
41 
46  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
47 
52  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
53 
58  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
59 
64  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
65 
70  inline UpdateQueueStatusRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
71 
76  inline UpdateQueueStatusRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
77 
82  inline UpdateQueueStatusRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
83 
84 
88  inline const Aws::String& GetQueueId() const{ return m_queueId; }
89 
93  inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
94 
98  inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
99 
103  inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
104 
108  inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
109 
113  inline UpdateQueueStatusRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
114 
118  inline UpdateQueueStatusRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
119 
123  inline UpdateQueueStatusRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
124 
125 
129  inline const QueueStatus& GetStatus() const{ return m_status; }
130 
134  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
135 
139  inline void SetStatus(const QueueStatus& value) { m_statusHasBeenSet = true; m_status = value; }
140 
144  inline void SetStatus(QueueStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
145 
149  inline UpdateQueueStatusRequest& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;}
150 
154  inline UpdateQueueStatusRequest& WithStatus(QueueStatus&& value) { SetStatus(std::move(value)); return *this;}
155 
156  private:
157 
158  Aws::String m_instanceId;
159  bool m_instanceIdHasBeenSet;
160 
161  Aws::String m_queueId;
162  bool m_queueIdHasBeenSet;
163 
164  QueueStatus m_status;
165  bool m_statusHasBeenSet;
166  };
167 
168 } // namespace Model
169 } // namespace Connect
170 } // namespace Aws
Aws::Connect::Model::UpdateQueueStatusRequest::SetQueueId
void SetQueueId(const Aws::String &value)
Definition: UpdateQueueStatusRequest.h:98
Aws::Connect::Model::UpdateQueueStatusRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: UpdateQueueStatusRequest.h:46
Aws::Connect::Model::UpdateQueueStatusRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: UpdateQueueStatusRequest.h:52
Aws::Connect::Model::UpdateQueueStatusRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: UpdateQueueStatusRequest.h:64
Aws::Connect::Model::UpdateQueueStatusRequest::SetQueueId
void SetQueueId(const char *value)
Definition: UpdateQueueStatusRequest.h:108
Aws::Connect::Model::UpdateQueueStatusRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: UpdateQueueStatusRequest.h:40
QueueStatus.h
Aws::Connect::Model::UpdateQueueStatusRequest::WithInstanceId
UpdateQueueStatusRequest & WithInstanceId(const char *value)
Definition: UpdateQueueStatusRequest.h:82
Aws::Connect::Model::UpdateQueueStatusRequest::WithQueueId
UpdateQueueStatusRequest & WithQueueId(const Aws::String &value)
Definition: UpdateQueueStatusRequest.h:113
Aws::Connect::Model::UpdateQueueStatusRequest::SetStatus
void SetStatus(const QueueStatus &value)
Definition: UpdateQueueStatusRequest.h:139
Aws::Connect::Model::UpdateQueueStatusRequest::SetQueueId
void SetQueueId(Aws::String &&value)
Definition: UpdateQueueStatusRequest.h:103
Aws::Connect::Model::UpdateQueueStatusRequest
Definition: UpdateQueueStatusRequest.h:23
Aws::Connect::Model::UpdateQueueStatusRequest::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: UpdateQueueStatusRequest.h:134
Aws::Connect::Model::UpdateQueueStatusRequest::UpdateQueueStatusRequest
UpdateQueueStatusRequest()
Aws::Connect::Model::UpdateQueueStatusRequest::WithQueueId
UpdateQueueStatusRequest & WithQueueId(Aws::String &&value)
Definition: UpdateQueueStatusRequest.h:118
Aws::Connect::Model::UpdateQueueStatusRequest::SetStatus
void SetStatus(QueueStatus &&value)
Definition: UpdateQueueStatusRequest.h:144
Aws::Connect::Model::UpdateQueueStatusRequest::WithQueueId
UpdateQueueStatusRequest & WithQueueId(const char *value)
Definition: UpdateQueueStatusRequest.h:123
Aws::Connect::Model::UpdateQueueStatusRequest::GetStatus
const QueueStatus & GetStatus() const
Definition: UpdateQueueStatusRequest.h:129
Aws::Connect::Model::UpdateQueueStatusRequest::WithInstanceId
UpdateQueueStatusRequest & WithInstanceId(const Aws::String &value)
Definition: UpdateQueueStatusRequest.h:70
Aws::Connect::Model::UpdateQueueStatusRequest::GetQueueId
const Aws::String & GetQueueId() const
Definition: UpdateQueueStatusRequest.h:88
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
AWSString.h
Aws::Connect::Model::UpdateQueueStatusRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::QueueStatus
QueueStatus
Definition: QueueStatus.h:17
Aws::Connect::Model::UpdateQueueStatusRequest::WithInstanceId
UpdateQueueStatusRequest & WithInstanceId(Aws::String &&value)
Definition: UpdateQueueStatusRequest.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::UpdateQueueStatusRequest::QueueIdHasBeenSet
bool QueueIdHasBeenSet() const
Definition: UpdateQueueStatusRequest.h:93
Aws::Connect::Model::UpdateQueueStatusRequest::WithStatus
UpdateQueueStatusRequest & WithStatus(QueueStatus &&value)
Definition: UpdateQueueStatusRequest.h:154
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
Aws::Connect::Model::UpdateQueueStatusRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateQueueStatusRequest.h:31
Aws::Connect::Model::UpdateQueueStatusRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: UpdateQueueStatusRequest.h:58
Connect_EXPORTS.h
Aws::Connect::Model::UpdateQueueStatusRequest::WithStatus
UpdateQueueStatusRequest & WithStatus(const QueueStatus &value)
Definition: UpdateQueueStatusRequest.h:149
ConnectRequest.h