7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appsync/model/DataSourceIntrospectionModelFieldType.h>
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
60 template<
typename TypeT = DataSourceIntrospectionModelFieldType>
61 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
62 template<
typename TypeT = DataSourceIntrospectionModelFieldType>
70 inline long long GetLength()
const {
return m_length; }
72 inline void SetLength(
long long value) { m_lengthHasBeenSet =
true; m_length = value; }
78 bool m_nameHasBeenSet =
false;
81 bool m_typeHasBeenSet =
false;
83 long long m_length{0};
84 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