AWS SDK for C++  1.9.110
AWS SDK for C++
DescribeTagsResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 Redshift
27 {
28 namespace Model
29 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<TaggedResource>& GetTaggedResources() const{ return m_taggedResources; }
47 
51  inline void SetTaggedResources(const Aws::Vector<TaggedResource>& value) { m_taggedResources = value; }
52 
56  inline void SetTaggedResources(Aws::Vector<TaggedResource>&& value) { m_taggedResources = std::move(value); }
57 
61  inline DescribeTagsResult& WithTaggedResources(const Aws::Vector<TaggedResource>& value) { SetTaggedResources(value); return *this;}
62 
66  inline DescribeTagsResult& WithTaggedResources(Aws::Vector<TaggedResource>&& value) { SetTaggedResources(std::move(value)); return *this;}
67 
71  inline DescribeTagsResult& AddTaggedResources(const TaggedResource& value) { m_taggedResources.push_back(value); return *this; }
72 
76  inline DescribeTagsResult& AddTaggedResources(TaggedResource&& value) { m_taggedResources.push_back(std::move(value)); return *this; }
77 
78 
87  inline const Aws::String& GetMarker() const{ return m_marker; }
88 
97  inline void SetMarker(const Aws::String& value) { m_marker = value; }
98 
107  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
108 
117  inline void SetMarker(const char* value) { m_marker.assign(value); }
118 
127  inline DescribeTagsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
128 
137  inline DescribeTagsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
138 
147  inline DescribeTagsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
148 
149 
150 
151  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
152 
153 
154  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
155 
156 
157  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
158 
159 
160  inline DescribeTagsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
161 
162 
163  inline DescribeTagsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
164 
165  private:
166 
167  Aws::Vector<TaggedResource> m_taggedResources;
168 
169  Aws::String m_marker;
170 
171  ResponseMetadata m_responseMetadata;
172  };
173 
174 } // namespace Model
175 } // namespace Redshift
176 } // namespace Aws
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::DescribeTagsResult::operator=
DescribeTagsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeTagsResult
Definition: DescribeTagsResult.h:36
Aws::Redshift::Model::DescribeTagsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeTagsResult.h:154
Aws::Redshift::Model::DescribeTagsResult::WithResponseMetadata
DescribeTagsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeTagsResult.h:160
Aws::Redshift::Model::DescribeTagsResult::WithTaggedResources
DescribeTagsResult & WithTaggedResources(Aws::Vector< TaggedResource > &&value)
Definition: DescribeTagsResult.h:66
Aws::Redshift::Model::DescribeTagsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeTagsResult.h:117
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Redshift::Model::DescribeTagsResult::GetTaggedResources
const Aws::Vector< TaggedResource > & GetTaggedResources() const
Definition: DescribeTagsResult.h:46
Aws::Redshift::Model::DescribeTagsResult::SetTaggedResources
void SetTaggedResources(const Aws::Vector< TaggedResource > &value)
Definition: DescribeTagsResult.h:51
Aws::Redshift::Model::DescribeTagsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeTagsResult.h:151
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeTagsResult::WithMarker
DescribeTagsResult & WithMarker(const char *value)
Definition: DescribeTagsResult.h:147
AWSString.h
Aws::Redshift::Model::DescribeTagsResult::AddTaggedResources
DescribeTagsResult & AddTaggedResources(const TaggedResource &value)
Definition: DescribeTagsResult.h:71
Aws::Redshift::Model::DescribeTagsResult::WithMarker
DescribeTagsResult & WithMarker(const Aws::String &value)
Definition: DescribeTagsResult.h:127
Aws::Redshift::Model::DescribeTagsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeTagsResult.h:97
Aws::Redshift::Model::DescribeTagsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeTagsResult.h:107
TaggedResource.h
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribeTagsResult::DescribeTagsResult
DescribeTagsResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::TaggedResource
Definition: TaggedResource.h:33
Aws::Redshift::Model::DescribeTagsResult::DescribeTagsResult
DescribeTagsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeTagsResult::WithTaggedResources
DescribeTagsResult & WithTaggedResources(const Aws::Vector< TaggedResource > &value)
Definition: DescribeTagsResult.h:61
Aws::Redshift::Model::DescribeTagsResult::AddTaggedResources
DescribeTagsResult & AddTaggedResources(TaggedResource &&value)
Definition: DescribeTagsResult.h:76
ResponseMetadata.h
Aws::Redshift::Model::DescribeTagsResult::WithResponseMetadata
DescribeTagsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeTagsResult.h:163
Aws::Redshift::Model::DescribeTagsResult::SetTaggedResources
void SetTaggedResources(Aws::Vector< TaggedResource > &&value)
Definition: DescribeTagsResult.h:56
Aws::Redshift::Model::DescribeTagsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeTagsResult.h:87
Aws::Redshift::Model::DescribeTagsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeTagsResult.h:157
Aws::Redshift::Model::DescribeTagsResult::WithMarker
DescribeTagsResult & WithMarker(Aws::String &&value)
Definition: DescribeTagsResult.h:137