AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DisassociatePersonasFromEntitiesRequest.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/kendra/KendraRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace kendra
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KENDRA_API DisassociatePersonasFromEntitiesRequest() = default;
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 "DisassociatePersonasFromEntities"; }
32
33 AWS_KENDRA_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template<typename IdT = Aws::String>
45 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
46 template<typename IdT = Aws::String>
47 DisassociatePersonasFromEntitiesRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetIndexId() const { return m_indexId; }
55 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
56 template<typename IndexIdT = Aws::String>
57 void SetIndexId(IndexIdT&& value) { m_indexIdHasBeenSet = true; m_indexId = std::forward<IndexIdT>(value); }
58 template<typename IndexIdT = Aws::String>
59 DisassociatePersonasFromEntitiesRequest& WithIndexId(IndexIdT&& value) { SetIndexId(std::forward<IndexIdT>(value)); return *this;}
61
63
67 inline const Aws::Vector<Aws::String>& GetEntityIds() const { return m_entityIds; }
68 inline bool EntityIdsHasBeenSet() const { return m_entityIdsHasBeenSet; }
69 template<typename EntityIdsT = Aws::Vector<Aws::String>>
70 void SetEntityIds(EntityIdsT&& value) { m_entityIdsHasBeenSet = true; m_entityIds = std::forward<EntityIdsT>(value); }
71 template<typename EntityIdsT = Aws::Vector<Aws::String>>
72 DisassociatePersonasFromEntitiesRequest& WithEntityIds(EntityIdsT&& value) { SetEntityIds(std::forward<EntityIdsT>(value)); return *this;}
73 template<typename EntityIdsT = Aws::String>
74 DisassociatePersonasFromEntitiesRequest& AddEntityIds(EntityIdsT&& value) { m_entityIdsHasBeenSet = true; m_entityIds.emplace_back(std::forward<EntityIdsT>(value)); return *this; }
76 private:
77
78 Aws::String m_id;
79 bool m_idHasBeenSet = false;
80
81 Aws::String m_indexId;
82 bool m_indexIdHasBeenSet = false;
83
84 Aws::Vector<Aws::String> m_entityIds;
85 bool m_entityIdsHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace kendra
90} // namespace Aws
DisassociatePersonasFromEntitiesRequest & AddEntityIds(EntityIdsT &&value)
AWS_KENDRA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_KENDRA_API Aws::String SerializePayload() const override
DisassociatePersonasFromEntitiesRequest & WithIndexId(IndexIdT &&value)
DisassociatePersonasFromEntitiesRequest & WithEntityIds(EntityIdsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector