AWS SDK for C++

AWS SDK for C++ Version 1.11.681

Loading...
Searching...
No Matches
DeletePrincipalMappingRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kendra/KendraRequest.h>
9#include <aws/kendra/Kendra_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace kendra {
15namespace Model {
16
20 public:
21 AWS_KENDRA_API DeletePrincipalMappingRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeletePrincipalMapping"; }
28
29 AWS_KENDRA_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetIndexId() const { return m_indexId; }
38 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
39 template <typename IndexIdT = Aws::String>
40 void SetIndexId(IndexIdT&& value) {
41 m_indexIdHasBeenSet = true;
42 m_indexId = std::forward<IndexIdT>(value);
43 }
44 template <typename IndexIdT = Aws::String>
46 SetIndexId(std::forward<IndexIdT>(value));
47 return *this;
48 }
50
52
62 inline const Aws::String& GetDataSourceId() const { return m_dataSourceId; }
63 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
64 template <typename DataSourceIdT = Aws::String>
65 void SetDataSourceId(DataSourceIdT&& value) {
66 m_dataSourceIdHasBeenSet = true;
67 m_dataSourceId = std::forward<DataSourceIdT>(value);
68 }
69 template <typename DataSourceIdT = Aws::String>
71 SetDataSourceId(std::forward<DataSourceIdT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetGroupId() const { return m_groupId; }
81 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
82 template <typename GroupIdT = Aws::String>
83 void SetGroupId(GroupIdT&& value) {
84 m_groupIdHasBeenSet = true;
85 m_groupId = std::forward<GroupIdT>(value);
86 }
87 template <typename GroupIdT = Aws::String>
89 SetGroupId(std::forward<GroupIdT>(value));
90 return *this;
91 }
93
95
109 inline long long GetOrderingId() const { return m_orderingId; }
110 inline bool OrderingIdHasBeenSet() const { return m_orderingIdHasBeenSet; }
111 inline void SetOrderingId(long long value) {
112 m_orderingIdHasBeenSet = true;
113 m_orderingId = value;
114 }
116 SetOrderingId(value);
117 return *this;
118 }
120 private:
121 Aws::String m_indexId;
122 bool m_indexIdHasBeenSet = false;
123
124 Aws::String m_dataSourceId;
125 bool m_dataSourceIdHasBeenSet = false;
126
127 Aws::String m_groupId;
128 bool m_groupIdHasBeenSet = false;
129
130 long long m_orderingId{0};
131 bool m_orderingIdHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace kendra
136} // namespace Aws
DeletePrincipalMappingRequest & WithOrderingId(long long value)
AWS_KENDRA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeletePrincipalMappingRequest & WithIndexId(IndexIdT &&value)
DeletePrincipalMappingRequest & WithDataSourceId(DataSourceIdT &&value)
AWS_KENDRA_API DeletePrincipalMappingRequest()=default
AWS_KENDRA_API Aws::String SerializePayload() const override
DeletePrincipalMappingRequest & WithGroupId(GroupIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String