AWS SDK for C++  1.9.1
AWS SDK for C++
UntagQueueRequest.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>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SQS
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 "UntagQueue"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
43  inline const Aws::String& GetQueueUrl() const{ return m_queueUrl; }
44 
48  inline bool QueueUrlHasBeenSet() const { return m_queueUrlHasBeenSet; }
49 
53  inline void SetQueueUrl(const Aws::String& value) { m_queueUrlHasBeenSet = true; m_queueUrl = value; }
54 
58  inline void SetQueueUrl(Aws::String&& value) { m_queueUrlHasBeenSet = true; m_queueUrl = std::move(value); }
59 
63  inline void SetQueueUrl(const char* value) { m_queueUrlHasBeenSet = true; m_queueUrl.assign(value); }
64 
68  inline UntagQueueRequest& WithQueueUrl(const Aws::String& value) { SetQueueUrl(value); return *this;}
69 
73  inline UntagQueueRequest& WithQueueUrl(Aws::String&& value) { SetQueueUrl(std::move(value)); return *this;}
74 
78  inline UntagQueueRequest& WithQueueUrl(const char* value) { SetQueueUrl(value); return *this;}
79 
80 
84  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
85 
89  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
90 
94  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
95 
99  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
100 
104  inline UntagQueueRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
105 
109  inline UntagQueueRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
110 
114  inline UntagQueueRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
115 
119  inline UntagQueueRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
120 
124  inline UntagQueueRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
125 
126  private:
127 
128  Aws::String m_queueUrl;
129  bool m_queueUrlHasBeenSet;
130 
131  Aws::Vector<Aws::String> m_tagKeys;
132  bool m_tagKeysHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace SQS
137 } // namespace Aws
Aws::SQS::Model::UntagQueueRequest::GetQueueUrl
const Aws::String & GetQueueUrl() const
Definition: UntagQueueRequest.h:43
Aws::Http::URI
Definition: URI.h:32
Aws::SQS::Model::UntagQueueRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagQueueRequest.h:99
Aws::SQS::Model::UntagQueueRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagQueueRequest.h:94
Aws::SQS::Model::UntagQueueRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SQS::Model::UntagQueueRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UntagQueueRequest.h:31
Aws::SQS::Model::UntagQueueRequest::AddTagKeys
UntagQueueRequest & AddTagKeys(const Aws::String &value)
Definition: UntagQueueRequest.h:114
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SQS::Model::UntagQueueRequest::AddTagKeys
UntagQueueRequest & AddTagKeys(Aws::String &&value)
Definition: UntagQueueRequest.h:119
Aws::SQS::Model::UntagQueueRequest::WithQueueUrl
UntagQueueRequest & WithQueueUrl(const char *value)
Definition: UntagQueueRequest.h:78
AWSVector.h
Aws::SQS::Model::UntagQueueRequest::SetQueueUrl
void SetQueueUrl(const char *value)
Definition: UntagQueueRequest.h:63
Aws::SQS::Model::UntagQueueRequest::WithTagKeys
UntagQueueRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagQueueRequest.h:104
Aws::SQS::Model::UntagQueueRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: UntagQueueRequest.h:89
Aws::SQS::Model::UntagQueueRequest::AddTagKeys
UntagQueueRequest & AddTagKeys(const char *value)
Definition: UntagQueueRequest.h:124
Aws::SQS::Model::UntagQueueRequest::WithQueueUrl
UntagQueueRequest & WithQueueUrl(const Aws::String &value)
Definition: UntagQueueRequest.h:68
Aws::Chime::Model::NotificationTarget::NOT_SET
@ NOT_SET
AWSString.h
Aws::SQS::Model::UntagQueueRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: UntagQueueRequest.h:84
Aws::SQS::Model::UntagQueueRequest::SetQueueUrl
void SetQueueUrl(const Aws::String &value)
Definition: UntagQueueRequest.h:53
AWS_SQS_API
#define AWS_SQS_API
Definition: SQS_EXPORTS.h:28
Aws::SQS::Model::UntagQueueRequest
Definition: UntagQueueRequest.h:23
Aws::SQS::Model::UntagQueueRequest::UntagQueueRequest
UntagQueueRequest()
Aws::SQS::Model::UntagQueueRequest::SetQueueUrl
void SetQueueUrl(Aws::String &&value)
Definition: UntagQueueRequest.h:58
SQS_EXPORTS.h
Aws::SQS::SQSRequest
Definition: SQSRequest.h:17
Aws::SQS::Model::UntagQueueRequest::QueueUrlHasBeenSet
bool QueueUrlHasBeenSet() const
Definition: UntagQueueRequest.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::SQS::Model::UntagQueueRequest::WithQueueUrl
UntagQueueRequest & WithQueueUrl(Aws::String &&value)
Definition: UntagQueueRequest.h:73
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SQS::Model::UntagQueueRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SQS::Model::UntagQueueRequest::WithTagKeys
UntagQueueRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagQueueRequest.h:109
SQSRequest.h