AWS SDK for C++  1.9.40
AWS SDK for C++
DeleteInlinePolicyFromPermissionSetRequest.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 "DeleteInlinePolicyFromPermissionSet"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
43  inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
44 
51  inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
52 
59  inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; }
60 
67  inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); }
68 
75  inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); }
76 
83  inline DeleteInlinePolicyFromPermissionSetRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
84 
91  inline DeleteInlinePolicyFromPermissionSetRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
92 
99  inline DeleteInlinePolicyFromPermissionSetRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
100 
101 
105  inline const Aws::String& GetPermissionSetArn() const{ return m_permissionSetArn; }
106 
110  inline bool PermissionSetArnHasBeenSet() const { return m_permissionSetArnHasBeenSet; }
111 
115  inline void SetPermissionSetArn(const Aws::String& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = value; }
116 
120  inline void SetPermissionSetArn(Aws::String&& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = std::move(value); }
121 
125  inline void SetPermissionSetArn(const char* value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn.assign(value); }
126 
130  inline DeleteInlinePolicyFromPermissionSetRequest& WithPermissionSetArn(const Aws::String& value) { SetPermissionSetArn(value); return *this;}
131 
135  inline DeleteInlinePolicyFromPermissionSetRequest& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;}
136 
140  inline DeleteInlinePolicyFromPermissionSetRequest& WithPermissionSetArn(const char* value) { SetPermissionSetArn(value); return *this;}
141 
142  private:
143 
144  Aws::String m_instanceArn;
145  bool m_instanceArnHasBeenSet;
146 
147  Aws::String m_permissionSetArn;
148  bool m_permissionSetArnHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace SSOAdmin
153 } // namespace Aws
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(const Aws::String &value)
Definition: DeleteInlinePolicyFromPermissionSetRequest.h:115
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::WithPermissionSetArn
DeleteInlinePolicyFromPermissionSetRequest & WithPermissionSetArn(const Aws::String &value)
Definition: DeleteInlinePolicyFromPermissionSetRequest.h:130
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::WithInstanceArn
DeleteInlinePolicyFromPermissionSetRequest & WithInstanceArn(const char *value)
Definition: DeleteInlinePolicyFromPermissionSetRequest.h:99
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::SetInstanceArn
void SetInstanceArn(Aws::String &&value)
Definition: DeleteInlinePolicyFromPermissionSetRequest.h:67
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(const char *value)
Definition: DeleteInlinePolicyFromPermissionSetRequest.h:125
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::WithInstanceArn
DeleteInlinePolicyFromPermissionSetRequest & WithInstanceArn(Aws::String &&value)
Definition: DeleteInlinePolicyFromPermissionSetRequest.h:91
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::WithPermissionSetArn
DeleteInlinePolicyFromPermissionSetRequest & WithPermissionSetArn(Aws::String &&value)
Definition: DeleteInlinePolicyFromPermissionSetRequest.h:135
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::PermissionSetArnHasBeenSet
bool PermissionSetArnHasBeenSet() const
Definition: DeleteInlinePolicyFromPermissionSetRequest.h:110
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::WithInstanceArn
DeleteInlinePolicyFromPermissionSetRequest & WithInstanceArn(const Aws::String &value)
Definition: DeleteInlinePolicyFromPermissionSetRequest.h:83
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::SetInstanceArn
void SetInstanceArn(const char *value)
Definition: DeleteInlinePolicyFromPermissionSetRequest.h:75
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::DeleteInlinePolicyFromPermissionSetRequest
DeleteInlinePolicyFromPermissionSetRequest()
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::SetInstanceArn
void SetInstanceArn(const Aws::String &value)
Definition: DeleteInlinePolicyFromPermissionSetRequest.h:59
Aws::SSOAdmin::SSOAdminRequest
Definition: SSOAdminRequest.h:17
AWSString.h
SSOAdminRequest.h
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest
Definition: DeleteInlinePolicyFromPermissionSetRequest.h:22
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::GetPermissionSetArn
const Aws::String & GetPermissionSetArn() const
Definition: DeleteInlinePolicyFromPermissionSetRequest.h:105
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(Aws::String &&value)
Definition: DeleteInlinePolicyFromPermissionSetRequest.h:120
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteInlinePolicyFromPermissionSetRequest.h:30
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::WithPermissionSetArn
DeleteInlinePolicyFromPermissionSetRequest & WithPermissionSetArn(const char *value)
Definition: DeleteInlinePolicyFromPermissionSetRequest.h:140
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::InstanceArnHasBeenSet
bool InstanceArnHasBeenSet() const
Definition: DeleteInlinePolicyFromPermissionSetRequest.h:51
Aws::SSOAdmin::Model::DeleteInlinePolicyFromPermissionSetRequest::GetInstanceArn
const Aws::String & GetInstanceArn() const
Definition: DeleteInlinePolicyFromPermissionSetRequest.h:43