AWS SDK for C++  1.9.154
AWS SDK for C++
UpdateIAMPolicyAssignmentResult.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 
41  inline const Aws::String& GetAssignmentName() const{ return m_assignmentName; }
42 
46  inline void SetAssignmentName(const Aws::String& value) { m_assignmentName = value; }
47 
51  inline void SetAssignmentName(Aws::String&& value) { m_assignmentName = std::move(value); }
52 
56  inline void SetAssignmentName(const char* value) { m_assignmentName.assign(value); }
57 
61  inline UpdateIAMPolicyAssignmentResult& WithAssignmentName(const Aws::String& value) { SetAssignmentName(value); return *this;}
62 
66  inline UpdateIAMPolicyAssignmentResult& WithAssignmentName(Aws::String&& value) { SetAssignmentName(std::move(value)); return *this;}
67 
71  inline UpdateIAMPolicyAssignmentResult& WithAssignmentName(const char* value) { SetAssignmentName(value); return *this;}
72 
73 
77  inline const Aws::String& GetAssignmentId() const{ return m_assignmentId; }
78 
82  inline void SetAssignmentId(const Aws::String& value) { m_assignmentId = value; }
83 
87  inline void SetAssignmentId(Aws::String&& value) { m_assignmentId = std::move(value); }
88 
92  inline void SetAssignmentId(const char* value) { m_assignmentId.assign(value); }
93 
97  inline UpdateIAMPolicyAssignmentResult& WithAssignmentId(const Aws::String& value) { SetAssignmentId(value); return *this;}
98 
102  inline UpdateIAMPolicyAssignmentResult& WithAssignmentId(Aws::String&& value) { SetAssignmentId(std::move(value)); return *this;}
103 
107  inline UpdateIAMPolicyAssignmentResult& WithAssignmentId(const char* value) { SetAssignmentId(value); return *this;}
108 
109 
114  inline const Aws::String& GetPolicyArn() const{ return m_policyArn; }
115 
120  inline void SetPolicyArn(const Aws::String& value) { m_policyArn = value; }
121 
126  inline void SetPolicyArn(Aws::String&& value) { m_policyArn = std::move(value); }
127 
132  inline void SetPolicyArn(const char* value) { m_policyArn.assign(value); }
133 
138  inline UpdateIAMPolicyAssignmentResult& WithPolicyArn(const Aws::String& value) { SetPolicyArn(value); return *this;}
139 
144  inline UpdateIAMPolicyAssignmentResult& WithPolicyArn(Aws::String&& value) { SetPolicyArn(std::move(value)); return *this;}
145 
150  inline UpdateIAMPolicyAssignmentResult& WithPolicyArn(const char* value) { SetPolicyArn(value); return *this;}
151 
152 
157  inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetIdentities() const{ return m_identities; }
158 
163  inline void SetIdentities(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_identities = value; }
164 
169  inline void SetIdentities(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_identities = std::move(value); }
170 
175  inline UpdateIAMPolicyAssignmentResult& WithIdentities(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { SetIdentities(value); return *this;}
176 
181  inline UpdateIAMPolicyAssignmentResult& WithIdentities(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { SetIdentities(std::move(value)); return *this;}
182 
187  inline UpdateIAMPolicyAssignmentResult& AddIdentities(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_identities.emplace(key, value); return *this; }
188 
193  inline UpdateIAMPolicyAssignmentResult& AddIdentities(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_identities.emplace(std::move(key), value); return *this; }
194 
199  inline UpdateIAMPolicyAssignmentResult& AddIdentities(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_identities.emplace(key, std::move(value)); return *this; }
200 
205  inline UpdateIAMPolicyAssignmentResult& AddIdentities(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_identities.emplace(std::move(key), std::move(value)); return *this; }
206 
211  inline UpdateIAMPolicyAssignmentResult& AddIdentities(const char* key, Aws::Vector<Aws::String>&& value) { m_identities.emplace(key, std::move(value)); return *this; }
212 
217  inline UpdateIAMPolicyAssignmentResult& AddIdentities(const char* key, const Aws::Vector<Aws::String>& value) { m_identities.emplace(key, value); return *this; }
218 
219 
228  inline const AssignmentStatus& GetAssignmentStatus() const{ return m_assignmentStatus; }
229 
238  inline void SetAssignmentStatus(const AssignmentStatus& value) { m_assignmentStatus = value; }
239 
248  inline void SetAssignmentStatus(AssignmentStatus&& value) { m_assignmentStatus = std::move(value); }
249 
258  inline UpdateIAMPolicyAssignmentResult& WithAssignmentStatus(const AssignmentStatus& value) { SetAssignmentStatus(value); return *this;}
259 
268  inline UpdateIAMPolicyAssignmentResult& WithAssignmentStatus(AssignmentStatus&& value) { SetAssignmentStatus(std::move(value)); return *this;}
269 
270 
274  inline const Aws::String& GetRequestId() const{ return m_requestId; }
275 
279  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
280 
284  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
285 
289  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
290 
294  inline UpdateIAMPolicyAssignmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
295 
299  inline UpdateIAMPolicyAssignmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
300 
304  inline UpdateIAMPolicyAssignmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
305 
306 
310  inline int GetStatus() const{ return m_status; }
311 
315  inline void SetStatus(int value) { m_status = value; }
316 
320  inline UpdateIAMPolicyAssignmentResult& WithStatus(int value) { SetStatus(value); return *this;}
321 
322  private:
323 
324  Aws::String m_assignmentName;
325 
326  Aws::String m_assignmentId;
327 
328  Aws::String m_policyArn;
329 
331 
332  AssignmentStatus m_assignmentStatus;
333 
334  Aws::String m_requestId;
335 
336  int m_status;
337  };
338 
339 } // namespace Model
340 } // namespace QuickSight
341 } // namespace Aws
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::SetAssignmentId
void SetAssignmentId(const char *value)
Definition: UpdateIAMPolicyAssignmentResult.h:92
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::WithAssignmentName
UpdateIAMPolicyAssignmentResult & WithAssignmentName(Aws::String &&value)
Definition: UpdateIAMPolicyAssignmentResult.h:66
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::AddIdentities
UpdateIAMPolicyAssignmentResult & AddIdentities(const Aws::String &key, Aws::Vector< Aws::String > &&value)
Definition: UpdateIAMPolicyAssignmentResult.h:199
QuickSight_EXPORTS.h
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::AddIdentities
UpdateIAMPolicyAssignmentResult & AddIdentities(const Aws::String &key, const Aws::Vector< Aws::String > &value)
Definition: UpdateIAMPolicyAssignmentResult.h:187
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::WithStatus
UpdateIAMPolicyAssignmentResult & WithStatus(int value)
Definition: UpdateIAMPolicyAssignmentResult.h:320
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult
Definition: UpdateIAMPolicyAssignmentResult.h:31
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::SetIdentities
void SetIdentities(const Aws::Map< Aws::String, Aws::Vector< Aws::String >> &value)
Definition: UpdateIAMPolicyAssignmentResult.h:163
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::SetAssignmentName
void SetAssignmentName(const char *value)
Definition: UpdateIAMPolicyAssignmentResult.h:56
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::WithAssignmentStatus
UpdateIAMPolicyAssignmentResult & WithAssignmentStatus(AssignmentStatus &&value)
Definition: UpdateIAMPolicyAssignmentResult.h:268
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::AddIdentities
UpdateIAMPolicyAssignmentResult & AddIdentities(const char *key, const Aws::Vector< Aws::String > &value)
Definition: UpdateIAMPolicyAssignmentResult.h:217
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::operator=
UpdateIAMPolicyAssignmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::WithRequestId
UpdateIAMPolicyAssignmentResult & WithRequestId(Aws::String &&value)
Definition: UpdateIAMPolicyAssignmentResult.h:299
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::WithAssignmentId
UpdateIAMPolicyAssignmentResult & WithAssignmentId(Aws::String &&value)
Definition: UpdateIAMPolicyAssignmentResult.h:102
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::GetIdentities
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetIdentities() const
Definition: UpdateIAMPolicyAssignmentResult.h:157
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::SetAssignmentStatus
void SetAssignmentStatus(AssignmentStatus &&value)
Definition: UpdateIAMPolicyAssignmentResult.h:248
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::SetPolicyArn
void SetPolicyArn(const char *value)
Definition: UpdateIAMPolicyAssignmentResult.h:132
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::UpdateIAMPolicyAssignmentResult
UpdateIAMPolicyAssignmentResult()
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::WithIdentities
UpdateIAMPolicyAssignmentResult & WithIdentities(Aws::Map< Aws::String, Aws::Vector< Aws::String >> &&value)
Definition: UpdateIAMPolicyAssignmentResult.h:181
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::SetAssignmentName
void SetAssignmentName(const Aws::String &value)
Definition: UpdateIAMPolicyAssignmentResult.h:46
AWSVector.h
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::WithRequestId
UpdateIAMPolicyAssignmentResult & WithRequestId(const char *value)
Definition: UpdateIAMPolicyAssignmentResult.h:304
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::GetAssignmentId
const Aws::String & GetAssignmentId() const
Definition: UpdateIAMPolicyAssignmentResult.h:77
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::WithAssignmentName
UpdateIAMPolicyAssignmentResult & WithAssignmentName(const char *value)
Definition: UpdateIAMPolicyAssignmentResult.h:71
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::GetStatus
int GetStatus() const
Definition: UpdateIAMPolicyAssignmentResult.h:310
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::SetAssignmentId
void SetAssignmentId(const Aws::String &value)
Definition: UpdateIAMPolicyAssignmentResult.h:82
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::GetPolicyArn
const Aws::String & GetPolicyArn() const
Definition: UpdateIAMPolicyAssignmentResult.h:114
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::WithAssignmentName
UpdateIAMPolicyAssignmentResult & WithAssignmentName(const Aws::String &value)
Definition: UpdateIAMPolicyAssignmentResult.h:61
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::SetStatus
void SetStatus(int value)
Definition: UpdateIAMPolicyAssignmentResult.h:315
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::SetAssignmentStatus
void SetAssignmentStatus(const AssignmentStatus &value)
Definition: UpdateIAMPolicyAssignmentResult.h:238
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: UpdateIAMPolicyAssignmentResult.h:274
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::WithAssignmentStatus
UpdateIAMPolicyAssignmentResult & WithAssignmentStatus(const AssignmentStatus &value)
Definition: UpdateIAMPolicyAssignmentResult.h:258
AWSString.h
AssignmentStatus.h
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::SetAssignmentId
void SetAssignmentId(Aws::String &&value)
Definition: UpdateIAMPolicyAssignmentResult.h:87
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::AddIdentities
UpdateIAMPolicyAssignmentResult & AddIdentities(Aws::String &&key, Aws::Vector< Aws::String > &&value)
Definition: UpdateIAMPolicyAssignmentResult.h:205
Aws::QuickSight::Model::AssignmentStatus
AssignmentStatus
Definition: AssignmentStatus.h:17
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: UpdateIAMPolicyAssignmentResult.h:284
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::GetAssignmentName
const Aws::String & GetAssignmentName() const
Definition: UpdateIAMPolicyAssignmentResult.h:41
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::WithPolicyArn
UpdateIAMPolicyAssignmentResult & WithPolicyArn(const char *value)
Definition: UpdateIAMPolicyAssignmentResult.h:150
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::WithPolicyArn
UpdateIAMPolicyAssignmentResult & WithPolicyArn(Aws::String &&value)
Definition: UpdateIAMPolicyAssignmentResult.h:144
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: UpdateIAMPolicyAssignmentResult.h:279
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::WithAssignmentId
UpdateIAMPolicyAssignmentResult & WithAssignmentId(const char *value)
Definition: UpdateIAMPolicyAssignmentResult.h:107
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::GetAssignmentStatus
const AssignmentStatus & GetAssignmentStatus() const
Definition: UpdateIAMPolicyAssignmentResult.h:228
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::SetIdentities
void SetIdentities(Aws::Map< Aws::String, Aws::Vector< Aws::String >> &&value)
Definition: UpdateIAMPolicyAssignmentResult.h:169
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::WithPolicyArn
UpdateIAMPolicyAssignmentResult & WithPolicyArn(const Aws::String &value)
Definition: UpdateIAMPolicyAssignmentResult.h:138
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::UpdateIAMPolicyAssignmentResult::SetAssignmentName
void SetAssignmentName(Aws::String &&value)
Definition: UpdateIAMPolicyAssignmentResult.h:51
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::SetPolicyArn
void SetPolicyArn(Aws::String &&value)
Definition: UpdateIAMPolicyAssignmentResult.h:126
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::WithRequestId
UpdateIAMPolicyAssignmentResult & WithRequestId(const Aws::String &value)
Definition: UpdateIAMPolicyAssignmentResult.h:294
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::WithIdentities
UpdateIAMPolicyAssignmentResult & WithIdentities(const Aws::Map< Aws::String, Aws::Vector< Aws::String >> &value)
Definition: UpdateIAMPolicyAssignmentResult.h:175
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::AddIdentities
UpdateIAMPolicyAssignmentResult & AddIdentities(const char *key, Aws::Vector< Aws::String > &&value)
Definition: UpdateIAMPolicyAssignmentResult.h:211
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::AddIdentities
UpdateIAMPolicyAssignmentResult & AddIdentities(Aws::String &&key, const Aws::Vector< Aws::String > &value)
Definition: UpdateIAMPolicyAssignmentResult.h:193
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::UpdateIAMPolicyAssignmentResult
UpdateIAMPolicyAssignmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::SetPolicyArn
void SetPolicyArn(const Aws::String &value)
Definition: UpdateIAMPolicyAssignmentResult.h:120
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::WithAssignmentId
UpdateIAMPolicyAssignmentResult & WithAssignmentId(const Aws::String &value)
Definition: UpdateIAMPolicyAssignmentResult.h:97
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::QuickSight::Model::UpdateIAMPolicyAssignmentResult::SetRequestId
void SetRequestId(const char *value)
Definition: UpdateIAMPolicyAssignmentResult.h:289