AWS SDK for C++  1.9.158
AWS SDK for C++
DeleteRolePermissionsBoundaryRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iam/IAM_EXPORTS.h>
8 #include <aws/iam/IAMRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IAM
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 "DeleteRolePermissionsBoundary"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
43  inline const Aws::String& GetRoleName() const{ return m_roleName; }
44 
49  inline bool RoleNameHasBeenSet() const { return m_roleNameHasBeenSet; }
50 
55  inline void SetRoleName(const Aws::String& value) { m_roleNameHasBeenSet = true; m_roleName = value; }
56 
61  inline void SetRoleName(Aws::String&& value) { m_roleNameHasBeenSet = true; m_roleName = std::move(value); }
62 
67  inline void SetRoleName(const char* value) { m_roleNameHasBeenSet = true; m_roleName.assign(value); }
68 
73  inline DeleteRolePermissionsBoundaryRequest& WithRoleName(const Aws::String& value) { SetRoleName(value); return *this;}
74 
79  inline DeleteRolePermissionsBoundaryRequest& WithRoleName(Aws::String&& value) { SetRoleName(std::move(value)); return *this;}
80 
85  inline DeleteRolePermissionsBoundaryRequest& WithRoleName(const char* value) { SetRoleName(value); return *this;}
86 
87  private:
88 
89  Aws::String m_roleName;
90  bool m_roleNameHasBeenSet;
91  };
92 
93 } // namespace Model
94 } // namespace IAM
95 } // namespace Aws
Aws::IAM::Model::DeleteRolePermissionsBoundaryRequest::DeleteRolePermissionsBoundaryRequest
DeleteRolePermissionsBoundaryRequest()
Aws::IAM::Model::DeleteRolePermissionsBoundaryRequest::WithRoleName
DeleteRolePermissionsBoundaryRequest & WithRoleName(const Aws::String &value)
Definition: DeleteRolePermissionsBoundaryRequest.h:73
Aws::Http::URI
Definition: URI.h:32
Aws::IAM::Model::DeleteRolePermissionsBoundaryRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::IAM::Model::DeleteRolePermissionsBoundaryRequest::SetRoleName
void SetRoleName(const Aws::String &value)
Definition: DeleteRolePermissionsBoundaryRequest.h:55
Aws::IAM::Model::DeleteRolePermissionsBoundaryRequest
Definition: DeleteRolePermissionsBoundaryRequest.h:22
Aws::IAM::IAMRequest
Definition: IAMRequest.h:17
Aws::EMR::Model::AuthMode::NOT_SET
@ NOT_SET
Aws::IAM::Model::DeleteRolePermissionsBoundaryRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteRolePermissionsBoundaryRequest.h:30
Aws::IAM::Model::DeleteRolePermissionsBoundaryRequest::SetRoleName
void SetRoleName(Aws::String &&value)
Definition: DeleteRolePermissionsBoundaryRequest.h:61
AWS_IAM_API
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:28
Aws::IAM::Model::DeleteRolePermissionsBoundaryRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::IAM::Model::DeleteRolePermissionsBoundaryRequest::SetRoleName
void SetRoleName(const char *value)
Definition: DeleteRolePermissionsBoundaryRequest.h:67
IAM_EXPORTS.h
Aws::IAM::Model::DeleteRolePermissionsBoundaryRequest::WithRoleName
DeleteRolePermissionsBoundaryRequest & WithRoleName(const char *value)
Definition: DeleteRolePermissionsBoundaryRequest.h:85
Aws::IAM::Model::DeleteRolePermissionsBoundaryRequest::WithRoleName
DeleteRolePermissionsBoundaryRequest & WithRoleName(Aws::String &&value)
Definition: DeleteRolePermissionsBoundaryRequest.h:79
IAMRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::IAM::Model::DeleteRolePermissionsBoundaryRequest::GetRoleName
const Aws::String & GetRoleName() const
Definition: DeleteRolePermissionsBoundaryRequest.h:43
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IAM::Model::DeleteRolePermissionsBoundaryRequest::RoleNameHasBeenSet
bool RoleNameHasBeenSet() const
Definition: DeleteRolePermissionsBoundaryRequest.h:49