7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/appsync/model/DataSourceIntrospectionModelIndex.h>
11#include <aws/appsync/model/DataSourceIntrospectionModelField.h>
51 template<
typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
53 template<
typename NameT = Aws::String>
63 template<
typename FieldsT = Aws::Vector<DataSourceIntrospectionModelField>>
64 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet =
true; m_fields = std::forward<FieldsT>(value); }
65 template<
typename FieldsT = Aws::Vector<DataSourceIntrospectionModelField>>
67 template<
typename FieldsT = DataSourceIntrospectionModelField>
78 template<
typename PrimaryKeyT = DataSourceIntrospectionModelIndex>
79 void SetPrimaryKey(PrimaryKeyT&& value) { m_primaryKeyHasBeenSet =
true; m_primaryKey = std::forward<PrimaryKeyT>(value); }
80 template<
typename PrimaryKeyT = DataSourceIntrospectionModelIndex>
90 template<
typename IndexesT = Aws::Vector<DataSourceIntrospectionModelIndex>>
91 void SetIndexes(IndexesT&& value) { m_indexesHasBeenSet =
true; m_indexes = std::forward<IndexesT>(value); }
92 template<
typename IndexesT = Aws::Vector<DataSourceIntrospectionModelIndex>>
94 template<
typename IndexesT = DataSourceIntrospectionModelIndex>
106 template<
typename SdlT = Aws::String>
107 void SetSdl(SdlT&& value) { m_sdlHasBeenSet =
true; m_sdl = std::forward<SdlT>(value); }
108 template<
typename SdlT = Aws::String>
114 bool m_nameHasBeenSet =
false;
117 bool m_fieldsHasBeenSet =
false;
120 bool m_primaryKeyHasBeenSet =
false;
123 bool m_indexesHasBeenSet =
false;
126 bool m_sdlHasBeenSet =
false;
const Aws::String & GetSdl() const
AWS_APPSYNC_API DataSourceIntrospectionModel & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetIndexes(IndexesT &&value)
const Aws::Vector< DataSourceIntrospectionModelIndex > & GetIndexes() const
void SetFields(FieldsT &&value)
DataSourceIntrospectionModel & WithFields(FieldsT &&value)
const Aws::Vector< DataSourceIntrospectionModelField > & GetFields() const
AWS_APPSYNC_API DataSourceIntrospectionModel()=default
DataSourceIntrospectionModel & WithName(NameT &&value)
bool IndexesHasBeenSet() const
DataSourceIntrospectionModel & WithSdl(SdlT &&value)
bool PrimaryKeyHasBeenSet() const
AWS_APPSYNC_API DataSourceIntrospectionModel(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
DataSourceIntrospectionModel & WithIndexes(IndexesT &&value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
DataSourceIntrospectionModel & AddIndexes(IndexesT &&value)
void SetPrimaryKey(PrimaryKeyT &&value)
DataSourceIntrospectionModel & WithPrimaryKey(PrimaryKeyT &&value)
void SetSdl(SdlT &&value)
const DataSourceIntrospectionModelIndex & GetPrimaryKey() const
void SetName(NameT &&value)
DataSourceIntrospectionModel & AddFields(FieldsT &&value)
bool SdlHasBeenSet() const
bool FieldsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue