AWS SDK for C++  1.9.131
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 Transfer
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 "UntagResource"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const Aws::String& GetArn() const{ return m_arn; }
44 
50  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 
57  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
58 
64  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 
71  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
72 
78  inline UntagResourceRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
79 
85  inline UntagResourceRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
86 
92  inline UntagResourceRequest& WithArn(const char* value) { SetArn(value); return *this;}
93 
94 
100  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
101 
107  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
108 
114  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
115 
121  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
122 
128  inline UntagResourceRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
129 
135  inline UntagResourceRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
136 
142  inline UntagResourceRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
143 
149  inline UntagResourceRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
150 
156  inline UntagResourceRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
157 
158  private:
159 
160  Aws::String m_arn;
161  bool m_arnHasBeenSet;
162 
163  Aws::Vector<Aws::String> m_tagKeys;
164  bool m_tagKeysHasBeenSet;
165  };
166 
167 } // namespace Model
168 } // namespace Transfer
169 } // namespace Aws
Aws::Transfer::Model::UntagResourceRequest::UntagResourceRequest
UntagResourceRequest()
TransferRequest.h
Aws::Transfer::Model::UntagResourceRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagResourceRequest.h:121
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Transfer::Model::UntagResourceRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagResourceRequest.h:114
Aws::Transfer::Model::UntagResourceRequest::WithArn
UntagResourceRequest & WithArn(const char *value)
Definition: UntagResourceRequest.h:92
Aws::Transfer::Model::UntagResourceRequest::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: UntagResourceRequest.h:50
Aws::Transfer::Model::UntagResourceRequest::WithArn
UntagResourceRequest & WithArn(const Aws::String &value)
Definition: UntagResourceRequest.h:78
Aws::Transfer::Model::UntagResourceRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: UntagResourceRequest.h:107
Aws::Transfer::Model::UntagResourceRequest::WithTagKeys
UntagResourceRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagResourceRequest.h:128
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Transfer::Model::UntagResourceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Transfer::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(const Aws::String &value)
Definition: UntagResourceRequest.h:142
Aws::Transfer::Model::UntagResourceRequest::SetArn
void SetArn(const char *value)
Definition: UntagResourceRequest.h:71
Aws::Transfer::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(const char *value)
Definition: UntagResourceRequest.h:156
Aws::Transfer::TransferRequest
Definition: TransferRequest.h:17
Transfer_EXPORTS.h
Aws::Transfer::Model::UntagResourceRequest::WithArn
UntagResourceRequest & WithArn(Aws::String &&value)
Definition: UntagResourceRequest.h:85
Aws::Transfer::Model::UntagResourceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Transfer::Model::UntagResourceRequest::WithTagKeys
UntagResourceRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagResourceRequest.h:135
AWSString.h
Aws::Transfer::Model::UntagResourceRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: UntagResourceRequest.h:100
Aws::Transfer::Model::UntagResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UntagResourceRequest.h:31
Aws::Transfer::Model::UntagResourceRequest::SetArn
void SetArn(const Aws::String &value)
Definition: UntagResourceRequest.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::Transfer::Model::UntagResourceRequest
Definition: UntagResourceRequest.h:23
Aws::Transfer::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(Aws::String &&value)
Definition: UntagResourceRequest.h:149
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Transfer::Model::UntagResourceRequest::GetArn
const Aws::String & GetArn() const
Definition: UntagResourceRequest.h:43
Aws::Transfer::Model::UntagResourceRequest::SetArn
void SetArn(Aws::String &&value)
Definition: UntagResourceRequest.h:64
AWS_TRANSFER_API
#define AWS_TRANSFER_API
Definition: Transfer_EXPORTS.h:28