/* * 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 frauddetector-2019-11-15.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.FraudDetector.Model { /// /// Container for the parameters to the PutExternalModel operation. /// Creates or updates an Amazon SageMaker model endpoint. You can also use this action /// to update the configuration of the model endpoint, including the IAM role and/or the /// mapped variables. /// public partial class PutExternalModelRequest : AmazonFraudDetectorRequest { private ModelInputConfiguration _inputConfiguration; private string _invokeModelEndpointRoleArn; private string _modelEndpoint; private ModelEndpointStatus _modelEndpointStatus; private ModelSource _modelSource; private ModelOutputConfiguration _outputConfiguration; private List _tags = new List(); /// /// Gets and sets the property InputConfiguration. /// /// The model endpoint input configuration. /// /// [AWSProperty(Required=true)] public ModelInputConfiguration InputConfiguration { get { return this._inputConfiguration; } set { this._inputConfiguration = value; } } // Check to see if InputConfiguration property is set internal bool IsSetInputConfiguration() { return this._inputConfiguration != null; } /// /// Gets and sets the property InvokeModelEndpointRoleArn. /// /// The IAM role used to invoke the model endpoint. /// /// [AWSProperty(Required=true)] public string InvokeModelEndpointRoleArn { get { return this._invokeModelEndpointRoleArn; } set { this._invokeModelEndpointRoleArn = value; } } // Check to see if InvokeModelEndpointRoleArn property is set internal bool IsSetInvokeModelEndpointRoleArn() { return this._invokeModelEndpointRoleArn != null; } /// /// Gets and sets the property ModelEndpoint. /// /// The model endpoints name. /// /// [AWSProperty(Required=true, Min=1, Max=63)] public string ModelEndpoint { get { return this._modelEndpoint; } set { this._modelEndpoint = value; } } // Check to see if ModelEndpoint property is set internal bool IsSetModelEndpoint() { return this._modelEndpoint != null; } /// /// Gets and sets the property ModelEndpointStatus. /// /// The model endpoint’s status in Amazon Fraud Detector. /// /// [AWSProperty(Required=true)] public ModelEndpointStatus ModelEndpointStatus { get { return this._modelEndpointStatus; } set { this._modelEndpointStatus = value; } } // Check to see if ModelEndpointStatus property is set internal bool IsSetModelEndpointStatus() { return this._modelEndpointStatus != null; } /// /// Gets and sets the property ModelSource. /// /// The source of the model. /// /// [AWSProperty(Required=true)] public ModelSource ModelSource { get { return this._modelSource; } set { this._modelSource = value; } } // Check to see if ModelSource property is set internal bool IsSetModelSource() { return this._modelSource != null; } /// /// Gets and sets the property OutputConfiguration. /// /// The model endpoint output configuration. /// /// [AWSProperty(Required=true)] public ModelOutputConfiguration OutputConfiguration { get { return this._outputConfiguration; } set { this._outputConfiguration = value; } } // Check to see if OutputConfiguration property is set internal bool IsSetOutputConfiguration() { return this._outputConfiguration != null; } /// /// Gets and sets the property Tags. /// /// A collection of key and value pairs. /// /// [AWSProperty(Min=0, Max=200)] public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }