AWS SDK for C++  1.9.158
AWS SDK for C++
ListIAMPolicyAssignmentsResult.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::Vector<IAMPolicyAssignmentSummary>& GetIAMPolicyAssignments() const{ return m_iAMPolicyAssignments; }
41 
45  inline void SetIAMPolicyAssignments(const Aws::Vector<IAMPolicyAssignmentSummary>& value) { m_iAMPolicyAssignments = value; }
46 
50  inline void SetIAMPolicyAssignments(Aws::Vector<IAMPolicyAssignmentSummary>&& value) { m_iAMPolicyAssignments = std::move(value); }
51 
55  inline ListIAMPolicyAssignmentsResult& WithIAMPolicyAssignments(const Aws::Vector<IAMPolicyAssignmentSummary>& value) { SetIAMPolicyAssignments(value); return *this;}
56 
60  inline ListIAMPolicyAssignmentsResult& WithIAMPolicyAssignments(Aws::Vector<IAMPolicyAssignmentSummary>&& value) { SetIAMPolicyAssignments(std::move(value)); return *this;}
61 
65  inline ListIAMPolicyAssignmentsResult& AddIAMPolicyAssignments(const IAMPolicyAssignmentSummary& value) { m_iAMPolicyAssignments.push_back(value); return *this; }
66 
70  inline ListIAMPolicyAssignmentsResult& AddIAMPolicyAssignments(IAMPolicyAssignmentSummary&& value) { m_iAMPolicyAssignments.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
89  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 
95  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 
101  inline ListIAMPolicyAssignmentsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListIAMPolicyAssignmentsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListIAMPolicyAssignmentsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115 
119  inline const Aws::String& GetRequestId() const{ return m_requestId; }
120 
124  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
125 
129  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
130 
134  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
135 
139  inline ListIAMPolicyAssignmentsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
140 
144  inline ListIAMPolicyAssignmentsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
145 
149  inline ListIAMPolicyAssignmentsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
150 
151 
155  inline int GetStatus() const{ return m_status; }
156 
160  inline void SetStatus(int value) { m_status = value; }
161 
165  inline ListIAMPolicyAssignmentsResult& WithStatus(int value) { SetStatus(value); return *this;}
166 
167  private:
168 
169  Aws::Vector<IAMPolicyAssignmentSummary> m_iAMPolicyAssignments;
170 
171  Aws::String m_nextToken;
172 
173  Aws::String m_requestId;
174 
175  int m_status;
176  };
177 
178 } // namespace Model
179 } // namespace QuickSight
180 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::WithRequestId
ListIAMPolicyAssignmentsResult & WithRequestId(Aws::String &&value)
Definition: ListIAMPolicyAssignmentsResult.h:144
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: ListIAMPolicyAssignmentsResult.h:124
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::WithNextToken
ListIAMPolicyAssignmentsResult & WithNextToken(Aws::String &&value)
Definition: ListIAMPolicyAssignmentsResult.h:107
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::WithIAMPolicyAssignments
ListIAMPolicyAssignmentsResult & WithIAMPolicyAssignments(const Aws::Vector< IAMPolicyAssignmentSummary > &value)
Definition: ListIAMPolicyAssignmentsResult.h:55
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::GetIAMPolicyAssignments
const Aws::Vector< IAMPolicyAssignmentSummary > & GetIAMPolicyAssignments() const
Definition: ListIAMPolicyAssignmentsResult.h:40
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: ListIAMPolicyAssignmentsResult.h:129
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::SetRequestId
void SetRequestId(const char *value)
Definition: ListIAMPolicyAssignmentsResult.h:134
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::SetIAMPolicyAssignments
void SetIAMPolicyAssignments(Aws::Vector< IAMPolicyAssignmentSummary > &&value)
Definition: ListIAMPolicyAssignmentsResult.h:50
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::AddIAMPolicyAssignments
ListIAMPolicyAssignmentsResult & AddIAMPolicyAssignments(const IAMPolicyAssignmentSummary &value)
Definition: ListIAMPolicyAssignmentsResult.h:65
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListIAMPolicyAssignmentsResult.h:77
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::ListIAMPolicyAssignmentsResult
ListIAMPolicyAssignmentsResult()
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListIAMPolicyAssignmentsResult.h:83
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::WithRequestId
ListIAMPolicyAssignmentsResult & WithRequestId(const char *value)
Definition: ListIAMPolicyAssignmentsResult.h:149
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::WithRequestId
ListIAMPolicyAssignmentsResult & WithRequestId(const Aws::String &value)
Definition: ListIAMPolicyAssignmentsResult.h:139
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::AddIAMPolicyAssignments
ListIAMPolicyAssignmentsResult & AddIAMPolicyAssignments(IAMPolicyAssignmentSummary &&value)
Definition: ListIAMPolicyAssignmentsResult.h:70
AWSString.h
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: ListIAMPolicyAssignmentsResult.h:119
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::WithNextToken
ListIAMPolicyAssignmentsResult & WithNextToken(const char *value)
Definition: ListIAMPolicyAssignmentsResult.h:113
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::SetStatus
void SetStatus(int value)
Definition: ListIAMPolicyAssignmentsResult.h:160
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::WithStatus
ListIAMPolicyAssignmentsResult & WithStatus(int value)
Definition: ListIAMPolicyAssignmentsResult.h:165
Aws::QuickSight::Model::IAMPolicyAssignmentSummary
Definition: IAMPolicyAssignmentSummary.h:33
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::ListIAMPolicyAssignmentsResult
Definition: ListIAMPolicyAssignmentsResult.h:30
IAMPolicyAssignmentSummary.h
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListIAMPolicyAssignmentsResult.h:89
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::GetStatus
int GetStatus() const
Definition: ListIAMPolicyAssignmentsResult.h:155
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::WithIAMPolicyAssignments
ListIAMPolicyAssignmentsResult & WithIAMPolicyAssignments(Aws::Vector< IAMPolicyAssignmentSummary > &&value)
Definition: ListIAMPolicyAssignmentsResult.h:60
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::SetIAMPolicyAssignments
void SetIAMPolicyAssignments(const Aws::Vector< IAMPolicyAssignmentSummary > &value)
Definition: ListIAMPolicyAssignmentsResult.h:45
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::WithNextToken
ListIAMPolicyAssignmentsResult & WithNextToken(const Aws::String &value)
Definition: ListIAMPolicyAssignmentsResult.h:101
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListIAMPolicyAssignmentsResult.h:95
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::operator=
ListIAMPolicyAssignmentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::ListIAMPolicyAssignmentsResult::ListIAMPolicyAssignmentsResult
ListIAMPolicyAssignmentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)