AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateGroupRequest.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 CreateGroupRequest() = default;
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 "CreateGroup"; }
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
52 inline const Aws::String& GetPath() const { return m_path; }
53 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
54 template<typename PathT = Aws::String>
55 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
56 template<typename PathT = Aws::String>
57 CreateGroupRequest& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
59
61
67 inline const Aws::String& GetGroupName() const { return m_groupName; }
68 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
69 template<typename GroupNameT = Aws::String>
70 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet = true; m_groupName = std::forward<GroupNameT>(value); }
71 template<typename GroupNameT = Aws::String>
72 CreateGroupRequest& WithGroupName(GroupNameT&& value) { SetGroupName(std::forward<GroupNameT>(value)); return *this;}
74 private:
75
76 Aws::String m_path;
77 bool m_pathHasBeenSet = false;
78
79 Aws::String m_groupName;
80 bool m_groupNameHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace IAM
85} // namespace Aws
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetPath() const
AWS_IAM_API Aws::String SerializePayload() const override
CreateGroupRequest & WithGroupName(GroupNameT &&value)
const Aws::String & GetGroupName() const
virtual const char * GetServiceRequestName() const override
CreateGroupRequest & WithPath(PathT &&value)
void SetGroupName(GroupNameT &&value)
AWS_IAM_API CreateGroupRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String