AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DisassociateEntitiesFromExperienceRequest.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 <aws/kendra/model/EntityConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace kendra
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DisassociateEntitiesFromExperience"; }
33
34 AWS_KENDRA_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template<typename IdT = Aws::String>
46 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
47 template<typename IdT = Aws::String>
48 DisassociateEntitiesFromExperienceRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetIndexId() const { return m_indexId; }
56 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
57 template<typename IndexIdT = Aws::String>
58 void SetIndexId(IndexIdT&& value) { m_indexIdHasBeenSet = true; m_indexId = std::forward<IndexIdT>(value); }
59 template<typename IndexIdT = Aws::String>
60 DisassociateEntitiesFromExperienceRequest& WithIndexId(IndexIdT&& value) { SetIndexId(std::forward<IndexIdT>(value)); return *this;}
62
64
67 inline const Aws::Vector<EntityConfiguration>& GetEntityList() const { return m_entityList; }
68 inline bool EntityListHasBeenSet() const { return m_entityListHasBeenSet; }
69 template<typename EntityListT = Aws::Vector<EntityConfiguration>>
70 void SetEntityList(EntityListT&& value) { m_entityListHasBeenSet = true; m_entityList = std::forward<EntityListT>(value); }
71 template<typename EntityListT = Aws::Vector<EntityConfiguration>>
72 DisassociateEntitiesFromExperienceRequest& WithEntityList(EntityListT&& value) { SetEntityList(std::forward<EntityListT>(value)); return *this;}
73 template<typename EntityListT = EntityConfiguration>
74 DisassociateEntitiesFromExperienceRequest& AddEntityList(EntityListT&& value) { m_entityListHasBeenSet = true; m_entityList.emplace_back(std::forward<EntityListT>(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
85 bool m_entityListHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace kendra
90} // 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