AWS SDK for C++  1.9.103
AWS SDK for C++
DeleteTagsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace MachineLearning
25 {
26 namespace Model
27 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
45 
49  inline void SetResourceId(const Aws::String& value) { m_resourceId = value; }
50 
54  inline void SetResourceId(Aws::String&& value) { m_resourceId = std::move(value); }
55 
59  inline void SetResourceId(const char* value) { m_resourceId.assign(value); }
60 
64  inline DeleteTagsResult& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
65 
69  inline DeleteTagsResult& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
70 
74  inline DeleteTagsResult& WithResourceId(const char* value) { SetResourceId(value); return *this;}
75 
76 
80  inline const TaggableResourceType& GetResourceType() const{ return m_resourceType; }
81 
85  inline void SetResourceType(const TaggableResourceType& value) { m_resourceType = value; }
86 
90  inline void SetResourceType(TaggableResourceType&& value) { m_resourceType = std::move(value); }
91 
95  inline DeleteTagsResult& WithResourceType(const TaggableResourceType& value) { SetResourceType(value); return *this;}
96 
100  inline DeleteTagsResult& WithResourceType(TaggableResourceType&& value) { SetResourceType(std::move(value)); return *this;}
101 
102  private:
103 
104  Aws::String m_resourceId;
105 
106  TaggableResourceType m_resourceType;
107  };
108 
109 } // namespace Model
110 } // namespace MachineLearning
111 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MachineLearning::Model::DeleteTagsResult::GetResourceType
const TaggableResourceType & GetResourceType() const
Definition: DeleteTagsResult.h:80
Aws::MachineLearning::Model::DeleteTagsResult::DeleteTagsResult
DeleteTagsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MachineLearning::Model::DeleteTagsResult::WithResourceType
DeleteTagsResult & WithResourceType(const TaggableResourceType &value)
Definition: DeleteTagsResult.h:95
Aws::MachineLearning::Model::DeleteTagsResult::GetResourceId
const Aws::String & GetResourceId() const
Definition: DeleteTagsResult.h:44
Aws::MachineLearning::Model::DeleteTagsResult
Definition: DeleteTagsResult.h:34
Aws::MachineLearning::Model::DeleteTagsResult::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: DeleteTagsResult.h:54
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::DeleteTagsResult::WithResourceId
DeleteTagsResult & WithResourceId(Aws::String &&value)
Definition: DeleteTagsResult.h:69
Aws::MachineLearning::Model::DeleteTagsResult::WithResourceType
DeleteTagsResult & WithResourceType(TaggableResourceType &&value)
Definition: DeleteTagsResult.h:100
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::DeleteTagsResult::SetResourceType
void SetResourceType(const TaggableResourceType &value)
Definition: DeleteTagsResult.h:85
Aws::MachineLearning::Model::DeleteTagsResult::operator=
DeleteTagsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::MachineLearning::Model::TaggableResourceType
TaggableResourceType
Definition: TaggableResourceType.h:17
Aws::MachineLearning::Model::DeleteTagsResult::WithResourceId
DeleteTagsResult & WithResourceId(const char *value)
Definition: DeleteTagsResult.h:74
Aws::MachineLearning::Model::DeleteTagsResult::SetResourceType
void SetResourceType(TaggableResourceType &&value)
Definition: DeleteTagsResult.h:90
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::DeleteTagsResult::DeleteTagsResult
DeleteTagsResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::DeleteTagsResult::SetResourceId
void SetResourceId(const char *value)
Definition: DeleteTagsResult.h:59
TaggableResourceType.h
Aws::MachineLearning::Model::DeleteTagsResult::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: DeleteTagsResult.h:49
Aws::MachineLearning::Model::DeleteTagsResult::WithResourceId
DeleteTagsResult & WithResourceId(const Aws::String &value)
Definition: DeleteTagsResult.h:64