/* * 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 iam-2010-05-08.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.IdentityManagement.Model { /// /// Container for the parameters to the AddClientIDToOpenIDConnectProvider operation. /// Adds a new client ID (also known as audience) to the list of client IDs already registered /// for the specified IAM OpenID Connect (OIDC) provider resource. /// /// /// /// This operation is idempotent; it does not fail or return an error if you add an existing /// client ID to the provider. /// /// public partial class AddClientIDToOpenIDConnectProviderRequest : AmazonIdentityManagementServiceRequest { private string _clientID; private string _openIDConnectProviderArn; /// /// Gets and sets the property ClientID. /// /// The client ID (also known as audience) to add to the IAM OpenID Connect provider resource. /// /// [AWSProperty(Required=true, Min=1, Max=255)] public string ClientID { get { return this._clientID; } set { this._clientID = value; } } // Check to see if ClientID property is set internal bool IsSetClientID() { return this._clientID != null; } /// /// Gets and sets the property OpenIDConnectProviderArn. /// /// The Amazon Resource Name (ARN) of the IAM OpenID Connect (OIDC) provider resource /// to add the client ID to. You can get a list of OIDC provider ARNs by using the ListOpenIDConnectProviders /// operation. /// /// [AWSProperty(Required=true, Min=20, Max=2048)] public string OpenIDConnectProviderArn { get { return this._openIDConnectProviderArn; } set { this._openIDConnectProviderArn = value; } } // Check to see if OpenIDConnectProviderArn property is set internal bool IsSetOpenIDConnectProviderArn() { return this._openIDConnectProviderArn != null; } } }