AWS SDK for C++  1.9.131
AWS SDK for C++
DeletePrincipalMappingRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace kendra
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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 "DeletePrincipalMapping"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetIndexId() const{ return m_indexId; }
41 
45  inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
46 
50  inline void SetIndexId(const Aws::String& value) { m_indexIdHasBeenSet = true; m_indexId = value; }
51 
55  inline void SetIndexId(Aws::String&& value) { m_indexIdHasBeenSet = true; m_indexId = std::move(value); }
56 
60  inline void SetIndexId(const char* value) { m_indexIdHasBeenSet = true; m_indexId.assign(value); }
61 
65  inline DeletePrincipalMappingRequest& WithIndexId(const Aws::String& value) { SetIndexId(value); return *this;}
66 
70  inline DeletePrincipalMappingRequest& WithIndexId(Aws::String&& value) { SetIndexId(std::move(value)); return *this;}
71 
75  inline DeletePrincipalMappingRequest& WithIndexId(const char* value) { SetIndexId(value); return *this;}
76 
77 
88  inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
89 
100  inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
101 
112  inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
113 
124  inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
125 
136  inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
137 
148  inline DeletePrincipalMappingRequest& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
149 
160  inline DeletePrincipalMappingRequest& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
161 
172  inline DeletePrincipalMappingRequest& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
173 
174 
178  inline const Aws::String& GetGroupId() const{ return m_groupId; }
179 
183  inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
184 
188  inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; }
189 
193  inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); }
194 
198  inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); }
199 
203  inline DeletePrincipalMappingRequest& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
204 
208  inline DeletePrincipalMappingRequest& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
209 
213  inline DeletePrincipalMappingRequest& WithGroupId(const char* value) { SetGroupId(value); return *this;}
214 
215 
230  inline long long GetOrderingId() const{ return m_orderingId; }
231 
246  inline bool OrderingIdHasBeenSet() const { return m_orderingIdHasBeenSet; }
247 
262  inline void SetOrderingId(long long value) { m_orderingIdHasBeenSet = true; m_orderingId = value; }
263 
278  inline DeletePrincipalMappingRequest& WithOrderingId(long long value) { SetOrderingId(value); return *this;}
279 
280  private:
281 
282  Aws::String m_indexId;
283  bool m_indexIdHasBeenSet;
284 
285  Aws::String m_dataSourceId;
286  bool m_dataSourceIdHasBeenSet;
287 
288  Aws::String m_groupId;
289  bool m_groupIdHasBeenSet;
290 
291  long long m_orderingId;
292  bool m_orderingIdHasBeenSet;
293  };
294 
295 } // namespace Model
296 } // namespace kendra
297 } // namespace Aws
Aws::kendra::Model::DeletePrincipalMappingRequest::GetDataSourceId
const Aws::String & GetDataSourceId() const
Definition: DeletePrincipalMappingRequest.h:88
Aws::kendra::KendraRequest
Definition: KendraRequest.h:17
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::kendra::Model::DeletePrincipalMappingRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeletePrincipalMappingRequest.h:30
Aws::kendra::Model::DeletePrincipalMappingRequest::SetIndexId
void SetIndexId(const Aws::String &value)
Definition: DeletePrincipalMappingRequest.h:50
Aws::kendra::Model::DeletePrincipalMappingRequest::SetIndexId
void SetIndexId(Aws::String &&value)
Definition: DeletePrincipalMappingRequest.h:55
Aws::kendra::Model::DeletePrincipalMappingRequest::SetGroupId
void SetGroupId(const Aws::String &value)
Definition: DeletePrincipalMappingRequest.h:188
Aws::kendra::Model::DeletePrincipalMappingRequest::DataSourceIdHasBeenSet
bool DataSourceIdHasBeenSet() const
Definition: DeletePrincipalMappingRequest.h:100
Aws::kendra::Model::DeletePrincipalMappingRequest::SetGroupId
void SetGroupId(const char *value)
Definition: DeletePrincipalMappingRequest.h:198
KendraRequest.h
Aws::kendra::Model::DeletePrincipalMappingRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::kendra::Model::DeletePrincipalMappingRequest::SetGroupId
void SetGroupId(Aws::String &&value)
Definition: DeletePrincipalMappingRequest.h:193
Aws::kendra::Model::DeletePrincipalMappingRequest::GroupIdHasBeenSet
bool GroupIdHasBeenSet() const
Definition: DeletePrincipalMappingRequest.h:183
Aws::kendra::Model::DeletePrincipalMappingRequest::WithIndexId
DeletePrincipalMappingRequest & WithIndexId(const Aws::String &value)
Definition: DeletePrincipalMappingRequest.h:65
Aws::kendra::Model::DeletePrincipalMappingRequest::WithGroupId
DeletePrincipalMappingRequest & WithGroupId(const char *value)
Definition: DeletePrincipalMappingRequest.h:213
Kendra_EXPORTS.h
Aws::kendra::Model::DeletePrincipalMappingRequest::WithGroupId
DeletePrincipalMappingRequest & WithGroupId(Aws::String &&value)
Definition: DeletePrincipalMappingRequest.h:208
Aws::kendra::Model::DeletePrincipalMappingRequest::OrderingIdHasBeenSet
bool OrderingIdHasBeenSet() const
Definition: DeletePrincipalMappingRequest.h:246
Aws::kendra::Model::DeletePrincipalMappingRequest::WithIndexId
DeletePrincipalMappingRequest & WithIndexId(Aws::String &&value)
Definition: DeletePrincipalMappingRequest.h:70
Aws::kendra::Model::DeletePrincipalMappingRequest::WithOrderingId
DeletePrincipalMappingRequest & WithOrderingId(long long value)
Definition: DeletePrincipalMappingRequest.h:278
AWSString.h
Aws::kendra::Model::DeletePrincipalMappingRequest::WithGroupId
DeletePrincipalMappingRequest & WithGroupId(const Aws::String &value)
Definition: DeletePrincipalMappingRequest.h:203
Aws::kendra::Model::DeletePrincipalMappingRequest::WithDataSourceId
DeletePrincipalMappingRequest & WithDataSourceId(Aws::String &&value)
Definition: DeletePrincipalMappingRequest.h:160
Aws::kendra::Model::DeletePrincipalMappingRequest::GetGroupId
const Aws::String & GetGroupId() const
Definition: DeletePrincipalMappingRequest.h:178
Aws::kendra::Model::DeletePrincipalMappingRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::kendra::Model::DeletePrincipalMappingRequest
Definition: DeletePrincipalMappingRequest.h:22
Aws::kendra::Model::DeletePrincipalMappingRequest::DeletePrincipalMappingRequest
DeletePrincipalMappingRequest()
Aws::kendra::Model::DeletePrincipalMappingRequest::WithDataSourceId
DeletePrincipalMappingRequest & WithDataSourceId(const char *value)
Definition: DeletePrincipalMappingRequest.h:172
Aws::kendra::Model::DeletePrincipalMappingRequest::WithDataSourceId
DeletePrincipalMappingRequest & WithDataSourceId(const Aws::String &value)
Definition: DeletePrincipalMappingRequest.h:148
Aws
Definition: AccessManagementClient.h:15
Aws::kendra::Model::DeletePrincipalMappingRequest::GetIndexId
const Aws::String & GetIndexId() const
Definition: DeletePrincipalMappingRequest.h:40
Aws::kendra::Model::DeletePrincipalMappingRequest::SetDataSourceId
void SetDataSourceId(Aws::String &&value)
Definition: DeletePrincipalMappingRequest.h:124
Aws::kendra::Model::DeletePrincipalMappingRequest::GetOrderingId
long long GetOrderingId() const
Definition: DeletePrincipalMappingRequest.h:230
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::kendra::Model::DeletePrincipalMappingRequest::WithIndexId
DeletePrincipalMappingRequest & WithIndexId(const char *value)
Definition: DeletePrincipalMappingRequest.h:75
AWS_KENDRA_API
#define AWS_KENDRA_API
Definition: Kendra_EXPORTS.h:28
Aws::kendra::Model::DeletePrincipalMappingRequest::SetIndexId
void SetIndexId(const char *value)
Definition: DeletePrincipalMappingRequest.h:60
Aws::kendra::Model::DeletePrincipalMappingRequest::SetDataSourceId
void SetDataSourceId(const Aws::String &value)
Definition: DeletePrincipalMappingRequest.h:112
Aws::kendra::Model::DeletePrincipalMappingRequest::SetDataSourceId
void SetDataSourceId(const char *value)
Definition: DeletePrincipalMappingRequest.h:136
Aws::kendra::Model::DeletePrincipalMappingRequest::IndexIdHasBeenSet
bool IndexIdHasBeenSet() const
Definition: DeletePrincipalMappingRequest.h:45
Aws::kendra::Model::DeletePrincipalMappingRequest::SetOrderingId
void SetOrderingId(long long value)
Definition: DeletePrincipalMappingRequest.h:262