AWS SDK for C++  1.9.160
AWS SDK for C++
ListTagsForDeliveryStreamResult.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 Firehose
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
41  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
42 
48  inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
49 
55  inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
56 
62  inline ListTagsForDeliveryStreamResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
63 
69  inline ListTagsForDeliveryStreamResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
70 
76  inline ListTagsForDeliveryStreamResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
77 
83  inline ListTagsForDeliveryStreamResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
84 
85 
91  inline bool GetHasMoreTags() const{ return m_hasMoreTags; }
92 
98  inline void SetHasMoreTags(bool value) { m_hasMoreTags = value; }
99 
105  inline ListTagsForDeliveryStreamResult& WithHasMoreTags(bool value) { SetHasMoreTags(value); return *this;}
106 
107  private:
108 
109  Aws::Vector<Tag> m_tags;
110 
111  bool m_hasMoreTags;
112  };
113 
114 } // namespace Model
115 } // namespace Firehose
116 } // namespace Aws
Aws::Firehose::Model::ListTagsForDeliveryStreamResult::SetHasMoreTags
void SetHasMoreTags(bool value)
Definition: ListTagsForDeliveryStreamResult.h:98
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Firehose::Model::ListTagsForDeliveryStreamResult::AddTags
ListTagsForDeliveryStreamResult & AddTags(const Tag &value)
Definition: ListTagsForDeliveryStreamResult.h:76
Aws::Firehose::Model::ListTagsForDeliveryStreamResult
Definition: ListTagsForDeliveryStreamResult.h:29
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Firehose::Model::ListTagsForDeliveryStreamResult::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: ListTagsForDeliveryStreamResult.h:48
Aws::Firehose::Model::ListTagsForDeliveryStreamResult::AddTags
ListTagsForDeliveryStreamResult & AddTags(Tag &&value)
Definition: ListTagsForDeliveryStreamResult.h:83
Aws::Firehose::Model::ListTagsForDeliveryStreamResult::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: ListTagsForDeliveryStreamResult.h:55
Aws::Firehose::Model::Tag
Definition: Tag.h:33
Aws::Firehose::Model::ListTagsForDeliveryStreamResult::WithTags
ListTagsForDeliveryStreamResult & WithTags(Aws::Vector< Tag > &&value)
Definition: ListTagsForDeliveryStreamResult.h:69
Aws::Firehose::Model::ListTagsForDeliveryStreamResult::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: ListTagsForDeliveryStreamResult.h:41
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::ListTagsForDeliveryStreamResult::ListTagsForDeliveryStreamResult
ListTagsForDeliveryStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Firehose_EXPORTS.h
Aws::Firehose::Model::ListTagsForDeliveryStreamResult::ListTagsForDeliveryStreamResult
ListTagsForDeliveryStreamResult()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::ListTagsForDeliveryStreamResult::GetHasMoreTags
bool GetHasMoreTags() const
Definition: ListTagsForDeliveryStreamResult.h:91
Aws::Firehose::Model::ListTagsForDeliveryStreamResult::WithHasMoreTags
ListTagsForDeliveryStreamResult & WithHasMoreTags(bool value)
Definition: ListTagsForDeliveryStreamResult.h:105
Aws::Firehose::Model::ListTagsForDeliveryStreamResult::WithTags
ListTagsForDeliveryStreamResult & WithTags(const Aws::Vector< Tag > &value)
Definition: ListTagsForDeliveryStreamResult.h:62
Aws::Firehose::Model::ListTagsForDeliveryStreamResult::operator=
ListTagsForDeliveryStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Tag.h