/* * 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 rekognition-2016-06-27.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.Rekognition.Model { /// /// This is the response object from the GetCelebrityInfo operation. /// public partial class GetCelebrityInfoResponse : AmazonWebServiceResponse { private KnownGender _knownGender; private string _name; private List _urls = new List(); /// /// Gets and sets the property KnownGender. /// /// Retrieves the known gender for the celebrity. /// /// public KnownGender KnownGender { get { return this._knownGender; } set { this._knownGender = value; } } // Check to see if KnownGender property is set internal bool IsSetKnownGender() { return this._knownGender != null; } /// /// Gets and sets the property Name. /// /// The name of the celebrity. /// /// public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property Urls. /// /// An array of URLs pointing to additional celebrity information. /// /// [AWSProperty(Min=0, Max=255)] public List Urls { get { return this._urls; } set { this._urls = value; } } // Check to see if Urls property is set internal bool IsSetUrls() { return this._urls != null && this._urls.Count > 0; } } }