AWS SDK for C++  1.9.70
AWS SDK for C++
DescribeTagsResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace EC2
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
42  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
43 
48  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
49 
54  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
55 
60  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
61 
66  inline DescribeTagsResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
67 
72  inline DescribeTagsResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
73 
78  inline DescribeTagsResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
79 
80 
84  inline const Aws::Vector<TagDescription>& GetTags() const{ return m_tags; }
85 
89  inline void SetTags(const Aws::Vector<TagDescription>& value) { m_tags = value; }
90 
94  inline void SetTags(Aws::Vector<TagDescription>&& value) { m_tags = std::move(value); }
95 
99  inline DescribeTagsResponse& WithTags(const Aws::Vector<TagDescription>& value) { SetTags(value); return *this;}
100 
104  inline DescribeTagsResponse& WithTags(Aws::Vector<TagDescription>&& value) { SetTags(std::move(value)); return *this;}
105 
109  inline DescribeTagsResponse& AddTags(const TagDescription& value) { m_tags.push_back(value); return *this; }
110 
114  inline DescribeTagsResponse& AddTags(TagDescription&& value) { m_tags.push_back(std::move(value)); return *this; }
115 
116 
117 
118  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
119 
120 
121  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
122 
123 
124  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
125 
126 
127  inline DescribeTagsResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
128 
129 
130  inline DescribeTagsResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
131 
132  private:
133 
134  Aws::String m_nextToken;
135 
137 
138  ResponseMetadata m_responseMetadata;
139  };
140 
141 } // namespace Model
142 } // namespace EC2
143 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DescribeTagsResponse::WithResponseMetadata
DescribeTagsResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeTagsResponse.h:127
TagDescription.h
Aws::EC2::Model::DescribeTagsResponse::WithTags
DescribeTagsResponse & WithTags(const Aws::Vector< TagDescription > &value)
Definition: DescribeTagsResponse.h:99
Aws::EC2::Model::DescribeTagsResponse::WithResponseMetadata
DescribeTagsResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeTagsResponse.h:130
Aws::EC2::Model::DescribeTagsResponse
Definition: DescribeTagsResponse.h:31
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::DescribeTagsResponse::AddTags
DescribeTagsResponse & AddTags(TagDescription &&value)
Definition: DescribeTagsResponse.h:114
Aws::EC2::Model::DescribeTagsResponse::AddTags
DescribeTagsResponse & AddTags(const TagDescription &value)
Definition: DescribeTagsResponse.h:109
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DescribeTagsResponse::operator=
DescribeTagsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DescribeTagsResponse::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeTagsResponse.h:54
AWSVector.h
Aws::EC2::Model::DescribeTagsResponse::SetTags
void SetTags(const Aws::Vector< TagDescription > &value)
Definition: DescribeTagsResponse.h:89
Aws::EC2::Model::DescribeTagsResponse::WithNextToken
DescribeTagsResponse & WithNextToken(const char *value)
Definition: DescribeTagsResponse.h:78
Aws::EC2::Model::DescribeTagsResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeTagsResponse.h:121
Aws::EC2::Model::DescribeTagsResponse::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeTagsResponse.h:48
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::DescribeTagsResponse::WithTags
DescribeTagsResponse & WithTags(Aws::Vector< TagDescription > &&value)
Definition: DescribeTagsResponse.h:104
AWSString.h
Aws::EC2::Model::DescribeTagsResponse::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeTagsResponse.h:60
Aws::EC2::Model::TagDescription
Definition: TagDescription.h:33
Aws::EC2::Model::DescribeTagsResponse::DescribeTagsResponse
DescribeTagsResponse()
Aws::EC2::Model::DescribeTagsResponse::DescribeTagsResponse
DescribeTagsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DescribeTagsResponse::WithNextToken
DescribeTagsResponse & WithNextToken(const Aws::String &value)
Definition: DescribeTagsResponse.h:66
Aws::EC2::Model::DescribeTagsResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeTagsResponse.h:118
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeTagsResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeTagsResponse.h:124
Aws::EC2::Model::DescribeTagsResponse::SetTags
void SetTags(Aws::Vector< TagDescription > &&value)
Definition: DescribeTagsResponse.h:94
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
EC2_EXPORTS.h
Aws::EC2::Model::DescribeTagsResponse::GetTags
const Aws::Vector< TagDescription > & GetTags() const
Definition: DescribeTagsResponse.h:84
Aws::EC2::Model::DescribeTagsResponse::WithNextToken
DescribeTagsResponse & WithNextToken(Aws::String &&value)
Definition: DescribeTagsResponse.h:72
Aws::EC2::Model::DescribeTagsResponse::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeTagsResponse.h:42