AWS SDK for C++  1.9.104
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 GameLift
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
41 
46  inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
47 
52  inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
53 
58  inline ListTagsForResourceResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
59 
64  inline ListTagsForResourceResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
65 
70  inline ListTagsForResourceResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
71 
76  inline ListTagsForResourceResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
77 
78  private:
79 
80  Aws::Vector<Tag> m_tags;
81  };
82 
83 } // namespace Model
84 } // namespace GameLift
85 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult()
Aws::GameLift::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
GameLift_EXPORTS.h
Aws::GameLift::Model::ListTagsForResourceResult::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: ListTagsForResourceResult.h:40
Aws::GameLift::Model::ListTagsForResourceResult::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: ListTagsForResourceResult.h:52
Aws::GameLift::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(Tag &&value)
Definition: ListTagsForResourceResult.h:76
Aws::GameLift::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(const Tag &value)
Definition: ListTagsForResourceResult.h:70
Aws::GameLift::Model::ListTagsForResourceResult::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: ListTagsForResourceResult.h:46
Aws::GameLift::Model::Tag
Definition: Tag.h:40
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::ListTagsForResourceResult::operator=
ListTagsForResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::ListTagsForResourceResult::WithTags
ListTagsForResourceResult & WithTags(const Aws::Vector< Tag > &value)
Definition: ListTagsForResourceResult.h:58
Tag.h
Aws::GameLift::Model::ListTagsForResourceResult
Definition: ListTagsForResourceResult.h:29
Aws::GameLift::Model::ListTagsForResourceResult::WithTags
ListTagsForResourceResult & WithTags(Aws::Vector< Tag > &&value)
Definition: ListTagsForResourceResult.h:64