AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateUserRequest.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace IAM
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_IAM_API UpdateUserRequest();
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 "UpdateUser"; }
31
32 AWS_IAM_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
47 inline const Aws::String& GetUserName() const{ return m_userName; }
48 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
49 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
50 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
51 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
52 inline UpdateUserRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
53 inline UpdateUserRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
54 inline UpdateUserRequest& WithUserName(const char* value) { SetUserName(value); return *this;}
56
58
68 inline const Aws::String& GetNewPath() const{ return m_newPath; }
69 inline bool NewPathHasBeenSet() const { return m_newPathHasBeenSet; }
70 inline void SetNewPath(const Aws::String& value) { m_newPathHasBeenSet = true; m_newPath = value; }
71 inline void SetNewPath(Aws::String&& value) { m_newPathHasBeenSet = true; m_newPath = std::move(value); }
72 inline void SetNewPath(const char* value) { m_newPathHasBeenSet = true; m_newPath.assign(value); }
73 inline UpdateUserRequest& WithNewPath(const Aws::String& value) { SetNewPath(value); return *this;}
74 inline UpdateUserRequest& WithNewPath(Aws::String&& value) { SetNewPath(std::move(value)); return *this;}
75 inline UpdateUserRequest& WithNewPath(const char* value) { SetNewPath(value); return *this;}
77
79
85 inline const Aws::String& GetNewUserName() const{ return m_newUserName; }
86 inline bool NewUserNameHasBeenSet() const { return m_newUserNameHasBeenSet; }
87 inline void SetNewUserName(const Aws::String& value) { m_newUserNameHasBeenSet = true; m_newUserName = value; }
88 inline void SetNewUserName(Aws::String&& value) { m_newUserNameHasBeenSet = true; m_newUserName = std::move(value); }
89 inline void SetNewUserName(const char* value) { m_newUserNameHasBeenSet = true; m_newUserName.assign(value); }
90 inline UpdateUserRequest& WithNewUserName(const Aws::String& value) { SetNewUserName(value); return *this;}
91 inline UpdateUserRequest& WithNewUserName(Aws::String&& value) { SetNewUserName(std::move(value)); return *this;}
92 inline UpdateUserRequest& WithNewUserName(const char* value) { SetNewUserName(value); return *this;}
94 private:
95
96 Aws::String m_userName;
97 bool m_userNameHasBeenSet = false;
98
99 Aws::String m_newPath;
100 bool m_newPathHasBeenSet = false;
101
102 Aws::String m_newUserName;
103 bool m_newUserNameHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace IAM
108} // namespace Aws
UpdateUserRequest & WithNewUserName(const Aws::String &value)
void SetUserName(const char *value)
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
UpdateUserRequest & WithUserName(const Aws::String &value)
const Aws::String & GetUserName() const
AWS_IAM_API Aws::String SerializePayload() const override
UpdateUserRequest & WithUserName(const char *value)
UpdateUserRequest & WithNewUserName(const char *value)
UpdateUserRequest & WithNewPath(const char *value)
UpdateUserRequest & WithNewPath(Aws::String &&value)
UpdateUserRequest & WithUserName(Aws::String &&value)
void SetUserName(Aws::String &&value)
void SetNewPath(Aws::String &&value)
const Aws::String & GetNewPath() const
void SetNewUserName(Aws::String &&value)
void SetNewUserName(const Aws::String &value)
const Aws::String & GetNewUserName() const
void SetNewPath(const Aws::String &value)
UpdateUserRequest & WithNewUserName(Aws::String &&value)
void SetNewUserName(const char *value)
UpdateUserRequest & WithNewPath(const Aws::String &value)
void SetUserName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String