7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/DataSourceIntrospectionModelFieldType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
60 template <
typename TypeT = DataSourceIntrospectionModelFieldType>
62 m_typeHasBeenSet =
true;
63 m_type = std::forward<TypeT>(value);
65 template <
typename TypeT = DataSourceIntrospectionModelFieldType>
67 SetType(std::forward<TypeT>(value));
76 inline long long GetLength()
const {
return m_length; }
79 m_lengthHasBeenSet =
true;
92 long long m_length{0};
93 bool m_nameHasBeenSet =
false;
94 bool m_typeHasBeenSet =
false;
95 bool m_lengthHasBeenSet =
false;
bool LengthHasBeenSet() const
void SetType(TypeT &&value)
void SetLength(long long value)
const DataSourceIntrospectionModelFieldType & GetType() const
AWS_APPSYNC_API DataSourceIntrospectionModelField & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
DataSourceIntrospectionModelField & WithName(NameT &&value)
void SetName(NameT &&value)
DataSourceIntrospectionModelField & WithType(TypeT &&value)
bool NameHasBeenSet() const
long long GetLength() const
AWS_APPSYNC_API DataSourceIntrospectionModelField()=default
DataSourceIntrospectionModelField & WithLength(long long value)
bool TypeHasBeenSet() const
const Aws::String & GetName() const
AWS_APPSYNC_API DataSourceIntrospectionModelField(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue