/* * 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 appsync-2017-07-25.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.AppSync.Model { /// /// Container for the parameters to the AssociateMergedGraphqlApi operation. /// Creates an association between a Merged API and source API using the source API's /// identifier. /// public partial class AssociateMergedGraphqlApiRequest : AmazonAppSyncRequest { private string _description; private string _mergedApiIdentifier; private SourceApiAssociationConfig _sourceApiAssociationConfig; private string _sourceApiIdentifier; /// /// Gets and sets the property Description. /// /// The description field. /// /// public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property MergedApiIdentifier. /// /// The identifier of the AppSync Merged API. This is generated by the AppSync service. /// In most cases, Merged APIs (especially in your account) only require the API ID value /// or ARN of the merged API. However, Merged APIs in other accounts (cross-account use /// cases) strictly require the full resource ARN of the merged API. /// /// [AWSProperty(Required=true)] public string MergedApiIdentifier { get { return this._mergedApiIdentifier; } set { this._mergedApiIdentifier = value; } } // Check to see if MergedApiIdentifier property is set internal bool IsSetMergedApiIdentifier() { return this._mergedApiIdentifier != null; } /// /// Gets and sets the property SourceApiAssociationConfig. /// /// The SourceApiAssociationConfig object data. /// /// public SourceApiAssociationConfig SourceApiAssociationConfig { get { return this._sourceApiAssociationConfig; } set { this._sourceApiAssociationConfig = value; } } // Check to see if SourceApiAssociationConfig property is set internal bool IsSetSourceApiAssociationConfig() { return this._sourceApiAssociationConfig != null; } /// /// Gets and sets the property SourceApiIdentifier. /// /// The identifier of the AppSync Source API. This is generated by the AppSync service. /// In most cases, source APIs (especially in your account) only require the API ID value /// or ARN of the source API. However, source APIs from other accounts (cross-account /// use cases) strictly require the full resource ARN of the source API. /// /// [AWSProperty(Required=true)] public string SourceApiIdentifier { get { return this._sourceApiIdentifier; } set { this._sourceApiIdentifier = value; } } // Check to see if SourceApiIdentifier property is set internal bool IsSetSourceApiIdentifier() { return this._sourceApiIdentifier != null; } } }