AWS SDK for C++  1.9.158
AWS SDK for C++
DescribeThemePermissionsResult.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 
40  inline const Aws::String& GetThemeId() const{ return m_themeId; }
41 
45  inline void SetThemeId(const Aws::String& value) { m_themeId = value; }
46 
50  inline void SetThemeId(Aws::String&& value) { m_themeId = std::move(value); }
51 
55  inline void SetThemeId(const char* value) { m_themeId.assign(value); }
56 
60  inline DescribeThemePermissionsResult& WithThemeId(const Aws::String& value) { SetThemeId(value); return *this;}
61 
65  inline DescribeThemePermissionsResult& WithThemeId(Aws::String&& value) { SetThemeId(std::move(value)); return *this;}
66 
70  inline DescribeThemePermissionsResult& WithThemeId(const char* value) { SetThemeId(value); return *this;}
71 
72 
76  inline const Aws::String& GetThemeArn() const{ return m_themeArn; }
77 
81  inline void SetThemeArn(const Aws::String& value) { m_themeArn = value; }
82 
86  inline void SetThemeArn(Aws::String&& value) { m_themeArn = std::move(value); }
87 
91  inline void SetThemeArn(const char* value) { m_themeArn.assign(value); }
92 
96  inline DescribeThemePermissionsResult& WithThemeArn(const Aws::String& value) { SetThemeArn(value); return *this;}
97 
101  inline DescribeThemePermissionsResult& WithThemeArn(Aws::String&& value) { SetThemeArn(std::move(value)); return *this;}
102 
106  inline DescribeThemePermissionsResult& WithThemeArn(const char* value) { SetThemeArn(value); return *this;}
107 
108 
112  inline const Aws::Vector<ResourcePermission>& GetPermissions() const{ return m_permissions; }
113 
117  inline void SetPermissions(const Aws::Vector<ResourcePermission>& value) { m_permissions = value; }
118 
122  inline void SetPermissions(Aws::Vector<ResourcePermission>&& value) { m_permissions = std::move(value); }
123 
127  inline DescribeThemePermissionsResult& WithPermissions(const Aws::Vector<ResourcePermission>& value) { SetPermissions(value); return *this;}
128 
132  inline DescribeThemePermissionsResult& WithPermissions(Aws::Vector<ResourcePermission>&& value) { SetPermissions(std::move(value)); return *this;}
133 
137  inline DescribeThemePermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
138 
142  inline DescribeThemePermissionsResult& AddPermissions(ResourcePermission&& value) { m_permissions.push_back(std::move(value)); return *this; }
143 
144 
148  inline const Aws::String& GetRequestId() const{ return m_requestId; }
149 
153  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
154 
158  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
159 
163  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
164 
168  inline DescribeThemePermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
169 
173  inline DescribeThemePermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
174 
178  inline DescribeThemePermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
179 
180 
184  inline int GetStatus() const{ return m_status; }
185 
189  inline void SetStatus(int value) { m_status = value; }
190 
194  inline DescribeThemePermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
195 
196  private:
197 
198  Aws::String m_themeId;
199 
200  Aws::String m_themeArn;
201 
202  Aws::Vector<ResourcePermission> m_permissions;
203 
204  Aws::String m_requestId;
205 
206  int m_status;
207  };
208 
209 } // namespace Model
210 } // namespace QuickSight
211 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DescribeThemePermissionsResult::SetThemeId
void SetThemeId(const Aws::String &value)
Definition: DescribeThemePermissionsResult.h:45
Aws::QuickSight::Model::DescribeThemePermissionsResult::GetThemeId
const Aws::String & GetThemeId() const
Definition: DescribeThemePermissionsResult.h:40
Aws::QuickSight::Model::DescribeThemePermissionsResult::WithRequestId
DescribeThemePermissionsResult & WithRequestId(Aws::String &&value)
Definition: DescribeThemePermissionsResult.h:173
Aws::QuickSight::Model::DescribeThemePermissionsResult::SetThemeId
void SetThemeId(Aws::String &&value)
Definition: DescribeThemePermissionsResult.h:50
Aws::QuickSight::Model::DescribeThemePermissionsResult::WithRequestId
DescribeThemePermissionsResult & WithRequestId(const Aws::String &value)
Definition: DescribeThemePermissionsResult.h:168
Aws::QuickSight::Model::DescribeThemePermissionsResult::SetThemeArn
void SetThemeArn(const char *value)
Definition: DescribeThemePermissionsResult.h:91
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::DescribeThemePermissionsResult::WithPermissions
DescribeThemePermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: DescribeThemePermissionsResult.h:127
Aws::QuickSight::Model::DescribeThemePermissionsResult::GetThemeArn
const Aws::String & GetThemeArn() const
Definition: DescribeThemePermissionsResult.h:76
Aws::QuickSight::Model::DescribeThemePermissionsResult::AddPermissions
DescribeThemePermissionsResult & AddPermissions(ResourcePermission &&value)
Definition: DescribeThemePermissionsResult.h:142
ResourcePermission.h
AWSVector.h
Aws::QuickSight::Model::DescribeThemePermissionsResult::WithPermissions
DescribeThemePermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: DescribeThemePermissionsResult.h:132
Aws::QuickSight::Model::DescribeThemePermissionsResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: DescribeThemePermissionsResult.h:148
Aws::QuickSight::Model::DescribeThemePermissionsResult::operator=
DescribeThemePermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::DescribeThemePermissionsResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: DescribeThemePermissionsResult.h:153
Aws::QuickSight::Model::DescribeThemePermissionsResult::WithThemeId
DescribeThemePermissionsResult & WithThemeId(const Aws::String &value)
Definition: DescribeThemePermissionsResult.h:60
Aws::QuickSight::Model::ResourcePermission
Definition: ResourcePermission.h:33
Aws::QuickSight::Model::DescribeThemePermissionsResult::WithThemeArn
DescribeThemePermissionsResult & WithThemeArn(const Aws::String &value)
Definition: DescribeThemePermissionsResult.h:96
Aws::QuickSight::Model::DescribeThemePermissionsResult::AddPermissions
DescribeThemePermissionsResult & AddPermissions(const ResourcePermission &value)
Definition: DescribeThemePermissionsResult.h:137
AWSString.h
Aws::QuickSight::Model::DescribeThemePermissionsResult::GetStatus
int GetStatus() const
Definition: DescribeThemePermissionsResult.h:184
Aws::QuickSight::Model::DescribeThemePermissionsResult::SetRequestId
void SetRequestId(const char *value)
Definition: DescribeThemePermissionsResult.h:163
Aws::QuickSight::Model::DescribeThemePermissionsResult::WithThemeArn
DescribeThemePermissionsResult & WithThemeArn(Aws::String &&value)
Definition: DescribeThemePermissionsResult.h:101
Aws::QuickSight::Model::DescribeThemePermissionsResult::SetPermissions
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: DescribeThemePermissionsResult.h:122
Aws::QuickSight::Model::DescribeThemePermissionsResult::SetThemeArn
void SetThemeArn(Aws::String &&value)
Definition: DescribeThemePermissionsResult.h:86
Aws::QuickSight::Model::DescribeThemePermissionsResult
Definition: DescribeThemePermissionsResult.h:30
Aws::QuickSight::Model::DescribeThemePermissionsResult::WithThemeId
DescribeThemePermissionsResult & WithThemeId(const char *value)
Definition: DescribeThemePermissionsResult.h:70
Aws::QuickSight::Model::DescribeThemePermissionsResult::WithRequestId
DescribeThemePermissionsResult & WithRequestId(const char *value)
Definition: DescribeThemePermissionsResult.h:178
Aws::QuickSight::Model::DescribeThemePermissionsResult::SetThemeId
void SetThemeId(const char *value)
Definition: DescribeThemePermissionsResult.h:55
Aws::QuickSight::Model::DescribeThemePermissionsResult::WithThemeArn
DescribeThemePermissionsResult & WithThemeArn(const char *value)
Definition: DescribeThemePermissionsResult.h:106
Aws::QuickSight::Model::DescribeThemePermissionsResult::SetPermissions
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: DescribeThemePermissionsResult.h:117
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws::QuickSight::Model::DescribeThemePermissionsResult::GetPermissions
const Aws::Vector< ResourcePermission > & GetPermissions() const
Definition: DescribeThemePermissionsResult.h:112
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DescribeThemePermissionsResult::DescribeThemePermissionsResult
DescribeThemePermissionsResult()
Aws::QuickSight::Model::DescribeThemePermissionsResult::WithThemeId
DescribeThemePermissionsResult & WithThemeId(Aws::String &&value)
Definition: DescribeThemePermissionsResult.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DescribeThemePermissionsResult::SetThemeArn
void SetThemeArn(const Aws::String &value)
Definition: DescribeThemePermissionsResult.h:81
Aws::QuickSight::Model::DescribeThemePermissionsResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: DescribeThemePermissionsResult.h:158
Aws::QuickSight::Model::DescribeThemePermissionsResult::SetStatus
void SetStatus(int value)
Definition: DescribeThemePermissionsResult.h:189
Aws::QuickSight::Model::DescribeThemePermissionsResult::WithStatus
DescribeThemePermissionsResult & WithStatus(int value)
Definition: DescribeThemePermissionsResult.h:194
Aws::QuickSight::Model::DescribeThemePermissionsResult::DescribeThemePermissionsResult
DescribeThemePermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)