AWS SDK for C++  1.9.158
AWS SDK for C++
DescribeIAMPolicyAssignmentResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace QuickSight
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const IAMPolicyAssignment& GetIAMPolicyAssignment() const{ return m_iAMPolicyAssignment; }
40 
44  inline void SetIAMPolicyAssignment(const IAMPolicyAssignment& value) { m_iAMPolicyAssignment = value; }
45 
49  inline void SetIAMPolicyAssignment(IAMPolicyAssignment&& value) { m_iAMPolicyAssignment = std::move(value); }
50 
54  inline DescribeIAMPolicyAssignmentResult& WithIAMPolicyAssignment(const IAMPolicyAssignment& value) { SetIAMPolicyAssignment(value); return *this;}
55 
59  inline DescribeIAMPolicyAssignmentResult& WithIAMPolicyAssignment(IAMPolicyAssignment&& value) { SetIAMPolicyAssignment(std::move(value)); return *this;}
60 
61 
65  inline const Aws::String& GetRequestId() const{ return m_requestId; }
66 
70  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 
75  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 
80  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
81 
85  inline DescribeIAMPolicyAssignmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 
90  inline DescribeIAMPolicyAssignmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 
95  inline DescribeIAMPolicyAssignmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96 
97 
101  inline int GetStatus() const{ return m_status; }
102 
106  inline void SetStatus(int value) { m_status = value; }
107 
111  inline DescribeIAMPolicyAssignmentResult& WithStatus(int value) { SetStatus(value); return *this;}
112 
113  private:
114 
115  IAMPolicyAssignment m_iAMPolicyAssignment;
116 
117  Aws::String m_requestId;
118 
119  int m_status;
120  };
121 
122 } // namespace Model
123 } // namespace QuickSight
124 } // namespace Aws
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: DescribeIAMPolicyAssignmentResult.h:65
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentResult
Definition: DescribeIAMPolicyAssignmentResult.h:29
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: DescribeIAMPolicyAssignmentResult.h:75
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentResult::WithRequestId
DescribeIAMPolicyAssignmentResult & WithRequestId(const Aws::String &value)
Definition: DescribeIAMPolicyAssignmentResult.h:85
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentResult::SetRequestId
void SetRequestId(const char *value)
Definition: DescribeIAMPolicyAssignmentResult.h:80
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentResult::WithIAMPolicyAssignment
DescribeIAMPolicyAssignmentResult & WithIAMPolicyAssignment(IAMPolicyAssignment &&value)
Definition: DescribeIAMPolicyAssignmentResult.h:59
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentResult::SetIAMPolicyAssignment
void SetIAMPolicyAssignment(const IAMPolicyAssignment &value)
Definition: DescribeIAMPolicyAssignmentResult.h:44
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentResult::operator=
DescribeIAMPolicyAssignmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentResult::DescribeIAMPolicyAssignmentResult
DescribeIAMPolicyAssignmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentResult::WithRequestId
DescribeIAMPolicyAssignmentResult & WithRequestId(Aws::String &&value)
Definition: DescribeIAMPolicyAssignmentResult.h:90
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentResult::WithStatus
DescribeIAMPolicyAssignmentResult & WithStatus(int value)
Definition: DescribeIAMPolicyAssignmentResult.h:111
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentResult::WithIAMPolicyAssignment
DescribeIAMPolicyAssignmentResult & WithIAMPolicyAssignment(const IAMPolicyAssignment &value)
Definition: DescribeIAMPolicyAssignmentResult.h:54
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: DescribeIAMPolicyAssignmentResult.h:70
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentResult::DescribeIAMPolicyAssignmentResult
DescribeIAMPolicyAssignmentResult()
AWSString.h
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentResult::SetIAMPolicyAssignment
void SetIAMPolicyAssignment(IAMPolicyAssignment &&value)
Definition: DescribeIAMPolicyAssignmentResult.h:49
IAMPolicyAssignment.h
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentResult::SetStatus
void SetStatus(int value)
Definition: DescribeIAMPolicyAssignmentResult.h:106
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::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentResult::GetIAMPolicyAssignment
const IAMPolicyAssignment & GetIAMPolicyAssignment() const
Definition: DescribeIAMPolicyAssignmentResult.h:39
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentResult::WithRequestId
DescribeIAMPolicyAssignmentResult & WithRequestId(const char *value)
Definition: DescribeIAMPolicyAssignmentResult.h:95
Aws::QuickSight::Model::IAMPolicyAssignment
Definition: IAMPolicyAssignment.h:36
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentResult::GetStatus
int GetStatus() const
Definition: DescribeIAMPolicyAssignmentResult.h:101