AWS SDK for C++  1.9.158
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 MediaConvert
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 
35 
40  inline const Aws::String& GetArn() const{ return m_arn; }
41 
46  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 
52  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
53 
58  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
59 
64  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
65 
70  inline UntagResourceRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
71 
76  inline UntagResourceRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
77 
82  inline UntagResourceRequest& WithArn(const char* value) { SetArn(value); return *this;}
83 
84 
88  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
89 
93  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
94 
98  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
99 
103  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
104 
108  inline UntagResourceRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
109 
113  inline UntagResourceRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
114 
118  inline UntagResourceRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
119 
123  inline UntagResourceRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
124 
128  inline UntagResourceRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
129 
130  private:
131 
132  Aws::String m_arn;
133  bool m_arnHasBeenSet;
134 
135  Aws::Vector<Aws::String> m_tagKeys;
136  bool m_tagKeysHasBeenSet;
137  };
138 
139 } // namespace Model
140 } // namespace MediaConvert
141 } // namespace Aws
Aws::MediaConvert::Model::UntagResourceRequest
Definition: UntagResourceRequest.h:23
Aws::MediaConvert::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(const char *value)
Definition: UntagResourceRequest.h:128
Aws::MediaConvert::Model::UntagResourceRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagResourceRequest.h:98
Aws::MediaConvert::Model::UntagResourceRequest::SetArn
void SetArn(const Aws::String &value)
Definition: UntagResourceRequest.h:52
Aws::MediaConvert::Model::UntagResourceRequest::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: UntagResourceRequest.h:46
MediaConvertRequest.h
Aws::MediaConvert::Model::UntagResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UntagResourceRequest.h:31
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::UntagResourceRequest::UntagResourceRequest
UntagResourceRequest()
Aws::MediaConvert::Model::UntagResourceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaConvert::Model::UntagResourceRequest::WithTagKeys
UntagResourceRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagResourceRequest.h:108
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::MediaConvert::MediaConvertRequest
Definition: MediaConvertRequest.h:17
Aws::MediaConvert::Model::UntagResourceRequest::WithArn
UntagResourceRequest & WithArn(const Aws::String &value)
Definition: UntagResourceRequest.h:70
Aws::MediaConvert::Model::UntagResourceRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: UntagResourceRequest.h:88
AWSString.h
Aws::MediaConvert::Model::UntagResourceRequest::GetArn
const Aws::String & GetArn() const
Definition: UntagResourceRequest.h:40
Aws::MediaConvert::Model::UntagResourceRequest::WithTagKeys
UntagResourceRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagResourceRequest.h:113
Aws::MediaConvert::Model::UntagResourceRequest::WithArn
UntagResourceRequest & WithArn(const char *value)
Definition: UntagResourceRequest.h:82
Aws::MediaConvert::Model::UntagResourceRequest::WithArn
UntagResourceRequest & WithArn(Aws::String &&value)
Definition: UntagResourceRequest.h:76
Aws::MediaConvert::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(Aws::String &&value)
Definition: UntagResourceRequest.h:123
Aws::MediaConvert::Model::UntagResourceRequest::SetArn
void SetArn(const char *value)
Definition: UntagResourceRequest.h:64
Aws::MediaConvert::Model::UntagResourceRequest::SetArn
void SetArn(Aws::String &&value)
Definition: UntagResourceRequest.h:58
Aws::MediaConvert::Model::UntagResourceRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: UntagResourceRequest.h:93
Aws::MediaConvert::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(const Aws::String &value)
Definition: UntagResourceRequest.h:118
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::UntagResourceRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagResourceRequest.h:103
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97