7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/amplifybackend/model/BackendAPIConflictResolution.h>
11#include <aws/amplifybackend/model/BackendAPIAuthType.h>
24namespace AmplifyBackend
50 template<
typename AdditionalAuthTypesT = Aws::Vector<BackendAPIAuthType>>
51 void SetAdditionalAuthTypes(AdditionalAuthTypesT&& value) { m_additionalAuthTypesHasBeenSet =
true; m_additionalAuthTypes = std::forward<AdditionalAuthTypesT>(value); }
52 template<
typename AdditionalAuthTypesT = Aws::Vector<BackendAPIAuthType>>
54 template<
typename AdditionalAuthTypesT = BackendAPIAuthType>
65 template<
typename ApiNameT = Aws::String>
66 void SetApiName(ApiNameT&& value) { m_apiNameHasBeenSet =
true; m_apiName = std::forward<ApiNameT>(value); }
67 template<
typename ApiNameT = Aws::String>
77 template<
typename ConflictResolutionT = BackendAPIConflictResolution>
78 void SetConflictResolution(ConflictResolutionT&& value) { m_conflictResolutionHasBeenSet =
true; m_conflictResolution = std::forward<ConflictResolutionT>(value); }
79 template<
typename ConflictResolutionT = BackendAPIConflictResolution>
90 template<
typename DefaultAuthTypeT = BackendAPIAuthType>
91 void SetDefaultAuthType(DefaultAuthTypeT&& value) { m_defaultAuthTypeHasBeenSet =
true; m_defaultAuthType = std::forward<DefaultAuthTypeT>(value); }
92 template<
typename DefaultAuthTypeT = BackendAPIAuthType>
102 template<
typename ServiceT = Aws::String>
103 void SetService(ServiceT&& value) { m_serviceHasBeenSet =
true; m_service = std::forward<ServiceT>(value); }
104 template<
typename ServiceT = Aws::String>
115 template<
typename TransformSchemaT = Aws::String>
116 void SetTransformSchema(TransformSchemaT&& value) { m_transformSchemaHasBeenSet =
true; m_transformSchema = std::forward<TransformSchemaT>(value); }
117 template<
typename TransformSchemaT = Aws::String>
123 bool m_additionalAuthTypesHasBeenSet =
false;
126 bool m_apiNameHasBeenSet =
false;
129 bool m_conflictResolutionHasBeenSet =
false;
132 bool m_defaultAuthTypeHasBeenSet =
false;
135 bool m_serviceHasBeenSet =
false;
138 bool m_transformSchemaHasBeenSet =
false;
void SetApiName(ApiNameT &&value)
bool ServiceHasBeenSet() const
bool ApiNameHasBeenSet() const
const BackendAPIAuthType & GetDefaultAuthType() const
const Aws::String & GetApiName() const
AWS_AMPLIFYBACKEND_API BackendAPIResourceConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
void SetService(ServiceT &&value)
BackendAPIResourceConfig & WithService(ServiceT &&value)
BackendAPIResourceConfig & WithTransformSchema(TransformSchemaT &&value)
void SetAdditionalAuthTypes(AdditionalAuthTypesT &&value)
void SetConflictResolution(ConflictResolutionT &&value)
void SetDefaultAuthType(DefaultAuthTypeT &&value)
const BackendAPIConflictResolution & GetConflictResolution() const
AWS_AMPLIFYBACKEND_API BackendAPIResourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
BackendAPIResourceConfig & WithDefaultAuthType(DefaultAuthTypeT &&value)
AWS_AMPLIFYBACKEND_API BackendAPIResourceConfig()=default
const Aws::Vector< BackendAPIAuthType > & GetAdditionalAuthTypes() const
bool TransformSchemaHasBeenSet() const
bool DefaultAuthTypeHasBeenSet() const
void SetTransformSchema(TransformSchemaT &&value)
bool AdditionalAuthTypesHasBeenSet() const
const Aws::String & GetService() const
const Aws::String & GetTransformSchema() const
BackendAPIResourceConfig & WithApiName(ApiNameT &&value)
BackendAPIResourceConfig & AddAdditionalAuthTypes(AdditionalAuthTypesT &&value)
BackendAPIResourceConfig & WithAdditionalAuthTypes(AdditionalAuthTypesT &&value)
bool ConflictResolutionHasBeenSet() const
BackendAPIResourceConfig & WithConflictResolution(ConflictResolutionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue