/*
* 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 DisassociateMergedGraphqlApi operation.
/// Deletes an association between a Merged API and source API using the source API's
/// identifier and the association ID.
///
public partial class DisassociateMergedGraphqlApiRequest : AmazonAppSyncRequest
{
private string _associationId;
private string _sourceApiIdentifier;
///
/// Gets and sets the property AssociationId.
///
/// The ID generated by the AppSync service for the source API association.
///
///
[AWSProperty(Required=true)]
public string AssociationId
{
get { return this._associationId; }
set { this._associationId = value; }
}
// Check to see if AssociationId property is set
internal bool IsSetAssociationId()
{
return this._associationId != 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;
}
}
}