AWS SDK for C++  1.9.104
AWS SDK for C++
DetachManagedPolicyFromPermissionSetRequest.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 "DetachManagedPolicyFromPermissionSet"; }
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 DetachManagedPolicyFromPermissionSetRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
90 
98  inline DetachManagedPolicyFromPermissionSetRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
99 
107  inline DetachManagedPolicyFromPermissionSetRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
108 
109 
114  inline const Aws::String& GetPermissionSetArn() const{ return m_permissionSetArn; }
115 
120  inline bool PermissionSetArnHasBeenSet() const { return m_permissionSetArnHasBeenSet; }
121 
126  inline void SetPermissionSetArn(const Aws::String& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = value; }
127 
132  inline void SetPermissionSetArn(Aws::String&& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = std::move(value); }
133 
138  inline void SetPermissionSetArn(const char* value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn.assign(value); }
139 
144  inline DetachManagedPolicyFromPermissionSetRequest& WithPermissionSetArn(const Aws::String& value) { SetPermissionSetArn(value); return *this;}
145 
150  inline DetachManagedPolicyFromPermissionSetRequest& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;}
151 
156  inline DetachManagedPolicyFromPermissionSetRequest& WithPermissionSetArn(const char* value) { SetPermissionSetArn(value); return *this;}
157 
158 
162  inline const Aws::String& GetManagedPolicyArn() const{ return m_managedPolicyArn; }
163 
167  inline bool ManagedPolicyArnHasBeenSet() const { return m_managedPolicyArnHasBeenSet; }
168 
172  inline void SetManagedPolicyArn(const Aws::String& value) { m_managedPolicyArnHasBeenSet = true; m_managedPolicyArn = value; }
173 
177  inline void SetManagedPolicyArn(Aws::String&& value) { m_managedPolicyArnHasBeenSet = true; m_managedPolicyArn = std::move(value); }
178 
182  inline void SetManagedPolicyArn(const char* value) { m_managedPolicyArnHasBeenSet = true; m_managedPolicyArn.assign(value); }
183 
187  inline DetachManagedPolicyFromPermissionSetRequest& WithManagedPolicyArn(const Aws::String& value) { SetManagedPolicyArn(value); return *this;}
188 
192  inline DetachManagedPolicyFromPermissionSetRequest& WithManagedPolicyArn(Aws::String&& value) { SetManagedPolicyArn(std::move(value)); return *this;}
193 
197  inline DetachManagedPolicyFromPermissionSetRequest& WithManagedPolicyArn(const char* value) { SetManagedPolicyArn(value); return *this;}
198 
199  private:
200 
201  Aws::String m_instanceArn;
202  bool m_instanceArnHasBeenSet;
203 
204  Aws::String m_permissionSetArn;
205  bool m_permissionSetArnHasBeenSet;
206 
207  Aws::String m_managedPolicyArn;
208  bool m_managedPolicyArnHasBeenSet;
209  };
210 
211 } // namespace Model
212 } // namespace SSOAdmin
213 } // namespace Aws
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::SetManagedPolicyArn
void SetManagedPolicyArn(const Aws::String &value)
Definition: DetachManagedPolicyFromPermissionSetRequest.h:172
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::WithManagedPolicyArn
DetachManagedPolicyFromPermissionSetRequest & WithManagedPolicyArn(const char *value)
Definition: DetachManagedPolicyFromPermissionSetRequest.h:197
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(Aws::String &&value)
Definition: DetachManagedPolicyFromPermissionSetRequest.h:132
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::WithPermissionSetArn
DetachManagedPolicyFromPermissionSetRequest & WithPermissionSetArn(const Aws::String &value)
Definition: DetachManagedPolicyFromPermissionSetRequest.h:144
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::GetInstanceArn
const Aws::String & GetInstanceArn() const
Definition: DetachManagedPolicyFromPermissionSetRequest.h:44
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::InstanceArnHasBeenSet
bool InstanceArnHasBeenSet() const
Definition: DetachManagedPolicyFromPermissionSetRequest.h:53
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::SetManagedPolicyArn
void SetManagedPolicyArn(Aws::String &&value)
Definition: DetachManagedPolicyFromPermissionSetRequest.h:177
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(const Aws::String &value)
Definition: DetachManagedPolicyFromPermissionSetRequest.h:126
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::PermissionSetArnHasBeenSet
bool PermissionSetArnHasBeenSet() const
Definition: DetachManagedPolicyFromPermissionSetRequest.h:120
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DetachManagedPolicyFromPermissionSetRequest.h:30
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::SetInstanceArn
void SetInstanceArn(Aws::String &&value)
Definition: DetachManagedPolicyFromPermissionSetRequest.h:71
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::SetManagedPolicyArn
void SetManagedPolicyArn(const char *value)
Definition: DetachManagedPolicyFromPermissionSetRequest.h:182
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::WithInstanceArn
DetachManagedPolicyFromPermissionSetRequest & WithInstanceArn(const char *value)
Definition: DetachManagedPolicyFromPermissionSetRequest.h:107
Aws::SSOAdmin::SSOAdminRequest
Definition: SSOAdminRequest.h:17
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::DetachManagedPolicyFromPermissionSetRequest
DetachManagedPolicyFromPermissionSetRequest()
AWSString.h
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::WithManagedPolicyArn
DetachManagedPolicyFromPermissionSetRequest & WithManagedPolicyArn(const Aws::String &value)
Definition: DetachManagedPolicyFromPermissionSetRequest.h:187
SSOAdminRequest.h
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(const char *value)
Definition: DetachManagedPolicyFromPermissionSetRequest.h:138
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::SetInstanceArn
void SetInstanceArn(const Aws::String &value)
Definition: DetachManagedPolicyFromPermissionSetRequest.h:62
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest
Definition: DetachManagedPolicyFromPermissionSetRequest.h:22
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::WithInstanceArn
DetachManagedPolicyFromPermissionSetRequest & WithInstanceArn(Aws::String &&value)
Definition: DetachManagedPolicyFromPermissionSetRequest.h:98
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::GetPermissionSetArn
const Aws::String & GetPermissionSetArn() const
Definition: DetachManagedPolicyFromPermissionSetRequest.h:114
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::WithPermissionSetArn
DetachManagedPolicyFromPermissionSetRequest & WithPermissionSetArn(const char *value)
Definition: DetachManagedPolicyFromPermissionSetRequest.h:156
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::WithInstanceArn
DetachManagedPolicyFromPermissionSetRequest & WithInstanceArn(const Aws::String &value)
Definition: DetachManagedPolicyFromPermissionSetRequest.h:89
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::GetManagedPolicyArn
const Aws::String & GetManagedPolicyArn() const
Definition: DetachManagedPolicyFromPermissionSetRequest.h:162
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::SetInstanceArn
void SetInstanceArn(const char *value)
Definition: DetachManagedPolicyFromPermissionSetRequest.h:80
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::WithManagedPolicyArn
DetachManagedPolicyFromPermissionSetRequest & WithManagedPolicyArn(Aws::String &&value)
Definition: DetachManagedPolicyFromPermissionSetRequest.h:192
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::ManagedPolicyArnHasBeenSet
bool ManagedPolicyArnHasBeenSet() const
Definition: DetachManagedPolicyFromPermissionSetRequest.h:167
Aws::SSOAdmin::Model::DetachManagedPolicyFromPermissionSetRequest::WithPermissionSetArn
DetachManagedPolicyFromPermissionSetRequest & WithPermissionSetArn(Aws::String &&value)
Definition: DetachManagedPolicyFromPermissionSetRequest.h:150