AWS SDK for C++  1.9.158
AWS SDK for C++
DeleteUserPermissionsBoundaryRequest.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 "DeleteUserPermissionsBoundary"; }
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& GetUserName() const{ return m_userName; }
44 
49  inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
50 
55  inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
56 
61  inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
62 
67  inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
68 
73  inline DeleteUserPermissionsBoundaryRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
74 
79  inline DeleteUserPermissionsBoundaryRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
80 
85  inline DeleteUserPermissionsBoundaryRequest& WithUserName(const char* value) { SetUserName(value); return *this;}
86 
87  private:
88 
89  Aws::String m_userName;
90  bool m_userNameHasBeenSet;
91  };
92 
93 } // namespace Model
94 } // namespace IAM
95 } // namespace Aws
Aws::IAM::Model::DeleteUserPermissionsBoundaryRequest::GetUserName
const Aws::String & GetUserName() const
Definition: DeleteUserPermissionsBoundaryRequest.h:43
Aws::IAM::Model::DeleteUserPermissionsBoundaryRequest::UserNameHasBeenSet
bool UserNameHasBeenSet() const
Definition: DeleteUserPermissionsBoundaryRequest.h:49
Aws::Http::URI
Definition: URI.h:32
Aws::IAM::Model::DeleteUserPermissionsBoundaryRequest
Definition: DeleteUserPermissionsBoundaryRequest.h:22
Aws::IAM::Model::DeleteUserPermissionsBoundaryRequest::SetUserName
void SetUserName(const Aws::String &value)
Definition: DeleteUserPermissionsBoundaryRequest.h:55
Aws::IAM::Model::DeleteUserPermissionsBoundaryRequest::WithUserName
DeleteUserPermissionsBoundaryRequest & WithUserName(const char *value)
Definition: DeleteUserPermissionsBoundaryRequest.h:85
Aws::IAM::IAMRequest
Definition: IAMRequest.h:17
Aws::EMR::Model::AuthMode::NOT_SET
@ NOT_SET
Aws::IAM::Model::DeleteUserPermissionsBoundaryRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteUserPermissionsBoundaryRequest.h:30
AWS_IAM_API
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:28
Aws::IAM::Model::DeleteUserPermissionsBoundaryRequest::WithUserName
DeleteUserPermissionsBoundaryRequest & WithUserName(const Aws::String &value)
Definition: DeleteUserPermissionsBoundaryRequest.h:73
Aws::IAM::Model::DeleteUserPermissionsBoundaryRequest::SetUserName
void SetUserName(Aws::String &&value)
Definition: DeleteUserPermissionsBoundaryRequest.h:61
AWSString.h
Aws::IAM::Model::DeleteUserPermissionsBoundaryRequest::WithUserName
DeleteUserPermissionsBoundaryRequest & WithUserName(Aws::String &&value)
Definition: DeleteUserPermissionsBoundaryRequest.h:79
Aws::IAM::Model::DeleteUserPermissionsBoundaryRequest::DeleteUserPermissionsBoundaryRequest
DeleteUserPermissionsBoundaryRequest()
Aws::IAM::Model::DeleteUserPermissionsBoundaryRequest::SerializePayload
Aws::String SerializePayload() const override
IAM_EXPORTS.h
IAMRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::IAM::Model::DeleteUserPermissionsBoundaryRequest::SetUserName
void SetUserName(const char *value)
Definition: DeleteUserPermissionsBoundaryRequest.h:67
Aws::IAM::Model::DeleteUserPermissionsBoundaryRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97