/* * 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 pinpoint-sms-voice-v2-2022-03-31.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.PinpointSMSVoiceV2.Model { /// /// Container for the parameters to the DisassociateOriginationIdentity operation. /// Removes the specified origination identity from an existing pool. /// /// /// /// If the origination identity isn't associated with the specified pool, an Error is /// returned. /// /// public partial class DisassociateOriginationIdentityRequest : AmazonPinpointSMSVoiceV2Request { private string _clientToken; private string _isoCountryCode; private string _originationIdentity; private string _poolId; /// /// Gets and sets the property ClientToken. /// /// Unique, case-sensitive identifier you provide to ensure the idempotency of the request. /// If you don't specify a client token, a randomly generated token is used for the request /// to ensure idempotency. /// /// [AWSProperty(Min=1, Max=64)] 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 IsoCountryCode. /// /// The two-character code, in ISO 3166-1 alpha-2 format, for the country or region. /// /// [AWSProperty(Required=true, Min=2, Max=2)] public string IsoCountryCode { get { return this._isoCountryCode; } set { this._isoCountryCode = value; } } // Check to see if IsoCountryCode property is set internal bool IsSetIsoCountryCode() { return this._isoCountryCode != null; } /// /// Gets and sets the property OriginationIdentity. /// /// The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId /// or SenderIdArn. You can use DescribePhoneNumbers find the values for PhoneNumberId /// and PhoneNumberArn, or use DescribeSenderIds to get the values for SenderId /// and SenderIdArn. /// /// [AWSProperty(Required=true, Min=1, Max=256)] public string OriginationIdentity { get { return this._originationIdentity; } set { this._originationIdentity = value; } } // Check to see if OriginationIdentity property is set internal bool IsSetOriginationIdentity() { return this._originationIdentity != null; } /// /// Gets and sets the property PoolId. /// /// The unique identifier for the pool to disassociate with the origination identity. /// This value can be either the PoolId or PoolArn. /// /// [AWSProperty(Required=true, Min=1, Max=256)] public string PoolId { get { return this._poolId; } set { this._poolId = value; } } // Check to see if PoolId property is set internal bool IsSetPoolId() { return this._poolId != null; } } }