AWS SDK for C++  1.9.108
AWS SDK for C++
PutInlinePolicyToPermissionSetRequest.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 "PutInlinePolicyToPermissionSet"; }
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 PutInlinePolicyToPermissionSetRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
90 
98  inline PutInlinePolicyToPermissionSetRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
99 
107  inline PutInlinePolicyToPermissionSetRequest& 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 PutInlinePolicyToPermissionSetRequest& WithPermissionSetArn(const Aws::String& value) { SetPermissionSetArn(value); return *this;}
139 
143  inline PutInlinePolicyToPermissionSetRequest& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;}
144 
148  inline PutInlinePolicyToPermissionSetRequest& WithPermissionSetArn(const char* value) { SetPermissionSetArn(value); return *this;}
149 
150 
154  inline const Aws::String& GetInlinePolicy() const{ return m_inlinePolicy; }
155 
159  inline bool InlinePolicyHasBeenSet() const { return m_inlinePolicyHasBeenSet; }
160 
164  inline void SetInlinePolicy(const Aws::String& value) { m_inlinePolicyHasBeenSet = true; m_inlinePolicy = value; }
165 
169  inline void SetInlinePolicy(Aws::String&& value) { m_inlinePolicyHasBeenSet = true; m_inlinePolicy = std::move(value); }
170 
174  inline void SetInlinePolicy(const char* value) { m_inlinePolicyHasBeenSet = true; m_inlinePolicy.assign(value); }
175 
179  inline PutInlinePolicyToPermissionSetRequest& WithInlinePolicy(const Aws::String& value) { SetInlinePolicy(value); return *this;}
180 
184  inline PutInlinePolicyToPermissionSetRequest& WithInlinePolicy(Aws::String&& value) { SetInlinePolicy(std::move(value)); return *this;}
185 
189  inline PutInlinePolicyToPermissionSetRequest& WithInlinePolicy(const char* value) { SetInlinePolicy(value); return *this;}
190 
191  private:
192 
193  Aws::String m_instanceArn;
194  bool m_instanceArnHasBeenSet;
195 
196  Aws::String m_permissionSetArn;
197  bool m_permissionSetArnHasBeenSet;
198 
199  Aws::String m_inlinePolicy;
200  bool m_inlinePolicyHasBeenSet;
201  };
202 
203 } // namespace Model
204 } // namespace SSOAdmin
205 } // namespace Aws
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::InlinePolicyHasBeenSet
bool InlinePolicyHasBeenSet() const
Definition: PutInlinePolicyToPermissionSetRequest.h:159
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::SetInlinePolicy
void SetInlinePolicy(Aws::String &&value)
Definition: PutInlinePolicyToPermissionSetRequest.h:169
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::GetPermissionSetArn
const Aws::String & GetPermissionSetArn() const
Definition: PutInlinePolicyToPermissionSetRequest.h:113
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::InstanceArnHasBeenSet
bool InstanceArnHasBeenSet() const
Definition: PutInlinePolicyToPermissionSetRequest.h:53
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest
Definition: PutInlinePolicyToPermissionSetRequest.h:22
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::WithInstanceArn
PutInlinePolicyToPermissionSetRequest & WithInstanceArn(const Aws::String &value)
Definition: PutInlinePolicyToPermissionSetRequest.h:89
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(Aws::String &&value)
Definition: PutInlinePolicyToPermissionSetRequest.h:128
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::WithInstanceArn
PutInlinePolicyToPermissionSetRequest & WithInstanceArn(Aws::String &&value)
Definition: PutInlinePolicyToPermissionSetRequest.h:98
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::SetInstanceArn
void SetInstanceArn(const char *value)
Definition: PutInlinePolicyToPermissionSetRequest.h:80
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::SetInlinePolicy
void SetInlinePolicy(const char *value)
Definition: PutInlinePolicyToPermissionSetRequest.h:174
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(const Aws::String &value)
Definition: PutInlinePolicyToPermissionSetRequest.h:123
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::WithPermissionSetArn
PutInlinePolicyToPermissionSetRequest & WithPermissionSetArn(const char *value)
Definition: PutInlinePolicyToPermissionSetRequest.h:148
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::GetInstanceArn
const Aws::String & GetInstanceArn() const
Definition: PutInlinePolicyToPermissionSetRequest.h:44
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::SetInstanceArn
void SetInstanceArn(Aws::String &&value)
Definition: PutInlinePolicyToPermissionSetRequest.h:71
Aws::SSOAdmin::SSOAdminRequest
Definition: SSOAdminRequest.h:17
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::WithPermissionSetArn
PutInlinePolicyToPermissionSetRequest & WithPermissionSetArn(Aws::String &&value)
Definition: PutInlinePolicyToPermissionSetRequest.h:143
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(const char *value)
Definition: PutInlinePolicyToPermissionSetRequest.h:133
AWSString.h
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::WithInlinePolicy
PutInlinePolicyToPermissionSetRequest & WithInlinePolicy(Aws::String &&value)
Definition: PutInlinePolicyToPermissionSetRequest.h:184
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::WithPermissionSetArn
PutInlinePolicyToPermissionSetRequest & WithPermissionSetArn(const Aws::String &value)
Definition: PutInlinePolicyToPermissionSetRequest.h:138
SSOAdminRequest.h
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::SetInlinePolicy
void SetInlinePolicy(const Aws::String &value)
Definition: PutInlinePolicyToPermissionSetRequest.h:164
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::PutInlinePolicyToPermissionSetRequest
PutInlinePolicyToPermissionSetRequest()
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::SetInstanceArn
void SetInstanceArn(const Aws::String &value)
Definition: PutInlinePolicyToPermissionSetRequest.h:62
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::PermissionSetArnHasBeenSet
bool PermissionSetArnHasBeenSet() const
Definition: PutInlinePolicyToPermissionSetRequest.h:118
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::WithInlinePolicy
PutInlinePolicyToPermissionSetRequest & WithInlinePolicy(const char *value)
Definition: PutInlinePolicyToPermissionSetRequest.h:189
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::WithInlinePolicy
PutInlinePolicyToPermissionSetRequest & WithInlinePolicy(const Aws::String &value)
Definition: PutInlinePolicyToPermissionSetRequest.h:179
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::WithInstanceArn
PutInlinePolicyToPermissionSetRequest & WithInstanceArn(const char *value)
Definition: PutInlinePolicyToPermissionSetRequest.h:107
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutInlinePolicyToPermissionSetRequest.h:30
Aws::SSOAdmin::Model::PutInlinePolicyToPermissionSetRequest::GetInlinePolicy
const Aws::String & GetInlinePolicy() const
Definition: PutInlinePolicyToPermissionSetRequest.h:154