/* * 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 finspace-2021-03-12.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.Finspace.Model { /// /// Container for the parameters to the CreateKxUser operation. /// Creates a user in FinSpace kdb environment with an associated IAM role. /// public partial class CreateKxUserRequest : AmazonFinspaceRequest { private string _clientToken; private string _environmentId; private string _iamRole; private Dictionary _tags = new Dictionary(); private string _userName; /// /// Gets and sets the property ClientToken. /// /// A token that ensures idempotency. This token expires in 10 minutes. /// /// [AWSProperty(Min=1, Max=36)] public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// /// Gets and sets the property EnvironmentId. /// /// A unique identifier for the kdb environment where you want to create a user. /// /// [AWSProperty(Required=true, Min=1, Max=26)] public string EnvironmentId { get { return this._environmentId; } set { this._environmentId = value; } } // Check to see if EnvironmentId property is set internal bool IsSetEnvironmentId() { return this._environmentId != null; } /// /// Gets and sets the property IamRole. /// /// The IAM role ARN that will be associated with the user. /// /// [AWSProperty(Required=true, Min=20, Max=2048)] public string IamRole { get { return this._iamRole; } set { this._iamRole = value; } } // Check to see if IamRole property is set internal bool IsSetIamRole() { return this._iamRole != null; } /// /// Gets and sets the property Tags. /// /// A list of key-value pairs to label the user. You can add up to 50 tags to a user. /// /// [AWSProperty(Min=1, Max=50)] public Dictionary 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; } /// /// Gets and sets the property UserName. /// /// A unique identifier for the user. /// /// [AWSProperty(Required=true, Min=1, Max=50)] public string UserName { get { return this._userName; } set { this._userName = value; } } // Check to see if UserName property is set internal bool IsSetUserName() { return this._userName != null; } } }