7#include <aws/supplychain/SupplyChain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/supplychain/model/DataLakeDatasetSchemaField.h>
11#include <aws/supplychain/model/DataLakeDatasetPrimaryKeyField.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<DataLakeDatasetSchemaField>>
64 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet =
true; m_fields = std::forward<FieldsT>(value); }
65 template<
typename FieldsT = Aws::Vector<DataLakeDatasetSchemaField>>
67 template<
typename FieldsT = DataLakeDatasetSchemaField>
85 template<
typename PrimaryKeysT = Aws::Vector<DataLakeDatasetPrimaryKeyField>>
86 void SetPrimaryKeys(PrimaryKeysT&& value) { m_primaryKeysHasBeenSet =
true; m_primaryKeys = std::forward<PrimaryKeysT>(value); }
87 template<
typename PrimaryKeysT = Aws::Vector<DataLakeDatasetPrimaryKeyField>>
89 template<
typename PrimaryKeysT = DataLakeDatasetPrimaryKeyField>
95 bool m_nameHasBeenSet =
false;
98 bool m_fieldsHasBeenSet =
false;
101 bool m_primaryKeysHasBeenSet =
false;
DataLakeDatasetSchema & AddPrimaryKeys(PrimaryKeysT &&value)
const Aws::String & GetName() const
void SetName(NameT &&value)
bool FieldsHasBeenSet() const
DataLakeDatasetSchema & WithPrimaryKeys(PrimaryKeysT &&value)
DataLakeDatasetSchema & WithFields(FieldsT &&value)
bool NameHasBeenSet() const
DataLakeDatasetSchema & AddFields(FieldsT &&value)
AWS_SUPPLYCHAIN_API DataLakeDatasetSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SUPPLYCHAIN_API DataLakeDatasetSchema(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DataLakeDatasetSchemaField > & GetFields() const
AWS_SUPPLYCHAIN_API DataLakeDatasetSchema()=default
void SetFields(FieldsT &&value)
bool PrimaryKeysHasBeenSet() const
AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPrimaryKeys(PrimaryKeysT &&value)
DataLakeDatasetSchema & WithName(NameT &&value)
const Aws::Vector< DataLakeDatasetPrimaryKeyField > & GetPrimaryKeys() 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