AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchDeleteFeaturedResultsSetRequest.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 BatchDeleteFeaturedResultsSetRequest() = 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 "BatchDeleteFeaturedResultsSet"; }
32
33 AWS_KENDRA_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetIndexId() const { return m_indexId; }
43 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
44 template<typename IndexIdT = Aws::String>
45 void SetIndexId(IndexIdT&& value) { m_indexIdHasBeenSet = true; m_indexId = std::forward<IndexIdT>(value); }
46 template<typename IndexIdT = Aws::String>
47 BatchDeleteFeaturedResultsSetRequest& WithIndexId(IndexIdT&& value) { SetIndexId(std::forward<IndexIdT>(value)); return *this;}
49
51
54 inline const Aws::Vector<Aws::String>& GetFeaturedResultsSetIds() const { return m_featuredResultsSetIds; }
55 inline bool FeaturedResultsSetIdsHasBeenSet() const { return m_featuredResultsSetIdsHasBeenSet; }
56 template<typename FeaturedResultsSetIdsT = Aws::Vector<Aws::String>>
57 void SetFeaturedResultsSetIds(FeaturedResultsSetIdsT&& value) { m_featuredResultsSetIdsHasBeenSet = true; m_featuredResultsSetIds = std::forward<FeaturedResultsSetIdsT>(value); }
58 template<typename FeaturedResultsSetIdsT = Aws::Vector<Aws::String>>
59 BatchDeleteFeaturedResultsSetRequest& WithFeaturedResultsSetIds(FeaturedResultsSetIdsT&& value) { SetFeaturedResultsSetIds(std::forward<FeaturedResultsSetIdsT>(value)); return *this;}
60 template<typename FeaturedResultsSetIdsT = Aws::String>
61 BatchDeleteFeaturedResultsSetRequest& AddFeaturedResultsSetIds(FeaturedResultsSetIdsT&& value) { m_featuredResultsSetIdsHasBeenSet = true; m_featuredResultsSetIds.emplace_back(std::forward<FeaturedResultsSetIdsT>(value)); return *this; }
63 private:
64
65 Aws::String m_indexId;
66 bool m_indexIdHasBeenSet = false;
67
68 Aws::Vector<Aws::String> m_featuredResultsSetIds;
69 bool m_featuredResultsSetIdsHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace kendra
74} // namespace Aws
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