AWS SDK for C++  1.9.131
AWS SDK for C++
DeleteUserHierarchyGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Connect
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 "DeleteUserHierarchyGroup"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetHierarchyGroupId() const{ return m_hierarchyGroupId; }
39 
43  inline bool HierarchyGroupIdHasBeenSet() const { return m_hierarchyGroupIdHasBeenSet; }
44 
48  inline void SetHierarchyGroupId(const Aws::String& value) { m_hierarchyGroupIdHasBeenSet = true; m_hierarchyGroupId = value; }
49 
53  inline void SetHierarchyGroupId(Aws::String&& value) { m_hierarchyGroupIdHasBeenSet = true; m_hierarchyGroupId = std::move(value); }
54 
58  inline void SetHierarchyGroupId(const char* value) { m_hierarchyGroupIdHasBeenSet = true; m_hierarchyGroupId.assign(value); }
59 
63  inline DeleteUserHierarchyGroupRequest& WithHierarchyGroupId(const Aws::String& value) { SetHierarchyGroupId(value); return *this;}
64 
68  inline DeleteUserHierarchyGroupRequest& WithHierarchyGroupId(Aws::String&& value) { SetHierarchyGroupId(std::move(value)); return *this;}
69 
73  inline DeleteUserHierarchyGroupRequest& WithHierarchyGroupId(const char* value) { SetHierarchyGroupId(value); return *this;}
74 
75 
80  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
81 
86  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
87 
92  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
93 
98  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
99 
104  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
105 
110  inline DeleteUserHierarchyGroupRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
111 
116  inline DeleteUserHierarchyGroupRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
117 
122  inline DeleteUserHierarchyGroupRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
123 
124  private:
125 
126  Aws::String m_hierarchyGroupId;
127  bool m_hierarchyGroupIdHasBeenSet;
128 
129  Aws::String m_instanceId;
130  bool m_instanceIdHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace Connect
135 } // namespace Aws
Aws::Connect::Model::DeleteUserHierarchyGroupRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: DeleteUserHierarchyGroupRequest.h:104
Aws::Connect::Model::DeleteUserHierarchyGroupRequest::SetHierarchyGroupId
void SetHierarchyGroupId(Aws::String &&value)
Definition: DeleteUserHierarchyGroupRequest.h:53
Aws::Connect::Model::DeleteUserHierarchyGroupRequest::WithInstanceId
DeleteUserHierarchyGroupRequest & WithInstanceId(const Aws::String &value)
Definition: DeleteUserHierarchyGroupRequest.h:110
Aws::Connect::Model::DeleteUserHierarchyGroupRequest::DeleteUserHierarchyGroupRequest
DeleteUserHierarchyGroupRequest()
Aws::Connect::Model::DeleteUserHierarchyGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteUserHierarchyGroupRequest.h:30
Aws::Connect::Model::DeleteUserHierarchyGroupRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: DeleteUserHierarchyGroupRequest.h:86
Aws::Connect::Model::DeleteUserHierarchyGroupRequest::GetHierarchyGroupId
const Aws::String & GetHierarchyGroupId() const
Definition: DeleteUserHierarchyGroupRequest.h:38
Aws::Connect::Model::DeleteUserHierarchyGroupRequest::WithInstanceId
DeleteUserHierarchyGroupRequest & WithInstanceId(const char *value)
Definition: DeleteUserHierarchyGroupRequest.h:122
Aws::Connect::Model::DeleteUserHierarchyGroupRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: DeleteUserHierarchyGroupRequest.h:92
Aws::Connect::Model::DeleteUserHierarchyGroupRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: DeleteUserHierarchyGroupRequest.h:98
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::DeleteUserHierarchyGroupRequest::WithHierarchyGroupId
DeleteUserHierarchyGroupRequest & WithHierarchyGroupId(const char *value)
Definition: DeleteUserHierarchyGroupRequest.h:73
Aws::Connect::Model::DeleteUserHierarchyGroupRequest::WithHierarchyGroupId
DeleteUserHierarchyGroupRequest & WithHierarchyGroupId(Aws::String &&value)
Definition: DeleteUserHierarchyGroupRequest.h:68
Aws::Connect::Model::DeleteUserHierarchyGroupRequest::WithInstanceId
DeleteUserHierarchyGroupRequest & WithInstanceId(Aws::String &&value)
Definition: DeleteUserHierarchyGroupRequest.h:116
Aws::Connect::Model::DeleteUserHierarchyGroupRequest::HierarchyGroupIdHasBeenSet
bool HierarchyGroupIdHasBeenSet() const
Definition: DeleteUserHierarchyGroupRequest.h:43
Aws::Connect::Model::DeleteUserHierarchyGroupRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: DeleteUserHierarchyGroupRequest.h:80
AWSString.h
Aws::Connect::Model::DeleteUserHierarchyGroupRequest::WithHierarchyGroupId
DeleteUserHierarchyGroupRequest & WithHierarchyGroupId(const Aws::String &value)
Definition: DeleteUserHierarchyGroupRequest.h:63
Aws::Connect::Model::DeleteUserHierarchyGroupRequest::SetHierarchyGroupId
void SetHierarchyGroupId(const Aws::String &value)
Definition: DeleteUserHierarchyGroupRequest.h:48
Aws::Connect::Model::DeleteUserHierarchyGroupRequest
Definition: DeleteUserHierarchyGroupRequest.h:22
Aws::Connect::Model::DeleteUserHierarchyGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::DeleteUserHierarchyGroupRequest::SetHierarchyGroupId
void SetHierarchyGroupId(const char *value)
Definition: DeleteUserHierarchyGroupRequest.h:58
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
ConnectRequest.h