7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appsync/model/SourceApiAssociationConfig.h>
10#include <aws/appsync/model/SourceApiAssociationStatus.h>
11#include <aws/core/utils/DateTime.h>
58 template<
typename AssociationIdT = Aws::String>
59 void SetAssociationId(AssociationIdT&& value) { m_associationIdHasBeenSet =
true; m_associationId = std::forward<AssociationIdT>(value); }
60 template<
typename AssociationIdT = Aws::String>
70 template<
typename AssociationArnT = Aws::String>
71 void SetAssociationArn(AssociationArnT&& value) { m_associationArnHasBeenSet =
true; m_associationArn = std::forward<AssociationArnT>(value); }
72 template<
typename AssociationArnT = Aws::String>
82 template<
typename SourceApiIdT = Aws::String>
83 void SetSourceApiId(SourceApiIdT&& value) { m_sourceApiIdHasBeenSet =
true; m_sourceApiId = std::forward<SourceApiIdT>(value); }
84 template<
typename SourceApiIdT = Aws::String>
94 template<
typename SourceApiArnT = Aws::String>
95 void SetSourceApiArn(SourceApiArnT&& value) { m_sourceApiArnHasBeenSet =
true; m_sourceApiArn = std::forward<SourceApiArnT>(value); }
96 template<
typename SourceApiArnT = Aws::String>
106 template<
typename MergedApiArnT = Aws::String>
107 void SetMergedApiArn(MergedApiArnT&& value) { m_mergedApiArnHasBeenSet =
true; m_mergedApiArn = std::forward<MergedApiArnT>(value); }
108 template<
typename MergedApiArnT = Aws::String>
118 template<
typename MergedApiIdT = Aws::String>
119 void SetMergedApiId(MergedApiIdT&& value) { m_mergedApiIdHasBeenSet =
true; m_mergedApiId = std::forward<MergedApiIdT>(value); }
120 template<
typename MergedApiIdT = Aws::String>
130 template<
typename DescriptionT = Aws::String>
131 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
132 template<
typename DescriptionT = Aws::String>
142 template<
typename SourceApiAssociationConfigT = SourceApiAssociationConfig>
143 void SetSourceApiAssociationConfig(SourceApiAssociationConfigT&& value) { m_sourceApiAssociationConfigHasBeenSet =
true; m_sourceApiAssociationConfig = std::forward<SourceApiAssociationConfigT>(value); }
144 template<
typename SourceApiAssociationConfigT = SourceApiAssociationConfig>
165 template<
typename SourceApiAssociationStatusDetailT = Aws::String>
166 void SetSourceApiAssociationStatusDetail(SourceApiAssociationStatusDetailT&& value) { m_sourceApiAssociationStatusDetailHasBeenSet =
true; m_sourceApiAssociationStatusDetail = std::forward<SourceApiAssociationStatusDetailT>(value); }
167 template<
typename SourceApiAssociationStatusDetailT = Aws::String>
178 template<
typename LastSuccessfulMergeDateT = Aws::Utils::DateTime>
179 void SetLastSuccessfulMergeDate(LastSuccessfulMergeDateT&& value) { m_lastSuccessfulMergeDateHasBeenSet =
true; m_lastSuccessfulMergeDate = std::forward<LastSuccessfulMergeDateT>(value); }
180 template<
typename LastSuccessfulMergeDateT = Aws::Utils::DateTime>
186 bool m_associationIdHasBeenSet =
false;
189 bool m_associationArnHasBeenSet =
false;
192 bool m_sourceApiIdHasBeenSet =
false;
195 bool m_sourceApiArnHasBeenSet =
false;
198 bool m_mergedApiArnHasBeenSet =
false;
201 bool m_mergedApiIdHasBeenSet =
false;
204 bool m_descriptionHasBeenSet =
false;
207 bool m_sourceApiAssociationConfigHasBeenSet =
false;
210 bool m_sourceApiAssociationStatusHasBeenSet =
false;
213 bool m_sourceApiAssociationStatusDetailHasBeenSet =
false;
216 bool m_lastSuccessfulMergeDateHasBeenSet =
false;
SourceApiAssociation & WithAssociationArn(AssociationArnT &&value)
const Aws::String & GetDescription() const
bool SourceApiIdHasBeenSet() const
const Aws::String & GetSourceApiAssociationStatusDetail() const
const Aws::String & GetSourceApiId() const
SourceApiAssociation & WithLastSuccessfulMergeDate(LastSuccessfulMergeDateT &&value)
void SetLastSuccessfulMergeDate(LastSuccessfulMergeDateT &&value)
bool SourceApiAssociationConfigHasBeenSet() const
const Aws::Utils::DateTime & GetLastSuccessfulMergeDate() const
SourceApiAssociation & WithDescription(DescriptionT &&value)
SourceApiAssociation & WithSourceApiAssociationStatus(SourceApiAssociationStatus value)
void SetSourceApiArn(SourceApiArnT &&value)
void SetDescription(DescriptionT &&value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
SourceApiAssociation & WithSourceApiId(SourceApiIdT &&value)
bool SourceApiAssociationStatusDetailHasBeenSet() const
const Aws::String & GetAssociationArn() const
SourceApiAssociation & WithSourceApiAssociationConfig(SourceApiAssociationConfigT &&value)
const Aws::String & GetMergedApiId() const
bool DescriptionHasBeenSet() const
AWS_APPSYNC_API SourceApiAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAssociationArn(AssociationArnT &&value)
SourceApiAssociation & WithMergedApiId(MergedApiIdT &&value)
const SourceApiAssociationConfig & GetSourceApiAssociationConfig() const
void SetSourceApiId(SourceApiIdT &&value)
SourceApiAssociation & WithMergedApiArn(MergedApiArnT &&value)
bool MergedApiIdHasBeenSet() const
const Aws::String & GetSourceApiArn() const
bool AssociationIdHasBeenSet() const
bool AssociationArnHasBeenSet() const
SourceApiAssociation & WithSourceApiAssociationStatusDetail(SourceApiAssociationStatusDetailT &&value)
void SetSourceApiAssociationConfig(SourceApiAssociationConfigT &&value)
SourceApiAssociationStatus GetSourceApiAssociationStatus() const
void SetSourceApiAssociationStatusDetail(SourceApiAssociationStatusDetailT &&value)
void SetAssociationId(AssociationIdT &&value)
void SetSourceApiAssociationStatus(SourceApiAssociationStatus value)
void SetMergedApiId(MergedApiIdT &&value)
AWS_APPSYNC_API SourceApiAssociation(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMergedApiArn() const
SourceApiAssociation & WithAssociationId(AssociationIdT &&value)
bool SourceApiAssociationStatusHasBeenSet() const
const Aws::String & GetAssociationId() const
bool MergedApiArnHasBeenSet() const
void SetMergedApiArn(MergedApiArnT &&value)
AWS_APPSYNC_API SourceApiAssociation()=default
bool LastSuccessfulMergeDateHasBeenSet() const
bool SourceApiArnHasBeenSet() const
SourceApiAssociation & WithSourceApiArn(SourceApiArnT &&value)
SourceApiAssociationStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue