AWS SDK for C++  1.9.104
AWS SDK for C++
ListTagsForVaultResult.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 Glacier
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
46  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
47 
52  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
53 
58  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
59 
64  inline ListTagsForVaultResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
65 
70  inline ListTagsForVaultResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
71 
76  inline ListTagsForVaultResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
77 
82  inline ListTagsForVaultResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
83 
88  inline ListTagsForVaultResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
89 
94  inline ListTagsForVaultResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
95 
100  inline ListTagsForVaultResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
101 
106  inline ListTagsForVaultResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
107 
112  inline ListTagsForVaultResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
113 
114  private:
115 
117  };
118 
119 } // namespace Model
120 } // namespace Glacier
121 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Glacier::Model::ListTagsForVaultResult::ListTagsForVaultResult
ListTagsForVaultResult()
Aws::Glacier::Model::ListTagsForVaultResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ListTagsForVaultResult.h:58
Aws::Glacier::Model::ListTagsForVaultResult::AddTags
ListTagsForVaultResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: ListTagsForVaultResult.h:94
Aws::Glacier::Model::ListTagsForVaultResult::AddTags
ListTagsForVaultResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: ListTagsForVaultResult.h:88
Aws::Glacier::Model::ListTagsForVaultResult::WithTags
ListTagsForVaultResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ListTagsForVaultResult.h:64
Aws::Glacier::Model::ListTagsForVaultResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ListTagsForVaultResult.h:52
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::ListTagsForVaultResult::AddTags
ListTagsForVaultResult & AddTags(Aws::String &&key, const char *value)
Definition: ListTagsForVaultResult.h:106
AWSString.h
Aws::Glacier::Model::ListTagsForVaultResult::AddTags
ListTagsForVaultResult & AddTags(const char *key, const char *value)
Definition: ListTagsForVaultResult.h:112
Aws::Glacier::Model::ListTagsForVaultResult
Definition: ListTagsForVaultResult.h:35
Aws::Glacier::Model::ListTagsForVaultResult::AddTags
ListTagsForVaultResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: ListTagsForVaultResult.h:82
Aws::Glacier::Model::ListTagsForVaultResult::WithTags
ListTagsForVaultResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ListTagsForVaultResult.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::ListTagsForVaultResult::AddTags
ListTagsForVaultResult & AddTags(const char *key, Aws::String &&value)
Definition: ListTagsForVaultResult.h:100
Aws::Glacier::Model::ListTagsForVaultResult::operator=
ListTagsForVaultResult & operator=(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::Glacier::Model::ListTagsForVaultResult::AddTags
ListTagsForVaultResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: ListTagsForVaultResult.h:76
Aws::Glacier::Model::ListTagsForVaultResult::ListTagsForVaultResult
ListTagsForVaultResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSMap.h
Aws::Glacier::Model::ListTagsForVaultResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: ListTagsForVaultResult.h:46
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Glacier_EXPORTS.h