AWS SDK for C++  1.9.159
AWS SDK for C++
UntagResourceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace SESV2
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "UntagResource"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
46  inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
47 
52  inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
53 
58  inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
59 
64  inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
65 
70  inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
71 
76  inline UntagResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
77 
82  inline UntagResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
83 
88  inline UntagResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
89 
90 
100  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
101 
111  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
112 
122  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
123 
133  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
134 
144  inline UntagResourceRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
145 
155  inline UntagResourceRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
156 
166  inline UntagResourceRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
167 
177  inline UntagResourceRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
178 
188  inline UntagResourceRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
189 
190  private:
191 
192  Aws::String m_resourceArn;
193  bool m_resourceArnHasBeenSet;
194 
195  Aws::Vector<Aws::String> m_tagKeys;
196  bool m_tagKeysHasBeenSet;
197  };
198 
199 } // namespace Model
200 } // namespace SESV2
201 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(const char *value)
Definition: UntagResourceRequest.h:188
Aws::SESV2::Model::UntagResourceRequest::WithTagKeys
UntagResourceRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagResourceRequest.h:144
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SESV2::Model::UntagResourceRequest::WithTagKeys
UntagResourceRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagResourceRequest.h:155
Aws::SESV2::Model::UntagResourceRequest::GetResourceArn
const Aws::String & GetResourceArn() const
Definition: UntagResourceRequest.h:46
AWSVector.h
Aws::SESV2::Model::UntagResourceRequest::ResourceArnHasBeenSet
bool ResourceArnHasBeenSet() const
Definition: UntagResourceRequest.h:52
Aws::SESV2::Model::UntagResourceRequest::WithResourceArn
UntagResourceRequest & WithResourceArn(const char *value)
Definition: UntagResourceRequest.h:88
Aws::SESV2::Model::UntagResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UntagResourceRequest.h:35
Aws::SESV2::Model::UntagResourceRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: UntagResourceRequest.h:111
Aws::SESV2::Model::UntagResourceRequest
Definition: UntagResourceRequest.h:27
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::UntagResourceRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWSString.h
Aws::SESV2::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(Aws::String &&value)
Definition: UntagResourceRequest.h:177
Aws::SESV2::Model::UntagResourceRequest::SerializePayload
Aws::String SerializePayload() const override
SESV2_EXPORTS.h
Aws::SESV2::Model::UntagResourceRequest::WithResourceArn
UntagResourceRequest & WithResourceArn(Aws::String &&value)
Definition: UntagResourceRequest.h:82
Aws::SESV2::Model::UntagResourceRequest::WithResourceArn
UntagResourceRequest & WithResourceArn(const Aws::String &value)
Definition: UntagResourceRequest.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::UntagResourceRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagResourceRequest.h:133
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(const Aws::String &value)
Definition: UntagResourceRequest.h:166
Aws::SESV2::Model::UntagResourceRequest::SetResourceArn
void SetResourceArn(const Aws::String &value)
Definition: UntagResourceRequest.h:58
SESV2Request.h
Aws::SESV2::Model::UntagResourceRequest::UntagResourceRequest
UntagResourceRequest()
Aws::SESV2::Model::UntagResourceRequest::SetResourceArn
void SetResourceArn(Aws::String &&value)
Definition: UntagResourceRequest.h:64
Aws::SESV2::Model::UntagResourceRequest::SetResourceArn
void SetResourceArn(const char *value)
Definition: UntagResourceRequest.h:70
Aws::SESV2::Model::UntagResourceRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagResourceRequest.h:122
Aws::SESV2::Model::UntagResourceRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: UntagResourceRequest.h:100