AWS SDK for C++  1.9.1
AWS SDK for C++
DeleteQueueRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sqs/SQS_EXPORTS.h>
8 #include <aws/sqs/SQSRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SQS
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DeleteQueue"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
46  inline const Aws::String& GetQueueUrl() const{ return m_queueUrl; }
47 
52  inline bool QueueUrlHasBeenSet() const { return m_queueUrlHasBeenSet; }
53 
58  inline void SetQueueUrl(const Aws::String& value) { m_queueUrlHasBeenSet = true; m_queueUrl = value; }
59 
64  inline void SetQueueUrl(Aws::String&& value) { m_queueUrlHasBeenSet = true; m_queueUrl = std::move(value); }
65 
70  inline void SetQueueUrl(const char* value) { m_queueUrlHasBeenSet = true; m_queueUrl.assign(value); }
71 
76  inline DeleteQueueRequest& WithQueueUrl(const Aws::String& value) { SetQueueUrl(value); return *this;}
77 
82  inline DeleteQueueRequest& WithQueueUrl(Aws::String&& value) { SetQueueUrl(std::move(value)); return *this;}
83 
88  inline DeleteQueueRequest& WithQueueUrl(const char* value) { SetQueueUrl(value); return *this;}
89 
90  private:
91 
92  Aws::String m_queueUrl;
93  bool m_queueUrlHasBeenSet;
94  };
95 
96 } // namespace Model
97 } // namespace SQS
98 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::SQS::Model::DeleteQueueRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteQueueRequest.h:33
Aws::SQS::Model::DeleteQueueRequest::WithQueueUrl
DeleteQueueRequest & WithQueueUrl(Aws::String &&value)
Definition: DeleteQueueRequest.h:82
Aws::SQS::Model::DeleteQueueRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SQS::Model::DeleteQueueRequest::DeleteQueueRequest
DeleteQueueRequest()
Aws::SQS::Model::DeleteQueueRequest::SetQueueUrl
void SetQueueUrl(const char *value)
Definition: DeleteQueueRequest.h:70
Aws::SQS::Model::DeleteQueueRequest
Definition: DeleteQueueRequest.h:25
Aws::SQS::Model::DeleteQueueRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SQS::Model::DeleteQueueRequest::SetQueueUrl
void SetQueueUrl(const Aws::String &value)
Definition: DeleteQueueRequest.h:58
Aws::SQS::Model::DeleteQueueRequest::QueueUrlHasBeenSet
bool QueueUrlHasBeenSet() const
Definition: DeleteQueueRequest.h:52
Aws::Chime::Model::NotificationTarget::NOT_SET
@ NOT_SET
AWSString.h
AWS_SQS_API
#define AWS_SQS_API
Definition: SQS_EXPORTS.h:28
Aws::SQS::Model::DeleteQueueRequest::GetQueueUrl
const Aws::String & GetQueueUrl() const
Definition: DeleteQueueRequest.h:46
SQS_EXPORTS.h
Aws::SQS::SQSRequest
Definition: SQSRequest.h:17
Aws::SQS::Model::DeleteQueueRequest::SetQueueUrl
void SetQueueUrl(Aws::String &&value)
Definition: DeleteQueueRequest.h:64
Aws
Definition: AccessManagementClient.h:15
Aws::SQS::Model::DeleteQueueRequest::WithQueueUrl
DeleteQueueRequest & WithQueueUrl(const char *value)
Definition: DeleteQueueRequest.h:88
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SQS::Model::DeleteQueueRequest::WithQueueUrl
DeleteQueueRequest & WithQueueUrl(const Aws::String &value)
Definition: DeleteQueueRequest.h:76
SQSRequest.h