AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribePrincipalMappingRequest.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 <utility>
11
12namespace Aws
13{
14namespace kendra
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_KENDRA_API DescribePrincipalMappingRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribePrincipalMapping"; }
31
32 AWS_KENDRA_API Aws::String SerializePayload() const override;
33
35
36
38
43 inline const Aws::String& GetIndexId() const { return m_indexId; }
44 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
45 template<typename IndexIdT = Aws::String>
46 void SetIndexId(IndexIdT&& value) { m_indexIdHasBeenSet = true; m_indexId = std::forward<IndexIdT>(value); }
47 template<typename IndexIdT = Aws::String>
48 DescribePrincipalMappingRequest& WithIndexId(IndexIdT&& value) { SetIndexId(std::forward<IndexIdT>(value)); return *this;}
50
52
56 inline const Aws::String& GetDataSourceId() const { return m_dataSourceId; }
57 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
58 template<typename DataSourceIdT = Aws::String>
59 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
60 template<typename DataSourceIdT = Aws::String>
61 DescribePrincipalMappingRequest& WithDataSourceId(DataSourceIdT&& value) { SetDataSourceId(std::forward<DataSourceIdT>(value)); return *this;}
63
65
70 inline const Aws::String& GetGroupId() const { return m_groupId; }
71 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
72 template<typename GroupIdT = Aws::String>
73 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet = true; m_groupId = std::forward<GroupIdT>(value); }
74 template<typename GroupIdT = Aws::String>
75 DescribePrincipalMappingRequest& WithGroupId(GroupIdT&& value) { SetGroupId(std::forward<GroupIdT>(value)); return *this;}
77 private:
78
79 Aws::String m_indexId;
80 bool m_indexIdHasBeenSet = false;
81
82 Aws::String m_dataSourceId;
83 bool m_dataSourceIdHasBeenSet = false;
84
85 Aws::String m_groupId;
86 bool m_groupIdHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace kendra
91} // 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