AWS SDK for C++  1.9.153
AWS SDK for C++
DescribeQueueRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Connect
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeQueue"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
40 
45  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
46 
51  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
52 
57  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
58 
63  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
64 
69  inline DescribeQueueRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
70 
75  inline DescribeQueueRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
76 
81  inline DescribeQueueRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
82 
83 
87  inline const Aws::String& GetQueueId() const{ return m_queueId; }
88 
92  inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
93 
97  inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
98 
102  inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
103 
107  inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
108 
112  inline DescribeQueueRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
113 
117  inline DescribeQueueRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
118 
122  inline DescribeQueueRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
123 
124  private:
125 
126  Aws::String m_instanceId;
127  bool m_instanceIdHasBeenSet;
128 
129  Aws::String m_queueId;
130  bool m_queueIdHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace Connect
135 } // namespace Aws
Aws::Connect::Model::DescribeQueueRequest::SetQueueId
void SetQueueId(const char *value)
Definition: DescribeQueueRequest.h:107
Aws::Connect::Model::DescribeQueueRequest::DescribeQueueRequest
DescribeQueueRequest()
Aws::Connect::Model::DescribeQueueRequest
Definition: DescribeQueueRequest.h:22
Aws::Connect::Model::DescribeQueueRequest::SetQueueId
void SetQueueId(const Aws::String &value)
Definition: DescribeQueueRequest.h:97
Aws::Connect::Model::DescribeQueueRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeQueueRequest.h:30
Aws::Connect::Model::DescribeQueueRequest::WithInstanceId
DescribeQueueRequest & WithInstanceId(const char *value)
Definition: DescribeQueueRequest.h:81
Aws::Connect::Model::DescribeQueueRequest::SetQueueId
void SetQueueId(Aws::String &&value)
Definition: DescribeQueueRequest.h:102
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
AWSString.h
Aws::Connect::Model::DescribeQueueRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::DescribeQueueRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: DescribeQueueRequest.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::DescribeQueueRequest::WithQueueId
DescribeQueueRequest & WithQueueId(const char *value)
Definition: DescribeQueueRequest.h:122
Aws::Connect::Model::DescribeQueueRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: DescribeQueueRequest.h:63
Aws::Connect::Model::DescribeQueueRequest::WithQueueId
DescribeQueueRequest & WithQueueId(const Aws::String &value)
Definition: DescribeQueueRequest.h:112
Aws::Connect::Model::DescribeQueueRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: DescribeQueueRequest.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::DescribeQueueRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: DescribeQueueRequest.h:57
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::DescribeQueueRequest::WithInstanceId
DescribeQueueRequest & WithInstanceId(Aws::String &&value)
Definition: DescribeQueueRequest.h:75
Connect_EXPORTS.h
Aws::Connect::Model::DescribeQueueRequest::WithQueueId
DescribeQueueRequest & WithQueueId(Aws::String &&value)
Definition: DescribeQueueRequest.h:117
ConnectRequest.h
Aws::Connect::Model::DescribeQueueRequest::GetQueueId
const Aws::String & GetQueueId() const
Definition: DescribeQueueRequest.h:87
Aws::Connect::Model::DescribeQueueRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: DescribeQueueRequest.h:39
Aws::Connect::Model::DescribeQueueRequest::WithInstanceId
DescribeQueueRequest & WithInstanceId(const Aws::String &value)
Definition: DescribeQueueRequest.h:69
Aws::Connect::Model::DescribeQueueRequest::QueueIdHasBeenSet
bool QueueIdHasBeenSet() const
Definition: DescribeQueueRequest.h:92