AWS SDK for C++  1.8.129
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 DataPipeline
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "RemoveTags"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
44  inline const Aws::String& GetPipelineId() const{ return m_pipelineId; }
45 
49  inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
50 
54  inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
55 
59  inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::move(value); }
60 
64  inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
65 
69  inline RemoveTagsRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
70 
74  inline RemoveTagsRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;}
75 
79  inline RemoveTagsRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
80 
81 
85  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
86 
90  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
91 
95  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
96 
100  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
101 
105  inline RemoveTagsRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
106 
110  inline RemoveTagsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
111 
115  inline RemoveTagsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
116 
120  inline RemoveTagsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
121 
125  inline RemoveTagsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
126 
127  private:
128 
129  Aws::String m_pipelineId;
130  bool m_pipelineIdHasBeenSet;
131 
132  Aws::Vector<Aws::String> m_tagKeys;
133  bool m_tagKeysHasBeenSet;
134  };
135 
136 } // namespace Model
137 } // namespace DataPipeline
138 } // namespace Aws
Aws::DataPipeline::Model::RemoveTagsRequest::PipelineIdHasBeenSet
bool PipelineIdHasBeenSet() const
Definition: RemoveTagsRequest.h:49
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DataPipeline::Model::RemoveTagsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RemoveTagsRequest.h:34
Aws::DataPipeline::Model::RemoveTagsRequest::SetPipelineId
void SetPipelineId(Aws::String &&value)
Definition: RemoveTagsRequest.h:59
Aws::DataPipeline::Model::RemoveTagsRequest::WithTagKeys
RemoveTagsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: RemoveTagsRequest.h:110
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DataPipeline::Model::RemoveTagsRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: RemoveTagsRequest.h:100
Aws::DataPipeline::Model::RemoveTagsRequest::AddTagKeys
RemoveTagsRequest & AddTagKeys(const char *value)
Definition: RemoveTagsRequest.h:125
AWSVector.h
Aws::DataPipeline::Model::RemoveTagsRequest::RemoveTagsRequest
RemoveTagsRequest()
Aws::DataPipeline::Model::RemoveTagsRequest::SetPipelineId
void SetPipelineId(const char *value)
Definition: RemoveTagsRequest.h:64
Aws::DataPipeline::Model::RemoveTagsRequest::WithTagKeys
RemoveTagsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: RemoveTagsRequest.h:105
DataPipeline_EXPORTS.h
Aws::DataPipeline::Model::RemoveTagsRequest::AddTagKeys
RemoveTagsRequest & AddTagKeys(Aws::String &&value)
Definition: RemoveTagsRequest.h:120
Aws::DataPipeline::Model::RemoveTagsRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: RemoveTagsRequest.h:85
Aws::DataPipeline::Model::RemoveTagsRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: RemoveTagsRequest.h:90
DataPipelineRequest.h
Aws::DataPipeline::Model::RemoveTagsRequest::WithPipelineId
RemoveTagsRequest & WithPipelineId(const Aws::String &value)
Definition: RemoveTagsRequest.h:69
AWSString.h
Aws::DataPipeline::Model::RemoveTagsRequest::GetPipelineId
const Aws::String & GetPipelineId() const
Definition: RemoveTagsRequest.h:44
Aws::DataPipeline::Model::RemoveTagsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DataPipeline::Model::RemoveTagsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DataPipeline::Model::RemoveTagsRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: RemoveTagsRequest.h:95
Aws
Definition: AccessManagementClient.h:15
AWS_DATAPIPELINE_API
#define AWS_DATAPIPELINE_API
Definition: DataPipeline_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataPipeline::DataPipelineRequest
Definition: DataPipelineRequest.h:17
Aws::DataPipeline::Model::RemoveTagsRequest::AddTagKeys
RemoveTagsRequest & AddTagKeys(const Aws::String &value)
Definition: RemoveTagsRequest.h:115
Aws::DataPipeline::Model::RemoveTagsRequest::SetPipelineId
void SetPipelineId(const Aws::String &value)
Definition: RemoveTagsRequest.h:54
Aws::DataPipeline::Model::RemoveTagsRequest::WithPipelineId
RemoveTagsRequest & WithPipelineId(const char *value)
Definition: RemoveTagsRequest.h:79
Aws::DataPipeline::Model::RemoveTagsRequest::WithPipelineId
RemoveTagsRequest & WithPipelineId(Aws::String &&value)
Definition: RemoveTagsRequest.h:74
Aws::DataPipeline::Model::RemoveTagsRequest
Definition: RemoveTagsRequest.h:26