AWS SDK for C++  1.9.157
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 Amplify
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
46 
50  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
51 
55  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
56 
60  inline ListTagsForResourceResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
61 
65  inline ListTagsForResourceResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
66 
70  inline ListTagsForResourceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
71 
75  inline ListTagsForResourceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
76 
80  inline ListTagsForResourceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
81 
85  inline ListTagsForResourceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
86 
90  inline ListTagsForResourceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
91 
95  inline ListTagsForResourceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
96 
100  inline ListTagsForResourceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
101 
102  private:
103 
105  };
106 
107 } // namespace Model
108 } // namespace Amplify
109 } // namespace Aws
Amplify_EXPORTS.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Amplify::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: ListTagsForResourceResult.h:70
Aws::Amplify::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(const char *key, Aws::String &&value)
Definition: ListTagsForResourceResult.h:90
Aws::Amplify::Model::ListTagsForResourceResult
Definition: ListTagsForResourceResult.h:35
Aws::Amplify::Model::ListTagsForResourceResult::WithTags
ListTagsForResourceResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ListTagsForResourceResult.h:65
Aws::Amplify::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(const char *key, const char *value)
Definition: ListTagsForResourceResult.h:100
Aws::Amplify::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: ListTagsForResourceResult.h:75
Aws::Amplify::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: ListTagsForResourceResult.h:80
Aws::Amplify::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(Aws::String &&key, const char *value)
Definition: ListTagsForResourceResult.h:95
Aws::Amplify::Model::ListTagsForResourceResult::WithTags
ListTagsForResourceResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ListTagsForResourceResult.h:60
Aws::Amplify::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult()
AWSString.h
Aws::Amplify::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: ListTagsForResourceResult.h:85
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Amplify::Model::ListTagsForResourceResult::operator=
ListTagsForResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSMap.h
Aws::Amplify::Model::ListTagsForResourceResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: ListTagsForResourceResult.h:45
Aws::Amplify::Model::ListTagsForResourceResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ListTagsForResourceResult.h:55
Aws::Amplify::Model::ListTagsForResourceResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ListTagsForResourceResult.h:50
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19