AWS SDK for C++  1.9.160
AWS SDK for C++
ListTagsForResourceResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <aws/neptune/model/Tag.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace Neptune
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<Tag>& GetTagList() const{ return m_tagList; }
41 
45  inline void SetTagList(const Aws::Vector<Tag>& value) { m_tagList = value; }
46 
50  inline void SetTagList(Aws::Vector<Tag>&& value) { m_tagList = std::move(value); }
51 
55  inline ListTagsForResourceResult& WithTagList(const Aws::Vector<Tag>& value) { SetTagList(value); return *this;}
56 
60  inline ListTagsForResourceResult& WithTagList(Aws::Vector<Tag>&& value) { SetTagList(std::move(value)); return *this;}
61 
65  inline ListTagsForResourceResult& AddTagList(const Tag& value) { m_tagList.push_back(value); return *this; }
66 
70  inline ListTagsForResourceResult& AddTagList(Tag&& value) { m_tagList.push_back(std::move(value)); return *this; }
71 
72 
73 
74  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
75 
76 
77  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
78 
79 
80  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
81 
82 
83  inline ListTagsForResourceResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
84 
85 
86  inline ListTagsForResourceResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
87 
88  private:
89 
90  Aws::Vector<Tag> m_tagList;
91 
92  ResponseMetadata m_responseMetadata;
93  };
94 
95 } // namespace Model
96 } // namespace Neptune
97 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Neptune::Model::ListTagsForResourceResult::GetTagList
const Aws::Vector< Tag > & GetTagList() const
Definition: ListTagsForResourceResult.h:40
Neptune_EXPORTS.h
Aws::Neptune::Model::ListTagsForResourceResult::WithResponseMetadata
ListTagsForResourceResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ListTagsForResourceResult.h:86
Aws::Neptune::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_NEPTUNE_API
#define AWS_NEPTUNE_API
Definition: Neptune_EXPORTS.h:28
Aws::Neptune::Model::ListTagsForResourceResult::WithResponseMetadata
ListTagsForResourceResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ListTagsForResourceResult.h:83
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Neptune::Model::ListTagsForResourceResult::SetTagList
void SetTagList(Aws::Vector< Tag > &&value)
Definition: ListTagsForResourceResult.h:50
Tag.h
Aws::Neptune::Model::ListTagsForResourceResult::AddTagList
ListTagsForResourceResult & AddTagList(const Tag &value)
Definition: ListTagsForResourceResult.h:65
Aws::Neptune::Model::ListTagsForResourceResult
Definition: ListTagsForResourceResult.h:30
Aws::Neptune::Model::Tag
Definition: Tag.h:33
Aws::Neptune::Model::ListTagsForResourceResult::operator=
ListTagsForResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Neptune::Model::ListTagsForResourceResult::WithTagList
ListTagsForResourceResult & WithTagList(Aws::Vector< Tag > &&value)
Definition: ListTagsForResourceResult.h:60
Aws::Neptune::Model::ListTagsForResourceResult::SetTagList
void SetTagList(const Aws::Vector< Tag > &value)
Definition: ListTagsForResourceResult.h:45
Aws::Neptune::Model::ListTagsForResourceResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ListTagsForResourceResult.h:74
Aws::Neptune::Model::ListTagsForResourceResult::AddTagList
ListTagsForResourceResult & AddTagList(Tag &&value)
Definition: ListTagsForResourceResult.h:70
ResponseMetadata.h
Aws
Definition: AccessManagementClient.h:15
Aws::Neptune::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::Neptune::Model::ListTagsForResourceResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ListTagsForResourceResult.h:80
Aws::Neptune::Model::ListTagsForResourceResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ListTagsForResourceResult.h:77
Aws::Neptune::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult()
Aws::Neptune::Model::ListTagsForResourceResult::WithTagList
ListTagsForResourceResult & WithTagList(const Aws::Vector< Tag > &value)
Definition: ListTagsForResourceResult.h:55