7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/DataSourceIntrospectionModelField.h>
9#include <aws/appsync/model/DataSourceIntrospectionModelIndex.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
63 template <
typename FieldsT = Aws::Vector<DataSourceIntrospectionModelField>>
65 m_fieldsHasBeenSet =
true;
66 m_fields = std::forward<FieldsT>(value);
68 template <
typename FieldsT = Aws::Vector<DataSourceIntrospectionModelField>>
73 template <
typename FieldsT = DataSourceIntrospectionModelField>
75 m_fieldsHasBeenSet =
true;
76 m_fields.emplace_back(std::forward<FieldsT>(value));
88 template <
typename PrimaryKeyT = DataSourceIntrospectionModelIndex>
90 m_primaryKeyHasBeenSet =
true;
91 m_primaryKey = std::forward<PrimaryKeyT>(value);
93 template <
typename PrimaryKeyT = DataSourceIntrospectionModelIndex>
106 template <
typename IndexesT = Aws::Vector<DataSourceIntrospectionModelIndex>>
108 m_indexesHasBeenSet =
true;
109 m_indexes = std::forward<IndexesT>(value);
111 template <
typename IndexesT = Aws::Vector<DataSourceIntrospectionModelIndex>>
116 template <
typename IndexesT = DataSourceIntrospectionModelIndex>
118 m_indexesHasBeenSet =
true;
119 m_indexes.emplace_back(std::forward<IndexesT>(value));
132 template <
typename SdlT = Aws::String>
134 m_sdlHasBeenSet =
true;
135 m_sdl = std::forward<SdlT>(value);
137 template <
typename SdlT = Aws::String>
139 SetSdl(std::forward<SdlT>(value));
153 bool m_nameHasBeenSet =
false;
154 bool m_fieldsHasBeenSet =
false;
155 bool m_primaryKeyHasBeenSet =
false;
156 bool m_indexesHasBeenSet =
false;
157 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