AWS SDK for C++

AWS SDK for C++ Version 1.11.681

Loading...
Searching...
No Matches
DisassociateEntitiesFromExperienceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kendra/KendraRequest.h>
10#include <aws/kendra/Kendra_EXPORTS.h>
11#include <aws/kendra/model/EntityConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace kendra {
17namespace Model {
18
22 public:
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DisassociateEntitiesFromExperience"; }
30
31 AWS_KENDRA_API Aws::String SerializePayload() const override;
32
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetIndexId() const { return m_indexId; }
58 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
59 template <typename IndexIdT = Aws::String>
60 void SetIndexId(IndexIdT&& value) {
61 m_indexIdHasBeenSet = true;
62 m_indexId = std::forward<IndexIdT>(value);
63 }
64 template <typename IndexIdT = Aws::String>
66 SetIndexId(std::forward<IndexIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Vector<EntityConfiguration>& GetEntityList() const { return m_entityList; }
76 inline bool EntityListHasBeenSet() const { return m_entityListHasBeenSet; }
77 template <typename EntityListT = Aws::Vector<EntityConfiguration>>
78 void SetEntityList(EntityListT&& value) {
79 m_entityListHasBeenSet = true;
80 m_entityList = std::forward<EntityListT>(value);
81 }
82 template <typename EntityListT = Aws::Vector<EntityConfiguration>>
84 SetEntityList(std::forward<EntityListT>(value));
85 return *this;
86 }
87 template <typename EntityListT = EntityConfiguration>
89 m_entityListHasBeenSet = true;
90 m_entityList.emplace_back(std::forward<EntityListT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_id;
96 bool m_idHasBeenSet = false;
97
98 Aws::String m_indexId;
99 bool m_indexIdHasBeenSet = false;
100
102 bool m_entityListHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace kendra
107} // namespace Aws
AWS_KENDRA_API Aws::String SerializePayload() const override
AWS_KENDRA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DisassociateEntitiesFromExperienceRequest & WithEntityList(EntityListT &&value)
DisassociateEntitiesFromExperienceRequest & WithIndexId(IndexIdT &&value)
DisassociateEntitiesFromExperienceRequest & AddEntityList(EntityListT &&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