/*
* 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 sagemaker-featurestore-runtime-2020-07-01.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.SageMakerFeatureStoreRuntime.Model
{
///
/// Container for the parameters to the GetRecord operation.
/// Use for OnlineStore
serving from a FeatureStore
. Only the
/// latest records stored in the OnlineStore
can be retrieved. If no Record
/// with RecordIdentifierValue
is found, then an empty result is returned.
///
public partial class GetRecordRequest : AmazonSageMakerFeatureStoreRuntimeRequest
{
private ExpirationTimeResponse _expirationTimeResponse;
private string _featureGroupName;
private List _featureNames = new List();
private string _recordIdentifierValueAsString;
///
/// Gets and sets the property ExpirationTimeResponse.
///
/// Parameter to request ExpiresAt
in response. If Enabled
,
/// GetRecord
will return the value of ExpiresAt
, if it is not
/// null. If Disabled
and null, GetRecord
will return null.
///
///
public ExpirationTimeResponse ExpirationTimeResponse
{
get { return this._expirationTimeResponse; }
set { this._expirationTimeResponse = value; }
}
// Check to see if ExpirationTimeResponse property is set
internal bool IsSetExpirationTimeResponse()
{
return this._expirationTimeResponse != null;
}
///
/// Gets and sets the property FeatureGroupName.
///
/// The name or Amazon Resource Name (ARN) of the feature group from which you want to
/// retrieve a record.
///
///
[AWSProperty(Required=true, Min=1, Max=150)]
public string FeatureGroupName
{
get { return this._featureGroupName; }
set { this._featureGroupName = value; }
}
// Check to see if FeatureGroupName property is set
internal bool IsSetFeatureGroupName()
{
return this._featureGroupName != null;
}
///
/// Gets and sets the property FeatureNames.
///
/// List of names of Features to be retrieved. If not specified, the latest value for
/// all the Features are returned.
///
///
[AWSProperty(Min=1)]
public List FeatureNames
{
get { return this._featureNames; }
set { this._featureNames = value; }
}
// Check to see if FeatureNames property is set
internal bool IsSetFeatureNames()
{
return this._featureNames != null && this._featureNames.Count > 0;
}
///
/// Gets and sets the property RecordIdentifierValueAsString.
///
/// The value that corresponds to RecordIdentifier
type and uniquely identifies
/// the record in the FeatureGroup
.
///
///
[AWSProperty(Required=true, Max=358400)]
public string RecordIdentifierValueAsString
{
get { return this._recordIdentifierValueAsString; }
set { this._recordIdentifierValueAsString = value; }
}
// Check to see if RecordIdentifierValueAsString property is set
internal bool IsSetRecordIdentifierValueAsString()
{
return this._recordIdentifierValueAsString != null;
}
}
}