AWS SDK for C++

AWS SDK for C++ Version 1.11.681

Loading...
Searching...
No Matches
DescribePrincipalMappingRequest.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 DescribePrincipalMappingRequest() = 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 "DescribePrincipalMapping"; }
28
29 AWS_KENDRA_API Aws::String SerializePayload() const override;
30
32
34
39 inline const Aws::String& GetIndexId() const { return m_indexId; }
40 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
41 template <typename IndexIdT = Aws::String>
42 void SetIndexId(IndexIdT&& value) {
43 m_indexIdHasBeenSet = true;
44 m_indexId = std::forward<IndexIdT>(value);
45 }
46 template <typename IndexIdT = Aws::String>
48 SetIndexId(std::forward<IndexIdT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetDataSourceId() const { return m_dataSourceId; }
59 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
60 template <typename DataSourceIdT = Aws::String>
61 void SetDataSourceId(DataSourceIdT&& value) {
62 m_dataSourceIdHasBeenSet = true;
63 m_dataSourceId = std::forward<DataSourceIdT>(value);
64 }
65 template <typename DataSourceIdT = Aws::String>
67 SetDataSourceId(std::forward<DataSourceIdT>(value));
68 return *this;
69 }
71
73
78 inline const Aws::String& GetGroupId() const { return m_groupId; }
79 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
80 template <typename GroupIdT = Aws::String>
81 void SetGroupId(GroupIdT&& value) {
82 m_groupIdHasBeenSet = true;
83 m_groupId = std::forward<GroupIdT>(value);
84 }
85 template <typename GroupIdT = Aws::String>
87 SetGroupId(std::forward<GroupIdT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_indexId;
93 bool m_indexIdHasBeenSet = false;
94
95 Aws::String m_dataSourceId;
96 bool m_dataSourceIdHasBeenSet = false;
97
98 Aws::String m_groupId;
99 bool m_groupIdHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace kendra
104} // namespace Aws
AWS_KENDRA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribePrincipalMappingRequest & WithIndexId(IndexIdT &&value)
AWS_KENDRA_API DescribePrincipalMappingRequest()=default
DescribePrincipalMappingRequest & WithGroupId(GroupIdT &&value)
AWS_KENDRA_API Aws::String SerializePayload() const override
DescribePrincipalMappingRequest & WithDataSourceId(DataSourceIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String