AWS SDK for C++  1.9.158
AWS SDK for C++
DeleteIAMPolicyAssignmentResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace QuickSight
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetAssignmentName() const{ return m_assignmentName; }
39 
43  inline void SetAssignmentName(const Aws::String& value) { m_assignmentName = value; }
44 
48  inline void SetAssignmentName(Aws::String&& value) { m_assignmentName = std::move(value); }
49 
53  inline void SetAssignmentName(const char* value) { m_assignmentName.assign(value); }
54 
58  inline DeleteIAMPolicyAssignmentResult& WithAssignmentName(const Aws::String& value) { SetAssignmentName(value); return *this;}
59 
63  inline DeleteIAMPolicyAssignmentResult& WithAssignmentName(Aws::String&& value) { SetAssignmentName(std::move(value)); return *this;}
64 
68  inline DeleteIAMPolicyAssignmentResult& WithAssignmentName(const char* value) { SetAssignmentName(value); return *this;}
69 
70 
74  inline const Aws::String& GetRequestId() const{ return m_requestId; }
75 
79  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 
84  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
85 
89  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
90 
94  inline DeleteIAMPolicyAssignmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
95 
99  inline DeleteIAMPolicyAssignmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
100 
104  inline DeleteIAMPolicyAssignmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
105 
106 
110  inline int GetStatus() const{ return m_status; }
111 
115  inline void SetStatus(int value) { m_status = value; }
116 
120  inline DeleteIAMPolicyAssignmentResult& WithStatus(int value) { SetStatus(value); return *this;}
121 
122  private:
123 
124  Aws::String m_assignmentName;
125 
126  Aws::String m_requestId;
127 
128  int m_status;
129  };
130 
131 } // namespace Model
132 } // namespace QuickSight
133 } // namespace Aws
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult::SetAssignmentName
void SetAssignmentName(Aws::String &&value)
Definition: DeleteIAMPolicyAssignmentResult.h:48
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult::WithRequestId
DeleteIAMPolicyAssignmentResult & WithRequestId(Aws::String &&value)
Definition: DeleteIAMPolicyAssignmentResult.h:99
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult::GetStatus
int GetStatus() const
Definition: DeleteIAMPolicyAssignmentResult.h:110
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult::WithRequestId
DeleteIAMPolicyAssignmentResult & WithRequestId(const char *value)
Definition: DeleteIAMPolicyAssignmentResult.h:104
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult::DeleteIAMPolicyAssignmentResult
DeleteIAMPolicyAssignmentResult()
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult::GetAssignmentName
const Aws::String & GetAssignmentName() const
Definition: DeleteIAMPolicyAssignmentResult.h:38
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult::WithAssignmentName
DeleteIAMPolicyAssignmentResult & WithAssignmentName(const char *value)
Definition: DeleteIAMPolicyAssignmentResult.h:68
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult::WithRequestId
DeleteIAMPolicyAssignmentResult & WithRequestId(const Aws::String &value)
Definition: DeleteIAMPolicyAssignmentResult.h:94
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult::DeleteIAMPolicyAssignmentResult
DeleteIAMPolicyAssignmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult::operator=
DeleteIAMPolicyAssignmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult
Definition: DeleteIAMPolicyAssignmentResult.h:28
AWSString.h
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult::SetRequestId
void SetRequestId(const char *value)
Definition: DeleteIAMPolicyAssignmentResult.h:89
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult::SetStatus
void SetStatus(int value)
Definition: DeleteIAMPolicyAssignmentResult.h:115
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: DeleteIAMPolicyAssignmentResult.h:84
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult::WithAssignmentName
DeleteIAMPolicyAssignmentResult & WithAssignmentName(Aws::String &&value)
Definition: DeleteIAMPolicyAssignmentResult.h:63
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult::SetAssignmentName
void SetAssignmentName(const Aws::String &value)
Definition: DeleteIAMPolicyAssignmentResult.h:43
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::DeleteIAMPolicyAssignmentResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: DeleteIAMPolicyAssignmentResult.h:79
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult::WithAssignmentName
DeleteIAMPolicyAssignmentResult & WithAssignmentName(const Aws::String &value)
Definition: DeleteIAMPolicyAssignmentResult.h:58
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult::WithStatus
DeleteIAMPolicyAssignmentResult & WithStatus(int value)
Definition: DeleteIAMPolicyAssignmentResult.h:120
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: DeleteIAMPolicyAssignmentResult.h:74
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentResult::SetAssignmentName
void SetAssignmentName(const char *value)
Definition: DeleteIAMPolicyAssignmentResult.h:53