AWS SDK for C++  1.9.103
AWS SDK for C++
AddTagsResult.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 AddTagsResult& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
65 
69  inline AddTagsResult& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
70 
74  inline AddTagsResult& 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 AddTagsResult& WithResourceType(const TaggableResourceType& value) { SetResourceType(value); return *this;}
96 
100  inline AddTagsResult& 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::MachineLearning::Model::AddTagsResult::GetResourceId
const Aws::String & GetResourceId() const
Definition: AddTagsResult.h:44
Aws::MachineLearning::Model::AddTagsResult::WithResourceId
AddTagsResult & WithResourceId(const Aws::String &value)
Definition: AddTagsResult.h:64
Aws::MachineLearning::Model::AddTagsResult::GetResourceType
const TaggableResourceType & GetResourceType() const
Definition: AddTagsResult.h:80
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MachineLearning::Model::AddTagsResult::SetResourceType
void SetResourceType(TaggableResourceType &&value)
Definition: AddTagsResult.h:90
Aws::MachineLearning::Model::AddTagsResult::WithResourceId
AddTagsResult & WithResourceId(const char *value)
Definition: AddTagsResult.h:74
Aws::MachineLearning::Model::AddTagsResult::WithResourceId
AddTagsResult & WithResourceId(Aws::String &&value)
Definition: AddTagsResult.h:69
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::AddTagsResult::SetResourceId
void SetResourceId(const char *value)
Definition: AddTagsResult.h:59
Aws::MachineLearning::Model::AddTagsResult::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: AddTagsResult.h:49
Aws::MachineLearning::Model::AddTagsResult::operator=
AddTagsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MachineLearning::Model::AddTagsResult::WithResourceType
AddTagsResult & WithResourceType(TaggableResourceType &&value)
Definition: AddTagsResult.h:100
Aws::MachineLearning::Model::AddTagsResult::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: AddTagsResult.h:54
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::AddTagsResult::AddTagsResult
AddTagsResult()
AWSString.h
Aws::MachineLearning::Model::AddTagsResult::AddTagsResult
AddTagsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MachineLearning::Model::TaggableResourceType
TaggableResourceType
Definition: TaggableResourceType.h:17
Aws::MachineLearning::Model::AddTagsResult::WithResourceType
AddTagsResult & WithResourceType(const TaggableResourceType &value)
Definition: AddTagsResult.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
TaggableResourceType.h
Aws::MachineLearning::Model::AddTagsResult
Definition: AddTagsResult.h:34
Aws::MachineLearning::Model::AddTagsResult::SetResourceType
void SetResourceType(const TaggableResourceType &value)
Definition: AddTagsResult.h:85