AWS SDK for C++  1.9.158
AWS SDK for C++
ListTagsForResourceResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace QuickSight
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
42 
47  inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
48 
53  inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
54 
59  inline ListTagsForResourceResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
60 
65  inline ListTagsForResourceResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
66 
71  inline ListTagsForResourceResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
72 
77  inline ListTagsForResourceResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
78 
79 
83  inline const Aws::String& GetRequestId() const{ return m_requestId; }
84 
88  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
89 
93  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
94 
98  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
99 
103  inline ListTagsForResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
104 
108  inline ListTagsForResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
109 
113  inline ListTagsForResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
114 
115 
119  inline int GetStatus() const{ return m_status; }
120 
124  inline void SetStatus(int value) { m_status = value; }
125 
129  inline ListTagsForResourceResult& WithStatus(int value) { SetStatus(value); return *this;}
130 
131  private:
132 
133  Aws::Vector<Tag> m_tags;
134 
135  Aws::String m_requestId;
136 
137  int m_status;
138  };
139 
140 } // namespace Model
141 } // namespace QuickSight
142 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::QuickSight::Model::ListTagsForResourceResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: ListTagsForResourceResult.h:88
Tag.h
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ListTagsForResourceResult::WithRequestId
ListTagsForResourceResult & WithRequestId(const char *value)
Definition: ListTagsForResourceResult.h:113
Aws::QuickSight::Model::ListTagsForResourceResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: ListTagsForResourceResult.h:83
Aws::QuickSight::Model::Tag
Definition: Tag.h:33
Aws::QuickSight::Model::ListTagsForResourceResult::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: ListTagsForResourceResult.h:47
Aws::QuickSight::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::ListTagsForResourceResult::operator=
ListTagsForResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::ListTagsForResourceResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: ListTagsForResourceResult.h:93
AWSVector.h
Aws::QuickSight::Model::ListTagsForResourceResult::WithStatus
ListTagsForResourceResult & WithStatus(int value)
Definition: ListTagsForResourceResult.h:129
Aws::QuickSight::Model::ListTagsForResourceResult::GetStatus
int GetStatus() const
Definition: ListTagsForResourceResult.h:119
Aws::QuickSight::Model::ListTagsForResourceResult::WithTags
ListTagsForResourceResult & WithTags(Aws::Vector< Tag > &&value)
Definition: ListTagsForResourceResult.h:65
Aws::QuickSight::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(const Tag &value)
Definition: ListTagsForResourceResult.h:71
Aws::QuickSight::Model::ListTagsForResourceResult::WithRequestId
ListTagsForResourceResult & WithRequestId(const Aws::String &value)
Definition: ListTagsForResourceResult.h:103
Aws::QuickSight::Model::ListTagsForResourceResult::WithTags
ListTagsForResourceResult & WithTags(const Aws::Vector< Tag > &value)
Definition: ListTagsForResourceResult.h:59
Aws::QuickSight::Model::ListTagsForResourceResult::SetRequestId
void SetRequestId(const char *value)
Definition: ListTagsForResourceResult.h:98
AWSString.h
Aws::QuickSight::Model::ListTagsForResourceResult::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: ListTagsForResourceResult.h:53
Aws::QuickSight::Model::ListTagsForResourceResult
Definition: ListTagsForResourceResult.h:30
Aws::QuickSight::Model::ListTagsForResourceResult::SetStatus
void SetStatus(int value)
Definition: ListTagsForResourceResult.h:124
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::ListTagsForResourceResult::WithRequestId
ListTagsForResourceResult & WithRequestId(Aws::String &&value)
Definition: ListTagsForResourceResult.h:108
Aws::QuickSight::Model::ListTagsForResourceResult::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: ListTagsForResourceResult.h:41
Aws::QuickSight::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(Tag &&value)
Definition: ListTagsForResourceResult.h:77