AWS SDK for C++  1.9.108
AWS SDK for C++
RemoveTagsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ElasticsearchService
16 {
17 namespace Model
18 {
19 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "RemoveTags"; }
37 
38  Aws::String SerializePayload() const override;
39 
40 
45  inline const Aws::String& GetARN() const{ return m_aRN; }
46 
51  inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
52 
57  inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
58 
63  inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
64 
69  inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
70 
75  inline RemoveTagsRequest& WithARN(const Aws::String& value) { SetARN(value); return *this;}
76 
81  inline RemoveTagsRequest& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
82 
87  inline RemoveTagsRequest& WithARN(const char* value) { SetARN(value); return *this;}
88 
89 
94  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
95 
100  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
101 
106  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
107 
112  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
113 
118  inline RemoveTagsRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
119 
124  inline RemoveTagsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
125 
130  inline RemoveTagsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
131 
136  inline RemoveTagsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
137 
142  inline RemoveTagsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
143 
144  private:
145 
146  Aws::String m_aRN;
147  bool m_aRNHasBeenSet;
148 
149  Aws::Vector<Aws::String> m_tagKeys;
150  bool m_tagKeysHasBeenSet;
151  };
152 
153 } // namespace Model
154 } // namespace ElasticsearchService
155 } // namespace Aws
Aws::ElasticsearchService::Model::RemoveTagsRequest::ARNHasBeenSet
bool ARNHasBeenSet() const
Definition: RemoveTagsRequest.h:51
Aws::ElasticsearchService::Model::RemoveTagsRequest::SetARN
void SetARN(const Aws::String &value)
Definition: RemoveTagsRequest.h:57
Aws::ElasticsearchService::ElasticsearchServiceRequest
Definition: ElasticsearchServiceRequest.h:17
Aws::ElasticsearchService::Model::RemoveTagsRequest::RemoveTagsRequest
RemoveTagsRequest()
Aws::ElasticsearchService::Model::RemoveTagsRequest::SetARN
void SetARN(Aws::String &&value)
Definition: RemoveTagsRequest.h:63
Aws::ElasticsearchService::Model::RemoveTagsRequest::GetARN
const Aws::String & GetARN() const
Definition: RemoveTagsRequest.h:45
ElasticsearchServiceRequest.h
Aws::ElasticsearchService::Model::RemoveTagsRequest::AddTagKeys
RemoveTagsRequest & AddTagKeys(Aws::String &&value)
Definition: RemoveTagsRequest.h:136
Aws::ElasticsearchService::Model::RemoveTagsRequest::WithARN
RemoveTagsRequest & WithARN(const Aws::String &value)
Definition: RemoveTagsRequest.h:75
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::RemoveTagsRequest::WithTagKeys
RemoveTagsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: RemoveTagsRequest.h:118
Aws::ElasticsearchService::Model::RemoveTagsRequest
Definition: RemoveTagsRequest.h:28
Aws::ElasticsearchService::Model::RemoveTagsRequest::AddTagKeys
RemoveTagsRequest & AddTagKeys(const Aws::String &value)
Definition: RemoveTagsRequest.h:130
AWSString.h
Aws::ElasticsearchService::Model::RemoveTagsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticsearchService::Model::RemoveTagsRequest::AddTagKeys
RemoveTagsRequest & AddTagKeys(const char *value)
Definition: RemoveTagsRequest.h:142
Aws::ElasticsearchService::Model::RemoveTagsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RemoveTagsRequest.h:36
Aws::ElasticsearchService::Model::RemoveTagsRequest::WithTagKeys
RemoveTagsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: RemoveTagsRequest.h:124
Aws::ElasticsearchService::Model::RemoveTagsRequest::WithARN
RemoveTagsRequest & WithARN(const char *value)
Definition: RemoveTagsRequest.h:87
Aws::ElasticsearchService::Model::RemoveTagsRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: RemoveTagsRequest.h:112
Aws::ElasticsearchService::Model::RemoveTagsRequest::WithARN
RemoveTagsRequest & WithARN(Aws::String &&value)
Definition: RemoveTagsRequest.h:81
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::RemoveTagsRequest::SetARN
void SetARN(const char *value)
Definition: RemoveTagsRequest.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::RemoveTagsRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: RemoveTagsRequest.h:100
Aws::ElasticsearchService::Model::RemoveTagsRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: RemoveTagsRequest.h:94
Aws::ElasticsearchService::Model::RemoveTagsRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: RemoveTagsRequest.h:106