/*
* 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 personalize-events-2018-03-22.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.PersonalizeEvents.Model
{
///
/// Represents user metadata added to a Users dataset using the PutUsers
/// API. For more information see Importing
/// Users Incrementally.
///
public partial class User
{
private string _properties;
private string _userId;
///
/// Gets and sets the property Properties.
///
/// A string map of user-specific metadata. Each element in the map consists of a key-value
/// pair. For example, {"numberOfVideosWatched": "45"}
.
///
///
///
/// The keys use camel case names that match the fields in the schema for the Users dataset.
/// In the previous example, the numberOfVideosWatched
matches the 'NUMBER_OF_VIDEOS_WATCHED'
/// field defined in the Users schema. For categorical string data, to include multiple
/// categories for a single user, separate each category with a pipe separator (|
).
/// For example, \"Member|Frequent shopper\"
.
///
///
[AWSProperty(Sensitive=true, Min=1, Max=4096)]
public string Properties
{
get { return this._properties; }
set { this._properties = value; }
}
// Check to see if Properties property is set
internal bool IsSetProperties()
{
return this._properties != null;
}
///
/// Gets and sets the property UserId.
///
/// The ID associated with the user.
///
///
[AWSProperty(Required=true, Min=1, Max=256)]
public string UserId
{
get { return this._userId; }
set { this._userId = value; }
}
// Check to see if UserId property is set
internal bool IsSetUserId()
{
return this._userId != null;
}
}
}