/* * 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 to connect to GitHub Enterprise Cloud (SaaS). /// public partial class SaaSConfiguration { private string _hostUrl; private string _organizationName; /// /// Gets and sets the property HostUrl. /// /// The GitHub host URL or API endpoint URL. For example, https://api.github.com. /// /// [AWSProperty(Required=true, Min=1, Max=2048)] public string HostUrl { get { return this._hostUrl; } set { this._hostUrl = value; } } // Check to see if HostUrl property is set internal bool IsSetHostUrl() { return this._hostUrl != null; } /// /// Gets and sets the property OrganizationName. /// /// The name of the organization of the GitHub Enterprise Cloud (SaaS) account you want /// to connect to. You can find your organization name by logging into GitHub desktop /// and selecting Your organizations under your profile picture dropdown. /// /// [AWSProperty(Required=true, Min=1, Max=60)] public string OrganizationName { get { return this._organizationName; } set { this._organizationName = value; } } // Check to see if OrganizationName property is set internal bool IsSetOrganizationName() { return this._organizationName != null; } } }