/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a model in a generic data schema.See Also:
AWS
* API Reference
The fields in the generic data model.
*/ inline const Aws::MapThe fields in the generic data model.
*/ inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; } /** *The fields in the generic data model.
*/ inline void SetFields(const Aws::MapThe fields in the generic data model.
*/ inline void SetFields(Aws::MapThe fields in the generic data model.
*/ inline CodegenGenericDataModel& WithFields(const Aws::MapThe fields in the generic data model.
*/ inline CodegenGenericDataModel& WithFields(Aws::MapThe fields in the generic data model.
*/ inline CodegenGenericDataModel& AddFields(const Aws::String& key, const CodegenGenericDataField& value) { m_fieldsHasBeenSet = true; m_fields.emplace(key, value); return *this; } /** *The fields in the generic data model.
*/ inline CodegenGenericDataModel& AddFields(Aws::String&& key, const CodegenGenericDataField& value) { m_fieldsHasBeenSet = true; m_fields.emplace(std::move(key), value); return *this; } /** *The fields in the generic data model.
*/ inline CodegenGenericDataModel& AddFields(const Aws::String& key, CodegenGenericDataField&& value) { m_fieldsHasBeenSet = true; m_fields.emplace(key, std::move(value)); return *this; } /** *The fields in the generic data model.
*/ inline CodegenGenericDataModel& AddFields(Aws::String&& key, CodegenGenericDataField&& value) { m_fieldsHasBeenSet = true; m_fields.emplace(std::move(key), std::move(value)); return *this; } /** *The fields in the generic data model.
*/ inline CodegenGenericDataModel& AddFields(const char* key, CodegenGenericDataField&& value) { m_fieldsHasBeenSet = true; m_fields.emplace(key, std::move(value)); return *this; } /** *The fields in the generic data model.
*/ inline CodegenGenericDataModel& AddFields(const char* key, const CodegenGenericDataField& value) { m_fieldsHasBeenSet = true; m_fields.emplace(key, value); return *this; } /** *Specifies whether the generic data model is a join table.
*/ inline bool GetIsJoinTable() const{ return m_isJoinTable; } /** *Specifies whether the generic data model is a join table.
*/ inline bool IsJoinTableHasBeenSet() const { return m_isJoinTableHasBeenSet; } /** *Specifies whether the generic data model is a join table.
*/ inline void SetIsJoinTable(bool value) { m_isJoinTableHasBeenSet = true; m_isJoinTable = value; } /** *Specifies whether the generic data model is a join table.
*/ inline CodegenGenericDataModel& WithIsJoinTable(bool value) { SetIsJoinTable(value); return *this;} /** *The primary keys of the generic data model.
*/ inline const Aws::VectorThe primary keys of the generic data model.
*/ inline bool PrimaryKeysHasBeenSet() const { return m_primaryKeysHasBeenSet; } /** *The primary keys of the generic data model.
*/ inline void SetPrimaryKeys(const Aws::VectorThe primary keys of the generic data model.
*/ inline void SetPrimaryKeys(Aws::VectorThe primary keys of the generic data model.
*/ inline CodegenGenericDataModel& WithPrimaryKeys(const Aws::VectorThe primary keys of the generic data model.
*/ inline CodegenGenericDataModel& WithPrimaryKeys(Aws::VectorThe primary keys of the generic data model.
*/ inline CodegenGenericDataModel& AddPrimaryKeys(const Aws::String& value) { m_primaryKeysHasBeenSet = true; m_primaryKeys.push_back(value); return *this; } /** *The primary keys of the generic data model.
*/ inline CodegenGenericDataModel& AddPrimaryKeys(Aws::String&& value) { m_primaryKeysHasBeenSet = true; m_primaryKeys.push_back(std::move(value)); return *this; } /** *The primary keys of the generic data model.
*/ inline CodegenGenericDataModel& AddPrimaryKeys(const char* value) { m_primaryKeysHasBeenSet = true; m_primaryKeys.push_back(value); return *this; } private: Aws::Map