AWS SDK for C++  1.9.158
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 SageMaker
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 "DeleteTags"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
43 
48  inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
49 
54  inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
55 
60  inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
61 
66  inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
67 
72  inline DeleteTagsRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
73 
78  inline DeleteTagsRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
79 
84  inline DeleteTagsRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
85 
86 
90  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
91 
95  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
96 
100  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
101 
105  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
106 
110  inline DeleteTagsRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
111 
115  inline DeleteTagsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
116 
120  inline DeleteTagsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
121 
125  inline DeleteTagsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
126 
130  inline DeleteTagsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
131 
132  private:
133 
134  Aws::String m_resourceArn;
135  bool m_resourceArnHasBeenSet;
136 
137  Aws::Vector<Aws::String> m_tagKeys;
138  bool m_tagKeysHasBeenSet;
139  };
140 
141 } // namespace Model
142 } // namespace SageMaker
143 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DeleteTagsRequest::SetResourceArn
void SetResourceArn(const Aws::String &value)
Definition: DeleteTagsRequest.h:54
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DeleteTagsRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DeleteTagsRequest.h:100
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::DeleteTagsRequest
Definition: DeleteTagsRequest.h:23
Aws::SageMaker::Model::DeleteTagsRequest::WithTagKeys
DeleteTagsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DeleteTagsRequest.h:115
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SageMaker::Model::DeleteTagsRequest::GetResourceArn
const Aws::String & GetResourceArn() const
Definition: DeleteTagsRequest.h:42
Aws::SageMaker::Model::DeleteTagsRequest::WithResourceArn
DeleteTagsRequest & WithResourceArn(Aws::String &&value)
Definition: DeleteTagsRequest.h:78
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DeleteTagsRequest::SetResourceArn
void SetResourceArn(const char *value)
Definition: DeleteTagsRequest.h:66
Aws::SageMaker::Model::DeleteTagsRequest::ResourceArnHasBeenSet
bool ResourceArnHasBeenSet() const
Definition: DeleteTagsRequest.h:48
Aws::SageMaker::Model::DeleteTagsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteTagsRequest.h:31
Aws::SageMaker::Model::DeleteTagsRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::SageMaker::Model::DeleteTagsRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DeleteTagsRequest.h:105
Aws::SageMaker::Model::DeleteTagsRequest::AddTagKeys
DeleteTagsRequest & AddTagKeys(Aws::String &&value)
Definition: DeleteTagsRequest.h:125
Aws::SageMaker::Model::DeleteTagsRequest::AddTagKeys
DeleteTagsRequest & AddTagKeys(const char *value)
Definition: DeleteTagsRequest.h:130
Aws::SageMaker::Model::DeleteTagsRequest::WithResourceArn
DeleteTagsRequest & WithResourceArn(const Aws::String &value)
Definition: DeleteTagsRequest.h:72
Aws::SageMaker::Model::DeleteTagsRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: DeleteTagsRequest.h:95
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::DeleteTagsRequest::DeleteTagsRequest
DeleteTagsRequest()
Aws::SageMaker::Model::DeleteTagsRequest::AddTagKeys
DeleteTagsRequest & AddTagKeys(const Aws::String &value)
Definition: DeleteTagsRequest.h:120
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DeleteTagsRequest::WithTagKeys
DeleteTagsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DeleteTagsRequest.h:110
Aws::SageMaker::Model::DeleteTagsRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: DeleteTagsRequest.h:90
Aws::SageMaker::Model::DeleteTagsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::DeleteTagsRequest::SetResourceArn
void SetResourceArn(Aws::String &&value)
Definition: DeleteTagsRequest.h:60
Aws::SageMaker::Model::DeleteTagsRequest::WithResourceArn
DeleteTagsRequest & WithResourceArn(const char *value)
Definition: DeleteTagsRequest.h:84