AWS SDK for C++  1.9.47
AWS SDK for C++
ListTagsForResourceResult.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 IoTSiteWise
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
43  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
44 
52  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
53 
61  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
62 
70  inline ListTagsForResourceResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
71 
79  inline ListTagsForResourceResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
80 
88  inline ListTagsForResourceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
89 
97  inline ListTagsForResourceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
98 
106  inline ListTagsForResourceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
107 
115  inline ListTagsForResourceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
116 
124  inline ListTagsForResourceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
125 
133  inline ListTagsForResourceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
134 
142  inline ListTagsForResourceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
143 
144  private:
145 
147  };
148 
149 } // namespace Model
150 } // namespace IoTSiteWise
151 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTSiteWise::Model::ListTagsForResourceResult::operator=
ListTagsForResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: ListTagsForResourceResult.h:115
Aws::IoTSiteWise::Model::ListTagsForResourceResult::WithTags
ListTagsForResourceResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ListTagsForResourceResult.h:79
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: ListTagsForResourceResult.h:97
Aws::IoTSiteWise::Model::ListTagsForResourceResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: ListTagsForResourceResult.h:43
Aws::IoTSiteWise::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: ListTagsForResourceResult.h:106
Aws::IoTSiteWise::Model::ListTagsForResourceResult::WithTags
ListTagsForResourceResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ListTagsForResourceResult.h:70
AWSString.h
Aws::IoTSiteWise::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(const char *key, const char *value)
Definition: ListTagsForResourceResult.h:142
Aws::IoTSiteWise::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(Aws::String &&key, const char *value)
Definition: ListTagsForResourceResult.h:133
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: ListTagsForResourceResult.h:88
Aws::IoTSiteWise::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(const char *key, Aws::String &&value)
Definition: ListTagsForResourceResult.h:124
Aws::IoTSiteWise::Model::ListTagsForResourceResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ListTagsForResourceResult.h:52
Aws::IoTSiteWise::Model::ListTagsForResourceResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ListTagsForResourceResult.h:61
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::IoTSiteWise::Model::ListTagsForResourceResult
Definition: ListTagsForResourceResult.h:29