AWS SDK for C++  1.9.154
AWS SDK for C++
UpdateThemePermissionsResult.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 UpdateThemePermissionsResult& WithThemeId(const Aws::String& value) { SetThemeId(value); return *this;}
61 
65  inline UpdateThemePermissionsResult& WithThemeId(Aws::String&& value) { SetThemeId(std::move(value)); return *this;}
66 
70  inline UpdateThemePermissionsResult& 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 UpdateThemePermissionsResult& WithThemeArn(const Aws::String& value) { SetThemeArn(value); return *this;}
97 
101  inline UpdateThemePermissionsResult& WithThemeArn(Aws::String&& value) { SetThemeArn(std::move(value)); return *this;}
102 
106  inline UpdateThemePermissionsResult& 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 UpdateThemePermissionsResult& WithPermissions(const Aws::Vector<ResourcePermission>& value) { SetPermissions(value); return *this;}
128 
132  inline UpdateThemePermissionsResult& WithPermissions(Aws::Vector<ResourcePermission>&& value) { SetPermissions(std::move(value)); return *this;}
133 
137  inline UpdateThemePermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
138 
142  inline UpdateThemePermissionsResult& 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 UpdateThemePermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
169 
173  inline UpdateThemePermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
174 
178  inline UpdateThemePermissionsResult& 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 UpdateThemePermissionsResult& 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::QuickSight::Model::UpdateThemePermissionsResult::SetThemeId
void SetThemeId(const Aws::String &value)
Definition: UpdateThemePermissionsResult.h:45
Aws::QuickSight::Model::UpdateThemePermissionsResult::AddPermissions
UpdateThemePermissionsResult & AddPermissions(ResourcePermission &&value)
Definition: UpdateThemePermissionsResult.h:142
Aws::QuickSight::Model::UpdateThemePermissionsResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: UpdateThemePermissionsResult.h:153
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::QuickSight::Model::UpdateThemePermissionsResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: UpdateThemePermissionsResult.h:158
Aws::QuickSight::Model::UpdateThemePermissionsResult::operator=
UpdateThemePermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
QuickSight_EXPORTS.h
Aws::QuickSight::Model::UpdateThemePermissionsResult::SetThemeArn
void SetThemeArn(Aws::String &&value)
Definition: UpdateThemePermissionsResult.h:86
Aws::QuickSight::Model::UpdateThemePermissionsResult::SetThemeId
void SetThemeId(const char *value)
Definition: UpdateThemePermissionsResult.h:55
Aws::QuickSight::Model::UpdateThemePermissionsResult::SetStatus
void SetStatus(int value)
Definition: UpdateThemePermissionsResult.h:189
Aws::QuickSight::Model::UpdateThemePermissionsResult::WithRequestId
UpdateThemePermissionsResult & WithRequestId(const Aws::String &value)
Definition: UpdateThemePermissionsResult.h:168
Aws::QuickSight::Model::UpdateThemePermissionsResult::WithPermissions
UpdateThemePermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: UpdateThemePermissionsResult.h:127
Aws::QuickSight::Model::UpdateThemePermissionsResult::WithThemeArn
UpdateThemePermissionsResult & WithThemeArn(const char *value)
Definition: UpdateThemePermissionsResult.h:106
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::UpdateThemePermissionsResult::SetPermissions
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: UpdateThemePermissionsResult.h:117
Aws::QuickSight::Model::UpdateThemePermissionsResult::WithStatus
UpdateThemePermissionsResult & WithStatus(int value)
Definition: UpdateThemePermissionsResult.h:194
Aws::QuickSight::Model::UpdateThemePermissionsResult::WithThemeId
UpdateThemePermissionsResult & WithThemeId(const char *value)
Definition: UpdateThemePermissionsResult.h:70
ResourcePermission.h
AWSVector.h
Aws::QuickSight::Model::UpdateThemePermissionsResult::GetThemeArn
const Aws::String & GetThemeArn() const
Definition: UpdateThemePermissionsResult.h:76
Aws::QuickSight::Model::UpdateThemePermissionsResult::SetPermissions
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: UpdateThemePermissionsResult.h:122
Aws::QuickSight::Model::UpdateThemePermissionsResult::WithRequestId
UpdateThemePermissionsResult & WithRequestId(Aws::String &&value)
Definition: UpdateThemePermissionsResult.h:173
Aws::QuickSight::Model::UpdateThemePermissionsResult::GetPermissions
const Aws::Vector< ResourcePermission > & GetPermissions() const
Definition: UpdateThemePermissionsResult.h:112
Aws::QuickSight::Model::ResourcePermission
Definition: ResourcePermission.h:33
Aws::QuickSight::Model::UpdateThemePermissionsResult::WithThemeArn
UpdateThemePermissionsResult & WithThemeArn(const Aws::String &value)
Definition: UpdateThemePermissionsResult.h:96
Aws::QuickSight::Model::UpdateThemePermissionsResult::SetThemeArn
void SetThemeArn(const Aws::String &value)
Definition: UpdateThemePermissionsResult.h:81
Aws::QuickSight::Model::UpdateThemePermissionsResult::SetRequestId
void SetRequestId(const char *value)
Definition: UpdateThemePermissionsResult.h:163
Aws::QuickSight::Model::UpdateThemePermissionsResult::WithRequestId
UpdateThemePermissionsResult & WithRequestId(const char *value)
Definition: UpdateThemePermissionsResult.h:178
AWSString.h
Aws::QuickSight::Model::UpdateThemePermissionsResult::UpdateThemePermissionsResult
UpdateThemePermissionsResult()
Aws::QuickSight::Model::UpdateThemePermissionsResult::UpdateThemePermissionsResult
UpdateThemePermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::UpdateThemePermissionsResult::WithThemeArn
UpdateThemePermissionsResult & WithThemeArn(Aws::String &&value)
Definition: UpdateThemePermissionsResult.h:101
Aws::QuickSight::Model::UpdateThemePermissionsResult::SetThemeArn
void SetThemeArn(const char *value)
Definition: UpdateThemePermissionsResult.h:91
Aws::QuickSight::Model::UpdateThemePermissionsResult::GetThemeId
const Aws::String & GetThemeId() const
Definition: UpdateThemePermissionsResult.h:40
Aws::QuickSight::Model::UpdateThemePermissionsResult::AddPermissions
UpdateThemePermissionsResult & AddPermissions(const ResourcePermission &value)
Definition: UpdateThemePermissionsResult.h:137
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::QuickSight::Model::UpdateThemePermissionsResult
Definition: UpdateThemePermissionsResult.h:30
Aws::QuickSight::Model::UpdateThemePermissionsResult::WithPermissions
UpdateThemePermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: UpdateThemePermissionsResult.h:132
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::UpdateThemePermissionsResult::GetStatus
int GetStatus() const
Definition: UpdateThemePermissionsResult.h:184
Aws::QuickSight::Model::UpdateThemePermissionsResult::WithThemeId
UpdateThemePermissionsResult & WithThemeId(const Aws::String &value)
Definition: UpdateThemePermissionsResult.h:60
Aws::QuickSight::Model::UpdateThemePermissionsResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: UpdateThemePermissionsResult.h:148
Aws::QuickSight::Model::UpdateThemePermissionsResult::WithThemeId
UpdateThemePermissionsResult & WithThemeId(Aws::String &&value)
Definition: UpdateThemePermissionsResult.h:65
Aws::QuickSight::Model::UpdateThemePermissionsResult::SetThemeId
void SetThemeId(Aws::String &&value)
Definition: UpdateThemePermissionsResult.h:50