/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Data source information for user context filtering.See Also:
* AWS
* API Reference
The identifier of the group you want to add to your list of groups. This is * for filtering search results based on the groups' access to documents.
*/ inline const Aws::String& GetGroupId() const{ return m_groupId; } /** *The identifier of the group you want to add to your list of groups. This is * for filtering search results based on the groups' access to documents.
*/ inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; } /** *The identifier of the group you want to add to your list of groups. This is * for filtering search results based on the groups' access to documents.
*/ inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; } /** *The identifier of the group you want to add to your list of groups. This is * for filtering search results based on the groups' access to documents.
*/ inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); } /** *The identifier of the group you want to add to your list of groups. This is * for filtering search results based on the groups' access to documents.
*/ inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); } /** *The identifier of the group you want to add to your list of groups. This is * for filtering search results based on the groups' access to documents.
*/ inline DataSourceGroup& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;} /** *The identifier of the group you want to add to your list of groups. This is * for filtering search results based on the groups' access to documents.
*/ inline DataSourceGroup& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;} /** *The identifier of the group you want to add to your list of groups. This is * for filtering search results based on the groups' access to documents.
*/ inline DataSourceGroup& WithGroupId(const char* value) { SetGroupId(value); return *this;} /** *The identifier of the data source group you want to add to your list of data * source groups. This is for filtering search results based on the groups' access * to documents in that data source.
*/ inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; } /** *The identifier of the data source group you want to add to your list of data * source groups. This is for filtering search results based on the groups' access * to documents in that data source.
*/ inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; } /** *The identifier of the data source group you want to add to your list of data * source groups. This is for filtering search results based on the groups' access * to documents in that data source.
*/ inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; } /** *The identifier of the data source group you want to add to your list of data * source groups. This is for filtering search results based on the groups' access * to documents in that data source.
*/ inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); } /** *The identifier of the data source group you want to add to your list of data * source groups. This is for filtering search results based on the groups' access * to documents in that data source.
*/ inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); } /** *The identifier of the data source group you want to add to your list of data * source groups. This is for filtering search results based on the groups' access * to documents in that data source.
*/ inline DataSourceGroup& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;} /** *The identifier of the data source group you want to add to your list of data * source groups. This is for filtering search results based on the groups' access * to documents in that data source.
*/ inline DataSourceGroup& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;} /** *The identifier of the data source group you want to add to your list of data * source groups. This is for filtering search results based on the groups' access * to documents in that data source.
*/ inline DataSourceGroup& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;} private: Aws::String m_groupId; bool m_groupIdHasBeenSet = false; Aws::String m_dataSourceId; bool m_dataSourceIdHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws