AWS SDK for C++
1.8.129
AWS SDK for C++
aws-cpp-sdk-ssm
include
aws
ssm
model
RemoveTagsFromResourceRequest.h
Go to the documentation of this file.
1
6
#pragma once
7
#include <
aws/ssm/SSM_EXPORTS.h
>
8
#include <
aws/ssm/SSMRequest.h
>
9
#include <
aws/ssm/model/ResourceTypeForTagging.h
>
10
#include <
aws/core/utils/memory/stl/AWSString.h
>
11
#include <
aws/core/utils/memory/stl/AWSVector.h
>
12
#include <utility>
13
14
namespace
Aws
15
{
16
namespace
SSM
17
{
18
namespace
Model
19
{
20
23
class
AWS_SSM_API
RemoveTagsFromResourceRequest
:
public
SSMRequest
24
{
25
public
:
26
RemoveTagsFromResourceRequest
();
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
"RemoveTagsFromResource"
; }
33
34
Aws::String
SerializePayload
()
const override
;
35
36
Aws::Http::HeaderValueCollection
GetRequestSpecificHeaders
()
const override
;
37
38
45
inline
const
ResourceTypeForTagging
&
GetResourceType
()
const
{
return
m_resourceType; }
46
53
inline
bool
ResourceTypeHasBeenSet
()
const
{
return
m_resourceTypeHasBeenSet; }
54
61
inline
void
SetResourceType
(
const
ResourceTypeForTagging
& value) { m_resourceTypeHasBeenSet =
true
; m_resourceType = value; }
62
69
inline
void
SetResourceType
(
ResourceTypeForTagging
&& value) { m_resourceTypeHasBeenSet =
true
; m_resourceType = std::move(value); }
70
77
inline
RemoveTagsFromResourceRequest
&
WithResourceType
(
const
ResourceTypeForTagging
& value) { SetResourceType(value);
return
*
this
;}
78
85
inline
RemoveTagsFromResourceRequest
&
WithResourceType
(
ResourceTypeForTagging
&& value) { SetResourceType(std::move(value));
return
*
this
;}
86
87
97
inline
const
Aws::String
&
GetResourceId
()
const
{
return
m_resourceId; }
98
108
inline
bool
ResourceIdHasBeenSet
()
const
{
return
m_resourceIdHasBeenSet; }
109
119
inline
void
SetResourceId
(
const
Aws::String
& value) { m_resourceIdHasBeenSet =
true
; m_resourceId = value; }
120
130
inline
void
SetResourceId
(
Aws::String
&& value) { m_resourceIdHasBeenSet =
true
; m_resourceId = std::move(value); }
131
141
inline
void
SetResourceId
(
const
char
* value) { m_resourceIdHasBeenSet =
true
; m_resourceId.assign(value); }
142
152
inline
RemoveTagsFromResourceRequest
&
WithResourceId
(
const
Aws::String
& value) { SetResourceId(value);
return
*
this
;}
153
163
inline
RemoveTagsFromResourceRequest
&
WithResourceId
(
Aws::String
&& value) { SetResourceId(std::move(value));
return
*
this
;}
164
174
inline
RemoveTagsFromResourceRequest
&
WithResourceId
(
const
char
* value) { SetResourceId(value);
return
*
this
;}
175
176
180
inline
const
Aws::Vector<Aws::String>
&
GetTagKeys
()
const
{
return
m_tagKeys; }
181
185
inline
bool
TagKeysHasBeenSet
()
const
{
return
m_tagKeysHasBeenSet; }
186
190
inline
void
SetTagKeys
(
const
Aws::Vector<Aws::String>
& value) { m_tagKeysHasBeenSet =
true
; m_tagKeys = value; }
191
195
inline
void
SetTagKeys
(
Aws::Vector<Aws::String>
&& value) { m_tagKeysHasBeenSet =
true
; m_tagKeys = std::move(value); }
196
200
inline
RemoveTagsFromResourceRequest
&
WithTagKeys
(
const
Aws::Vector<Aws::String>
& value) { SetTagKeys(value);
return
*
this
;}
201
205
inline
RemoveTagsFromResourceRequest
&
WithTagKeys
(
Aws::Vector<Aws::String>
&& value) { SetTagKeys(std::move(value));
return
*
this
;}
206
210
inline
RemoveTagsFromResourceRequest
&
AddTagKeys
(
const
Aws::String
& value) { m_tagKeysHasBeenSet =
true
; m_tagKeys.push_back(value);
return
*
this
; }
211
215
inline
RemoveTagsFromResourceRequest
&
AddTagKeys
(
Aws::String
&& value) { m_tagKeysHasBeenSet =
true
; m_tagKeys.push_back(std::move(value));
return
*
this
; }
216
220
inline
RemoveTagsFromResourceRequest
&
AddTagKeys
(
const
char
* value) { m_tagKeysHasBeenSet =
true
; m_tagKeys.push_back(value);
return
*
this
; }
221
222
private
:
223
224
ResourceTypeForTagging
m_resourceType;
225
bool
m_resourceTypeHasBeenSet;
226
227
Aws::String
m_resourceId;
228
bool
m_resourceIdHasBeenSet;
229
230
Aws::Vector<Aws::String>
m_tagKeys;
231
bool
m_tagKeysHasBeenSet;
232
};
233
234
}
// namespace Model
235
}
// namespace SSM
236
}
// namespace Aws
Aws::SSM::Model::RemoveTagsFromResourceRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition:
RemoveTagsFromResourceRequest.h:185
Aws::SSM::Model::RemoveTagsFromResourceRequest::WithResourceId
RemoveTagsFromResourceRequest & WithResourceId(const char *value)
Definition:
RemoveTagsFromResourceRequest.h:174
Aws::SSM::Model::RemoveTagsFromResourceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSM::Model::RemoveTagsFromResourceRequest::WithResourceType
RemoveTagsFromResourceRequest & WithResourceType(ResourceTypeForTagging &&value)
Definition:
RemoveTagsFromResourceRequest.h:85
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition:
HttpTypes.h:53
ResourceTypeForTagging.h
Aws::SSM::Model::RemoveTagsFromResourceRequest::RemoveTagsFromResourceRequest
RemoveTagsFromResourceRequest()
AWS_SSM_API
#define AWS_SSM_API
Definition:
SSM_EXPORTS.h:28
Aws::SSM::Model::RemoveTagsFromResourceRequest::SetResourceType
void SetResourceType(const ResourceTypeForTagging &value)
Definition:
RemoveTagsFromResourceRequest.h:61
Aws::SSM::Model::RemoveTagsFromResourceRequest::SetResourceType
void SetResourceType(ResourceTypeForTagging &&value)
Definition:
RemoveTagsFromResourceRequest.h:69
Aws::SSM::Model::RemoveTagsFromResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition:
RemoveTagsFromResourceRequest.h:32
Aws::SSM::Model::RemoveTagsFromResourceRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition:
RemoveTagsFromResourceRequest.h:190
Aws::SSM::Model::RemoveTagsFromResourceRequest::WithTagKeys
RemoveTagsFromResourceRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition:
RemoveTagsFromResourceRequest.h:200
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition:
AWSVector.h:17
SSM_EXPORTS.h
AWSVector.h
Aws::SSM::Model::RemoveTagsFromResourceRequest::WithResourceId
RemoveTagsFromResourceRequest & WithResourceId(Aws::String &&value)
Definition:
RemoveTagsFromResourceRequest.h:163
Aws::SSM::Model::RemoveTagsFromResourceRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition:
RemoveTagsFromResourceRequest.h:195
Aws::SSM::Model::RemoveTagsFromResourceRequest::SetResourceId
void SetResourceId(const char *value)
Definition:
RemoveTagsFromResourceRequest.h:141
Aws::SSM::Model::RemoveTagsFromResourceRequest::GetResourceType
const ResourceTypeForTagging & GetResourceType() const
Definition:
RemoveTagsFromResourceRequest.h:45
Aws::SSM::Model::RemoveTagsFromResourceRequest::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition:
RemoveTagsFromResourceRequest.h:108
AWSString.h
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
Aws::SSM::Model::RemoveTagsFromResourceRequest::WithResourceType
RemoveTagsFromResourceRequest & WithResourceType(const ResourceTypeForTagging &value)
Definition:
RemoveTagsFromResourceRequest.h:77
Aws::SSM::Model::RemoveTagsFromResourceRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition:
RemoveTagsFromResourceRequest.h:180
Aws::SSM::Model::ResourceTypeForTagging
ResourceTypeForTagging
Definition:
ResourceTypeForTagging.h:17
Aws::SSM::Model::RemoveTagsFromResourceRequest::AddTagKeys
RemoveTagsFromResourceRequest & AddTagKeys(Aws::String &&value)
Definition:
RemoveTagsFromResourceRequest.h:215
Aws::SSM::Model::RemoveTagsFromResourceRequest::GetResourceId
const Aws::String & GetResourceId() const
Definition:
RemoveTagsFromResourceRequest.h:97
Aws::SSM::Model::RemoveTagsFromResourceRequest::AddTagKeys
RemoveTagsFromResourceRequest & AddTagKeys(const Aws::String &value)
Definition:
RemoveTagsFromResourceRequest.h:210
Aws::SSM::Model::RemoveTagsFromResourceRequest::WithResourceId
RemoveTagsFromResourceRequest & WithResourceId(const Aws::String &value)
Definition:
RemoveTagsFromResourceRequest.h:152
Aws::SSM::Model::RemoveTagsFromResourceRequest
Definition:
RemoveTagsFromResourceRequest.h:24
Aws
Definition:
AccessManagementClient.h:15
Aws::SSM::Model::RemoveTagsFromResourceRequest::WithTagKeys
RemoveTagsFromResourceRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition:
RemoveTagsFromResourceRequest.h:205
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition:
AWSString.h:97
Aws::SSM::Model::RemoveTagsFromResourceRequest::AddTagKeys
RemoveTagsFromResourceRequest & AddTagKeys(const char *value)
Definition:
RemoveTagsFromResourceRequest.h:220
Aws::SSM::Model::RemoveTagsFromResourceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSM::Model::RemoveTagsFromResourceRequest::SetResourceId
void SetResourceId(Aws::String &&value)
Definition:
RemoveTagsFromResourceRequest.h:130
Aws::SSM::Model::RemoveTagsFromResourceRequest::SetResourceId
void SetResourceId(const Aws::String &value)
Definition:
RemoveTagsFromResourceRequest.h:119
Aws::SSM::Model::RemoveTagsFromResourceRequest::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition:
RemoveTagsFromResourceRequest.h:53
Aws::SSM::SSMRequest
Definition:
SSMRequest.h:17
SSMRequest.h
Generated by
1.8.19
Privacy |
Site terms |
Cookie preferences