AWS SDK for C++  1.9.104
AWS SDK for C++
DeletePermissionSetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SSOAdmin
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 "DeletePermissionSet"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
44  inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
45 
53  inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
54 
62  inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; }
63 
71  inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); }
72 
80  inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); }
81 
89  inline DeletePermissionSetRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
90 
98  inline DeletePermissionSetRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
99 
107  inline DeletePermissionSetRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
108 
109 
113  inline const Aws::String& GetPermissionSetArn() const{ return m_permissionSetArn; }
114 
118  inline bool PermissionSetArnHasBeenSet() const { return m_permissionSetArnHasBeenSet; }
119 
123  inline void SetPermissionSetArn(const Aws::String& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = value; }
124 
128  inline void SetPermissionSetArn(Aws::String&& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = std::move(value); }
129 
133  inline void SetPermissionSetArn(const char* value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn.assign(value); }
134 
138  inline DeletePermissionSetRequest& WithPermissionSetArn(const Aws::String& value) { SetPermissionSetArn(value); return *this;}
139 
143  inline DeletePermissionSetRequest& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;}
144 
148  inline DeletePermissionSetRequest& WithPermissionSetArn(const char* value) { SetPermissionSetArn(value); return *this;}
149 
150  private:
151 
152  Aws::String m_instanceArn;
153  bool m_instanceArnHasBeenSet;
154 
155  Aws::String m_permissionSetArn;
156  bool m_permissionSetArnHasBeenSet;
157  };
158 
159 } // namespace Model
160 } // namespace SSOAdmin
161 } // namespace Aws
Aws::SSOAdmin::Model::DeletePermissionSetRequest::WithInstanceArn
DeletePermissionSetRequest & WithInstanceArn(Aws::String &&value)
Definition: DeletePermissionSetRequest.h:98
Aws::SSOAdmin::Model::DeletePermissionSetRequest::SetInstanceArn
void SetInstanceArn(Aws::String &&value)
Definition: DeletePermissionSetRequest.h:71
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSOAdmin::Model::DeletePermissionSetRequest
Definition: DeletePermissionSetRequest.h:22
Aws::SSOAdmin::Model::DeletePermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(const char *value)
Definition: DeletePermissionSetRequest.h:133
Aws::SSOAdmin::Model::DeletePermissionSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeletePermissionSetRequest.h:30
Aws::SSOAdmin::Model::DeletePermissionSetRequest::WithInstanceArn
DeletePermissionSetRequest & WithInstanceArn(const Aws::String &value)
Definition: DeletePermissionSetRequest.h:89
Aws::SSOAdmin::Model::DeletePermissionSetRequest::WithPermissionSetArn
DeletePermissionSetRequest & WithPermissionSetArn(const char *value)
Definition: DeletePermissionSetRequest.h:148
Aws::SSOAdmin::Model::DeletePermissionSetRequest::WithPermissionSetArn
DeletePermissionSetRequest & WithPermissionSetArn(Aws::String &&value)
Definition: DeletePermissionSetRequest.h:143
Aws::SSOAdmin::Model::DeletePermissionSetRequest::SetInstanceArn
void SetInstanceArn(const char *value)
Definition: DeletePermissionSetRequest.h:80
Aws::SSOAdmin::Model::DeletePermissionSetRequest::GetPermissionSetArn
const Aws::String & GetPermissionSetArn() const
Definition: DeletePermissionSetRequest.h:113
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::DeletePermissionSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSOAdmin::Model::DeletePermissionSetRequest::WithInstanceArn
DeletePermissionSetRequest & WithInstanceArn(const char *value)
Definition: DeletePermissionSetRequest.h:107
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::DeletePermissionSetRequest::WithPermissionSetArn
DeletePermissionSetRequest & WithPermissionSetArn(const Aws::String &value)
Definition: DeletePermissionSetRequest.h:138
Aws::SSOAdmin::Model::DeletePermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(const Aws::String &value)
Definition: DeletePermissionSetRequest.h:123
Aws::SSOAdmin::SSOAdminRequest
Definition: SSOAdminRequest.h:17
AWSString.h
Aws::SSOAdmin::Model::DeletePermissionSetRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SSOAdminRequest.h
Aws::SSOAdmin::Model::DeletePermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(Aws::String &&value)
Definition: DeletePermissionSetRequest.h:128
Aws::SSOAdmin::Model::DeletePermissionSetRequest::PermissionSetArnHasBeenSet
bool PermissionSetArnHasBeenSet() const
Definition: DeletePermissionSetRequest.h:118
Aws::SSOAdmin::Model::DeletePermissionSetRequest::GetInstanceArn
const Aws::String & GetInstanceArn() const
Definition: DeletePermissionSetRequest.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::DeletePermissionSetRequest::DeletePermissionSetRequest
DeletePermissionSetRequest()
Aws::SSOAdmin::Model::DeletePermissionSetRequest::SetInstanceArn
void SetInstanceArn(const Aws::String &value)
Definition: DeletePermissionSetRequest.h:62
Aws::SSOAdmin::Model::DeletePermissionSetRequest::InstanceArnHasBeenSet
bool InstanceArnHasBeenSet() const
Definition: DeletePermissionSetRequest.h:53