/* * 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 cloudformation-2010-05-15.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.CloudFormation.Model { /// /// Container for the parameters to the RegisterPublisher operation. /// Registers your account as a publisher of public extensions in the CloudFormation registry. /// Public extensions are available for use by all CloudFormation users. This publisher /// ID applies to your account in all Amazon Web Services Regions. /// /// /// /// For information about requirements for registering as a public extension publisher, /// see Registering /// your account to publish CloudFormation extensions in the CloudFormation CLI /// User Guide. /// /// public partial class RegisterPublisherRequest : AmazonCloudFormationRequest { private bool? _acceptTermsAndConditions; private string _connectionArn; /// /// Gets and sets the property AcceptTermsAndConditions. /// /// Whether you accept the Terms /// and Conditions for publishing extensions in the CloudFormation registry. You must /// accept the terms and conditions in order to register to publish public extensions /// to the CloudFormation registry. /// /// /// /// The default is false. /// /// public bool AcceptTermsAndConditions { get { return this._acceptTermsAndConditions.GetValueOrDefault(); } set { this._acceptTermsAndConditions = value; } } // Check to see if AcceptTermsAndConditions property is set internal bool IsSetAcceptTermsAndConditions() { return this._acceptTermsAndConditions.HasValue; } /// /// Gets and sets the property ConnectionArn. /// /// If you are using a Bitbucket or GitHub account for identity verification, the Amazon /// Resource Name (ARN) for your connection to that account. /// /// /// /// For more information, see Registering /// your account to publish CloudFormation extensions in the CloudFormation CLI /// User Guide. /// /// [AWSProperty(Min=1, Max=256)] public string ConnectionArn { get { return this._connectionArn; } set { this._connectionArn = value; } } // Check to see if ConnectionArn property is set internal bool IsSetConnectionArn() { return this._connectionArn != null; } } }