AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateUserHierarchyStructureRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/connect/model/HierarchyStructureUpdate.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateUserHierarchyStructure"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const HierarchyStructureUpdate& GetHierarchyStructure() const{ return m_hierarchyStructure; }
41 inline bool HierarchyStructureHasBeenSet() const { return m_hierarchyStructureHasBeenSet; }
42 inline void SetHierarchyStructure(const HierarchyStructureUpdate& value) { m_hierarchyStructureHasBeenSet = true; m_hierarchyStructure = value; }
43 inline void SetHierarchyStructure(HierarchyStructureUpdate&& value) { m_hierarchyStructureHasBeenSet = true; m_hierarchyStructure = std::move(value); }
47
49
54 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
55 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
56 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
57 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
58 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
59 inline UpdateUserHierarchyStructureRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
60 inline UpdateUserHierarchyStructureRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
61 inline UpdateUserHierarchyStructureRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
63 private:
64
65 HierarchyStructureUpdate m_hierarchyStructure;
66 bool m_hierarchyStructureHasBeenSet = false;
67
68 Aws::String m_instanceId;
69 bool m_instanceIdHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Connect
74} // namespace Aws
UpdateUserHierarchyStructureRequest & WithHierarchyStructure(HierarchyStructureUpdate &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateUserHierarchyStructureRequest & WithHierarchyStructure(const HierarchyStructureUpdate &value)
UpdateUserHierarchyStructureRequest & WithInstanceId(const Aws::String &value)
UpdateUserHierarchyStructureRequest & WithInstanceId(const char *value)
UpdateUserHierarchyStructureRequest & WithInstanceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String