AWS SDK for C++  1.9.40
AWS SDK for C++
DeleteTagsRequest.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 MediaLive
20 {
21 namespace Model
22 {
23 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "DeleteTags"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
45 
46  inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
47 
48 
49  inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
50 
51 
52  inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
53 
54 
55  inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
56 
57 
58  inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
59 
60 
61  inline DeleteTagsRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
62 
63 
64  inline DeleteTagsRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
65 
66 
67  inline DeleteTagsRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
68 
69 
73  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
74 
78  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
79 
83  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
84 
88  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
89 
93  inline DeleteTagsRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
94 
98  inline DeleteTagsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
99 
103  inline DeleteTagsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
104 
108  inline DeleteTagsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
109 
113  inline DeleteTagsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
114 
115  private:
116 
117  Aws::String m_resourceArn;
118  bool m_resourceArnHasBeenSet;
119 
120  Aws::Vector<Aws::String> m_tagKeys;
121  bool m_tagKeysHasBeenSet;
122  };
123 
124 } // namespace Model
125 } // namespace MediaLive
126 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::MediaLive::Model::DeleteTagsRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: DeleteTagsRequest.h:73
Aws::MediaLive::Model::DeleteTagsRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DeleteTagsRequest.h:83
Aws::MediaLive::Model::DeleteTagsRequest::SetResourceArn
void SetResourceArn(Aws::String &&value)
Definition: DeleteTagsRequest.h:55
Aws::MediaLive::Model::DeleteTagsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::MediaLive::Model::DeleteTagsRequest::AddTagKeys
DeleteTagsRequest & AddTagKeys(Aws::String &&value)
Definition: DeleteTagsRequest.h:108
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MediaLive::Model::DeleteTagsRequest::WithTagKeys
DeleteTagsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DeleteTagsRequest.h:93
Aws::MediaLive::Model::DeleteTagsRequest::DeleteTagsRequest
DeleteTagsRequest()
Aws::MediaLive::Model::DeleteTagsRequest::ResourceArnHasBeenSet
bool ResourceArnHasBeenSet() const
Definition: DeleteTagsRequest.h:49
AWSVector.h
Aws::MediaLive::MediaLiveRequest
Definition: MediaLiveRequest.h:17
Aws::MediaLive::Model::DeleteTagsRequest::WithResourceArn
DeleteTagsRequest & WithResourceArn(const char *value)
Definition: DeleteTagsRequest.h:67
Aws::MediaLive::Model::DeleteTagsRequest::AddTagKeys
DeleteTagsRequest & AddTagKeys(const char *value)
Definition: DeleteTagsRequest.h:113
Aws::MediaLive::Model::DeleteTagsRequest::GetResourceArn
const Aws::String & GetResourceArn() const
Definition: DeleteTagsRequest.h:46
AWS_MEDIALIVE_API
#define AWS_MEDIALIVE_API
Definition: MediaLive_EXPORTS.h:28
Aws::MediaLive::Model::DeleteTagsRequest::WithTagKeys
DeleteTagsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DeleteTagsRequest.h:98
Aws::MediaLive::Model::DeleteTagsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaLive::Model::DeleteTagsRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DeleteTagsRequest.h:88
Aws::MediaLive::Model::DeleteTagsRequest::WithResourceArn
DeleteTagsRequest & WithResourceArn(const Aws::String &value)
Definition: DeleteTagsRequest.h:61
AWSString.h
Aws::MediaLive::Model::DeleteTagsRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: DeleteTagsRequest.h:78
Aws::MediaLive::Model::DeleteTagsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteTagsRequest.h:38
Aws::MediaLive::Model::DeleteTagsRequest::AddTagKeys
DeleteTagsRequest & AddTagKeys(const Aws::String &value)
Definition: DeleteTagsRequest.h:103
Aws
Definition: AccessManagementClient.h:15
Aws::MediaLive::Model::DeleteTagsRequest::SetResourceArn
void SetResourceArn(const char *value)
Definition: DeleteTagsRequest.h:58
MediaLiveRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaLive::Model::DeleteTagsRequest
Definition: DeleteTagsRequest.h:30
Aws::MediaLive::Model::DeleteTagsRequest::WithResourceArn
DeleteTagsRequest & WithResourceArn(Aws::String &&value)
Definition: DeleteTagsRequest.h:64
Aws::MediaLive::Model::DeleteTagsRequest::SetResourceArn
void SetResourceArn(const Aws::String &value)
Definition: DeleteTagsRequest.h:52
MediaLive_EXPORTS.h