AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateGroupRequest.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 UpdateGroupRequest();
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 "UpdateGroup"; }
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& GetGroupName() const{ return m_groupName; }
48 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
49 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
50 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
51 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
52 inline UpdateGroupRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
53 inline UpdateGroupRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
54 inline UpdateGroupRequest& WithGroupName(const char* value) { SetGroupName(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 UpdateGroupRequest& WithNewPath(const Aws::String& value) { SetNewPath(value); return *this;}
74 inline UpdateGroupRequest& WithNewPath(Aws::String&& value) { SetNewPath(std::move(value)); return *this;}
75 inline UpdateGroupRequest& WithNewPath(const char* value) { SetNewPath(value); return *this;}
77
79
85 inline const Aws::String& GetNewGroupName() const{ return m_newGroupName; }
86 inline bool NewGroupNameHasBeenSet() const { return m_newGroupNameHasBeenSet; }
87 inline void SetNewGroupName(const Aws::String& value) { m_newGroupNameHasBeenSet = true; m_newGroupName = value; }
88 inline void SetNewGroupName(Aws::String&& value) { m_newGroupNameHasBeenSet = true; m_newGroupName = std::move(value); }
89 inline void SetNewGroupName(const char* value) { m_newGroupNameHasBeenSet = true; m_newGroupName.assign(value); }
90 inline UpdateGroupRequest& WithNewGroupName(const Aws::String& value) { SetNewGroupName(value); return *this;}
91 inline UpdateGroupRequest& WithNewGroupName(Aws::String&& value) { SetNewGroupName(std::move(value)); return *this;}
92 inline UpdateGroupRequest& WithNewGroupName(const char* value) { SetNewGroupName(value); return *this;}
94 private:
95
96 Aws::String m_groupName;
97 bool m_groupNameHasBeenSet = false;
98
99 Aws::String m_newPath;
100 bool m_newPathHasBeenSet = false;
101
102 Aws::String m_newGroupName;
103 bool m_newGroupNameHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace IAM
108} // namespace Aws
UpdateGroupRequest & WithGroupName(Aws::String &&value)
void SetNewGroupName(const char *value)
const Aws::String & GetGroupName() const
void SetNewPath(Aws::String &&value)
UpdateGroupRequest & WithNewPath(const char *value)
UpdateGroupRequest & WithNewPath(const Aws::String &value)
const Aws::String & GetNewPath() const
void SetNewPath(const Aws::String &value)
void SetNewGroupName(Aws::String &&value)
const Aws::String & GetNewGroupName() const
AWS_IAM_API Aws::String SerializePayload() const override
UpdateGroupRequest & WithGroupName(const Aws::String &value)
void SetGroupName(const Aws::String &value)
void SetNewGroupName(const Aws::String &value)
UpdateGroupRequest & WithNewGroupName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateGroupRequest & WithNewGroupName(const Aws::String &value)
void SetGroupName(Aws::String &&value)
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
UpdateGroupRequest & WithNewPath(Aws::String &&value)
UpdateGroupRequest & WithNewGroupName(const char *value)
UpdateGroupRequest & WithGroupName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String