/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the kendra-2019-02-03.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Kendra.Model
{
///
/// Provides the configuration information for your content sources, such as data sources,
/// FAQs, and content indexed directly via BatchPutDocument.
///
public partial class ContentSourceConfiguration
{
private List _dataSourceIds = new List();
private bool? _directPutContent;
private List _faqIds = new List();
///
/// Gets and sets the property DataSourceIds.
///
/// The identifier of the data sources you want to use for your Amazon Kendra experience.
///
///
[AWSProperty(Min=1, Max=100)]
public List DataSourceIds
{
get { return this._dataSourceIds; }
set { this._dataSourceIds = value; }
}
// Check to see if DataSourceIds property is set
internal bool IsSetDataSourceIds()
{
return this._dataSourceIds != null && this._dataSourceIds.Count > 0;
}
///
/// Gets and sets the property DirectPutContent.
///
/// TRUE
to use documents you indexed directly using the BatchPutDocument
/// API.
///
///
public bool DirectPutContent
{
get { return this._directPutContent.GetValueOrDefault(); }
set { this._directPutContent = value; }
}
// Check to see if DirectPutContent property is set
internal bool IsSetDirectPutContent()
{
return this._directPutContent.HasValue;
}
///
/// Gets and sets the property FaqIds.
///
/// The identifier of the FAQs that you want to use for your Amazon Kendra experience.
///
///
[AWSProperty(Min=1, Max=100)]
public List FaqIds
{
get { return this._faqIds; }
set { this._faqIds = value; }
}
// Check to see if FaqIds property is set
internal bool IsSetFaqIds()
{
return this._faqIds != null && this._faqIds.Count > 0;
}
}
}