AWS SDK for C++  1.9.40
AWS SDK for C++
DeleteIAMPolicyAssignmentRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace QuickSight
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeleteIAMPolicyAssignment"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
39 
43  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
44 
48  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
49 
53  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
54 
58  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
59 
63  inline DeleteIAMPolicyAssignmentRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
64 
68  inline DeleteIAMPolicyAssignmentRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
69 
73  inline DeleteIAMPolicyAssignmentRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
74 
75 
79  inline const Aws::String& GetAssignmentName() const{ return m_assignmentName; }
80 
84  inline bool AssignmentNameHasBeenSet() const { return m_assignmentNameHasBeenSet; }
85 
89  inline void SetAssignmentName(const Aws::String& value) { m_assignmentNameHasBeenSet = true; m_assignmentName = value; }
90 
94  inline void SetAssignmentName(Aws::String&& value) { m_assignmentNameHasBeenSet = true; m_assignmentName = std::move(value); }
95 
99  inline void SetAssignmentName(const char* value) { m_assignmentNameHasBeenSet = true; m_assignmentName.assign(value); }
100 
104  inline DeleteIAMPolicyAssignmentRequest& WithAssignmentName(const Aws::String& value) { SetAssignmentName(value); return *this;}
105 
109  inline DeleteIAMPolicyAssignmentRequest& WithAssignmentName(Aws::String&& value) { SetAssignmentName(std::move(value)); return *this;}
110 
114  inline DeleteIAMPolicyAssignmentRequest& WithAssignmentName(const char* value) { SetAssignmentName(value); return *this;}
115 
116 
120  inline const Aws::String& GetNamespace() const{ return m_namespace; }
121 
125  inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
126 
130  inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
131 
135  inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
136 
140  inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
141 
145  inline DeleteIAMPolicyAssignmentRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
146 
150  inline DeleteIAMPolicyAssignmentRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
151 
155  inline DeleteIAMPolicyAssignmentRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
156 
157  private:
158 
159  Aws::String m_awsAccountId;
160  bool m_awsAccountIdHasBeenSet;
161 
162  Aws::String m_assignmentName;
163  bool m_assignmentNameHasBeenSet;
164 
165  Aws::String m_namespace;
166  bool m_namespaceHasBeenSet;
167  };
168 
169 } // namespace Model
170 } // namespace QuickSight
171 } // namespace Aws
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::AssignmentNameHasBeenSet
bool AssignmentNameHasBeenSet() const
Definition: DeleteIAMPolicyAssignmentRequest.h:84
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::WithNamespace
DeleteIAMPolicyAssignmentRequest & WithNamespace(Aws::String &&value)
Definition: DeleteIAMPolicyAssignmentRequest.h:150
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: DeleteIAMPolicyAssignmentRequest.h:48
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::SetAssignmentName
void SetAssignmentName(const char *value)
Definition: DeleteIAMPolicyAssignmentRequest.h:99
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::WithNamespace
DeleteIAMPolicyAssignmentRequest & WithNamespace(const Aws::String &value)
Definition: DeleteIAMPolicyAssignmentRequest.h:145
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::WithAwsAccountId
DeleteIAMPolicyAssignmentRequest & WithAwsAccountId(const Aws::String &value)
Definition: DeleteIAMPolicyAssignmentRequest.h:63
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: DeleteIAMPolicyAssignmentRequest.h:58
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: DeleteIAMPolicyAssignmentRequest.h:135
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: DeleteIAMPolicyAssignmentRequest.h:38
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::SetAssignmentName
void SetAssignmentName(Aws::String &&value)
Definition: DeleteIAMPolicyAssignmentRequest.h:94
QuickSightRequest.h
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::WithAssignmentName
DeleteIAMPolicyAssignmentRequest & WithAssignmentName(const Aws::String &value)
Definition: DeleteIAMPolicyAssignmentRequest.h:104
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::DeleteIAMPolicyAssignmentRequest
DeleteIAMPolicyAssignmentRequest()
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: DeleteIAMPolicyAssignmentRequest.h:53
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteIAMPolicyAssignmentRequest.h:30
AWSString.h
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::WithAwsAccountId
DeleteIAMPolicyAssignmentRequest & WithAwsAccountId(const char *value)
Definition: DeleteIAMPolicyAssignmentRequest.h:73
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::SetNamespace
void SetNamespace(const char *value)
Definition: DeleteIAMPolicyAssignmentRequest.h:140
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest
Definition: DeleteIAMPolicyAssignmentRequest.h:22
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::WithNamespace
DeleteIAMPolicyAssignmentRequest & WithNamespace(const char *value)
Definition: DeleteIAMPolicyAssignmentRequest.h:155
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: DeleteIAMPolicyAssignmentRequest.h:125
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::WithAwsAccountId
DeleteIAMPolicyAssignmentRequest & WithAwsAccountId(Aws::String &&value)
Definition: DeleteIAMPolicyAssignmentRequest.h:68
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::GetAssignmentName
const Aws::String & GetAssignmentName() const
Definition: DeleteIAMPolicyAssignmentRequest.h:79
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: DeleteIAMPolicyAssignmentRequest.h:130
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::GetNamespace
const Aws::String & GetNamespace() const
Definition: DeleteIAMPolicyAssignmentRequest.h:120
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::DeleteIAMPolicyAssignmentRequest::SetAssignmentName
void SetAssignmentName(const Aws::String &value)
Definition: DeleteIAMPolicyAssignmentRequest.h:89
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::WithAssignmentName
DeleteIAMPolicyAssignmentRequest & WithAssignmentName(const char *value)
Definition: DeleteIAMPolicyAssignmentRequest.h:114
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::WithAssignmentName
DeleteIAMPolicyAssignmentRequest & WithAssignmentName(Aws::String &&value)
Definition: DeleteIAMPolicyAssignmentRequest.h:109
Aws::QuickSight::Model::DeleteIAMPolicyAssignmentRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: DeleteIAMPolicyAssignmentRequest.h:43
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17