AWS SDK for C++  1.9.44
AWS SDK for C++
DeleteUserByPrincipalIdRequest.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 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DeleteUserByPrincipalId"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetPrincipalId() const{ return m_principalId; }
42 
46  inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }
47 
51  inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; }
52 
56  inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); }
57 
61  inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); }
62 
66  inline DeleteUserByPrincipalIdRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;}
67 
71  inline DeleteUserByPrincipalIdRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;}
72 
76  inline DeleteUserByPrincipalIdRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;}
77 
78 
83  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
84 
89  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
90 
95  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
96 
101  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
102 
107  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
108 
113  inline DeleteUserByPrincipalIdRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
114 
119  inline DeleteUserByPrincipalIdRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
120 
125  inline DeleteUserByPrincipalIdRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
126 
127 
131  inline const Aws::String& GetNamespace() const{ return m_namespace; }
132 
136  inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
137 
141  inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
142 
146  inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
147 
151  inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
152 
156  inline DeleteUserByPrincipalIdRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
157 
161  inline DeleteUserByPrincipalIdRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
162 
166  inline DeleteUserByPrincipalIdRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
167 
168  private:
169 
170  Aws::String m_principalId;
171  bool m_principalIdHasBeenSet;
172 
173  Aws::String m_awsAccountId;
174  bool m_awsAccountIdHasBeenSet;
175 
176  Aws::String m_namespace;
177  bool m_namespaceHasBeenSet;
178  };
179 
180 } // namespace Model
181 } // namespace QuickSight
182 } // namespace Aws
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::WithPrincipalId
DeleteUserByPrincipalIdRequest & WithPrincipalId(const Aws::String &value)
Definition: DeleteUserByPrincipalIdRequest.h:66
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: DeleteUserByPrincipalIdRequest.h:107
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::SetPrincipalId
void SetPrincipalId(Aws::String &&value)
Definition: DeleteUserByPrincipalIdRequest.h:56
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: DeleteUserByPrincipalIdRequest.h:146
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::SetPrincipalId
void SetPrincipalId(const char *value)
Definition: DeleteUserByPrincipalIdRequest.h:61
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: DeleteUserByPrincipalIdRequest.h:101
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::WithPrincipalId
DeleteUserByPrincipalIdRequest & WithPrincipalId(const char *value)
Definition: DeleteUserByPrincipalIdRequest.h:76
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::GetNamespace
const Aws::String & GetNamespace() const
Definition: DeleteUserByPrincipalIdRequest.h:131
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest
Definition: DeleteUserByPrincipalIdRequest.h:25
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: DeleteUserByPrincipalIdRequest.h:83
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::SetNamespace
void SetNamespace(const char *value)
Definition: DeleteUserByPrincipalIdRequest.h:151
QuickSightRequest.h
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::GetPrincipalId
const Aws::String & GetPrincipalId() const
Definition: DeleteUserByPrincipalIdRequest.h:41
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::SetPrincipalId
void SetPrincipalId(const Aws::String &value)
Definition: DeleteUserByPrincipalIdRequest.h:51
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: DeleteUserByPrincipalIdRequest.h:136
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::WithAwsAccountId
DeleteUserByPrincipalIdRequest & WithAwsAccountId(const char *value)
Definition: DeleteUserByPrincipalIdRequest.h:125
AWSString.h
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::WithPrincipalId
DeleteUserByPrincipalIdRequest & WithPrincipalId(Aws::String &&value)
Definition: DeleteUserByPrincipalIdRequest.h:71
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::WithAwsAccountId
DeleteUserByPrincipalIdRequest & WithAwsAccountId(Aws::String &&value)
Definition: DeleteUserByPrincipalIdRequest.h:119
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteUserByPrincipalIdRequest.h:33
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::DeleteUserByPrincipalIdRequest
DeleteUserByPrincipalIdRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::WithAwsAccountId
DeleteUserByPrincipalIdRequest & WithAwsAccountId(const Aws::String &value)
Definition: DeleteUserByPrincipalIdRequest.h:113
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::WithNamespace
DeleteUserByPrincipalIdRequest & WithNamespace(const Aws::String &value)
Definition: DeleteUserByPrincipalIdRequest.h:156
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::PrincipalIdHasBeenSet
bool PrincipalIdHasBeenSet() const
Definition: DeleteUserByPrincipalIdRequest.h:46
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: DeleteUserByPrincipalIdRequest.h:141
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::WithNamespace
DeleteUserByPrincipalIdRequest & WithNamespace(const char *value)
Definition: DeleteUserByPrincipalIdRequest.h:166
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: DeleteUserByPrincipalIdRequest.h:89
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: DeleteUserByPrincipalIdRequest.h:95
Aws::QuickSight::Model::DeleteUserByPrincipalIdRequest::WithNamespace
DeleteUserByPrincipalIdRequest & WithNamespace(Aws::String &&value)
Definition: DeleteUserByPrincipalIdRequest.h:161