/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the ARNs and IDs of associations, Merged APIs, and source
* APIs.See Also:
AWS
* API Reference
The ID generated by the AppSync service for the source API association.
*/ inline const Aws::String& GetAssociationId() const{ return m_associationId; } /** *The ID generated by the AppSync service for the source API association.
*/ inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; } /** *The ID generated by the AppSync service for the source API association.
*/ inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; } /** *The ID generated by the AppSync service for the source API association.
*/ inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); } /** *The ID generated by the AppSync service for the source API association.
*/ inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); } /** *The ID generated by the AppSync service for the source API association.
*/ inline SourceApiAssociationSummary& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;} /** *The ID generated by the AppSync service for the source API association.
*/ inline SourceApiAssociationSummary& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;} /** *The ID generated by the AppSync service for the source API association.
*/ inline SourceApiAssociationSummary& WithAssociationId(const char* value) { SetAssociationId(value); return *this;} /** *The Amazon Resource Name (ARN) of the source API association.
*/ inline const Aws::String& GetAssociationArn() const{ return m_associationArn; } /** *The Amazon Resource Name (ARN) of the source API association.
*/ inline bool AssociationArnHasBeenSet() const { return m_associationArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the source API association.
*/ inline void SetAssociationArn(const Aws::String& value) { m_associationArnHasBeenSet = true; m_associationArn = value; } /** *The Amazon Resource Name (ARN) of the source API association.
*/ inline void SetAssociationArn(Aws::String&& value) { m_associationArnHasBeenSet = true; m_associationArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the source API association.
*/ inline void SetAssociationArn(const char* value) { m_associationArnHasBeenSet = true; m_associationArn.assign(value); } /** *The Amazon Resource Name (ARN) of the source API association.
*/ inline SourceApiAssociationSummary& WithAssociationArn(const Aws::String& value) { SetAssociationArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the source API association.
*/ inline SourceApiAssociationSummary& WithAssociationArn(Aws::String&& value) { SetAssociationArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the source API association.
*/ inline SourceApiAssociationSummary& WithAssociationArn(const char* value) { SetAssociationArn(value); return *this;} /** *The ID of the AppSync source API.
*/ inline const Aws::String& GetSourceApiId() const{ return m_sourceApiId; } /** *The ID of the AppSync source API.
*/ inline bool SourceApiIdHasBeenSet() const { return m_sourceApiIdHasBeenSet; } /** *The ID of the AppSync source API.
*/ inline void SetSourceApiId(const Aws::String& value) { m_sourceApiIdHasBeenSet = true; m_sourceApiId = value; } /** *The ID of the AppSync source API.
*/ inline void SetSourceApiId(Aws::String&& value) { m_sourceApiIdHasBeenSet = true; m_sourceApiId = std::move(value); } /** *The ID of the AppSync source API.
*/ inline void SetSourceApiId(const char* value) { m_sourceApiIdHasBeenSet = true; m_sourceApiId.assign(value); } /** *The ID of the AppSync source API.
*/ inline SourceApiAssociationSummary& WithSourceApiId(const Aws::String& value) { SetSourceApiId(value); return *this;} /** *The ID of the AppSync source API.
*/ inline SourceApiAssociationSummary& WithSourceApiId(Aws::String&& value) { SetSourceApiId(std::move(value)); return *this;} /** *The ID of the AppSync source API.
*/ inline SourceApiAssociationSummary& WithSourceApiId(const char* value) { SetSourceApiId(value); return *this;} /** *The Amazon Resource Name (ARN) of the AppSync Source API.
*/ inline const Aws::String& GetSourceApiArn() const{ return m_sourceApiArn; } /** *The Amazon Resource Name (ARN) of the AppSync Source API.
*/ inline bool SourceApiArnHasBeenSet() const { return m_sourceApiArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the AppSync Source API.
*/ inline void SetSourceApiArn(const Aws::String& value) { m_sourceApiArnHasBeenSet = true; m_sourceApiArn = value; } /** *The Amazon Resource Name (ARN) of the AppSync Source API.
*/ inline void SetSourceApiArn(Aws::String&& value) { m_sourceApiArnHasBeenSet = true; m_sourceApiArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the AppSync Source API.
*/ inline void SetSourceApiArn(const char* value) { m_sourceApiArnHasBeenSet = true; m_sourceApiArn.assign(value); } /** *The Amazon Resource Name (ARN) of the AppSync Source API.
*/ inline SourceApiAssociationSummary& WithSourceApiArn(const Aws::String& value) { SetSourceApiArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the AppSync Source API.
*/ inline SourceApiAssociationSummary& WithSourceApiArn(Aws::String&& value) { SetSourceApiArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the AppSync Source API.
*/ inline SourceApiAssociationSummary& WithSourceApiArn(const char* value) { SetSourceApiArn(value); return *this;} /** *The ID of the AppSync Merged API.
*/ inline const Aws::String& GetMergedApiId() const{ return m_mergedApiId; } /** *The ID of the AppSync Merged API.
*/ inline bool MergedApiIdHasBeenSet() const { return m_mergedApiIdHasBeenSet; } /** *The ID of the AppSync Merged API.
*/ inline void SetMergedApiId(const Aws::String& value) { m_mergedApiIdHasBeenSet = true; m_mergedApiId = value; } /** *The ID of the AppSync Merged API.
*/ inline void SetMergedApiId(Aws::String&& value) { m_mergedApiIdHasBeenSet = true; m_mergedApiId = std::move(value); } /** *The ID of the AppSync Merged API.
*/ inline void SetMergedApiId(const char* value) { m_mergedApiIdHasBeenSet = true; m_mergedApiId.assign(value); } /** *The ID of the AppSync Merged API.
*/ inline SourceApiAssociationSummary& WithMergedApiId(const Aws::String& value) { SetMergedApiId(value); return *this;} /** *The ID of the AppSync Merged API.
*/ inline SourceApiAssociationSummary& WithMergedApiId(Aws::String&& value) { SetMergedApiId(std::move(value)); return *this;} /** *The ID of the AppSync Merged API.
*/ inline SourceApiAssociationSummary& WithMergedApiId(const char* value) { SetMergedApiId(value); return *this;} /** *The Amazon Resource Name (ARN) of the AppSync Merged API.
*/ inline const Aws::String& GetMergedApiArn() const{ return m_mergedApiArn; } /** *The Amazon Resource Name (ARN) of the AppSync Merged API.
*/ inline bool MergedApiArnHasBeenSet() const { return m_mergedApiArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the AppSync Merged API.
*/ inline void SetMergedApiArn(const Aws::String& value) { m_mergedApiArnHasBeenSet = true; m_mergedApiArn = value; } /** *The Amazon Resource Name (ARN) of the AppSync Merged API.
*/ inline void SetMergedApiArn(Aws::String&& value) { m_mergedApiArnHasBeenSet = true; m_mergedApiArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the AppSync Merged API.
*/ inline void SetMergedApiArn(const char* value) { m_mergedApiArnHasBeenSet = true; m_mergedApiArn.assign(value); } /** *The Amazon Resource Name (ARN) of the AppSync Merged API.
*/ inline SourceApiAssociationSummary& WithMergedApiArn(const Aws::String& value) { SetMergedApiArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the AppSync Merged API.
*/ inline SourceApiAssociationSummary& WithMergedApiArn(Aws::String&& value) { SetMergedApiArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the AppSync Merged API.
*/ inline SourceApiAssociationSummary& WithMergedApiArn(const char* value) { SetMergedApiArn(value); return *this;} /** *The description field.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description field.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description field.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description field.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description field.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description field.
*/ inline SourceApiAssociationSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description field.
*/ inline SourceApiAssociationSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description field.
*/ inline SourceApiAssociationSummary& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_associationId; bool m_associationIdHasBeenSet = false; Aws::String m_associationArn; bool m_associationArnHasBeenSet = false; Aws::String m_sourceApiId; bool m_sourceApiIdHasBeenSet = false; Aws::String m_sourceApiArn; bool m_sourceApiArnHasBeenSet = false; Aws::String m_mergedApiId; bool m_mergedApiIdHasBeenSet = false; Aws::String m_mergedApiArn; bool m_mergedApiArnHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace AppSync } // namespace Aws