AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateQueueStatusRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/QueueStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONNECT_API UpdateQueueStatusRequest();
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_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
43 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
44 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
45 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
46 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
47 inline UpdateQueueStatusRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
48 inline UpdateQueueStatusRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline UpdateQueueStatusRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
51
53
56 inline const Aws::String& GetQueueId() const{ return m_queueId; }
57 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
58 inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
59 inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
60 inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
61 inline UpdateQueueStatusRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
62 inline UpdateQueueStatusRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
63 inline UpdateQueueStatusRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
65
67
70 inline const QueueStatus& GetStatus() const{ return m_status; }
71 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
72 inline void SetStatus(const QueueStatus& value) { m_statusHasBeenSet = true; m_status = value; }
73 inline void SetStatus(QueueStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
74 inline UpdateQueueStatusRequest& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;}
75 inline UpdateQueueStatusRequest& WithStatus(QueueStatus&& value) { SetStatus(std::move(value)); return *this;}
77 private:
78
79 Aws::String m_instanceId;
80 bool m_instanceIdHasBeenSet = false;
81
82 Aws::String m_queueId;
83 bool m_queueIdHasBeenSet = false;
84
85 QueueStatus m_status;
86 bool m_statusHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Connect
91} // namespace Aws
UpdateQueueStatusRequest & WithStatus(QueueStatus &&value)
UpdateQueueStatusRequest & WithInstanceId(Aws::String &&value)
UpdateQueueStatusRequest & WithQueueId(const Aws::String &value)
UpdateQueueStatusRequest & WithInstanceId(const Aws::String &value)
UpdateQueueStatusRequest & WithQueueId(const char *value)
UpdateQueueStatusRequest & WithInstanceId(const char *value)
UpdateQueueStatusRequest & WithQueueId(Aws::String &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateQueueStatusRequest & WithStatus(const QueueStatus &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String