AWS SDK for C++  1.9.104
AWS SDK for C++
ListTagsForStreamResult.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 Kinesis
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
47  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
48 
54  inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
55 
61  inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
62 
68  inline ListTagsForStreamResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
69 
75  inline ListTagsForStreamResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
76 
82  inline ListTagsForStreamResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
83 
89  inline ListTagsForStreamResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
90 
91 
97  inline bool GetHasMoreTags() const{ return m_hasMoreTags; }
98 
104  inline void SetHasMoreTags(bool value) { m_hasMoreTags = value; }
105 
111  inline ListTagsForStreamResult& WithHasMoreTags(bool value) { SetHasMoreTags(value); return *this;}
112 
113  private:
114 
115  Aws::Vector<Tag> m_tags;
116 
117  bool m_hasMoreTags;
118  };
119 
120 } // namespace Model
121 } // namespace Kinesis
122 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kinesis::Model::ListTagsForStreamResult::AddTags
ListTagsForStreamResult & AddTags(Tag &&value)
Definition: ListTagsForStreamResult.h:89
Aws::Kinesis::Model::ListTagsForStreamResult::WithTags
ListTagsForStreamResult & WithTags(const Aws::Vector< Tag > &value)
Definition: ListTagsForStreamResult.h:68
Aws::Kinesis::Model::ListTagsForStreamResult::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: ListTagsForStreamResult.h:54
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Kinesis::Model::ListTagsForStreamResult::ListTagsForStreamResult
ListTagsForStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kinesis::Model::ListTagsForStreamResult::SetHasMoreTags
void SetHasMoreTags(bool value)
Definition: ListTagsForStreamResult.h:104
AWSVector.h
AWS_KINESIS_API
#define AWS_KINESIS_API
Definition: Kinesis_EXPORTS.h:28
Aws::Kinesis::Model::ListTagsForStreamResult::ListTagsForStreamResult
ListTagsForStreamResult()
Aws::Kinesis::Model::ListTagsForStreamResult
Definition: ListTagsForStreamResult.h:35
Aws::Kinesis::Model::Tag
Definition: Tag.h:33
Aws::Kinesis::Model::ListTagsForStreamResult::AddTags
ListTagsForStreamResult & AddTags(const Tag &value)
Definition: ListTagsForStreamResult.h:82
Tag.h
Kinesis_EXPORTS.h
Aws::Kinesis::Model::ListTagsForStreamResult::WithHasMoreTags
ListTagsForStreamResult & WithHasMoreTags(bool value)
Definition: ListTagsForStreamResult.h:111
Aws::Kinesis::Model::ListTagsForStreamResult::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: ListTagsForStreamResult.h:61
Aws::Kinesis::Model::ListTagsForStreamResult::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: ListTagsForStreamResult.h:47
Aws
Definition: AccessManagementClient.h:15
Aws::Kinesis::Model::ListTagsForStreamResult::operator=
ListTagsForStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kinesis::Model::ListTagsForStreamResult::GetHasMoreTags
bool GetHasMoreTags() const
Definition: ListTagsForStreamResult.h:97
Aws::Kinesis::Model::ListTagsForStreamResult::WithTags
ListTagsForStreamResult & WithTags(Aws::Vector< Tag > &&value)
Definition: ListTagsForStreamResult.h:75