AWS SDK for C++  1.9.154
AWS SDK for C++
CreateIAMPolicyAssignmentResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace QuickSight
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
42  inline const Aws::String& GetAssignmentName() const{ return m_assignmentName; }
43 
48  inline void SetAssignmentName(const Aws::String& value) { m_assignmentName = value; }
49 
54  inline void SetAssignmentName(Aws::String&& value) { m_assignmentName = std::move(value); }
55 
60  inline void SetAssignmentName(const char* value) { m_assignmentName.assign(value); }
61 
66  inline CreateIAMPolicyAssignmentResult& WithAssignmentName(const Aws::String& value) { SetAssignmentName(value); return *this;}
67 
72  inline CreateIAMPolicyAssignmentResult& WithAssignmentName(Aws::String&& value) { SetAssignmentName(std::move(value)); return *this;}
73 
78  inline CreateIAMPolicyAssignmentResult& WithAssignmentName(const char* value) { SetAssignmentName(value); return *this;}
79 
80 
84  inline const Aws::String& GetAssignmentId() const{ return m_assignmentId; }
85 
89  inline void SetAssignmentId(const Aws::String& value) { m_assignmentId = value; }
90 
94  inline void SetAssignmentId(Aws::String&& value) { m_assignmentId = std::move(value); }
95 
99  inline void SetAssignmentId(const char* value) { m_assignmentId.assign(value); }
100 
104  inline CreateIAMPolicyAssignmentResult& WithAssignmentId(const Aws::String& value) { SetAssignmentId(value); return *this;}
105 
109  inline CreateIAMPolicyAssignmentResult& WithAssignmentId(Aws::String&& value) { SetAssignmentId(std::move(value)); return *this;}
110 
114  inline CreateIAMPolicyAssignmentResult& WithAssignmentId(const char* value) { SetAssignmentId(value); return *this;}
115 
116 
125  inline const AssignmentStatus& GetAssignmentStatus() const{ return m_assignmentStatus; }
126 
135  inline void SetAssignmentStatus(const AssignmentStatus& value) { m_assignmentStatus = value; }
136 
145  inline void SetAssignmentStatus(AssignmentStatus&& value) { m_assignmentStatus = std::move(value); }
146 
155  inline CreateIAMPolicyAssignmentResult& WithAssignmentStatus(const AssignmentStatus& value) { SetAssignmentStatus(value); return *this;}
156 
165  inline CreateIAMPolicyAssignmentResult& WithAssignmentStatus(AssignmentStatus&& value) { SetAssignmentStatus(std::move(value)); return *this;}
166 
167 
172  inline const Aws::String& GetPolicyArn() const{ return m_policyArn; }
173 
178  inline void SetPolicyArn(const Aws::String& value) { m_policyArn = value; }
179 
184  inline void SetPolicyArn(Aws::String&& value) { m_policyArn = std::move(value); }
185 
190  inline void SetPolicyArn(const char* value) { m_policyArn.assign(value); }
191 
196  inline CreateIAMPolicyAssignmentResult& WithPolicyArn(const Aws::String& value) { SetPolicyArn(value); return *this;}
197 
202  inline CreateIAMPolicyAssignmentResult& WithPolicyArn(Aws::String&& value) { SetPolicyArn(std::move(value)); return *this;}
203 
208  inline CreateIAMPolicyAssignmentResult& WithPolicyArn(const char* value) { SetPolicyArn(value); return *this;}
209 
210 
215  inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetIdentities() const{ return m_identities; }
216 
221  inline void SetIdentities(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_identities = value; }
222 
227  inline void SetIdentities(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_identities = std::move(value); }
228 
233  inline CreateIAMPolicyAssignmentResult& WithIdentities(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { SetIdentities(value); return *this;}
234 
239  inline CreateIAMPolicyAssignmentResult& WithIdentities(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { SetIdentities(std::move(value)); return *this;}
240 
245  inline CreateIAMPolicyAssignmentResult& AddIdentities(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_identities.emplace(key, value); return *this; }
246 
251  inline CreateIAMPolicyAssignmentResult& AddIdentities(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_identities.emplace(std::move(key), value); return *this; }
252 
257  inline CreateIAMPolicyAssignmentResult& AddIdentities(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_identities.emplace(key, std::move(value)); return *this; }
258 
263  inline CreateIAMPolicyAssignmentResult& AddIdentities(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_identities.emplace(std::move(key), std::move(value)); return *this; }
264 
269  inline CreateIAMPolicyAssignmentResult& AddIdentities(const char* key, Aws::Vector<Aws::String>&& value) { m_identities.emplace(key, std::move(value)); return *this; }
270 
275  inline CreateIAMPolicyAssignmentResult& AddIdentities(const char* key, const Aws::Vector<Aws::String>& value) { m_identities.emplace(key, value); return *this; }
276 
277 
281  inline const Aws::String& GetRequestId() const{ return m_requestId; }
282 
286  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
287 
291  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
292 
296  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
297 
301  inline CreateIAMPolicyAssignmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
302 
306  inline CreateIAMPolicyAssignmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
307 
311  inline CreateIAMPolicyAssignmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
312 
313 
317  inline int GetStatus() const{ return m_status; }
318 
322  inline void SetStatus(int value) { m_status = value; }
323 
327  inline CreateIAMPolicyAssignmentResult& WithStatus(int value) { SetStatus(value); return *this;}
328 
329  private:
330 
331  Aws::String m_assignmentName;
332 
333  Aws::String m_assignmentId;
334 
335  AssignmentStatus m_assignmentStatus;
336 
337  Aws::String m_policyArn;
338 
340 
341  Aws::String m_requestId;
342 
343  int m_status;
344  };
345 
346 } // namespace Model
347 } // namespace QuickSight
348 } // namespace Aws
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::WithAssignmentStatus
CreateIAMPolicyAssignmentResult & WithAssignmentStatus(AssignmentStatus &&value)
Definition: CreateIAMPolicyAssignmentResult.h:165
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::SetPolicyArn
void SetPolicyArn(const Aws::String &value)
Definition: CreateIAMPolicyAssignmentResult.h:178
QuickSight_EXPORTS.h
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::AddIdentities
CreateIAMPolicyAssignmentResult & AddIdentities(const char *key, const Aws::Vector< Aws::String > &value)
Definition: CreateIAMPolicyAssignmentResult.h:275
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::SetAssignmentName
void SetAssignmentName(Aws::String &&value)
Definition: CreateIAMPolicyAssignmentResult.h:54
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::AddIdentities
CreateIAMPolicyAssignmentResult & AddIdentities(Aws::String &&key, Aws::Vector< Aws::String > &&value)
Definition: CreateIAMPolicyAssignmentResult.h:263
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::WithIdentities
CreateIAMPolicyAssignmentResult & WithIdentities(Aws::Map< Aws::String, Aws::Vector< Aws::String >> &&value)
Definition: CreateIAMPolicyAssignmentResult.h:239
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::SetStatus
void SetStatus(int value)
Definition: CreateIAMPolicyAssignmentResult.h:322
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::WithRequestId
CreateIAMPolicyAssignmentResult & WithRequestId(const Aws::String &value)
Definition: CreateIAMPolicyAssignmentResult.h:301
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: CreateIAMPolicyAssignmentResult.h:281
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::WithAssignmentId
CreateIAMPolicyAssignmentResult & WithAssignmentId(Aws::String &&value)
Definition: CreateIAMPolicyAssignmentResult.h:109
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::GetPolicyArn
const Aws::String & GetPolicyArn() const
Definition: CreateIAMPolicyAssignmentResult.h:172
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::SetAssignmentId
void SetAssignmentId(Aws::String &&value)
Definition: CreateIAMPolicyAssignmentResult.h:94
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::SetRequestId
void SetRequestId(const char *value)
Definition: CreateIAMPolicyAssignmentResult.h:296
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::GetStatus
int GetStatus() const
Definition: CreateIAMPolicyAssignmentResult.h:317
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::AddIdentities
CreateIAMPolicyAssignmentResult & AddIdentities(const char *key, Aws::Vector< Aws::String > &&value)
Definition: CreateIAMPolicyAssignmentResult.h:269
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::WithStatus
CreateIAMPolicyAssignmentResult & WithStatus(int value)
Definition: CreateIAMPolicyAssignmentResult.h:327
AWSVector.h
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::WithAssignmentName
CreateIAMPolicyAssignmentResult & WithAssignmentName(Aws::String &&value)
Definition: CreateIAMPolicyAssignmentResult.h:72
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::operator=
CreateIAMPolicyAssignmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: CreateIAMPolicyAssignmentResult.h:286
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::SetAssignmentName
void SetAssignmentName(const Aws::String &value)
Definition: CreateIAMPolicyAssignmentResult.h:48
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::SetAssignmentId
void SetAssignmentId(const Aws::String &value)
Definition: CreateIAMPolicyAssignmentResult.h:89
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::WithAssignmentStatus
CreateIAMPolicyAssignmentResult & WithAssignmentStatus(const AssignmentStatus &value)
Definition: CreateIAMPolicyAssignmentResult.h:155
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::WithRequestId
CreateIAMPolicyAssignmentResult & WithRequestId(Aws::String &&value)
Definition: CreateIAMPolicyAssignmentResult.h:306
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::SetPolicyArn
void SetPolicyArn(Aws::String &&value)
Definition: CreateIAMPolicyAssignmentResult.h:184
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::GetAssignmentName
const Aws::String & GetAssignmentName() const
Definition: CreateIAMPolicyAssignmentResult.h:42
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::GetAssignmentStatus
const AssignmentStatus & GetAssignmentStatus() const
Definition: CreateIAMPolicyAssignmentResult.h:125
AWSString.h
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::SetAssignmentStatus
void SetAssignmentStatus(const AssignmentStatus &value)
Definition: CreateIAMPolicyAssignmentResult.h:135
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::WithAssignmentName
CreateIAMPolicyAssignmentResult & WithAssignmentName(const char *value)
Definition: CreateIAMPolicyAssignmentResult.h:78
AssignmentStatus.h
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::SetIdentities
void SetIdentities(const Aws::Map< Aws::String, Aws::Vector< Aws::String >> &value)
Definition: CreateIAMPolicyAssignmentResult.h:221
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::WithRequestId
CreateIAMPolicyAssignmentResult & WithRequestId(const char *value)
Definition: CreateIAMPolicyAssignmentResult.h:311
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::WithPolicyArn
CreateIAMPolicyAssignmentResult & WithPolicyArn(Aws::String &&value)
Definition: CreateIAMPolicyAssignmentResult.h:202
Aws::QuickSight::Model::AssignmentStatus
AssignmentStatus
Definition: AssignmentStatus.h:17
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::WithAssignmentId
CreateIAMPolicyAssignmentResult & WithAssignmentId(const Aws::String &value)
Definition: CreateIAMPolicyAssignmentResult.h:104
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::SetAssignmentId
void SetAssignmentId(const char *value)
Definition: CreateIAMPolicyAssignmentResult.h:99
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::AddIdentities
CreateIAMPolicyAssignmentResult & AddIdentities(const Aws::String &key, const Aws::Vector< Aws::String > &value)
Definition: CreateIAMPolicyAssignmentResult.h:245
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::SetAssignmentStatus
void SetAssignmentStatus(AssignmentStatus &&value)
Definition: CreateIAMPolicyAssignmentResult.h:145
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::SetPolicyArn
void SetPolicyArn(const char *value)
Definition: CreateIAMPolicyAssignmentResult.h:190
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::SetIdentities
void SetIdentities(Aws::Map< Aws::String, Aws::Vector< Aws::String >> &&value)
Definition: CreateIAMPolicyAssignmentResult.h:227
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::CreateIAMPolicyAssignmentResult::SetAssignmentName
void SetAssignmentName(const char *value)
Definition: CreateIAMPolicyAssignmentResult.h:60
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::WithAssignmentName
CreateIAMPolicyAssignmentResult & WithAssignmentName(const Aws::String &value)
Definition: CreateIAMPolicyAssignmentResult.h:66
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::AddIdentities
CreateIAMPolicyAssignmentResult & AddIdentities(const Aws::String &key, Aws::Vector< Aws::String > &&value)
Definition: CreateIAMPolicyAssignmentResult.h:257
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::WithIdentities
CreateIAMPolicyAssignmentResult & WithIdentities(const Aws::Map< Aws::String, Aws::Vector< Aws::String >> &value)
Definition: CreateIAMPolicyAssignmentResult.h:233
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::AddIdentities
CreateIAMPolicyAssignmentResult & AddIdentities(Aws::String &&key, const Aws::Vector< Aws::String > &value)
Definition: CreateIAMPolicyAssignmentResult.h:251
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: CreateIAMPolicyAssignmentResult.h:291
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::CreateIAMPolicyAssignmentResult
CreateIAMPolicyAssignmentResult()
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::WithPolicyArn
CreateIAMPolicyAssignmentResult & WithPolicyArn(const char *value)
Definition: CreateIAMPolicyAssignmentResult.h:208
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::CreateIAMPolicyAssignmentResult
CreateIAMPolicyAssignmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::GetIdentities
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetIdentities() const
Definition: CreateIAMPolicyAssignmentResult.h:215
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::WithAssignmentId
CreateIAMPolicyAssignmentResult & WithAssignmentId(const char *value)
Definition: CreateIAMPolicyAssignmentResult.h:114
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::WithPolicyArn
CreateIAMPolicyAssignmentResult & WithPolicyArn(const Aws::String &value)
Definition: CreateIAMPolicyAssignmentResult.h:196
AWSMap.h
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult::GetAssignmentId
const Aws::String & GetAssignmentId() const
Definition: CreateIAMPolicyAssignmentResult.h:84
Aws::QuickSight::Model::CreateIAMPolicyAssignmentResult
Definition: CreateIAMPolicyAssignmentResult.h:31
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19