AWS SDK for C++  1.9.131
AWS SDK for C++
DeleteTagsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace ApplicationDiscoveryService
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "DeleteTags"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::Vector<Aws::String>& GetConfigurationIds() const{ return m_configurationIds; }
43 
47  inline bool ConfigurationIdsHasBeenSet() const { return m_configurationIdsHasBeenSet; }
48 
52  inline void SetConfigurationIds(const Aws::Vector<Aws::String>& value) { m_configurationIdsHasBeenSet = true; m_configurationIds = value; }
53 
57  inline void SetConfigurationIds(Aws::Vector<Aws::String>&& value) { m_configurationIdsHasBeenSet = true; m_configurationIds = std::move(value); }
58 
62  inline DeleteTagsRequest& WithConfigurationIds(const Aws::Vector<Aws::String>& value) { SetConfigurationIds(value); return *this;}
63 
67  inline DeleteTagsRequest& WithConfigurationIds(Aws::Vector<Aws::String>&& value) { SetConfigurationIds(std::move(value)); return *this;}
68 
72  inline DeleteTagsRequest& AddConfigurationIds(const Aws::String& value) { m_configurationIdsHasBeenSet = true; m_configurationIds.push_back(value); return *this; }
73 
77  inline DeleteTagsRequest& AddConfigurationIds(Aws::String&& value) { m_configurationIdsHasBeenSet = true; m_configurationIds.push_back(std::move(value)); return *this; }
78 
82  inline DeleteTagsRequest& AddConfigurationIds(const char* value) { m_configurationIdsHasBeenSet = true; m_configurationIds.push_back(value); return *this; }
83 
84 
90  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
91 
97  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
98 
104  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
105 
111  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
112 
118  inline DeleteTagsRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
119 
125  inline DeleteTagsRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
126 
132  inline DeleteTagsRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
133 
139  inline DeleteTagsRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
140 
141  private:
142 
143  Aws::Vector<Aws::String> m_configurationIds;
144  bool m_configurationIdsHasBeenSet;
145 
146  Aws::Vector<Tag> m_tags;
147  bool m_tagsHasBeenSet;
148  };
149 
150 } // namespace Model
151 } // namespace ApplicationDiscoveryService
152 } // namespace Aws
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::AddConfigurationIds
DeleteTagsRequest & AddConfigurationIds(const char *value)
Definition: DeleteTagsRequest.h:82
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::WithTags
DeleteTagsRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: DeleteTagsRequest.h:118
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::ConfigurationIdsHasBeenSet
bool ConfigurationIdsHasBeenSet() const
Definition: DeleteTagsRequest.h:47
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ApplicationDiscoveryService_EXPORTS.h
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::AddTags
DeleteTagsRequest & AddTags(const Tag &value)
Definition: DeleteTagsRequest.h:132
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: DeleteTagsRequest.h:97
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: DeleteTagsRequest.h:111
AWSVector.h
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::WithTags
DeleteTagsRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: DeleteTagsRequest.h:125
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::AddTags
DeleteTagsRequest & AddTags(Tag &&value)
Definition: DeleteTagsRequest.h:139
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteTagsRequest.h:32
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::DeleteTagsRequest
DeleteTagsRequest()
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::SetConfigurationIds
void SetConfigurationIds(const Aws::Vector< Aws::String > &value)
Definition: DeleteTagsRequest.h:52
AWSString.h
ApplicationDiscoveryServiceRequest.h
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: DeleteTagsRequest.h:90
Aws::ApplicationDiscoveryService::ApplicationDiscoveryServiceRequest
Definition: ApplicationDiscoveryServiceRequest.h:17
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::WithConfigurationIds
DeleteTagsRequest & WithConfigurationIds(Aws::Vector< Aws::String > &&value)
Definition: DeleteTagsRequest.h:67
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::GetConfigurationIds
const Aws::Vector< Aws::String > & GetConfigurationIds() const
Definition: DeleteTagsRequest.h:42
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::WithConfigurationIds
DeleteTagsRequest & WithConfigurationIds(const Aws::Vector< Aws::String > &value)
Definition: DeleteTagsRequest.h:62
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::SetConfigurationIds
void SetConfigurationIds(Aws::Vector< Aws::String > &&value)
Definition: DeleteTagsRequest.h:57
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest
Definition: DeleteTagsRequest.h:24
Tag.h
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::AddConfigurationIds
DeleteTagsRequest & AddConfigurationIds(const Aws::String &value)
Definition: DeleteTagsRequest.h:72
Aws::ApplicationDiscoveryService::Model::Tag
Definition: Tag.h:32
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: DeleteTagsRequest.h:104
AWS_APPLICATIONDISCOVERYSERVICE_API
#define AWS_APPLICATIONDISCOVERYSERVICE_API
Definition: ApplicationDiscoveryService_EXPORTS.h:28
Aws::ApplicationDiscoveryService::Model::DeleteTagsRequest::AddConfigurationIds
DeleteTagsRequest & AddConfigurationIds(Aws::String &&value)
Definition: DeleteTagsRequest.h:77