/*
* 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 GetSourceApiAssociation operation.
/// Retrieves a SourceApiAssociation
object.
///
public partial class GetSourceApiAssociationRequest : AmazonAppSyncRequest
{
private string _associationId;
private string _mergedApiIdentifier;
///
/// 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 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;
}
}
}