AWS SDK for C++  1.9.157
AWS SDK for C++
GetInlinePolicyForPermissionSetRequest.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 "GetInlinePolicyForPermissionSet"; }
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 GetInlinePolicyForPermissionSetRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
90 
98  inline GetInlinePolicyForPermissionSetRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
99 
107  inline GetInlinePolicyForPermissionSetRequest& 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 GetInlinePolicyForPermissionSetRequest& WithPermissionSetArn(const Aws::String& value) { SetPermissionSetArn(value); return *this;}
139 
143  inline GetInlinePolicyForPermissionSetRequest& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;}
144 
148  inline GetInlinePolicyForPermissionSetRequest& 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::GetInlinePolicyForPermissionSetRequest::SetInstanceArn
void SetInstanceArn(Aws::String &&value)
Definition: GetInlinePolicyForPermissionSetRequest.h:71
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest::SetInstanceArn
void SetInstanceArn(const Aws::String &value)
Definition: GetInlinePolicyForPermissionSetRequest.h:62
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(const char *value)
Definition: GetInlinePolicyForPermissionSetRequest.h:133
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest::WithInstanceArn
GetInlinePolicyForPermissionSetRequest & WithInstanceArn(Aws::String &&value)
Definition: GetInlinePolicyForPermissionSetRequest.h:98
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest::GetPermissionSetArn
const Aws::String & GetPermissionSetArn() const
Definition: GetInlinePolicyForPermissionSetRequest.h:113
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest::WithPermissionSetArn
GetInlinePolicyForPermissionSetRequest & WithPermissionSetArn(const char *value)
Definition: GetInlinePolicyForPermissionSetRequest.h:148
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(Aws::String &&value)
Definition: GetInlinePolicyForPermissionSetRequest.h:128
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest::WithPermissionSetArn
GetInlinePolicyForPermissionSetRequest & WithPermissionSetArn(Aws::String &&value)
Definition: GetInlinePolicyForPermissionSetRequest.h:143
Aws::SSOAdmin::SSOAdminRequest
Definition: SSOAdminRequest.h:17
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest::WithPermissionSetArn
GetInlinePolicyForPermissionSetRequest & WithPermissionSetArn(const Aws::String &value)
Definition: GetInlinePolicyForPermissionSetRequest.h:138
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest::PermissionSetArnHasBeenSet
bool PermissionSetArnHasBeenSet() const
Definition: GetInlinePolicyForPermissionSetRequest.h:118
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest::WithInstanceArn
GetInlinePolicyForPermissionSetRequest & WithInstanceArn(const Aws::String &value)
Definition: GetInlinePolicyForPermissionSetRequest.h:89
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest::GetInstanceArn
const Aws::String & GetInstanceArn() const
Definition: GetInlinePolicyForPermissionSetRequest.h:44
AWSString.h
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest::GetInlinePolicyForPermissionSetRequest
GetInlinePolicyForPermissionSetRequest()
SSOAdminRequest.h
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest::WithInstanceArn
GetInlinePolicyForPermissionSetRequest & WithInstanceArn(const char *value)
Definition: GetInlinePolicyForPermissionSetRequest.h:107
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest
Definition: GetInlinePolicyForPermissionSetRequest.h:22
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest::InstanceArnHasBeenSet
bool InstanceArnHasBeenSet() const
Definition: GetInlinePolicyForPermissionSetRequest.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest::SetInstanceArn
void SetInstanceArn(const char *value)
Definition: GetInlinePolicyForPermissionSetRequest.h:80
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetInlinePolicyForPermissionSetRequest.h:30
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(const Aws::String &value)
Definition: GetInlinePolicyForPermissionSetRequest.h:123
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSOAdmin::Model::GetInlinePolicyForPermissionSetRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override