AWS SDK for C++  1.9.108
AWS SDK for C++
ListTagsForResourceResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
10 #include <aws/rds/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 RDS
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<Tag>& GetTagList() const{ return m_tagList; }
46 
50  inline void SetTagList(const Aws::Vector<Tag>& value) { m_tagList = value; }
51 
55  inline void SetTagList(Aws::Vector<Tag>&& value) { m_tagList = std::move(value); }
56 
60  inline ListTagsForResourceResult& WithTagList(const Aws::Vector<Tag>& value) { SetTagList(value); return *this;}
61 
65  inline ListTagsForResourceResult& WithTagList(Aws::Vector<Tag>&& value) { SetTagList(std::move(value)); return *this;}
66 
70  inline ListTagsForResourceResult& AddTagList(const Tag& value) { m_tagList.push_back(value); return *this; }
71 
75  inline ListTagsForResourceResult& AddTagList(Tag&& value) { m_tagList.push_back(std::move(value)); return *this; }
76 
77 
78 
79  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
80 
81 
82  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
83 
84 
85  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
86 
87 
88  inline ListTagsForResourceResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
89 
90 
91  inline ListTagsForResourceResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
92 
93  private:
94 
95  Aws::Vector<Tag> m_tagList;
96 
97  ResponseMetadata m_responseMetadata;
98  };
99 
100 } // namespace Model
101 } // namespace RDS
102 } // namespace Aws
Aws::RDS::Model::Tag
Definition: Tag.h:33
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult()
Aws::RDS::Model::ListTagsForResourceResult::AddTagList
ListTagsForResourceResult & AddTagList(const Tag &value)
Definition: ListTagsForResourceResult.h:70
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::ListTagsForResourceResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ListTagsForResourceResult.h:79
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSVector.h
Aws::RDS::Model::ListTagsForResourceResult::GetTagList
const Aws::Vector< Tag > & GetTagList() const
Definition: ListTagsForResourceResult.h:45
Aws::RDS::Model::ListTagsForResourceResult::WithTagList
ListTagsForResourceResult & WithTagList(const Aws::Vector< Tag > &value)
Definition: ListTagsForResourceResult.h:60
RDS_EXPORTS.h
Aws::RDS::Model::ListTagsForResourceResult::WithResponseMetadata
ListTagsForResourceResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ListTagsForResourceResult.h:88
Aws::RDS::Model::ListTagsForResourceResult::AddTagList
ListTagsForResourceResult & AddTagList(Tag &&value)
Definition: ListTagsForResourceResult.h:75
Aws::RDS::Model::ListTagsForResourceResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ListTagsForResourceResult.h:82
Aws::RDS::Model::ListTagsForResourceResult
Definition: ListTagsForResourceResult.h:35
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::ListTagsForResourceResult::SetTagList
void SetTagList(Aws::Vector< Tag > &&value)
Definition: ListTagsForResourceResult.h:55
Aws::RDS::Model::ListTagsForResourceResult::WithResponseMetadata
ListTagsForResourceResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ListTagsForResourceResult.h:91
Aws::RDS::Model::ListTagsForResourceResult::SetTagList
void SetTagList(const Aws::Vector< Tag > &value)
Definition: ListTagsForResourceResult.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::ListTagsForResourceResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ListTagsForResourceResult.h:85
Aws::RDS::Model::ListTagsForResourceResult::operator=
ListTagsForResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ResponseMetadata.h
Tag.h
Aws::RDS::Model::ListTagsForResourceResult::WithTagList
ListTagsForResourceResult & WithTagList(Aws::Vector< Tag > &&value)
Definition: ListTagsForResourceResult.h:65
Aws::RDS::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)